/* =========================================================
   SoluTelecom — index.css
   Black + yellow theme, layered-wave hero
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600;700&family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --ink-950:#0c0c0e;   /* deepest: hero base, footer */
  --ink-900:#121215;   /* page background */
  --ink-850:#18181c;   /* alternate section */
  --ink-800:#1f1f25;   /* cards */
  --ink-700:#2c2c34;   /* borders, hovers */
  --yellow-300:#ffd95a;
  --yellow-500:#f5b400;
  --yellow-600:#d99a00;
  --white:#ffffff;
  --paper:#eef0f4;
  --slate:#aeb1bb;
  --slate-dim:#80838e;
  --line:rgba(255,255,255,.10);
  --line-soft:rgba(255,255,255,.06);

  --radius-sm:4px;
  --radius:8px;
  --shadow-card:0 20px 46px -22px rgba(0,0,0,.6);
  --shadow-soft:0 10px 26px -14px rgba(0,0,0,.5);

  --container:1160px;
  --header-h:76px;
}

/* ---------- RESET ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter', system-ui, sans-serif;
  color:var(--paper);
  background:var(--ink-900);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{
  font-family:'Space Grotesk', 'Inter', sans-serif;
  font-weight:600;
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
  color:var(--white);
}
p{ margin:0 0 1em; color:var(--slate); max-width:62ch; }
ul{ list-style:none; margin:0; padding:0; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font:inherit; cursor:pointer; }
section{ scroll-margin-top:var(--header-h); }
:focus-visible{ outline:2px solid var(--yellow-500); outline-offset:3px; }

.wrap{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.tag{
  display:inline-block;
  font-size:13px;
  font-weight:600;
  color:var(--yellow-300);
  letter-spacing:.02em;
  position:relative;
  padding-left:18px;
}
.tag::before{
  content:"";
  position:absolute;
  left:0; top:50%;
  width:12px; height:2px;
  background:var(--yellow-500);
  transform:translateY(-50%);
}

/* Section headings are centered and share one width everywhere */
.section-head{
  max-width:640px;
  margin:0 auto 52px;
  text-align:center;
}
.section-head h2{ font-size:34px; margin:12px 0 14px; }
.section-head p{ margin:0 auto; }

.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius:var(--radius-sm);
  font-weight:600;
  font-size:15px;
  border:1px solid transparent;
  background:var(--yellow-500);
  color:var(--ink-950);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{ background:var(--yellow-300); box-shadow:var(--shadow-soft); transform:translateY(-1px); }
.btn-outline{
  background:transparent;
  border-color:rgba(255,255,255,.35);
  color:var(--white);
}
.btn-outline:hover{ background:rgba(255,255,255,.08); border-color:var(--yellow-500); box-shadow:none; }
.btn-block{ width:100%; margin-top:20px; }
.btn-sm{ padding:12px 22px; font-size:14px; white-space:nowrap; }

/* ---------- HEADER / NAV ---------- */
body > header{
  position:sticky; top:0; z-index:100;
  background:rgba(22,24,30,.92);
  backdrop-filter:saturate(160%) blur(10px);
  -webkit-backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--line-soft);
}
body > header nav{
  max-width:var(--container);
  margin:0 auto;
  min-height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:12px 24px;
}

/* brand: circular ST mark + wordmark */
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  flex:none;
}
.brand-logo{
  display:block;
  height:46px;
  width:auto;
}
.footer-brand .brand-logo{ height:52px; }

