/* =============================================
   BLUEMINT — Alineadores Invisibles
   styles.css
   ============================================= */

:root {
  --blue-dark: #2B4DA8;
  --blue-darker: #1E3A82;
  --mint: #40BFB0;
  --mint-dark: #2EA89A;
  --mint-light: #E6F7F5;
  --white: #FFFFFF;
  --gray-soft: #F7F9FC;
  --gray-mid: #E2E8F0;
  --text-dark: #1A2040;
  --text-med: #4A5270;
  --text-soft: #8892B0;
  --shadow-sm: 0 2px 8px rgba(43,77,168,.08);
  --shadow-md: 0 8px 32px rgba(43,77,168,.12);
  --shadow-lg: 0 20px 60px rgba(43,77,168,.16);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --t: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* containment at root level */
}
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Layout ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2px;
  cursor: pointer;
  transition: var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 17px 38px; font-size: 16px; }

.btn-primary {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}
.btn-primary:hover {
  background: var(--blue-darker);
  border-color: var(--blue-darker);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-ghost:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-outline:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--mint-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-placeholder {
  display: inline-block;
  margin-top: 8px;
  padding: 9px 22px;
  border-radius: 50px;
  background: var(--white);
  color: var(--blue-dark);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  transition: var(--t);
}
.btn-placeholder:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---- Section Labels ---- */
.section-tag {
  display: inline-block;
  background: var(--mint-light);
  color: var(--mint-dark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-tag-dark {
  background: rgba(64,191,176,.15);
  color: var(--mint);
}
.section-tag-light {
  background: rgba(255,255,255,.18);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-med);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
  padding: 10px 0;
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: height .3s;
}
.navbar.scrolled .nav-logo-img { height: 38px; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-dark);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--mint);
  transition: width .3s ease;
}
.nav-links a:hover { color: var(--blue-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 20px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
  padding: 20px 28px 28px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--gray-mid);
}
.mobile-menu .btn { border-bottom: none; margin-top: 16px; width: 100%; justify-content: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(140deg, var(--white) 0%, #EBF9F7 55%, var(--mint-light) 100%);
  padding-top: 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(64,191,176,.14) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 80px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(43,77,168,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-med);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
}
.badge-star { color: #F59E0B; font-size: 15px; }

.hero-title {
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero-title .accent { color: var(--blue-dark); }

.hero-subtitle {
  font-size: 17px;
  color: var(--text-med);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  max-width: 420px;
  width: 100%;
}
.hero-img-wrapper img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-badge-float {
  position: absolute;
  bottom: 36px;
  left: -28px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.badge-flag { font-size: 30px; }
.badge-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--text-dark); }
.badge-text span { font-size: 12px; color: var(--text-soft); }

.hero-wave { margin-top: auto; line-height: 0; overflow: hidden; }
.hero-wave svg { width: 100%; display: block; max-width: 100%; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-animation { animation: float 4.5s ease-in-out infinite; }

/* =============================================
   WHY BLUEMINT
   ============================================= */
.why-section {
  background: #F0FAFA;
  padding: 104px 0;
}

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

.diff-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  border: 1.5px solid transparent;
  transition: var(--t);
}
.diff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint-light);
}
.diff-icon { font-size: 38px; margin-bottom: 18px; line-height: 1; }
.diff-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.diff-card p { font-size: 15px; color: var(--text-med); line-height: 1.65; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section {
  padding: 104px 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 72px;
  left: calc(33.33% - 20px);
  right: calc(33.33% - 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--mint-light), var(--mint), var(--mint-light));
  pointer-events: none;
}

.step-card { text-align: center; }

.step-number {
  width: 52px; height: 52px;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 17px;
  margin: 0 auto 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(43,77,168,.25);
}

.step-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 4/3;
}
.step-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.step-card:hover .step-img img { transform: scale(1.05); }

.step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--text-med); line-height: 1.7; }

/* =============================================
   QUALITY
   ============================================= */
.quality-section {
  background: var(--blue-dark);
  padding: 104px 0;
}

.quality-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.quality-content h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 32px;
}

