:root {
  --red: #d9141a;
  --red-dark: #8f000b;
  --gold: #f6b24a;
  --dark: #120306;
  --dark-2: #25070d;
  --text: #f8f0e8;
  --muted: #d9c7bd;
  --card: #ffffff;
  --ink: #231316;
  --soft: #fff4e7;
  --green: #19a84a;
  --shadow: 0 16px 35px rgba(0,0,0,.22);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #111;
  padding: 10px;
  z-index: 20;
}

.skip-link:focus {
  left: 8px;
}

/* HEADER */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 58px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  background: rgba(18,3,6,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .01em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255,255,255,.08);
}

.mini-cta {
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
  background: var(--green);
  color: #fff;
  padding: 9px 12px;
  border-radius: 999px;
}

/* HERO */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 58px);
  display: grid;
  align-items: center;
  padding: 34px 16px 26px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 20%, rgba(246,178,74,.28), transparent 32%),
    linear-gradient(180deg, rgba(216,20,26,.88), rgba(84,0,8,.92) 34%, rgba(18,3,6,.97)),
    var(--dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.55)),
    url("assets/img/hero.jpg") center/cover no-repeat;
  opacity: .34;
}

.hero__glow {
  position: absolute;
  width: 280px;
  height: 280px;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,166,53,.35), transparent 65%);
  z-index: -1;
}

.hero__content {
  width: min(100%, 540px);
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.05rem, 11vw, 3.55rem);
  line-height: .96;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__text {
  max-width: 36rem;
  margin: 0 auto 16px;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 22px;
}

.hero__badges span {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: .82rem;
  font-weight: 800;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(25,168,74,.28);
}

.cta--main {
  width: min(100%, 330px);
  min-height: 54px;
  font-size: 1rem;
}

.disclaimer {
  margin: 13px auto 0;
  max-width: 21rem;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
}

/* SECCIONES GENERALES */
.section {
  padding: 42px 16px;
  width: min(100%, 760px);
  margin-inline: auto;
}

.section-title {
  margin-bottom: 16px;
  text-align: center;
}

.section h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 7vw, 2.35rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

.section > p,
.section-lead {
  color: #5d4549;
  text-align: center;
  margin-inline: auto;
  max-width: 44rem;
}

/* AMOR Y PAREJA CON FONDO */
.intro-bg {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 58px 16px 64px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,248,241,.92), rgba(255,248,241,.82)),
    url("assets/img/pareja-bg.jpg") center/cover no-repeat;
}

.intro-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/img/pareja-bg.jpg") center/cover no-repeat;
  transform: scale(1.03);
}

.intro-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top, rgba(246,178,74,.22), transparent 34%),
    linear-gradient(
      180deg,
      rgba(255,248,241,.96) 0%,
      rgba(255,248,241,.88) 45%,
      rgba(255,248,241,.80) 100%
    );
}

.intro-content {
  width: min(100%, 760px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.intro-content > p {
  color: #5d4549;
  text-align: center;
  margin-inline: auto;
  max-width: 44rem;
}

/* SECCIÓN OSCURA */
.dark {
  width: 100%;
  max-width: none;
  padding-inline: 16px;
  background:
    radial-gradient(circle at top, rgba(246,178,74,.16), transparent 38%),
    linear-gradient(180deg, var(--dark-2), var(--dark));
  color: var(--text);
}

.dark > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.dark p {
  color: var(--muted);
}

/* TARJETAS */
.cards,
.service-list,
.stats {
  display: grid;
  gap: 14px;
}

.card,
.service-card,
.testimonial,
.stats > div {
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.compact-cards {
  margin-top: 22px;
}

.card {
  padding: 18px;
  border: 1px solid #f2dfd0;
}

.intro-bg .card {
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(242,223,208,.95);
  box-shadow: 0 18px 38px rgba(64,30,16,.16);
  backdrop-filter: blur(5px);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  color: var(--red);
  background: var(--soft);
  font-size: 1.45rem;
}

.card h3,
.service-card h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.card p,
.service-card p {
  margin-bottom: 0;
  color: #60484c;
}

/* SERVICIOS */
.services {
  padding-top: 46px;
}

.service-list {
  margin-top: 22px;
}

.service-card {
  overflow: hidden;
  border: 1px solid #f0e0d7;
}

.service-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #2b080d;
}

.service-body {
  padding: 18px;
}

.service-body .cta {
  margin-top: 14px;
  width: 100%;
}

/* EXPERIENCIA */
.proof {
  background: #fff7f1;
  width: 100%;
  max-width: none;
}

.proof > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.stats {
  margin-top: 22px;
  grid-template-columns: 1fr;
}

.stats > div {
  padding: 20px;
  text-align: center;
}

.stats strong {
  display: block;
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 7px;
  color: #60484c;
  font-weight: 700;
}

/* TESTIMONIOS CON IMÁGENES */
.testimonials-bg {
  width: 100%;
  max-width: none;
  background:
    radial-gradient(circle at top, rgba(246,178,74,.14), transparent 36%),
    linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
}

.testimonials-bg > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial {
  scroll-snap-align: center;
  padding: 14px;
  border: 1px solid #f0e0d7;
}

.testimonial-img-card {
  overflow: hidden;
  background: #ffffff;
}

.testimonial-img-card img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  border-radius: 16px;
  background: #f5f5f5;
}

.testimonial-img-card span {
  display: block;
  margin-top: 12px;
  color: var(--red);
  font-weight: 900;
  font-size: .88rem;
  text-align: center;
}

/* CONTACTO */
.contact {
  margin: 16px auto 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  color: #fff;
  text-align: center;
}

.contact p {
  color: rgba(255,255,255,.86);
}

/* WHATSAPP FLOTANTE */
.float-wa {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 15;
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: var(--green);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
}

/* FOOTER */
.footer {
  padding: 24px 16px 82px;
  text-align: center;
  font-size: .84rem;
  color: #6c5659;
  background: #fff;
}

/* TABLET / PC */
@media (min-width: 700px) {
  .topbar {
    padding-inline: 28px;
  }

  .hero {
    padding-inline: 28px;
  }

  .intro-bg {
    padding: 76px 28px 82px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card {
    display: flex;
    flex-direction: column;
  }

  .service-body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .service-body .cta {
    margin-top: auto;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-scroll {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: initial;
    overflow: visible;
    padding-bottom: 0;
  }

  .testimonial-img-card img {
    max-height: 620px;
  }
}

/* ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}