:root{
  --brand-red:#d7262e;
  --brand-red-dark:#b91f26;
  --brand-blue:#1f4aa8;
  --brand-blue-dark:#173a84;
  --brand-text:#0f172a;
  --brand-muted:#64748b;
  --brand-line:#e2e8f0;
  --brand-soft:#f8fafc;
  --brand-white:#ffffff;

  --shadow-soft:0 10px 30px rgba(15,23,42,.05);
  --shadow-medium:0 20px 50px rgba(15,23,42,.08);
  --shadow-strong:0 28px 60px rgba(15,23,42,.14);
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  color:var(--brand-text);
  background:
    radial-gradient(circle at top left, rgba(31,74,168,.04), transparent 25%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 18%, #f8fafc 100%);
}

img,
video,
iframe{
  max-width:100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible{
  outline:3px solid rgba(31,74,168,.25);
  outline-offset:3px;
  border-radius:12px;
}

/* Animaciones */
.fade-up{
  opacity:0;
  transform:translateY(20px);
  animation:fadeUp .7s ease forwards;
}

.delay-1{ animation-delay:.1s; }
.delay-2{ animation-delay:.2s; }

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media (prefers-reduced-motion: reduce){
  .fade-up,
  .delay-1,
  .delay-2{
    opacity:1;
    transform:none;
    animation:none;
  }

  *{
    scroll-behavior:auto !important;
  }
}

/* Top strip */
.top-strip{
  background:linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color:#e2e8f0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

/* Header */
header{
  box-shadow:0 8px 25px rgba(15,23,42,.04);
}

.nav-link{
  color:#334155;
  transition:all .2s ease;
  position:relative;
}

.nav-link:hover{
  color:var(--brand-blue);
}

.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--brand-red);
  transition:width .22s ease;
}

.nav-link:hover::after{
  width:100%;
}

/* Hero */
.hero-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(31,74,168,.10), transparent 20%),
    radial-gradient(circle at 10% 50%, rgba(215,38,46,.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  border:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.92);
  border-radius:999px;
  padding:.5rem .9rem;
  font-size:.78rem;
  color:#475569;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  backdrop-filter:blur(8px);
}

.eyebrow-dot{
  width:.55rem;
  height:.55rem;
  border-radius:999px;
  background:linear-gradient(135deg, var(--brand-red), #ff5a61);
  box-shadow:0 0 0 6px rgba(215,38,46,.08);
}

.hero-stats{
  margin-top:2rem;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:1rem;
}

.hero-stat{
  border:1px solid rgba(226,232,240,.95);
  border-radius:22px;
  background:rgba(255,255,255,.88);
  box-shadow:var(--shadow-soft);
  padding:1rem 1.1rem;
}

.hero-stat-number{
  display:block;
  font-weight:800;
  color:var(--brand-blue);
  font-size:1.1rem;
}

.hero-stat-label{
  display:block;
  margin-top:.25rem;
  color:#64748b;
  font-size:.9rem;
  line-height:1.5;
}

/* Botones */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  border-radius:16px;
  padding:.85rem 1.2rem;
  font-size:.94rem;
  font-weight:700;
  transition:all .2s ease;
  border:1px solid transparent;
  text-decoration:none;
  cursor:pointer;
}

.btn-primary{
  background:linear-gradient(135deg, var(--brand-red) 0%, #ef4444 100%);
  color:#fff;
  box-shadow:0 14px 28px rgba(215,38,46,.18);
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(215,38,46,.24);
}

.btn-secondary{
  background:rgba(255,255,255,.92);
  color:var(--brand-text);
  border:1px solid var(--brand-line);
  backdrop-filter:blur(8px);
}

.btn-secondary:hover{
  background:#fff;
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}

.btn-ghost{
  background:#fff;
  color:var(--brand-text);
  border:1px solid var(--brand-line);
}

.btn-ghost:hover{
  background:#f8fafc;
}

/* General */
.card{
  border-radius:28px;
  border:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.96);
  box-shadow:var(--shadow-medium);
  backdrop-filter:blur(10px);
}