.quality-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}
.quality-list li { display: flex; gap: 16px; align-items: flex-start; }
.quality-check {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--mint);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.quality-list strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.quality-list span { font-size: 14px; color: rgba(255,255,255,.65); }

.quality-images { display: grid; gap: 14px; }
.quality-img-top, .quality-img-bottom { display: flex; gap: 14px; }
.quality-img-top img,
.quality-img-bottom img {
  border-radius: var(--r-lg);
  object-fit: cover;
  width: 100%;
}
.quality-img-top img { aspect-ratio: 16/9; }
.quality-img-bottom img { aspect-ratio: 1; flex: 1; }

/* =============================================
   RESULTS / GALLERY
   ============================================= */
.results-section {
  padding: 104px 0;
  background: var(--gray-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}

.gallery-card { border-radius: var(--r-lg); overflow: hidden; }
.gallery-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.gallery-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-card:hover .gallery-img img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(26,32,64,.65));
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }

.gallery-tag {
  display: inline-block;
  background: var(--mint);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.gallery-placeholder {
  background: linear-gradient(140deg, var(--mint-light) 0%, rgba(64,191,176,.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.placeholder-inner {
  text-align: center;
  padding: 28px 20px;
}
.placeholder-emoji { font-size: 52px; margin-bottom: 12px; }
.placeholder-inner p {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  box-shadow: var(--shadow-md);
}

.stat-divider {
  width: 1px;
  height: 64px;
  background: var(--gray-mid);
  margin: 0 40px;
}

.stat-item { text-align: center; }
.stat-number-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.stat-number {
  font-size: clamp(40px, 5.5vw, 60px);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1;
}
.stat-plus {
  font-size: 28px;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  max-width: 140px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   PRICING
   ============================================= */
.pricing-section {
  padding: 104px 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
}

.pricing-card {
  background: var(--gray-soft);
  border-radius: var(--r-xl);
  padding: 40px 30px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--t);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(64,191,176,.35);
}

.pricing-featured {
  background: var(--blue-dark);
  color: var(--white);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.pricing-featured:hover {
  transform: scale(1.03) translateY(-8px);
  border-color: var(--mint);
}

.pricing-badge-top {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mint);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 20px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .3px;
}

.pricing-icon { font-size: 38px; margin-bottom: 14px; }

.pricing-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 18px;
}
.pricing-featured h3 { color: var(--white); }

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: 8px;
}
.price-cur {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-soft);
}
.pricing-featured .price-cur { color: rgba(255,255,255,.6); }

.price-num {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}
.pricing-featured .price-num { color: var(--white); }

.price-x {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-soft);
}
.pricing-featured .price-x { color: rgba(255,255,255,.6); }

.pricing-method {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.pricing-featured .pricing-method { color: rgba(255,255,255,.6); }

.pricing-perks {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
  margin-bottom: 30px;
}
.pricing-perks li { font-size: 14px; font-weight: 600; color: var(--text-med); }
.pricing-featured .pricing-perks li { color: rgba(255,255,255,.82); }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   BENEFITS
   ============================================= */
.benefits-section {
  background: #F0FAFA;
  padding: 104px 0;
}

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

.benefit-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid transparent;
  transition: var(--t);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint-light);
}
.benefit-icon { font-size: 44px; margin-bottom: 6px; line-height: 1; }
.benefit-card h3 { font-size: 21px; font-weight: 700; color: var(--text-dark); }
.benefit-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--mint-dark);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.benefit-desc {
  font-size: 15px;
  color: var(--text-med);
  line-height: 1.7;
  flex: 1;
}

/* =============================================
   FAQ
   ============================================= */
.faq-section {
  padding: 104px 0;
  background: var(--white);
}

.faq-wrap { max-width: 740px; }

.faq-list {
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

.faq-item { border-bottom: 1.5px solid var(--gray-mid); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 28px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  gap: 16px;
  transition: background .2s;
}
.faq-q:hover { background: var(--gray-soft); }
.faq-q.active { color: var(--blue-dark); background: var(--mint-light); }

.faq-icon {
  font-size: 26px;
  font-weight: 300;
  color: var(--mint);
  transition: transform .3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-q.active .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-a.open { max-height: 320px; }
.faq-a p {
  padding: 4px 28px 22px;
  font-size: 15px;
  color: var(--text-med);
  line-height: 1.75;
}

.faq-cta { text-align: center; }
.faq-cta p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-med);
  margin-bottom: 18px;
}

