:root{
  --primary:#0f6f78;
  --secondary:#1f8f9b;
  --accent:#f2c94c;
  --dark:#0b3c42;
  --text:#12383d;
  --muted:#f5f7f8;
  --white:#ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 14px;
  --header-h: 72px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ font-family:'Montserrat',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; color:var(--text); background:var(--white); }

.container{
  width:min(1100px, 92%);
  margin:0 auto;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}
/* Header fijo */
.header{
  position:fixed;
  top:0; left:0; right:0;
  width: 100%;
  height:var(--header-h);
  background:rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(15,111,120,0.12);
  z-index:1000;
}

.logo-header{
  height: 60px;      /* Desktop */
  width: auto;
  display: block;
}

.menu-btn{
  display:none; /* se activa en móvil */
  background: transparent;
  border: 0;
  color: var(--dark);
  font-size: 1.35rem;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.menu-btn:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(15,111,120,0.14);
}

@media (max-width: 620px){
  .logo-header{
    height: 40px;
    max-width: 140px;
    
  }

  .menu-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  /* NAV móvil */
  .nav{
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(15,111,120,0.12);
    display: none;              /* 🔒 cerrado por defecto */
    flex-direction: column;
    gap: 10px;                  /* 👈 movido aquí */
    padding: 10px 14px;
  }

  .nav.nav-open{
    display:flex;               /* 🔓 solo abierto con JS */
  }

  .nav a{
    padding: 12px 10px;
    border-radius: 10px;
    width: 100%;
    font-size: 0.9rem;          /* 👈 movido aquí */
  }

  .nav a:hover{
    background: rgba(15,111,120,0.08);
  }

  .nav-cta{
    width: 100%;
    text-align: center;
    margin-top: 6px;
  }

  /* Otros ajustes móviles */
  .title{ font-size:2.25rem; }
  .cards{ grid-template-columns: 1fr; }
  .features{ grid-template-columns: 1fr; }
  .grid-field{ grid-template-columns: 1fr; }
}


.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 0 14px; 
}
/* NAV ESCRITORIO */
@media (min-width: 621px){
  .nav{
    display:flex;
    align-items:center;
    gap:18px;
  }
}

.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand-name{
  font-weight:800;
  color:var(--dark);
  letter-spacing:0.2px;
}


.nav a{
  text-decoration:none;
  color:var(--dark);
  font-weight:600;
  font-size:0.95rem;
  opacity:0.9;
}
.nav a:hover{ opacity:1; }

.nav-cta{
  padding:10px 14px;
  border-radius:999px;
  background:var(--primary);
  color:white !important;
}

.main{ padding-top: var(--header-h); }

.section{
  padding:84px 0;
}

.section-muted{
  background:var(--muted);
  border-top:1px solid rgba(0,0,0,0.04);
  border-bottom:1px solid rgba(0,0,0,0.04);
}

.section-title{
  font-size:2.1rem;
  color:var(--dark);
  margin-bottom:14px;
  letter-spacing:-0.4px;
}

.section-subtitle{
  max-width:820px;
  margin:0 0 34px 0;
  color:rgba(18,56,61,0.82);
  line-height:1.7;
}

/* Hero sin imagen */
.hero{
  padding:86px 0 64px;
  background: linear-gradient(180deg, rgba(31,143,155,0.12), rgba(255,255,255,0));
}

.eyebrow{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(15,111,120,0.10);
  color:var(--dark);
  font-weight:700;
  font-size:0.9rem;
  margin-bottom:18px;
}

@media (max-width: 620px){
  .title{
    max-width: 100%;
    word-wrap: break-word;
  }
}


.title{
  font-size:3rem;
  line-height:1.08;
  letter-spacing:-0.9px;
  color:var(--dark);
  margin-bottom:16px;
}
.title-accent{ color:var(--primary); }

.lead{
  max-width:900px;
  line-height:1.75;
  color:rgba(18,56,61,0.85);
  font-size:1.05rem;
  margin-bottom:24px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.badge{
  padding:10px 12px;
  border-radius:999px;
  background:white;
  box-shadow: var(--shadow);
  font-weight:700;
  font-size:0.9rem;
  color:rgba(11,60,66,0.9);
}

/* Botones */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:12px 18px;
  font-weight:800;
  text-decoration:none;
  border:2px solid transparent;
  cursor:pointer;
  transition: transform 0.06s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--primary);
  color: white;
}
.btn-outline{
  background: transparent;
  color: var(--primary);
  border-color: rgba(15,111,120,0.35);
}
.btn-block{ width:100%; border:none; }

/* Texto y grids */
.text{
  line-height:1.8;
  color:rgba(18,56,61,0.86);
  margin-bottom:12px;
}