.section-soft{
  background:linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:1.5rem;
  flex-wrap:wrap;
}

.section-title{
  font-size:2rem;
  line-height:2.4rem;
  font-weight:700;
  letter-spacing:-0.02em;
  color:var(--brand-text);
}

.section-text{
  margin-top:.55rem;
  color:#64748b;
  max-width:48rem;
  line-height:1.75;
}

.input{
  width:100%;
  border-radius:16px;
  border:1px solid #dbe4ee;
  background:#fff;
  color:var(--brand-text);
  padding:.95rem 1rem;
  font-size:.94rem;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.input::placeholder{
  color:#94a3b8;
}

.input:focus{
  border-color:rgba(31,74,168,.35);
  box-shadow:0 0 0 4px rgba(31,74,168,.10);
  transform:translateY(-1px);
}

/* Mini highlights */
.mini-highlight{
  border-radius:20px;
  border:1px solid rgba(226,232,240,.95);
  background:rgba(255,255,255,.95);
  padding:1rem 1rem 1.05rem;
  box-shadow:0 12px 26px rgba(15,23,42,.05);
  transition:all .18s ease;
}

.mini-highlight:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 34px rgba(15,23,42,.08);
}

.mini-highlight-title{
  font-weight:700;
  color:var(--brand-text);
}

.mini-highlight-text{
  margin-top:.35rem;
  color:#64748b;
  font-size:.9rem;
  line-height:1.6;
}

/* Hero media */
.hero-media{
  position:relative;
}

.hero-photo{
  width:100%;
  min-height:500px;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:32px;
  border:1px solid rgba(226,232,240,.95);
  box-shadow:var(--shadow-strong);
}

.hero-card{
  position:absolute;
  left:1.25rem;
  right:1.25rem;
  bottom:1.25rem;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.65);
  border-radius:26px;
  padding:1.25rem;
  box-shadow:0 20px 50px rgba(15,23,42,.16);
}

.hero-card-label{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  font-size:1rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--brand-blue);
  font-weight:800;
  background:rgba(31,74,168,.08);
  padding:.45rem .8rem;
  border-radius:999px;
}

.hero-card-columns{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1rem 1.75rem;
  margin-top:1rem;
}

.hero-card-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:.55rem;
}

.hero-card-list li{
  position:relative;
  padding-left:1rem;
  margin:0;
  font-size:.94rem;
  font-weight:600;
  color:#1e3a8a;
  line-height:1.45;
}

.hero-card-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55rem;
  width:6px;
  height:6px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--brand-red), var(--brand-blue));
}

/* CTA strip */
.cta-strip-wrap{
  margin-top:-1rem;
  position:relative;
  z-index:2;
}

.cta-strip{
  border:1px solid rgba(226,232,240,.95);
  background:rgba(255,255,255,.94);
  border-radius:28px;
  padding:1.6rem;
  box-shadow:var(--shadow-medium);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.25rem;
  flex-wrap:wrap;
  backdrop-filter:blur(10px);
}

.cta-strip-kicker{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.13em;
  color:var(--brand-blue);
  font-weight:800;
}

.cta-strip-title{
  margin-top:.35rem;
  font-size:1.6rem;
  font-weight:700;
  color:var(--brand-text);
  letter-spacing:-0.02em;
}

.cta-strip-text{
  margin-top:.35rem;
  color:#64748b;
  line-height:1.7;
}

/* Services */
.service-card{
  border-radius:24px;
  border:1px solid rgba(226,232,240,.95);
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding:1.45rem;
  box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 40px rgba(15,23,42,.09);
  border-color:#cfd8e3;
}

.service-card-rich{
  display:flex;
  flex-direction:column;
  min-height:230px;
}

.service-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid var(--brand-line);
  color:var(--brand-blue);
  font-size:.74rem;
  font-weight:800;
  padding:.38rem .75rem;
}

.service-title{
  margin-top:1rem;
  font-weight:800;
  font-size:1.18rem;
  color:var(--brand-text);
  letter-spacing:-0.02em;
}