/* =============================================
   PROFESSIONALS
   ============================================= */
.professionals-section {
  background: linear-gradient(140deg, var(--blue-dark) 0%, var(--blue-darker) 100%);
  padding: 104px 0;
  color: var(--white);
}

.pro-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.pro-content h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}
.pro-content > p {
  font-size: 16px;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: 26px;
}

.pro-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.pro-list li { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.88); }

.pro-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pro-image img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 16px;
  /* sin border-radius ni fondo */
}
.footer-sub {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
}
.footer-claim {
  font-size: 15px;
  font-weight: 600;
  color: var(--mint);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.42);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-col a:hover { color: var(--mint); }
.footer-col span { font-size: 15px; color: rgba(255,255,255,.4); }

.footer-bottom { padding: 20px 0; }
.footer-bottom p {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  width: 62px; height: 62px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: wa-pulse 2.8s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 36px rgba(37,211,102,.55);
  animation: none;
}
.wa-float svg { width: 32px; height: 32px; }

.wa-tooltip {
  position: absolute;
  right: 74px;
  background: var(--text-dark);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 9px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .25s, transform .25s;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -5px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: var(--text-dark);
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50% { box-shadow: 0 4px 36px rgba(37,211,102,.7), 0 0 0 10px rgba(37,211,102,.12); }
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal,
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease;
}
.reveal { transform: translateY(28px); }
.fade-in-left { transform: translateX(-44px); }
.fade-in-right { transform: translateX(44px); }

.reveal.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger for grids */
.differentiators-grid .diff-card:nth-child(1) { transition-delay: .05s; }
.differentiators-grid .diff-card:nth-child(2) { transition-delay: .15s; }
.differentiators-grid .diff-card:nth-child(3) { transition-delay: .25s; }
.differentiators-grid .diff-card:nth-child(4) { transition-delay: .10s; }
.differentiators-grid .diff-card:nth-child(5) { transition-delay: .20s; }
.differentiators-grid .diff-card:nth-child(6) { transition-delay: .30s; }

.steps-grid .step-card:nth-child(1) { transition-delay: .08s; }
.steps-grid .step-card:nth-child(2) { transition-delay: .22s; }
.steps-grid .step-card:nth-child(3) { transition-delay: .36s; }

.pricing-grid .pricing-card:nth-child(1) { transition-delay: .08s; }
.pricing-grid .pricing-card:nth-child(2) { transition-delay: .20s; }
.pricing-grid .pricing-card:nth-child(3) { transition-delay: .32s; }

.benefits-grid .benefit-card:nth-child(1) { transition-delay: .08s; }
.benefits-grid .benefit-card:nth-child(2) { transition-delay: .20s; }
.benefits-grid .benefit-card:nth-child(3) { transition-delay: .32s; }

.gallery-grid .gallery-card:nth-child(1) { transition-delay: .04s; }
.gallery-grid .gallery-card:nth-child(2) { transition-delay: .14s; }
.gallery-grid .gallery-card:nth-child(3) { transition-delay: .24s; }
.gallery-grid .gallery-card:nth-child(4) { transition-delay: .34s; }

/* =============================================
   RESPONSIVE — Tablet
   ============================================= */
@media (max-width: 1024px) {
  .hero-container { gap: 40px; }
  .hero-badge-float { display: none; }
  .differentiators-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-container { gap: 48px; }
  .pro-container { gap: 48px; }
}

