/* styles.css */

/* =========================
   Variables + Reset
========================= */
:root{
  --blue:#123A5B;
  --teal:#0FA3A3;
  --slate:#2E3A46;

  --bg:#ffffff;
  --soft:#F5F8FB;
  --text:#0F1720;
  --muted:#586474;

  --radius:22px;
  --shadow: 0 14px 36px rgba(18,58,91,.10);

  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0; }

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  padding:10px 12px;
  background:#000;
  color:#fff;
  z-index:9999;
}
.skip-link:focus{ left:12px; top:12px; }

/* =========================
   Layout
========================= */
.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.center{ text-align:center; }

/* =========================
   Header
========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18,58,91,.08);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 18px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 220px;
}
.brand__logo{
  height:78px;
  width:auto;
}
.brand__text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand__text strong{ color: var(--blue); letter-spacing:.2px; }
.brand__text small{ color: var(--slate); font-size: 12px; }

.site-nav{
  display:flex;
  align-items:center;
  gap:16px;
}
.nav-link{
  font-weight:600;
  font-size:14px;
  color: rgba(15,23,32,.85);
}
.nav-link:hover{ color: var(--blue); }

.header__cta{ display:none; }

/* Hamburger */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius: 12px;
  border:1px solid rgba(18,58,91,.14);
  background:#fff;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:2px;
  width:18px;
  background: var(--blue);
  margin: 5px auto;
  border-radius:2px;
}

/* Mobile nav open */
.site-nav.is-open{
  display:flex;
  position:absolute;
  left:20px;
  right:20px;
  top:64px;
  flex-direction:column;
  background:#fff;
  border:1px solid rgba(18,58,91,.12);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}

/* =========================
   Buttons
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border:1px solid transparent;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--teal);
  color:#fff;
  box-shadow: 0 12px 24px rgba(15,163,163,.18);
}
.btn--primary:hover{ box-shadow: 0 16px 28px rgba(15,163,163,.24); }

.btn--ghost{
  background: rgba(255,255,255,.10);
  color:#fff;
  border-color: rgba(255,255,255,.24);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.16);
}

.btn--small{ padding:10px 12px; border-radius: 12px; }

/* =========================
   Hero
========================= */
.hero{
  position:relative;
  min-height: calc(100vh - 70px);
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background: url("assets/img/hero-sate.png") center/cover no-repeat;
  transform: scale(1.02);
}
.hero__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1100px 520px at 20% 40%, rgba(15,163,163,.22), transparent 60%),
    linear-gradient(90deg, rgba(18,58,91,.92), rgba(18,58,91,.70));
}
.hero__content{
  position:relative;
  padding: 64px 0;
  color:#fff;
}

.badge{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-weight:600;
  font-size:13px;
}

.hero__title{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing:-.6px;
}
.highlight{ color: rgba(15,163,163,1); }

.hero__subtitle{
  max-width: 720px;
  color: rgba(255,255,255,.90);
  font-size: 16px;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}

.hero__bullets{
  list-style:none;
  padding:0;
  margin: 18px 0 0;
  display:grid;
  gap:8px;
  max-width: 720px;
}
.hero__bullets li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color: rgba(255,255,255,.92);
  font-weight:600;
}
.hero__bullets i{ color: rgba(15,163,163,1); margin-top:2px; }

/* =========================
   Sections
========================= */
.section{
  padding: 72px 0;
}
.section--soft{
  background: var(--soft);
}
.section__tag{
  display:inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border:1px solid rgba(18,58,91,.12);
  color: var(--slate);
  font-weight:700;
  font-size: 12px;
  background:#fff;
}
.section__title{
  margin: 12px 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing:-.4px;
  color: var(--blue);
}
.section__desc{
  color: var(--muted);
  max-width: 760px;
  margin-inline:auto;
}

/* =========================
   Split (Sobre)
========================= */
.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items:center;
}
.split__media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(18,58,91,.10);
}

.kpis{
  display:flex;
  gap:12px;
  margin-top: 18px;
  flex-wrap:wrap;
}
.kpi{
  background:#fff;
  border:1px solid rgba(18,58,91,.10);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 26px rgba(18,58,91,.06);
}
.kpi strong{
  color: var(--blue);
  font-size: 18px;
}
.kpi span{
  display:block;
  color: var(--muted);
  font-weight:600;
  font-size: 12px;
}

