﻿/* ================================
   VARIABLES
================================ */
:root {
  --mint-light: #eafff3;
  --mint: #8ff5d5;
  --mint-dark: #63dfbc;
  --blue: #254b86;
  --blue-dark: #17345f;
  --pink: #ff5ac8;
  --pink-soft: #fff0f9;
  --grey-blue: #eef3f8;
  --white: #ffffff;
  --text: #254263;
  --muted: #5e7391;
  --gold: #f7b500;

  --font-title: "Quicksand", sans-serif;
  --font-text: "Nunito", sans-serif;

  --container: 1180px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;

  --shadow-soft: 0 10px 30px rgba(37, 75, 134, 0.08);
  --shadow-card: 0 20px 45px rgba(37, 75, 134, 0.12);
  --shadow-button: 0 12px 24px rgba(143, 245, 213, 0.45);

  --section-padding: clamp(64px, 10vw, 120px);
}

/* ================================
   RESET BASE
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  color: var(--blue);
  line-height: 1.12;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

body.menu-open {
  overflow: hidden;
}

/* ================================
   UTILIDADES
================================ */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-padding);
  position: relative;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  background: var(--blue-dark);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  color: var(--pink);
  background: rgba(255, 90, 200, 0.1);
  border: 1px solid rgba(255, 90, 200, 0.12);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-title);
  font-size: clamp(0.76rem, 2.4vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: clamp(1rem, 2.8vw, 1.12rem);
  font-weight: 700;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--mint);
  color: var(--blue-dark);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--mint-dark);
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--blue);
  border: 1px solid rgba(37, 75, 134, 0.12);
}

.btn-secondary:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   TOP BAR
================================ */
.top-bar {
  background: var(--mint);
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.top-bar-content {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.top-bar a {
  display: inline-flex;
  align-items: center;
}

.top-bar a:hover {
  color: var(--pink);
}

.top-separator {
  opacity: 0.45;
}

/* ================================
   HEADER
================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(234, 255, 243, 0.92);
  border-bottom: 1px solid rgba(37, 75, 134, 0.08);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.header-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 14px);
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo-box {
  width: clamp(54px, 12vw, 92px);
  height: clamp(54px, 12vw, 92px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 18px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-title);
  color: var(--blue);
  font-size: clamp(1.05rem, 4.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-subtitle {
  color: var(--pink);
  font-family: var(--font-title);
  font-size: clamp(0.52rem, 2vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  gap: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 75, 134, 0.1);
  flex: 0 0 auto;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  background: var(--blue);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: 116px 16px auto 16px;
  display: grid;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(37, 75, 134, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--blue);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 800;
}

.main-nav a:hover {
  background: var(--pink-soft);
  color: var(--pink);
}

.main-nav .nav-highlight {
  background: var(--mint-light);
  color: var(--blue-dark);
}

/* ================================
   HERO MOBILE FIRST
================================ */
.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(70px, 12vw, 150px);
  background:
    radial-gradient(circle at top left, rgba(255, 240, 249, 0.95), transparent 34%),
    radial-gradient(circle at bottom right, rgba(143, 245, 213, 0.5), transparent 32%),
    linear-gradient(135deg, var(--mint-light) 0%, var(--white) 52%, #fff8fc 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-title {
  max-width: 950px;
  margin-top: 18px;
  font-size: clamp(2.35rem, 11vw, 5.25rem);
  letter-spacing: -0.06em;
}

.hero-title span {
  position: relative;
  display: inline-block;
  color: var(--pink);
}

.hero-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  z-index: -1;
  width: 100%;
  height: 0.26em;
  background: var(--pink-soft);
  border-radius: 999px;
}

.hero-text {
  max-width: 680px;
  margin-top: 20px;
  color: var(--text);
  font-size: clamp(1.08rem, 4vw, 1.35rem);
  font-weight: 500;
}

.hero-actions {
  width: 100%;
  max-width: 680px;
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions .btn {
  width: 100%;
}

.hero-separator {
  width: min(100%, 760px);
  height: 1px;
  margin-top: 42px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 75, 134, 0.18),
    transparent
  );
}

.hero-points {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(37, 75, 134, 0.06);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.hero-points div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 75, 134, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 22px rgba(37, 75, 134, 0.05);
}

.hero-points strong {
  color: var(--blue);
  font-family: var(--font-title);
  font-size: 1rem;
}

.hero-points span {
  color: var(--muted);
  font-size: 0.95rem;
}

.decor {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.decor-1 {
  width: 280px;
  height: 280px;
  left: -130px;
  top: 80px;
  background: rgba(255, 90, 200, 0.16);
}

.decor-2 {
  width: 300px;
  height: 300px;
  right: -150px;
  bottom: 40px;
  background: rgba(143, 245, 213, 0.42);
}

.decor-3 {
  width: 360px;
  height: 360px;
  right: -180px;
  bottom: -120px;
  background: rgba(255, 90, 200, 0.12);
}

/* ================================
   SECCIONES
================================ */
.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 8vw, 3.25rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 3.5vw, 1.22rem);
}

/* ================================
   VIDEO
================================ */
.video-section {
  background: var(--grey-blue);
}