.service-desc{
  margin-top:.65rem;
  font-size:.93rem;
  color:#475569;
  line-height:1.7;
}

.service-link{
  margin-top:auto;
  padding:0;
  background:none;
  border:none;
  text-align:left;
  color:var(--brand-red);
  font-weight:800;
  cursor:pointer;
  font-size:.95rem;
}

.service-link:hover{
  text-decoration:underline;
}

/* Benefits */
.benefit-card{
  border-radius:24px;
  border:1px solid rgba(226,232,240,.95);
  background:#fff;
  padding:1.5rem;
  box-shadow:var(--shadow-soft);
  position:relative;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
}

.benefit-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(15,23,42,.08);
}

.benefit-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg, var(--brand-red), var(--brand-blue));
}

.benefit-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid var(--brand-line);
  color:var(--brand-blue);
  font-weight:800;
  margin-bottom:1rem;
}

.benefit-title{
  font-weight:800;
  color:var(--brand-text);
}

.benefit-desc{
  margin-top:.55rem;
  color:#475569;
  line-height:1.7;
  font-size:.92rem;
}

/* Process */
.process-card{
  border-radius:24px;
  border:1px solid rgba(226,232,240,.95);
  background:#fff;
  padding:1.5rem;
  box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease;
}

.process-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 34px rgba(15,23,42,.08);
}

.process-step{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:linear-gradient(135deg, var(--brand-blue), var(--brand-red));
  color:#fff;
  font-weight:800;
  margin-bottom:1rem;
}

.process-title{
  font-weight:800;
  color:var(--brand-text);
}

.process-text{
  margin-top:.55rem;
  color:#475569;
  line-height:1.7;
  font-size:.92rem;
}

/* Trust block */
.trust-block{
  border:1px solid rgba(226,232,240,.95);
  border-radius:32px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow-medium);
  display:grid;
  grid-template-columns:1fr 1fr;
}

.trust-block-media{
  min-height:420px;
}

.trust-block-video{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
  display:block;
  background:#e2e8f0;
}

.trust-block-content{
  padding:2.25rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.trust-kicker{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.13em;
  color:var(--brand-blue);
  font-weight:800;
}

.trust-title{
  margin-top:.75rem;
  font-size:2.1rem;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-0.02em;
  color:var(--brand-text);
}

.trust-text{
  margin-top:1rem;
  color:#475569;
  line-height:1.85;
}

.trust-points{
  margin-top:1.25rem;
  display:grid;
  gap:.6rem;
}

.trust-point{
  color:#334155;
  font-weight:700;
}

.trust-badges{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
}

.trust-badge{
  border-radius:999px;
  background:#f8fafc;
  border:1px solid var(--brand-line);
  color:#334155;
  font-size:.85rem;
  font-weight:700;
  padding:.5rem .8rem;
}

/* Features */
.feature{
  border-radius:22px;
  border:1px solid rgba(226,232,240,.95);
  background:#fff;
  padding:1.25rem;
  box-shadow:0 12px 24px rgba(15,23,42,.04);
  transition:all .18s ease;
}

.feature:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 34px rgba(15,23,42,.07);
}

.feature-title{
  font-weight:800;
  color:var(--brand-text);
}

.feature-desc{
  margin-top:.5rem;
  font-size:.92rem;
  color:#475569;
  line-height:1.7;
}

/* Contact */
.contact-item{
  border-radius:18px;
  border:1px solid rgba(226,232,240,.95);
  background:#fff;
  padding:1rem;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}

.contact-label{
  font-size:.75rem;
  color:var(--brand-muted);
}

.contact-value{
  margin-top:.3rem;
  font-weight:700;
  color:var(--brand-text);
  line-height:1.6;
}

.map-card{
  border-radius:28px;
  border:1px solid rgba(226,232,240,.95);
  background:#fff;
  box-shadow:var(--shadow-medium);
}

/* Testimonials */
.testimonial-card{
  border-radius:24px;
  border:1px solid rgba(226,232,240,.95);
  background:#fff;
  padding:1.45rem;
  box-shadow:var(--shadow-soft);
  transition:all .18s ease;
}