.grid-2{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:28px;
  align-items:start;
}

.panel{
  background:white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:22px;
}

.panel-title{
  color:var(--dark);
  font-size:1.2rem;
  margin-bottom:10px;
}

.list{
  margin:10px 0 0 18px;
  line-height:1.8;
  color:rgba(18,56,61,0.86);
}

.note{
  margin-top:14px;
  padding:14px 14px;
  border-radius: 12px;
  background: rgba(242,201,76,0.18);
  border:1px solid rgba(242,201,76,0.35);
  color:rgba(11,60,66,0.95);
  line-height:1.6;
}

/* Stats */
.stats{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}
.stat{
  flex: 1;
  min-width:160px;
  background: white;
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding:14px;
}
.stat-num{
  font-weight:900;
  font-size:1.35rem;
  color: var(--primary);
}
.stat-label{
  color: rgba(18,56,61,0.78);
  margin-top:6px;
  font-weight:600;
  font-size:0.95rem;
}

/* Cards servicios */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}

.card{
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:20px;
  border:1px solid rgba(0,0,0,0.04);
}

/* ✅ Encabezado con icono */
.card-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.icon-chip{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(15,111,120,0.12);
  border: 1px solid rgba(15,111,120,0.18);
  color: var(--primary);
  flex-shrink:0;
}

.icon-chip i{
  font-size: 1.15rem;
}

.card-title{
  color: var(--dark);
  font-size:1.15rem;
}

.card-text{
  line-height:1.7;
  color:rgba(18,56,61,0.84);
  margin-bottom:10px;
}

.card-list{
  margin-left:18px;
  line-height:1.8;
  color:rgba(18,56,61,0.82);
  font-weight:600;
}

/* Features ventajas */
.features{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin-top:18px;
}

.feature{
  background:white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
  border:1px solid rgba(0,0,0,0.04);
}

.feature-title{
  color:var(--primary);
  font-size:1.05rem;
  margin-bottom:8px;
  font-weight:900;
}

.feature-text{
  line-height:1.75;
  color:rgba(18,56,61,0.84);
}

/* Callout */
.callout{
  margin-top:26px;
  background: linear-gradient(90deg, rgba(15,111,120,0.10), rgba(242,201,76,0.14));
  border:1px solid rgba(15,111,120,0.18);
  border-radius: var(--radius);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.callout-title{
  color:var(--dark);
  margin-bottom:6px;
  font-size:1.1rem;
}

.callout-text{
  color:rgba(18,56,61,0.84);
  line-height:1.6;
}

/* Contacto */
.contact-info{
  margin-top:14px;
  display:grid;
  gap:10px;
}
.contact-item{
  background:white;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding:14px;
  border:1px solid rgba(0,0,0,0.04);
}
.contact-label{
  display:block;
  font-size:0.85rem;
  color:rgba(18,56,61,0.65);
  margin-bottom:6px;
  font-weight:700;
}
.contact-value{
  color:var(--dark);
  font-weight:800;
  text-decoration:none;
}
.contact-value:hover{ text-decoration:underline; }

.form-card{
  background:white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:22px;
  border:1px solid rgba(0,0,0,0.04);
}
.form-title{
  color:var(--dark);
  font-size:1.2rem;
  margin-bottom:12px;
}

.field{ margin-bottom:12px; }
.field label{
  display:block;
  font-weight:800;
  color:rgba(11,60,66,0.92);
  margin-bottom:6px;
  font-size:0.92rem;
}

.field input, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid rgba(11,60,66,0.18);
  outline:none;
  font-size:0.98rem;
  background: #fff;
}
.field input:focus, .field textarea:focus{
  border-color: rgba(15,111,120,0.55);
  box-shadow: 0 0 0 4px rgba(15,111,120,0.12);
}

.grid-field{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

.form-hint{
  margin-top:10px;
  font-size:0.85rem;
  color:rgba(18,56,61,0.65);
  line-height:1.5;
}

/* Footer */
.footer{
  background: var(--dark);
  color: rgba(255,255,255,0.92);
  padding:22px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer-sub{ margin-top:6px; font-size:0.92rem; opacity:0.85; }
.footer-copy{ font-weight:700; opacity:0.9; }

/* ✅ WhatsApp flotante con ícono */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#25D366;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow: 0 16px 30px rgba(0,0,0,0.20);
  z-index:1100;
}

.whatsapp-float i{
  font-size: 1.9rem;
}

.whatsapp-float:hover{
  filter: brightness(0.96);
}

/* Responsive */
@media (max-width: 980px){
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .features{ grid-template-columns: repeat(2, 1fr); }
  .grid-2{ grid-template-columns: 1fr; }
}

