/* =========================
   Confianza Financial Services - style.css (FULL)
   Reemplaza TODO el fichero por este contenido
   ========================= */

/* ----- Reset / Base ----- */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
:root{
  --blue:#1e3a8a;
  --blue2:#2563eb;
  --text:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
  --border:#e5e7eb;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#f6f8fc;
  line-height:1.5;
}

/* ----- Layout helper ----- */
.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

/* =========================
   TOP BAR
   ========================= */
.topbar{
  background:linear-gradient(90deg,var(--blue),var(--blue2));
  color:#fff;
  font-size:14px;
}
.topbar .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 20px;
}
.topbar .left{
  opacity:.95;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.topbar .right{
  display:flex;
  align-items:center;
  gap:18px;
  white-space:nowrap;
}
.topbar a{
  text-decoration:none;
  opacity:.95;
}
.topbar a:hover{opacity:1}

/* =========================
   HEADER
   ========================= */
.header{
  background:#fff;
  border-bottom:1px solid var(--border);
}
.header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding-top:14px;
  padding-bottom:14px;
  flex-wrap:wrap;
}

/* Logo + Brand */
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
}
.logo img{
  height:56px;   /* si lo quieres un poco más grande: 60px */
  width:auto;
}
.brand-text{
  font-size:22px;
  font-weight:800;
  color:var(--blue);
  line-height:1.1;
  letter-spacing:-.2px;
  white-space:nowrap; /* evita que se parta */
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  font-weight:700;
  flex:1;
  flex-wrap:wrap;
}
.nav a{
  text-decoration:none;
  color:var(--blue);
  padding:8px 2px;
  border-bottom:2px solid transparent;
  transition:.2s;
}
.nav a:hover{
  color:var(--blue2);
  border-bottom-color: rgba(37,99,235,.55);
}

/* CTA (Llamar) */
.cta a{
  display:inline-block;
  background:var(--blue2);
  color:#fff;
  text-decoration:none;
  padding:12px 20px;
  border-radius:12px;
  font-weight:800;
  box-shadow:0 10px 20px rgba(0,0,0,.14);
  transition:.2s;
  white-space:nowrap;
}
.cta a:hover{
  transform:translateY(-1px);
  background:#1d4ed8;
}

/* =========================
   HERO
   ========================= */
.hero{
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
  padding:70px 0;          /* antes lo tenías muy alto; esto lo equilibra */
  position:relative;
  overflow:hidden;
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1.15fr .95fr;
  gap:44px;
  align-items:center;
}

/* Texto principal */
.hero h1{
  font-size:56px;
  line-height:1.08;
  margin:0 0 18px;
  font-weight:900;
  letter-spacing:-1px;
}
.hero p{
  font-size:20px;
  margin:0 0 26px;
  color:#dbeafe;
  max-width:620px;
}