.nav-links{
  display:flex;
  gap:34px;
}
.nav-links a{
  font-size:15px;
  font-weight:500;
  color:var(--slate);
  position:relative;
  padding:6px 0;
  transition:color .15s ease;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:2px;
  background:var(--yellow-500);
  transition:width .22s ease;
}
.nav-links a:hover,
.nav-links a.active{ color:var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after{ width:100%; }

.nav-actions{
  display:flex;
  align-items:center;
  gap:22px;
  flex:none;
}
.nav-phone{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:15px;
  font-weight:500;
  letter-spacing:.04em;
  color:var(--paper);
  white-space:nowrap;
  transition:color .15s ease;
}
.nav-phone svg{ width:17px; height:17px; fill:none; stroke:var(--yellow-500); stroke-width:2; flex:none; }
.nav-phone:hover{ color:var(--yellow-300); }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:0;
  padding:8px;
}
.nav-toggle span{
  width:24px; height:2px;
  background:var(--white);
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:1040px){
  .nav-phone{ display:none; }
  .nav-links{ gap:24px; }
}
@media (max-width:860px){
  .nav-toggle{ display:flex; }
  .nav-actions{ gap:10px; }
  .nav-links{
    position:fixed;
    top:var(--header-h); left:0; right:0;
    background:var(--ink-950);
    flex-direction:column;
    gap:0;
    padding:0 24px;
    max-height:0;
    overflow:hidden;
    box-shadow:var(--shadow-soft);
    transition:max-height .3s ease, padding .3s ease;
  }
  .nav-links.open{ max-height:340px; padding:8px 24px 20px; }
  .nav-links a{ display:block; padding:14px 0; border-bottom:1px solid var(--line-soft); }
  .nav-links a::after{ display:none; }
}
@media (max-width:520px){
  .nav-actions .btn{ display:none; }
  .brand-logo{ height:38px; }
}

/* ---------- WAVE BACKGROUND (hero + CTA) ---------- */
.wave-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:block;
}

/* ---------- HERO ---------- */
#hero{
  position:relative;
  min-height:calc(92vh - var(--header-h));
  display:flex;
  align-items:center;
  padding:110px 0;
  overflow:hidden;
  background:var(--ink-950);
}
#hero::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.72) 42%, rgba(8,8,10,.12) 78%, transparent 100%),
    linear-gradient(0deg, var(--ink-900) 0%, transparent 18%);
  pointer-events:none;
}
.hero-content{ position:relative; z-index:1; width:100%; }
#hero h1{
  font-size:clamp(38px, 5.4vw, 66px);
  max-width:15ch;
  margin:16px 0 20px;
}
#hero p{
  font-size:19px;
  color:#c9ccd4;
  max-width:50ch;
  margin-bottom:34px;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }

/* ---------- ABOUT ---------- */
.about{ padding:104px 0; background:var(--ink-900); }
.about-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:64px;
  align-items:center;
}
.about-title{ font-size:34px; margin:12px 0 22px; }
.about .btn{ margin-top:10px; }
.about-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.about-stat{
  background:var(--ink-800);
  padding:30px 24px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.about-stat strong{
  font-family:'Space Grotesk', sans-serif;
  font-size:40px;
  font-weight:700;
  color:var(--yellow-500);
  line-height:1;
}
.about-stat span{ font-size:14px; color:var(--slate); }

@media (max-width:860px){
  .about-grid{ grid-template-columns:1fr; gap:40px; }
}

/* ---------- SERVICES ---------- */
.services{
  padding:104px 0;
  background:var(--ink-850);
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
}
.svc-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.svc-card{
  background:var(--ink-800);
  padding:36px 32px;
  transition:background .2s ease, box-shadow .2s ease;
}
.svc-card:hover{ background:var(--ink-700); box-shadow:inset 0 3px 0 var(--yellow-500); }
.svc-icon{
  width:48px; height:48px;
  border-radius:var(--radius-sm);
  background:var(--ink-950);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:22px;
}
.svc-icon svg{
  width:24px; height:24px;
  fill:none;
  stroke:var(--yellow-500);
  stroke-width:1.8;
}
.svc-card h3{ font-size:18px; margin-bottom:8px; }
.svc-card p{ font-size:14.5px; margin:0; }

@media (max-width:860px){ .svc-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .svc-grid{ grid-template-columns:1fr; } }

/* ---------- PROCESS ---------- */
.process{
  position:relative;
  background:var(--ink-950);
  padding:104px 0;
  overflow:hidden;
}
.blueprint-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:radial-gradient(circle at 50% 20%, black, transparent 75%);
  mask-image:radial-gradient(circle at 50% 20%, black, transparent 75%);
}
.process-inner{ position:relative; }
.proc-steps{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:40px 36px;
}
.proc-step{
  border-top:2px solid var(--yellow-500);
  padding-top:18px;
}
.proc-num{
  font-family:'Space Grotesk', sans-serif;
  font-size:14px;
  font-weight:600;
  color:var(--yellow-300);
  margin-bottom:10px;
}
.proc-step h4{ font-size:18px; margin-bottom:6px; }
.proc-step p{ font-size:14.5px; margin:0; }