/* =========================
   Cards (Servicios)
========================= */
.cards{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card{
  background:#fff;
  border: 1px solid rgba(18,58,91,.10);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card__icon{
  width:44px;
  height:44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(15,163,163,.10);
  color: var(--teal);
  font-size: 18px;
  margin-bottom: 12px;
}
.card h3{
  margin:0 0 8px;
  color: var(--blue);
  font-size: 18px;
}
.card p{
  color: var(--muted);
  margin:0 0 12px;
}
.pill{
  display:inline-block;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight:800;
  font-size: 12px;
  color: var(--teal);
  background: rgba(15,163,163,.10);
}

/* =========================
   Method bars
========================= */
.stack{
  display:grid;
  gap: 14px;
  margin-top: 26px;
}
.bar{
  background:#fff;
  border:1px solid rgba(18,58,91,.10);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.bar__left{
  display:flex;
  align-items:center;
  gap:14px;
}
.bar__left h3{
  margin:0;
  color: var(--blue);
  font-size: 16px;
}
.bar__left p{
  margin-top:2px;
  color: var(--muted);
  font-size: 13px;
}
.bar__badge{
  width:56px;
  height:56px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:#fff;
}
.bar__badge--blue{ background: var(--blue); }
.bar__badge--teal{ background: var(--teal); }
.bar__badge--slate{ background: var(--slate); }

.bar__track{
  height:10px;
  border-radius: 999px;
  background: rgba(18,58,91,.10);
  margin-top: 12px;
  overflow:hidden;
}
.bar__fill{
  height:100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), rgba(15,163,163,.55));
}

/* Banner */
.banner{
  margin-top: 22px;
  border-radius: var(--radius);
  padding: 22px;
  color:#fff;
  background:
    radial-gradient(900px 420px at 20% 40%, rgba(15,163,163,.22), transparent 60%),
    linear-gradient(90deg, rgba(18,58,91,.96), rgba(15,163,163,.42));
  box-shadow: var(--shadow);
}
.banner h3{ margin:0 0 8px; font-size: 18px; }
.banner p{ color: rgba(255,255,255,.92); }

/* =========================
   Testimonials
========================= */
.testimonials{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tcard{
  background:#fff;
  border: 1px solid rgba(18,58,91,.10);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.tcard__stars{
  color: var(--teal);
  font-weight:900;
  letter-spacing:2px;
  margin-bottom: 10px;
}
.tcard blockquote{
  margin:0 0 14px;
  color: var(--muted);
  font-style: italic;
}
.tcard figcaption strong{
  display:block;
  color: var(--blue);
}
.tcard figcaption span{
  color: var(--muted);
  font-weight:600;
  font-size: 12px;
}

/* =========================
   Contact
========================= */
.contact{ display:grid; }
.contact__box{
  background: #fff;
  border: 1px solid rgba(18,58,91,.10);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact__box h2{
  margin:0 0 8px;
  color: var(--blue);
}
.contact__box p{
  color: var(--muted);
  margin-bottom: 14px;
}
.contact__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}
.social{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.social__link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(18,58,91,.10);
  background: #fff;
  font-weight:700;
  color: var(--slate);
}
.social__link:hover{ border-color: rgba(15,163,163,.35); color: var(--blue); }

/* =========================
   Footer
========================= */
.footer{
  background: var(--blue);
  color: rgba(255,255,255,.92);
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.3fr .7fr 1fr;
  gap: 18px;
  padding: 42px 0;
}
.footer__logo{
  height:80px;
  width:auto;
  margin-bottom: 14px;
}
.footer__brand p{
  color: rgba(255,255,255,.80);
  max-width: 520px;
}
.footer__links{
  display:grid;
  gap:10px;
}
.footer__links a{ color: rgba(255,255,255,.86); font-weight:700; }
.footer__links a:hover{ color:#fff; }
.footer__contact{
  display:grid;
  gap:10px;
}
.footer__contact a{
  color: rgba(255,255,255,.86);
  font-weight:700;
}
.footer__contact a:hover{ color:#fff; }
.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 14px 0;
  color: rgba(255,255,255,.76);
  font-weight:600;
  font-size: 13px;
}

/* =========================
   WhatsApp floating button
========================= */
.whatsapp-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display:grid;
  place-items:center;
  box-shadow: 0 18px 36px rgba(0,0,0,.22);
  z-index: 999;
}
.whatsapp-float i{ font-size: 34px; }
.whatsapp-float:hover{ transform: translateY(-1px); }

/* =========================
   Reveal Animations
========================= */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .split{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .testimonials{ grid-template-columns: 1fr; }
  .footer__inner{ grid-template-columns: 1fr; }
  .header__cta{ display:inline-flex; }
}

@media (max-width: 860px){
  .site-nav{ display:none; }
  .nav-toggle{ display:inline-block; }
}

@media (max-width: 520px){
  .brand__text small{ display:none; }
  .hero__content{ padding: 52px 0; }
  .btn{ width: 100%; }
  .whatsapp-float{ right: 16px; bottom: 16px; }
}