/* Buttons */
.btn{
  display:inline-block;
  padding:16px 28px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  margin-right:14px;
  transition:.2s;
  box-shadow:0 12px 26px rgba(0,0,0,.18);
}
.btn.red{background:#dc2626;color:#fff}
.btn.red:hover{background:#b91c1c; transform:translateY(-1px)}
.btn.green{background:#22c55e;color:#fff}
.btn.green:hover{background:#16a34a; transform:translateY(-1px)}

/* Badges bajo botones */
.badges{margin-top:18px}
.badge{
  display:inline-block;
  border:1px solid rgba(255,255,255,.25);
  padding:8px 14px;
  border-radius:999px;
  margin-right:8px;
  margin-top:10px;
  font-size:14px;
  color:#fff;
  opacity:.95;
  background:rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}

/* Panel derecho (¿Qué hacemos?) */
.panel{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  border-radius:22px;
  padding:28px;
  backdrop-filter: blur(10px);
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  position:relative;
  z-index:2; /* por encima del fondo, por debajo del WhatsApp si hace falta */
}
.panel h3{
  margin:0 0 14px;
  font-size:22px;
}
.panel ul{
  margin:0;
  padding-left:20px;
}
.panel li{
  margin-bottom:10px;
  font-size:17px;
}

/* =========================
   SECTIONS (Servicios, etc.)
   ========================= */
section{
  padding:70px 0;
  background:#f6f8fc;
}
h2{
  font-size:34px;
  margin:0 0 10px;
  color:var(--blue);
}
.sub{
  margin:0 0 26px;
  color:var(--muted);
  font-size:16px;
}

/* =========================
   SERVICES GRID
   ========================= */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.card{
  background:var(--card);
  border:1px solid #eef2ff;
  border-radius:18px;
  padding:22px;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  transition:.25s;
  position:relative;
}
.card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 46px rgba(0,0,0,.12);
}
.card:before{
  content:"";
  position:absolute;
  top:0; left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,var(--blue),var(--blue2));
  border-radius:18px 18px 0 0;
}
.card h3{
  margin:8px 0 10px;
  color:var(--blue);
}
.card p{
  margin:0;
  color:#374151;
}
.mini{
  margin-top:10px;
  font-size:14px;
  color:var(--muted);
}

/* =========================
   FOOTER
   ========================= */
footer{
  background:#0b1220;
  color:#e5e7eb;
  padding:28px 0;
  margin-top:40px;
}
footer .wrap{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:20px;
  align-items:start;
}
footer a{
  color:#e5e7eb;
  text-decoration:none;
}
footer a:hover{text-decoration:underline}
small{color:#9ca3af}

/* =========================
   WHATSAPP FLOAT
   ========================= */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  background:#22c55e;
  color:#fff;
  padding:14px 18px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(0,0,0,.20);
  z-index:50;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width:1000px){
  .header .wrap{padding-top:12px;padding-bottom:12px}
  .nav{justify-content:flex-start; flex:1 1 100%}
  .cta{margin-left:auto}
  .hero{padding:56px 0}
  .hero .wrap{grid-template-columns:1fr; gap:26px}
  .panel{max-width:720px}
}

@media (max-width:600px){
  .topbar .wrap{flex-direction:column; align-items:flex-start}
  .logo{min-width:auto}
  .brand-text{white-space:normal}
  .nav{gap:18px}
  .hero h1{font-size:38px}
  .hero p{font-size:17px}
  .btn{display:inline-block; width:100%; margin-right:0; margin-bottom:12px; text-align:center}
  .badges .badge{display:inline-block}
  .grid{grid-template-columns:1fr}
  footer .wrap{grid-template-columns:1fr}
  .whatsapp-float{right:14px; bottom:14px}
}
/* ===== FIX HEADER: logo izq, menu centro, llamar derecha + menos alto ===== */
.header .wrap{
  flex-wrap:nowrap;              /* evita que se parta en 2 filas */
  align-items:center;
}

.logo{ order:1; min-width:unset; }
.nav{
  order:2;
  flex:0 1 auto;
  margin:0 auto;                 /* centra el menú */
}
.cta{
  order:3;
  margin-left:auto;              /* empuja el botón a la derecha */
}

/* Reduce espacio blanco del header */
.header .wrap{
  padding-top:10px;
  padding-bottom:10px;
}
.logo img{ height:52px; }        /* ajusta si quieres 48–56px */
/* ====== Servicios (mejoras pro) ====== */

/* Grid: más consistente y centrado cuando sobra espacio */
.grid{
  gap: 24px;
  align-items: stretch;
}

/* Cards: misma altura visual + look premium */
.card{
  border-radius: 20px;
  padding: 26px;
  min-height: 210px;         /* ajusta si quieres más/menos altura */
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  border: 1px solid rgba(13, 38, 76, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

/* Barra superior más fina y moderna */
.card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:5px;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
}

/* Hover */
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0,0,0,.16);
  border-color: rgba(37, 99, 235, .25);
}

/* Tipografía dentro */
.card h3{
  font-size: 20px;
  margin-bottom: 10px;
}
.card p{
  line-height: 1.55;
}
.card .mini{
  margin-top: 10px;
  opacity: .9;
}

/* Botón "Ver todos los servicios" (si es link o button) */
.section .btn,
.section a.btn,
.section button{
  border-radius: 14px;
  padding: 14px 22px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.section .btn:hover,
.section a.btn:hover,
.section button:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

/* Responsive: 2 columnas en tablet, 1 en móvil */
@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .grid{ grid-template-columns: 1fr; }
  .card{ min-height: auto; }
}
/* ===========================
   TRUST / CREDIBILIDAD
   =========================== */
.trust{
  padding: 80px 0;
  background: #f6f8fc;
}

.trust-head{
  max-width: 900px;
  margin: 0 auto 26px;
  text-align: left;
}

.trust-head h2{
  font-size: 34px;
  margin-bottom: 10px;
  color: var(--blue);
}

.trust .sub{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.trust-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.trust-card{
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

.trust-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
}

.trust-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(37, 99, 235, .10);
  border: 1px solid rgba(37, 99, 235, .18);
  margin-bottom: 14px;
}

.trust-card h3{
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 18px;
}

.trust-card p{
  margin: 0;
  color: #374151;
  line-height: 1.55;
  font-size: 15px;
}

/* banda CTA */
.trust-band{
  margin-top: 22px;
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: center;
}

.trust-band h3{
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 18px;
}

.trust-band p{
  margin: 0;
  color: var(--muted);
}

.trust-band-right{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1000px){
  .trust-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-band{
    grid-template-columns: 1fr;
  }
  .trust-band-right{
    justify-content: flex-start;
  }
}

@media (max-width: 600px){
  .trust{
    padding: 60px 0;
  }
  .trust-grid{
    grid-template-columns: 1fr;
  }

.trust-badges{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:18px 0 26px;
}

}

.trust-badges span{
  background:#fff;
  border:1px solid #e7ecff;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  color:#374151;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
}

.trust-badges span{
  transition:.25s;
}
.trust-badges span:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.12);
  
} 