/* =============================================
   RESPONSIVE — Mobile
   ============================================= */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 24px;
    padding-bottom: 60px;
  }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-image { justify-content: center; }
  .hero-img-wrapper { max-width: 300px; }

  .differentiators-grid,
  .steps-grid,
  .pricing-grid,
  .benefits-grid { grid-template-columns: 1fr; }

  .steps-grid::before { display: none; }
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-8px); }

  .quality-container { grid-template-columns: 1fr; gap: 40px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-row {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
  .stat-divider { width: 80%; height: 1px; margin: 8px auto; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-col { padding-bottom: 0; }

  .wa-float { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: -.3px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
}

/* =============================================
   VISUAL ENHANCEMENTS — Color & Life
   ============================================= */

/* ---- Animated gradient on primary CTA ---- */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #3A5FC8 50%, var(--blue-darker) 100%);
  background-size: 200% 200%;
  animation: btn-gradient 4s ease infinite;
}
@keyframes btn-gradient {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
.btn-primary:hover { animation: none; background: var(--blue-darker); }

/* ---- Hero decorative blobs ---- */
.hero-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero-container, .hero-content, .hero-image { position: relative; z-index: 1; }

/* ---- Secciones: contención de desborde ---- */
.why-section,
.how-section,
.quality-section,
.results-section,
.pricing-section,
.reviews-section,
.benefits-section,
.faq-section,
.professionals-section,
.footer {
  position: relative;
  overflow: hidden; /* evita que children absolutos causen scroll horizontal */
}

.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
}
.deco-blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(64,191,176,.22) 0%, transparent 68%);
  top: -120px; right: -80px;
  animation: blob-float 9s ease-in-out infinite;
}
.deco-blob-2 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(43,77,168,.14) 0%, transparent 68%);
  bottom: 60px; left: -60px;
  animation: blob-float 11s ease-in-out infinite reverse;
}
.deco-blob-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(64,191,176,.16) 0%, transparent 68%);
  top: 40%; right: 42%;
  animation: blob-float 7s ease-in-out infinite;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(16px, -18px) scale(1.06); }
  66%       { transform: translate(-12px, 12px) scale(0.95); }
}