@media (max-width:860px){ .proc-steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .proc-steps{ grid-template-columns:1fr; } }

/* ---------- COBERTURA ---------- */
#cobertura{
  position:relative;
  padding:104px 0;
  background:var(--ink-850);
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  overflow:hidden;
}
#cobertura::before{
  content:"";
  position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.5px);
  background-size:28px 28px;
  -webkit-mask-image:radial-gradient(ellipse at 80% 40%, black 0%, transparent 70%);
  mask-image:radial-gradient(ellipse at 80% 40%, black 0%, transparent 70%);
  pointer-events:none;
}
#cobertura::after{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(circle at 85% 30%, rgba(245,180,0,.10), transparent 45%);
  pointer-events:none;
}
.coverage-grid{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:64px;
  align-items:center;
}
.coverage-intro h2{ font-size:34px; margin:12px 0 18px; }
.coverage-stats{
  display:flex;
  gap:36px;
  margin:30px 0 26px;
  padding:22px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.coverage-stats strong{
  display:block;
  font-family:'Space Grotesk', sans-serif;
  font-size:36px;
  line-height:1;
  color:var(--yellow-500);
  margin-bottom:6px;
}
.coverage-stats span{ font-size:13.5px; color:var(--slate); }
.coverage-legend{
  display:flex; align-items:center; gap:10px;
  font-size:13.5px; margin:0; color:var(--slate);
}

.pulse-dot{
  flex:none;
  width:9px; height:9px;
  border-radius:50%;
  background:var(--yellow-500);
  box-shadow:0 0 0 0 rgba(245,180,0,.55);
  animation:pulse 2.6s ease-out infinite;
}
@keyframes pulse{
  70%{ box-shadow:0 0 0 9px rgba(245,180,0,0); }
  100%{ box-shadow:0 0 0 0 rgba(245,180,0,0); }
}
@media (prefers-reduced-motion: reduce){ .pulse-dot{ animation:none; } }

.regions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.region{
  background:rgba(31,31,37,.85);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow-soft);
}
.region header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.region h3{ font-size:17px; margin:0; }
.region header span{ font-size:12.5px; color:var(--slate-dim); white-space:nowrap; }
.region ul{ display:flex; flex-wrap:wrap; gap:8px; }
.region li{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  font-size:14px;
  color:var(--slate);
}
.region li.main{
  color:var(--white);
  font-weight:600;
  background:var(--ink-950);
  border-color:rgba(245,180,0,.45);
}

@media (max-width:980px){
  .coverage-grid{ grid-template-columns:1fr; gap:44px; }
}
@media (max-width:560px){
  .regions{ grid-template-columns:1fr; }
  .coverage-stats{ gap:24px; }
  .coverage-intro h2{ font-size:28px; }
}

/* ---------- CLIENTES ---------- */
#clientes{ padding:104px 0; background:var(--ink-900); }
#clientes .section-head{ margin-bottom:44px; }
.client-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.client{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:96px;
  padding:24px 28px;
  background:var(--ink-800);
  border:1px solid var(--line);
  border-radius:var(--radius);
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  font-size:19px;
  letter-spacing:.01em;
  color:var(--paper);
  text-align:center;
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.client:hover{
  border-color:rgba(245,180,0,.6);
  background:var(--ink-700);
  box-shadow:inset 0 3px 0 var(--yellow-500);
}

@media (max-width:680px){
  .client-grid{ grid-template-columns:1fr 1fr; }
}

/* ---------- RESULTADOS ---------- */
#resultados{
  padding:104px 0;
  background:var(--ink-850);
  border-top:1px solid var(--line-soft);
  text-align:center;
}
#resultados .section-head{ margin-bottom:44px; }
.record-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.record-grid > div{
  background:var(--ink-800);
  padding:40px 20px;
}
.record-grid h3{
  font-size:30px;
  color:var(--yellow-500);
  margin-bottom:8px;
}
.record-grid p{ font-size:14px; margin:0 auto; color:var(--slate); }

@media (max-width:900px){ .record-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .record-grid{ grid-template-columns:1fr; } }