.testimonial-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 36px rgba(15,23,42,.08);
}

.testimonial-stars{
  color:#f59e0b;
  letter-spacing:.12em;
  font-size:.95rem;
  margin-bottom:.8rem;
}

.testimonial-card p{
  color:#334155;
  line-height:1.8;
}

.testimonial-card span{
  display:block;
  margin-top:1rem;
  font-size:.9rem;
  color:#64748b;
  font-weight:700;
}

/* FAQ */
.faq-item{
  border-radius:20px;
  border:1px solid rgba(226,232,240,.95);
  background:#fff;
  box-shadow:var(--shadow-soft);
  padding:1rem 1.2rem;
  transition:box-shadow .18s ease, transform .18s ease;
}

.faq-item:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(15,23,42,.06);
}

.faq-item summary{
  cursor:pointer;
  font-weight:700;
  color:var(--brand-text);
  list-style:none;
  position:relative;
  padding-right:1.5rem;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item summary::after{
  content:"+";
  position:absolute;
  right:0;
  top:0;
  color:var(--brand-blue);
  font-weight:800;
}

.faq-item[open] summary::after{
  content:"−";
}

.faq-item p{
  margin-top:.8rem;
  color:#475569;
  line-height:1.7;
}

/* Final CTA */
.cta-final{
  border-radius:32px;
  background:
    radial-gradient(circle at top right, rgba(31,74,168,.06), transparent 22%),
    radial-gradient(circle at bottom left, rgba(215,38,46,.05), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border:1px solid rgba(226,232,240,.95);
  padding:2.3rem;
  text-align:center;
  box-shadow:var(--shadow-medium);
}

.cta-final h2{
  font-size:2.1rem;
  font-weight:800;
  color:var(--brand-text);
  letter-spacing:-0.02em;
}

.cta-final p{
  margin-top:.75rem;
  color:#64748b;
  line-height:1.75;
}

/* Floating WhatsApp */
.whatsapp-float{
  position:fixed;
  right:1.25rem;
  bottom:1.25rem;
  z-index:50;
  border-radius:999px;
  padding:.95rem 1.15rem;
  background:linear-gradient(135deg, var(--brand-red), #ef4444);
  color:#fff;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 20px 36px rgba(215,38,46,.28);
  transition:all .2s ease;
  animation:pulseFloat 2.2s infinite;
}

.whatsapp-float:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 40px rgba(215,38,46,.32);
}

@keyframes pulseFloat{
  0%{ box-shadow:0 0 0 0 rgba(215,38,46,.28), 0 20px 36px rgba(215,38,46,.28); }
  70%{ box-shadow:0 0 0 14px rgba(215,38,46,0), 0 20px 36px rgba(215,38,46,.28); }
  100%{ box-shadow:0 0 0 0 rgba(215,38,46,0), 0 20px 36px rgba(215,38,46,.28); }
}

/* Responsive */
@media (max-width: 1024px){
  .trust-block{
    grid-template-columns:1fr;
  }

  .hero-photo{
    min-height:420px;
  }
}

@media (max-width: 768px){
  .section-title{
    font-size:1.7rem;
    line-height:2.1rem;
  }

  .hero-photo{
    min-height:320px;
    border-radius:24px;
  }

  .hero-card{
    position:static;
    margin-top:1rem;
    border-radius:22px;
  }

  .hero-card-columns{
    grid-template-columns:1fr;
    gap:.8rem;
  }

  .hero-stats{
    grid-template-columns:1fr;
  }

  .cta-strip{
    padding:1.2rem;
    border-radius:22px;
  }

  .cta-strip-title{
    font-size:1.3rem;
  }

  .trust-block-media,
  .trust-block-video{
    min-height:280px;
  }

  .trust-title{
    font-size:1.65rem;
  }

  .cta-final{
    border-radius:24px;
    padding:1.7rem;
  }

  .cta-final h2{
    font-size:1.55rem;
  }

  .whatsapp-float{
    right:1rem;
    bottom:1rem;
    padding:.9rem 1rem;
  }
}