/* ---- Diff cards: color stripe + icon circle ---- */
.diff-card {
  position: relative;
  overflow: hidden;
  border-top: 4px solid transparent;
}
.diff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.diff-card:nth-child(1)::before { background: linear-gradient(90deg, var(--blue-dark), var(--mint)); }
.diff-card:nth-child(2)::before { background: linear-gradient(90deg, var(--mint), #10B981); }
.diff-card:nth-child(3)::before { background: linear-gradient(90deg, #8B5CF6, #A78BFA); }
.diff-card:nth-child(4)::before { background: linear-gradient(90deg, #EC4899, #F472B6); }
.diff-card:nth-child(5)::before { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.diff-card:nth-child(6)::before { background: linear-gradient(90deg, #10B981, #34D399); }

.diff-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
  transition: transform .3s ease;
}
.diff-card:hover .diff-icon { transform: scale(1.1) rotate(-3deg); }

.diff-card:nth-child(1) .diff-icon { background: linear-gradient(135deg, #EEF2FF, #C7D2FE); }
.diff-card:nth-child(2) .diff-icon { background: linear-gradient(135deg, var(--mint-light), rgba(64,191,176,.3)); }
.diff-card:nth-child(3) .diff-icon { background: linear-gradient(135deg, #F3E8FF, #DDD6FE); }
.diff-card:nth-child(4) .diff-icon { background: linear-gradient(135deg, #FFF1F2, #FECDD3); }
.diff-card:nth-child(5) .diff-icon { background: linear-gradient(135deg, #FFFBEB, #FDE68A); }
.diff-card:nth-child(6) .diff-icon { background: linear-gradient(135deg, #F0FDF4, #BBF7D0); }

/* ---- Step numbers: gradient + glow ring ---- */
.step-number {
  background: linear-gradient(135deg, var(--blue-dark), var(--mint-dark));
  box-shadow: 0 0 0 6px rgba(64,191,176,.2), 0 4px 20px rgba(43,77,168,.3);
}

/* ---- Step connector line: vibrant ---- */
.steps-grid::before {
  background: linear-gradient(90deg, var(--mint-light), var(--mint), #10B981, var(--mint), var(--mint-light));
  height: 3px;
}

/* ---- Why section: pattern background ---- */
.why-section {
  background: #F0FAFA;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(64,191,176,.1) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(43,77,168,.07) 0%, transparent 40%);
}

/* ---- Pricing featured: gradient ---- */
.pricing-featured {
  background: linear-gradient(145deg, var(--blue-dark) 0%, #3B5EC8 55%, var(--blue-darker) 100%);
}

/* ---- Pricing section: dot pattern ---- */
.pricing-section {
  background-color: var(--white);
  background-image: radial-gradient(rgba(43,77,168,.065) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* ---- Benefits section: richer background ---- */
.benefits-section {
  background: linear-gradient(160deg, #EBF9F7 0%, #F0FAFA 40%, #EDF1FC 100%);
}

/* ---- Benefit card: colored icon bg ---- */
.benefit-card { position: relative; overflow: hidden; }
.benefit-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  opacity: .06;
  transition: opacity .3s;
}
.benefit-card:nth-child(1)::after { background: var(--mint); }
.benefit-card:nth-child(2)::after { background: #8B5CF6; }
.benefit-card:nth-child(3)::after { background: #F59E0B; }
.benefit-card:hover::after { opacity: .12; }

/* ---- Quality section: accent gradient line ---- */
.quality-section::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--mint), #10B981, var(--mint-dark), var(--blue-dark));
}

/* =============================================
   REVIEWS SECTION
   ============================================= */
.reviews-section {
  padding: 104px 0 80px;
  background: linear-gradient(145deg, #141C38 0%, #1E2A5A 50%, #142240 100%);
  overflow: hidden;
  position: relative;
}
.reviews-section::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(64,191,176,.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.reviews-section::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -150px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(43,77,168,.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.reviews-section .section-header { position: relative; z-index: 1; }
.reviews-section .section-header h2 { color: var(--white); }

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}
.reviews-score {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.reviews-stars-big {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reviews-stars-big .stars-row {
  display: flex;
  gap: 3px;
}
.reviews-stars-big .stars-row span { color: #F59E0B; font-size: 20px; }
.reviews-count {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  align-self: flex-end;
  padding-bottom: 4px;
}

/* ---- Marquee carousel ---- */
.reviews-carousel-outer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 40px 0 8px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.reviews-carousel-outer:hover .reviews-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  transition: transform .3s ease;
}
.reviews-carousel-outer:hover .review-card:hover {
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.review-user { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  flex-shrink: 0;
}
.av-blue   { background: linear-gradient(135deg, var(--blue-dark), var(--mint-dark)); }
.av-mint   { background: linear-gradient(135deg, var(--mint), #10B981); }
.av-purple { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }
.av-rose   { background: linear-gradient(135deg, #EC4899, #F472B6); }
.av-amber  { background: linear-gradient(135deg, #F59E0B, #FBBF24); }

.review-name { font-weight: 700; font-size: 15px; color: var(--text-dark); }
.review-date { font-size: 12px; color: var(--text-soft); }

.review-google {
  display: flex; align-items: center; gap: 4px;
}
.review-google svg { width: 18px; height: 18px; flex-shrink: 0; }

.review-stars {
  display: flex; gap: 2px;
}
.review-stars span { color: #F59E0B; font-size: 16px; }

.review-text {
  font-size: 14.5px;
  color: var(--text-med);
  line-height: 1.7;
  flex: 1;
}

/* ---- Section wave after reviews ---- */
.reviews-wave { line-height: 0; }
.reviews-wave svg { width: 100%; display: block; }

/* =============================================
   EXTRA SECTION WAVES
   ============================================= */
.wave-top-mint {
  line-height: 0;
  background: var(--white);
}
.wave-top-mint svg { display: block; width: 100%; }

/* ---- Responsive reviews ---- */
@media (max-width: 768px) {
  .review-card { width: 280px; padding: 22px 20px; }
  .reviews-score { font-size: 40px; }
  .reviews-section { padding: 80px 0 60px; }
}

/* =============================================
   MOBILE UX — Diferenciadores Accordion
   ============================================= */

/* Desktop: diff-header is just the normal layout */
.diff-header {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-direction: column;
}
.diff-chevron { display: none; }
.diff-body { font-size: 15px; color: var(--text-med); line-height: 1.65; }

@media (max-width: 768px) {
  /* Accordion header: icon + title + chevron in one row */
  .diff-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
  }
  .diff-header h3 {
    flex: 1;
    font-size: 15px;
    margin-bottom: 0;
  }
  .diff-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    font-size: 20px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .diff-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    background: var(--gray-soft);
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-soft);
    flex-shrink: 0;
    transition: transform .3s ease, background .2s;
    line-height: 1;
  }
  .diff-card.open .diff-chevron {
    transform: rotate(90deg);
    background: var(--mint-light);
    color: var(--mint-dark);
  }
  .diff-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, margin .3s ease;
    margin-top: 0;
    font-size: 14px;
  }
  .diff-card.open .diff-body {
    max-height: 200px;
    margin-top: 12px;
  }
  /* Cards compactas en mobile */
  .diff-card {
    padding: 16px 18px;
  }
  .diff-card::before { height: 3px; }
}

/* =============================================
   MOBILE UX — Quality: solo 1 imagen
   ============================================= */
@media (max-width: 768px) {
  .quality-img-bottom { display: none; }
  .quality-img-top img { aspect-ratio: 16/9; }
}

/* =============================================
   MOBILE UX — Gallery 2×2 compacta
   ============================================= */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-img { aspect-ratio: 1; } /* cuadrado — 4 caben en 1 pantalla */
  .gallery-placeholder { aspect-ratio: 1; }
}

/* =============================================
   MOBILE UX — Benefits carousel con flechas
   ============================================= */
.benefits-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.benefits-arrow {
  display: none; /* hidden on desktop */
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-mid);
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  transition: var(--t);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.benefits-arrow:hover {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}

.benefits-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.bdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-mid);
  transition: background .25s, transform .25s;
}
.bdot.active {
  background: var(--blue-dark);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .benefits-carousel-wrap {
    gap: 0;
  }
  .benefits-arrow { display: flex; }

  /* Benefits grid: horizontal scroll, card casi full width */
  .benefits-carousel-wrap {
    position: relative;
  }
  .benefits-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 14px;
    padding: 56px 20px 16px; /* top padding for arrows */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .benefits-grid::-webkit-scrollbar { display: none; }

  .benefit-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
    max-width: none;
  }

  /* Flechas arriba del card con z-index */
  .benefits-arrow {
    position: absolute;
    top: 8px;
    z-index: 10;
  }
  .benefits-prev { left: auto; right: 64px; }
  .benefits-next { right: 0; }

  .benefits-dots { display: flex; }
}

/* =============================================
   MOBILE UX — Quality: ocultar imagen
   ============================================= */
@media (max-width: 768px) {
  .quality-images { display: none; }
}

/* =============================================
   MOBILE UX — Professionals: ocultar imagen
   ============================================= */
@media (max-width: 768px) {
  .pro-image { display: none; }
  .pro-container { grid-template-columns: 1fr; }
  .pro-content h2 { font-size: 26px; }
}

/* =============================================
   MOBILE UX — Pricing: peek carousel
   ============================================= */
@media (max-width: 768px) {
  .pricing-section { overflow: hidden; }
  .pricing-section > .container { padding-right: 0; padding-left: 0; }
  .pricing-section > .container > .section-header { padding: 0 28px; }
  .pricing-section > .container > .pricing-note { padding: 0 28px; }

  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 14px;
    padding: 12px 0 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* peek: 12% on each side visible */
    padding-left: 12%;
    padding-right: 4%;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }

  .pricing-card {
    flex: 0 0 76%;
    scroll-snap-align: center;
    transform: scale(0.84);
    opacity: 0.65;
    transition: transform .4s ease, opacity .4s ease;
    transform-origin: center center;
  }
  /* card activa (centrada) */
  .pricing-card.is-active {
    transform: scale(1);
    opacity: 1;
  }
  .pricing-featured {
    /* sin order ni transform desktop en mobile */
  }
}

/* =============================================
   MOBILE UX — Placeholder card sin emoji
   ============================================= */
.placeholder-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--blue-dark);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: var(--t);
}
.gallery-placeholder-card:hover .placeholder-cta {
  background: var(--blue-darker);
  transform: translateY(-2px);
}
.placeholder-inner p {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.4;
}