.video-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(10px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: clamp(20px, 5vw, 34px);
  box-shadow: var(--shadow-card);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(14px, 3vw, 22px);
  background: var(--blue-dark);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================
   TARJETAS
================================ */
.trust-section {
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.trust-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: clamp(26px, 7vw, 46px) clamp(20px, 6vw, 36px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(37, 75, 134, 0.07);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--pink-soft);
  font-size: 2rem;
}

.card-icon.mint {
  background: var(--mint-light);
}

.trust-card h3 {
  font-size: clamp(1.35rem, 5vw, 1.65rem);
}

.trust-card p {
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.08rem);
}

/* ================================
   RESEÃ‘AS
================================ */
.reviews-section {
  background:
    radial-gradient(circle at top left, rgba(255, 240, 249, 0.8), transparent 28%),
    radial-gradient(circle at bottom right, rgba(143, 245, 213, 0.42), transparent 30%),
    linear-gradient(180deg, var(--white), var(--mint-light));
}

.reviews-summary {
  max-width: 900px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  justify-items: center;
  padding: clamp(22px, 5vw, 34px);
  text-align: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(37, 75, 134, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.reviews-score {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.score-number {
  font-family: var(--font-title);
  color: var(--blue);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.score-stars {
  color: var(--gold);
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  letter-spacing: 0.08em;
  line-height: 1;
}

.reviews-summary-text {
  display: grid;
  gap: 4px;
}

.reviews-summary-text strong {
  color: var(--blue);
  font-family: var(--font-title);
  font-size: 1.2rem;
}

.reviews-summary-text p {
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.08rem);
}

.reviews-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  border: 1px solid rgba(37, 75, 134, 0.12);
  font-family: var(--font-title);
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.reviews-link:hover {
  transform: translateY(-3px);
  background: var(--pink-soft);
  color: var(--pink);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.review-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 6vw, 32px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 75, 134, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 800;
}

.review-header h3 {
  font-size: 1.12rem;
}

.review-header span {
  display: block;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.review-card p {
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.06rem);
  font-style: italic;
}

/* ================================
   CTA
================================ */
.cta-section {
  overflow: hidden;
  background:
    radial-gradient(circle at bottom right, rgba(255, 240, 249, 0.9), transparent 30%),
    linear-gradient(135deg, var(--mint-light), var(--white));
}

.cta-card {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(34px, 9vw, 76px) clamp(20px, 7vw, 54px);
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: clamp(24px, 6vw, 42px);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.cta-card h2 {
  font-size: clamp(2rem, 8vw, 3.35rem);
  letter-spacing: -0.04em;
}

.cta-card p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 3.6vw, 1.22rem);
}

.cta-card .btn {
  width: 100%;
  max-width: 360px;
}

/* ================================
   FOOTER
================================ */
.footer {
  padding: 48px 0 92px;
  background: var(--blue);
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
}

.footer-content {
  display: grid;
  gap: 8px;
}

.footer h2 {
  color: var(--mint);
  font-size: clamp(1.65rem, 6vw, 2.2rem);
}

.footer p {
  font-size: 0.98rem;
}

/* ================================
   WHATSAPP
================================ */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 58px;
  min-height: 58px;
  padding: 14px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.34);
  transition: transform 0.25s ease, background 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  background: #1ebe57;
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float span {
  display: none;
  font-family: var(--font-title);
  font-weight: 800;
}

/* ================================
   TABLET
================================ */
@media (min-width: 640px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-points {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .whatsapp-float {
    right: 24px;
    bottom: 24px;
    padding: 14px 22px;
  }

  .whatsapp-float span {
    display: inline;
  }

  .footer {
    padding-bottom: 52px;
  }
}

/* ================================
   ORDENADOR
================================ */
@media (min-width: 920px) {
  .top-bar-content {
    justify-content: center;
  }

  .menu-toggle {
    display: none;
  }

  .header-container {
    min-height: 92px;
  }

  .brand {
    flex: 0 1 auto;
  }

  .brand-logo-box {
    width: 92px;
    height: 92px;
  }

  .main-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    min-height: 44px;
    padding: 10px 14px;
  }

  .main-nav .nav-highlight {
    padding-inline: 18px;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(37, 75, 134, 0.06);
  }

  .hero {
    min-height: calc(100svh - 134px);
  }

  .cards-grid {
    gap: 28px;
  }

  .reviews-summary {
    grid-template-columns: auto 1fr auto;
    text-align: left;
    justify-items: start;
  }

  .reviews-score {
    justify-items: start;
  }

  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ================================
   MÃ“VILES PEQUEÃ‘OS
================================ */
@media (max-width: 520px) {
  .header-container {
    min-height: 72px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .brand-title {
    font-size: clamp(0.98rem, 4vw, 1.15rem);
  }

  .brand-subtitle {
    font-size: clamp(0.48rem, 2vw, 0.58rem);
    letter-spacing: 0.08em;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    inset: 108px 12px auto 12px;
  }
}

/* ================================
   MÃ“VILES MUY PEQUEÃ‘OS
================================ */
@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .top-bar {
    font-size: 0.8rem;
  }

  .top-bar-content {
    gap: 4px;
    flex-direction: column;
    padding-block: 8px;
  }

  .top-separator {
    display: none;
  }

  .brand-logo-box {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-subtitle {
    font-size: 0.45rem;
    letter-spacing: 0.06em;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .btn {
    padding-inline: 16px;
  }
}

/* ================================
   ACCESIBILIDAD: REDUCIR MOVIMIENTO
================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}