/* ---------- CTA BAND ---------- */
.cta-band{
  position:relative;
  overflow:hidden;
  padding:96px 0;
  background:var(--ink-950);
}
.cta-band::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.7) 45%, rgba(8,8,10,.15) 85%, transparent 100%);
  pointer-events:none;
}
.cta-content{ position:relative; z-index:1; }
.cta-content h2{ font-size:clamp(28px, 3.6vw, 40px); max-width:20ch; }
.cta-content p{ color:#c9ccd4; margin-bottom:28px; }

/* ---------- CONTACT ---------- */
.contact{ padding:104px 0; background:var(--ink-900); }
.contact-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:64px;
  align-items:start;
}
.contact-title{ font-size:32px; margin:12px 0 30px; }
.contact-info-item{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:24px;
}
.ci-icon{
  flex:none;
  width:44px; height:44px;
  border-radius:50%;
  background:var(--ink-950);
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
}
.ci-icon svg{ width:18px; height:18px; fill:none; stroke:var(--yellow-500); stroke-width:2; }
.contact-info-item strong{ display:block; font-size:14px; color:var(--white); }
.contact-info-item span{ font-size:14.5px; color:var(--slate); overflow-wrap:anywhere; }

#contactForm{
  background:var(--ink-800);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:34px;
  box-shadow:var(--shadow-card);
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.form-grid .full{ grid-column:1 / -1; }
label{
  display:block;
  font-size:13px;
  font-weight:600;
  color:var(--paper);
  margin-bottom:6px;
}
input, select, textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  font:inherit;
  font-size:14.5px;
  color:var(--white);
  background:var(--ink-950);
  transition:border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder{ color:var(--slate-dim); }
input:focus, select:focus, textarea:focus{
  outline:none;
  border-color:var(--yellow-500);
  box-shadow:0 0 0 3px rgba(245,180,0,.2);
}
select option{ background:var(--ink-900); color:var(--white); }
textarea{ min-height:120px; resize:vertical; }
.form-note{ font-size:12.5px; color:var(--slate-dim); margin:12px 0 0; max-width:none; }

@media (max-width:860px){
  .contact-grid{ grid-template-columns:1fr; gap:40px; }
}
@media (max-width:560px){
  .form-grid{ grid-template-columns:1fr; }
  #contactForm{ padding:24px; }
}

/* ---------- FOOTER ---------- */
footer{
  background:var(--ink-950);
  color:var(--slate);
  padding:68px 0 0;
  border-top:1px solid var(--line-soft);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.1fr;
  gap:40px;
  padding-bottom:52px;
}
.footer-brand .brand{ margin-bottom:16px; }
.footer-brand p{ font-size:14px; color:var(--slate-dim); max-width:32ch; margin:0; }

.footer-col h5{
  color:var(--white);
  font-size:15px;
  margin-bottom:16px;
}
.footer-col a,
.footer-col li{
  display:block;
  font-size:14px;
  color:var(--slate);
  margin-bottom:10px;
  transition:color .15s ease;
}
.footer-col a:hover{ color:var(--yellow-300); }

.footer-bottom{
  padding:22px 0 30px;
  text-align:center;
  font-size:13px;
  color:var(--slate-dim);
  border-top:1px solid var(--line-soft);
}

@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------- WHATSAPP BUTTON ---------- */
.wa-fab{
  position:fixed;
  right:22px; bottom:22px;
  width:56px; height:56px;
  border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px -6px rgba(0,0,0,.5);
  z-index:200;
  transition:transform .18s ease;
}
.wa-fab:hover{ transform:scale(1.06); }
.wa-fab svg{ width:28px; height:28px; fill:var(--white); }

/* ---------- RESPONSIVE (general) ---------- */
@media (max-width:640px){
  #hero{ padding:88px 0 72px; min-height:auto; }
  #hero::after{ background:linear-gradient(90deg, rgba(8,8,10,.88) 0%, rgba(8,8,10,.6) 100%), linear-gradient(0deg, var(--ink-900) 0%, transparent 18%); }
  #hero p{ font-size:17px; }
  .section-head h2, .about-title{ font-size:28px; }
  .about, .services, .process, #cobertura, #clientes, #resultados, .contact{ padding:80px 0; }
  .cta-band{ padding:72px 0; }
  .svc-card{ padding:28px 24px; }
}