/* Tentelcom Del Oeste — estilos del sitio */
:root{
  --ink:#152233;
  --muted:#55627a;
  --navy:#17304f;
  --blue:#2f5786;
  --line:#d7dde6;
  --bg:#f6f7f9;
  --white:#ffffff;
  --on-navy:#eef3f9;
  --on-navy-muted:#a9bcd3;
  --mono:"IBM Plex Mono",Consolas,monospace;
  --display:"Barlow Semi Condensed","Arial Narrow",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"IBM Plex Sans","Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:var(--blue)}a:hover{color:var(--navy)}
h1,h2,h3{font-family:var(--display);line-height:1.1;margin:0;text-wrap:balance}
p{margin:0}
:focus-visible{outline:3px solid #f08a24;outline-offset:2px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;z-index:10;background:var(--white);padding:8px 12px}

.wrap{max-width:1160px;margin:0 auto}
.section{padding:80px 20px}
.section--white{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--blue)}
.muted{color:var(--muted)}
.stack{display:flex;flex-direction:column;gap:36px}
.head{display:flex;justify-content:space-between;align-items:end;gap:24px;flex-wrap:wrap}
.head > div{display:flex;flex-direction:column;gap:6px}
.head p{max-width:48ch}
h2{font-size:40px;font-weight:600}

.btn{display:inline-flex;align-items:center;min-height:44px;padding:12px 20px;border-radius:4px;font-weight:600;text-decoration:none}

/* Encabezado */
.site-header{background:var(--white);border-bottom:1px solid var(--line)}
.site-header .wrap{padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.logo img{height:48px;width:auto;display:block}
.nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap;font-size:15px}
.nav a{color:var(--muted);text-decoration:none}
.nav a:hover{color:var(--ink)}
.nav .btn{background:var(--blue);color:var(--white);padding:11px 18px}
.nav .btn:hover{background:var(--navy);color:var(--white)}

/* Hero */
.hero{background:var(--navy);color:var(--on-navy)}
.hero .wrap{padding:80px 20px 64px;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:48px;align-items:center}
.hero-copy{display:flex;flex-direction:column;gap:20px}
.hero .eyebrow{color:var(--on-navy-muted)}
.hero h1{font-size:58px;font-weight:700;letter-spacing:-.01em}
.hero-copy p{color:var(--on-navy-muted);font-size:18px;max-width:54ch}
.hero-copy p b{color:var(--on-navy);font-weight:600}
.actions{display:flex;gap:12px;flex-wrap:wrap}
.btn--light{background:var(--on-navy);color:var(--navy)}
.btn--light:hover{background:var(--white);color:var(--navy)}
.btn--ghost{color:var(--on-navy);border:1px solid var(--on-navy)}
.btn--ghost:hover{background:rgba(255,255,255,.08);color:var(--white)}
.hero-side{display:flex;flex-direction:column;gap:20px;align-items:center}
.hero-img{width:100%;max-width:480px;aspect-ratio:3/2;object-fit:cover;display:block;
  -webkit-mask-image:radial-gradient(ellipse 72% 70% at 50% 50%,#000 58%,transparent 100%);
  mask-image:radial-gradient(ellipse 72% 70% at 50% 50%,#000 58%,transparent 100%)}
.facts{width:100%;max-width:480px;border:1px solid rgba(255,255,255,.2);font-family:var(--mono);font-size:13px;margin:0}
.facts div{display:flex;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.12)}
.facts div:last-child{border-bottom:0}
.facts dt{color:var(--on-navy-muted)}
.facts dd{margin:0;font-weight:500}
.cables{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));height:6px}
.cables i:nth-child(1){background:#1f6fd1}.cables i:nth-child(2){background:#f08a24}.cables i:nth-child(3){background:#2e9d4f}
.cables i:nth-child(4){background:#8a5a2b}.cables i:nth-child(5){background:#8c97a3}.cables i:nth-child(6){background:#f2f2f2}
.cables i:nth-child(7){background:#d33a2c}.cables i:nth-child(8){background:#1b1b1b}.cables i:nth-child(9){background:#f2cf2c}
.cables i:nth-child(10){background:#7d4fb3}.cables i:nth-child(11){background:#ef86b0}.cables i:nth-child(12){background:#3cc6c9}

/* Rejillas con borde */
.grid-lined{display:grid;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.grid-lined > *{border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column}
.steps{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.steps > *{padding:28px 24px;background:var(--white);gap:10px}
.steps .num{font-family:var(--mono);font-size:13px;color:var(--blue)}
.steps h3{font-size:22px;font-weight:600}
.steps p{color:var(--muted);font-size:15px}
.services{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.services > *{padding:24px;gap:8px}
.services h3{font-size:21px;font-weight:600}
.services p{color:var(--muted);font-size:15px}
.tag{align-self:flex-start;font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);border:1px solid var(--blue);padding:2px 6px;border-radius:2px}

/* Galería */
.gallery{padding:0 20px 8px}
.gallery .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,560px));justify-content:center;gap:12px}
.gallery img{width:100%;height:auto;display:block;border-radius:4px;background:var(--navy)}

/* Alcance */
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:48px;align-items:start}
.two-col > div:first-child{display:flex;flex-direction:column;gap:16px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.card{background:var(--white);border:1px solid var(--line);border-radius:4px;padding:20px;display:flex;flex-direction:column;gap:6px}
.card h3{font-size:20px;font-weight:600}
.card p{color:var(--muted);font-size:14px}

/* Sectores */
.sectors{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.sectors > div{border-top:3px solid var(--blue);padding-top:18px;display:flex;flex-direction:column;gap:8px}
.sectors h3{font-size:22px;font-weight:600}
.sectors p{color:var(--muted);font-size:15px}

/* Respaldo */
.block{display:flex;flex-direction:column;gap:14px}
.block h3{font-size:22px;font-weight:600}
.block p{color:var(--muted);font-size:15px}
.chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.chips li{font-family:var(--display);font-weight:600;font-size:20px;padding:10px 16px;border:1px solid var(--line);border-radius:4px;background:var(--white)}
.table-box{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:14px;background:var(--white);border:1px solid var(--line)}
th{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);font-family:var(--mono);font-weight:500;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);background:var(--bg)}
td{padding:11px 14px;border-bottom:1px solid var(--line)}
.num-col{text-align:right;font-family:var(--mono)}

/* Contacto */
.contact{background:var(--navy);color:var(--on-navy)}
.contact .eyebrow{color:var(--on-navy-muted)}
.contact-copy p{color:var(--on-navy-muted);max-width:46ch}
.contact-list{display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.16)}
.contact-list > div{padding:16px 18px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:1px solid rgba(255,255,255,.14)}
.contact-list > div:last-child{border-bottom:0}
.contact-list span{font-family:var(--mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--on-navy-muted)}
.contact-list a,.contact-list b{color:var(--on-navy);text-decoration:none;font-weight:500;overflow-wrap:anywhere}
.contact-list a:hover{text-decoration:underline;color:var(--white)}

.site-footer{padding:28px 20px;color:var(--muted);font-size:13px}
.site-footer .wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

@media (max-width:760px){
  .nav .hide-sm{display:none}
  .section{padding:56px 16px}
  .hero .wrap{padding:48px 16px 40px;gap:32px}
  .hero h1{font-size:40px}
  h2{font-size:32px}
  .gallery{padding:0 16px 8px}
  .site-header .wrap{padding:8px 16px}
  .logo img{height:40px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.contact-copy{display:flex;flex-direction:column;gap:14px}
.notfound{min-height:70vh;display:flex;flex-direction:column;justify-content:center;gap:20px}
.hero-side picture{display:block;width:100%;max-width:480px}
.hero-img{height:auto}

/* Ciberseguridad */
.gallery{margin-bottom:72px}
.cyber{background:var(--navy);color:var(--on-navy)}
.cyber .eyebrow{color:var(--on-navy-muted)}
.cyber .head p{color:var(--on-navy-muted)}
.cyber .grid-lined{border-color:rgba(255,255,255,.16)}
.cyber-services{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.cyber-services > *{padding:24px;gap:8px;border-color:rgba(255,255,255,.16)}
.cyber-services h3{font-size:21px;font-weight:600}
.cyber-services p{color:var(--on-navy-muted);font-size:15px}
.cyber .block h3{font-size:22px;font-weight:600}
.certs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.certs li{border:1px solid rgba(255,255,255,.22);border-radius:4px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.certs b{font-family:var(--display);font-weight:600;font-size:20px;color:var(--on-navy)}
.certs span{font-family:var(--mono);font-size:12px;letter-spacing:.04em;color:var(--on-navy-muted)}
@media (min-width:1000px){
  .cyber-services{grid-template-columns:repeat(3,1fr)}
  .certs{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:760px){
  .certs{grid-template-columns:repeat(2,1fr)}
  .certs b{font-size:18px}
}

/* WhatsApp */
.btn--wa{background:#157a41;color:#fff;gap:10px;margin-top:6px}
.btn--wa:hover{background:#0f6334;color:#fff}
.btn--wa svg{width:22px;height:22px}
.wa-float{position:fixed;right:20px;bottom:20px;z-index:20;display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:0 20px 0 16px;border-radius:999px;background:#157a41;color:#fff;font-weight:600;text-decoration:none;box-shadow:0 6px 18px rgba(10,30,20,.3)}
.wa-float:hover{background:#0f6334;color:#fff}
.wa-float svg{width:24px;height:24px}
.site-footer{padding-bottom:96px}
@media (max-width:760px){
  .wa-float{right:16px;bottom:16px;width:56px;height:56px;min-height:0;padding:0;justify-content:center}
  .wa-float span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .wa-float svg{width:28px;height:28px}
}
@media print{.wa-float{display:none}}