.proof{
  text-align:center;
  padding:26px 20px;
  font-size:18px;
  background:#f5f7fb;
  color:#2a3b5f;
}

/* =========================
   TESTIMONIOS (CONVERSIÓN)
   ========================= */
.testimonials{
  padding:80px 0;
  background:#f6f8fc;
}

.testimonials .wrap{
  width:min(1100px, 92%);
  margin:0 auto;
}

.testimonials h2{
  font-size:34px;
  margin-bottom:10px;
  color:var(--blue);
}

.testimonials .sub{
  color:var(--muted);
  margin-bottom:28px;
  font-size:16px;
}

.t-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

.t-card{
  background:#fff;
  border:1px solid #eef2ff;
  border-radius:18px;
  padding:22px;
  box-shadow:0 14px 40px rgba(0,0,0,.08);
  transition:.25s;
}

.t-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 60px rgba(0,0,0,.12);
}

.t-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}

.t-avatar{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:var(--blue);
  background:rgba(37,99,235,.10);
  border:1px solid rgba(37,99,235,.18);
}

.t-meta{
  line-height:1.15;
}

.t-name{
  font-weight:800;
  color:#0b1220;
}

.t-loc{
  font-size:13px;
  color:var(--muted);
  margin-top:4px;
}

.t-stars{
  margin-left:auto;
  font-size:14px;
  letter-spacing:1px;
  color:#f5b301;
  user-select:none;
}

.t-text{
  color:#1f2a44;
  line-height:1.65;
  margin:0 0 16px 0;
}

.t-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.t-badge{
  font-size:13px;
  padding:6px 10px;
  border-radius:999px;
  color:var(--blue);
  background:rgba(37,99,235,.08);
  border:1px solid rgba(37,99,235,.15);
}

