/* ========= VARIABLES & RESET ========= */
:root{
  --bg: #ffffff;
  --text: #1f2937;          /* zinc-800 */
  --muted: #6b7280;         /* zinc-500 */
  --brand: #0070c0;         /* ISCOM */
  --brand-600:#0a66a6;
  --border:#e5e7eb;         /* zinc-200 */
  --hero-overlay: rgba(0,0,0,.45);
  --container: 1200px;
  --radius: 12px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:'Inter',system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif}

/* ========= CONTAINER ========= */
.zd-container{max-width:var(--container);margin:auto;padding:0 20px}

/* ========= NAVBAR ========= */
.zd-navbar{
  position:sticky; top:0; z-index:50;
  background:#fff; border-bottom:1px solid var(--border);
  backdrop-filter:saturate(150%) blur(6px);
}
.zd-navbar[role="navigation"]{ /* ayuda a lectores de pantalla */ }
.zd-navbar .row{display:flex; align-items:center; justify-content:space-between; gap:16px}

.zd-logo img{height:40px; vertical-align:middle}

/* Menu desktop */
.zd-menuTab ul{
  list-style:none; display:flex; gap:28px; margin:0; padding:16px 0; align-items:center
}
.zd-menuTab li{font-size:15px; font-weight:600}
.zd-menuTab a, .zd-tabsTab{
  color:var(--text); text-decoration:none; transition:color .25s ease
}
.zd-menuTab a:hover, .zd-tabsTab:hover{color:var(--brand)}
/* Estado activo (Zoho suele añadir una clase o puedes añadir data-state="active") */
.zd-menuTab .is-active a, .zd-menuTab .zd-tabsTab.is-active{color:var(--brand); border-bottom:2px solid var(--brand); padding-bottom:6px}

/* Icono hamburguesa */
.zd-menuicon{display:none}
.zd-menuBoxMain{display:inline-flex; cursor:pointer}
.zd-menu{
  display:inline-block; width:24px; height:2px; background:var(--text); position:relative
}
.zd-menu::before,.zd-menu::after{
  content:""; position:absolute; left:0; width:24px; height:2px; background:var(--text); transition:transform .25s ease, top .25s ease, opacity .25s ease
}
.zd-menu::before{top:-7px} .zd-menu::after{top:7px}
body.nav-open .zd-menu{background:transparent}
body.nav-open .zd-menu::before{top:0; transform:rotate(45deg)}
body.nav-open .zd-menu::after{top:0; transform:rotate(-45deg)}

/* ========= HERO ========= */
.zd-heroHeader{
  background: url('https://www.iscom.com.mx/images/servicios-ti-banner.jpg') center/cover no-repeat;
  color:#fff; text-align:center; padding:96px 20px; position:relative;
}
.zd-heroHeader::before{
  content:""; position:absolute; inset:0; 
  background: linear-gradient(180deg, var(--hero-overlay), rgba(0,0,0,.55));
}
.zd-heroOverlay{position:relative; z-index:1; padding:56px 20px; border-radius:var(--radius)}
.zd-heroTitle{font-size:clamp(28px, 4vw, 40px); font-weight:800; letter-spacing:.2px; margin:0 0 10px}
.zd-heroDescription{font-size:clamp(15px, 2vw, 18px); font-weight:400; color:#e5eefc; margin:0 0 26px}
.zd-heroSearch input[type="text"]{
  width:min(100%, 560px); padding:14px 16px; font-size:16px; border-radius:10px; border:1px solid rgba(255,255,255,.2);
  box-shadow:0 8px 24px rgba(0,0,0,.25); outline:0;
}
.zd-heroSearch input[type="text"]::placeholder{color:#dbeafe}

/* Mejores focus states */
a:focus, button:focus, input:focus{outline:3px solid rgba(0,112,192,.45); outline-offset:2px}

/* ========= FOOTER ========= */
.zd-footer{
  background:#111827; color:#d1d5db; padding:40px 20px; text-align:center; margin-top:48px
}
.zd-footer-container{max-width:1100px; margin:auto}
.zd-footer-top img{height:30px; margin-bottom:10px}
.zd-footer-links{margin-top:16px; display:flex; justify-content:center; flex-wrap:wrap; gap:20px; font-size:14px}
.zd-footer-links a{color:#93c5fd; text-decoration:none}
.zd-footer-links a:hover{color:#fff}
.zd-footer-bottom{margin-top:16px; font-size:13px; color:#9ca3af}

/* ========= RESPONSIVE ========= */
@media (max-width: 980px){
  .zd-menuicon{display:block}
  .zd-menuTab{display:none}
  body.nav-open .zd-menuTab{display:block}
  .zd-menuTab ul{flex-direction:column; align-items:flex-start; gap:14px; padding:14px 0}
  .zd-navbar .row{align-items:center}
}

/* ========= MODO OSCURO (auto) ========= */
@media (prefers-color-scheme: dark){
  :root{ --bg:#0b1220; --text:#e5e7eb; --border:#243041; --hero-overlay:rgba(0,0,0,.5) }
  .zd-navbar{background:#0f172a; border-bottom:1px solid var(--border)}
  .zd-menu, .zd-menu::before, .zd-menu::after{background:var(--text)}
  .zd-heroDescription{color:#c7d2fe}
  .zd-heroSearch input[type="text"]{background:#0b1220; color:#e5e7eb; border-color:#1f2937}
}