/* CTA dentro de testimonios */
.t-cta{
  margin-top:26px;
  background:#fff;
  border:1px solid #eef2ff;
  border-radius:22px;
  padding:22px;
  box-shadow:0 14px 40px rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.t-cta-text h3{
  margin:0 0 6px 0;
  font-size:20px;
  color:#0b1220;
}

.t-cta-text p{
  margin:0;
  color:var(--muted);
}

.t-cta-actions{
  text-align:right;
}

.t-cta-actions .btn{
  margin-right:10px;
}

.t-cta-actions .btn:last-child{
  margin-right:0;
}

.t-micro{
  margin:10px 0 0 0;
  font-size:13px;
  color:var(--muted);
}

/* Responsive */
@media (max-width: 1000px){
  .t-grid{ grid-template-columns:1fr; }
  .t-cta{ flex-direction:column; align-items:flex-start; }
  .t-cta-actions{ text-align:left; }
}

/* SOCIAL PROOF HERO */
.social-proof{
  display:flex;
  align-items:center;
  gap:14px;
  margin:22px 0 10px;
  flex-wrap:wrap;
}

.sp-text{
  font-weight:600;
  color:#dbeafe;
  font-size:17px;
}

.sp-stars{
  color:#fbbf24;
  letter-spacing:2px;
  font-size:18px;
  text-shadow:0 2px 8px rgba(0,0,0,.2);
}

/* mobile */
@media (max-width:700px){
  .social-proof{
    justify-content:center;
    text-align:center;
  }
}

/* BADGES HERO (los circulitos/etiquetas) */
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px 14px;
  margin:18px 0 14px;
  align-items:center;
}

/* cada badge */
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.25);
  font-weight:700;
  color:#1f2a44;
  line-height:1;
  white-space:nowrap;     /* ✅ evita que se corte */
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

/* icono check si lo tienes con <span> o <i> */
.badge .icon,
.badge i{
  font-size:16px;
  opacity:.9;
}

/* móvil: centrado y más compacto */
@media (max-width:700px){
  .badges{
    justify-content:center;
  }
  .badge{
    padding:10px 14px;
    font-size:14px;
  }
}

/* BADGES del HERO (Licencias activas, etc.) */
.trust-badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px 14px;          /* espacio entre badges */
  margin:18px 0 14px;
  align-items:center;
}

.trust-badges span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.25);
  font-weight:700;
  color:#1f2a44;
  line-height:1;
  white-space:nowrap;     /* ✅ evita que se corten */
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

/* móvil: centrado y más compacto */
@media (max-width:700px){
  .trust-badges{ justify-content:center; }
  .trust-badges span{
    padding:10px 14px;
    font-size:14px;
  }
}

/* =========================
   TESTIMONIOS
========================= */
.testimonials{
  padding: 70px 0;
  background: #f6f8fc;
}

.testimonials h2{
  font-size: 40px;
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 800;
}

.testimonials .sub{
  margin: 0 0 28px;
  color: #52627a;
  font-size: 18px;
}

.t-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.t-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-top: 4px solid var(--blue2);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.t-stars{
  color: #f7b500;
  letter-spacing: 2px;
  font-size: 18px;
  margin-bottom: 10px;
}

.t-quote{
  color: #1d2b3a;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.t-name{
  color: #52627a;
  font-weight: 700;
  font-size: 14px;
}

.t-cta{
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px){
  .t-grid{ grid-template-columns: 1fr; }
  .testimonials h2{ font-size: 32px; }
}

/* ===== Trust badges layout fix ===== */
.trust-badges{
display:grid;
grid-template-columns:repeat(2,auto);
gap:12px 14px;
margin:22px 0 10px;
max-width:420px;
}

.trust-badges span{
background:#ffffff;
color:#1d2b4f;
padding:10px 16px;
border-radius:999px;
font-weight:700;
font-size:15px;
box-shadow:0 6px 18px rgba(0,0,0,.15);
white-space:nowrap;
display:inline-flex;
align-items:center;
justify-content:center;
}

/* móvil */
@media(max-width:600px){
.trust-badges{
grid-template-columns:1fr;
max-width:100%;
}
}

/* ===== Urgency banner (conversion boost) ===== */
.urgency{
margin:14px 0 8px;
padding:12px 16px;
border-radius:14px;
background:rgba(255,255,255,.14);
border:1px solid rgba(255,255,255,.22);
backdrop-filter:blur(10px);
color:#fff;
font-weight:600;
font-size:15px;
line-height:1.35;
display:inline-block;
}

.urgency strong{
color:#fff;
font-weight:800;
}

@media(max-width:600px){
.urgency{
width:100%;
}
}

/* ===== HERO GRID FINAL ===== */
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .95fr;
  gap:44px;
  align-items:center;
}

/* Ajuste fino de textos */
.hero-sub{
  max-width: 660px;
  opacity:.92;
}

/* Trust badges: 2 arriba / 2 abajo */
.trust-badges{
  display:grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap:12px 14px;
  margin:18px 0 16px;
}

.trust-badges span{
  display:flex;
  align-items:center;
  gap:10px;
  background: rgba(255,255,255,.92);
  color:#1a2b4a;
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  white-space:nowrap;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

/* Social proof */
.social-proof{
  display:flex;
  align-items:center;
  gap:14px;
  margin:10px 0 14px;
  font-weight:700;
}
.sp-text{ opacity:.95; }
.sp-stars{
  letter-spacing:2px;
  transform: translateY(-1px);
}

/* CTA spacing */
.cta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:12px 0 8px;
}

/* Micro trust (reduce fricción) */
.micro-trust{
  margin-top:8px;
  font-size:14px;
  opacity:.92;
  font-weight:600;
}

/* Urgencia + cupos */
.urgency{
  margin-top:12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding:12px 14px;
  border-radius:14px;
  backdrop-filter: blur(10px);
  font-weight:700;
}

.urgency .spots{
  display:block;
  margin-top:6px;
  font-weight:700;
  opacity:.95;
}

#spots{
  color:#ffd166;
  font-weight:900;
}

/* Panel derecho (si quieres un poquito más “pro”) */
.panel{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .hero-grid{
    grid-template-columns: 1fr;
    gap:26px;
  }
  .panel{
    max-width: 720px;
  }
}

@media (max-width: 560px){
  .trust-badges{
    grid-template-columns: 1fr; /* en móvil: una columna para que no se apriete */
  }
  .trust-badges span{
    justify-content:center;
  }
  .cta a{
    width:100%;
    text-align:center;
  }
}

/* =================================================
   OPTIMIZACIÓN FINAL PRO — UI + UX + CONVERSIÓN
   ================================================= */

/* Suaviza animaciones globales */
*{
  transition: all .18s ease;
}

/* Botones más premium */
.btn{
  position:relative;
  overflow:hidden;
}

.btn::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.35),transparent);
  opacity:0;
  transition:.5s;
}

.btn:hover::after{
  opacity:1;
}

/* CTA hover más profesional */
.btn.red:hover{ transform:translateY(-2px) scale(1.02); }
.btn.green:hover{ transform:translateY(-2px) scale(1.02); }

/* Panel derecho efecto vidrio más real */
.panel{
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Mejora legibilidad hero */
.hero h1{
  text-shadow:0 4px 18px rgba(0,0,0,.18);
}

/* Social proof más visible */
.social-proof{
  font-weight:600;
  letter-spacing:.3px;
}

.sp-stars{
  margin-left:10px;
  letter-spacing:3px;
  font-size:18px;
}

/* Badges inferiores */
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.badge{
  background:#ffffff20;
  border:1px solid #ffffff35;
  backdrop-filter:blur(8px);
}

/* Cards elevación suave */
.card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.12);
}

/* TESTIMONIOS */
.testimonials .card{
  transition:.25s;
}

.testimonials .card:hover{
  transform:scale(1.02);
}

/* WhatsApp botón flotante */
.whatsapp{
  box-shadow:0 15px 35px rgba(37,211,102,.35);
}

.whatsapp:hover{
  transform:translateY(-3px);
}

/* Responsive refinado */
@media (max-width:900px){

  .hero .wrap{
    grid-template-columns:1fr;
    text-align:center;
  }

  .panel{
    margin-top:25px;
  }

  .trust-badges{
    justify-content:center;
  }

  .cta{
    justify-content:center;
  }

}

/* Reduce motion accesibilidad */
@media (prefers-reduced-motion:reduce){
  *{
    transition:none !important;
    animation:none !important;
  }
}

/* =================================================
   SIGUIENTE MEJORA PRO: HEADER STICKY + GLASS
   ================================================= */

.header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10,30,70,.10);
}

/* Sombra cuando haces scroll (se activa con JS) */
.header.is-scrolled{
  box-shadow: 0 14px 35px rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
}

/* Ajuste para que el contenido no se “pegue” arriba */
.hero{
  scroll-margin-top: 90px;
}

/* =================================================
   ANIMACIÓN DE ENTRADA SUAVE (sin librerías)
   ================================================= */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: .6s ease;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion accesibilidad */
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}












