/* ============================================================
   GLIMMA - Design System 2026
   Pure CSS | Mobile-First | No Frameworks
   ============================================================ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* ─── CSS Custom Properties ─── */
:root {
  /* Colors */
  --clr-primary: #8BA888;
  --clr-primary-light: #D4E1D1;
  --clr-primary-dark: #5A7A57;
  --clr-bg: #f1f1f1;
  --clr-bg-dark: #0B140B;
  --clr-surface: rgba(255, 255, 255, 0.70);
  --clr-surface-dark: rgba(255, 255, 255, 0.04);
  --clr-border: rgba(255, 255, 255, 0.45);
  --clr-border-dark: rgba(255, 255, 255, 0.09);
  --clr-text: #1a2e1a;
  --clr-text-muted: #667766;
  --clr-text-dark: #e8f0e8;
  --clr-text-muted-dark: #99aa99;
  --clr-wa: #25D366;
  --clr-gold: #f5c518;

  /* Typography */
  --ff-display: 'Instrument Serif', Georgia, serif;
  --ff-body: 'Geist', system-ui, sans-serif;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 6rem;

  /* Radii */
  --r-sm: 0.75rem;
  --r-md: 1.5rem;
  --r-lg: 2.5rem;
  --r-xl: 3.5rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
  --shadow-glow: 0 0 24px rgba(139, 168, 136, 0.35);

  /* Transitions */
  --t-fast: 180ms ease;
  --t-med: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-indices */
  --z-float: 10;
  --z-header: 40;
  --z-modal: 50;
  --z-toast: 60;
  /* Typography Tokens (Unified across landings) */
  --fs-h1: clamp(3.2rem, 11vw, 5.5rem);
  --fs-h2-large: clamp(2.375rem, 5.5vw, 4rem);
  --fs-p-hero: clamp(1.1rem, 2vw, 1.25rem);
}

/* Dark Mode */
[data-theme="dark"] {
  --clr-bg: #212122;
  --clr-surface: rgba(255, 255, 255, 0.04);
  --clr-border: rgba(255, 255, 255, 0.09);
  --clr-text: #e8f0e8;
  --clr-text-muted: #99aa99;
}

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--clr-bg);
}

body {
  font-family: var(--ff-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  overflow-x: hidden;
  transition: background-color var(--t-med), color var(--t-med);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 9999;
}

/* ─── Typography ─── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--clr-text);
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h2 {
  font-size: var(--fs-h2-large);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.1rem;
}

.hero-text p {
  font-size: var(--fs-p-hero);
  line-height: 1.7;
}

p {
  line-height: 1.7;
}

.text-muted {
  color: var(--clr-text-muted);
}

.text-primary {
  color: var(--clr-primary);
}

.italic {
  font-style: italic;
}

/* ─── Layout Utilities ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section {
  padding: var(--sp-2xl) 0;
  position: relative;
  overflow: visible;
}

.section-sm {
  padding: var(--sp-xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

/* ─── Glassmorphism ─── */
.glass {
  background: var(--clr-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

.glass-light {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.aura-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s, background 0.4s, border-color 0.4s, box-shadow 0.4s;
  animation: aura-glow 2s infinite alternate;
}

.aura-glass:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 168, 136, 0.4);
}

[data-theme="dark"] .glass {
  background: var(--clr-surface-dark);
  border-color: var(--clr-border-dark);
}

/* ─── Animated Blobs ─── */
.blob {
  position: absolute;
  border-radius: var(--r-full);
  filter: blur(80px);
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.blob-1 {
  width: 520px;
  height: 520px;
  background: var(--clr-primary);
  top: -10%;
  left: -10%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: #2D5A2A;
  bottom: 10%;
  right: -5%;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--clr-primary-light);
  top: 40%;
  right: 10%;
}

/* ─── Animations ─── */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes floating-reverse {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(14px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes typewriter {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes aura-glow {
  0% {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3), 0 0 10px rgba(139, 168, 136, 0.2);
  }

  100% {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3), 0 0 25px rgba(139, 168, 136, 0.5);
  }
}

.float {
  animation: floating 4s ease-in-out infinite;
}

.float-reverse {
  animation: floating-reverse 4s ease-in-out infinite;
}

.spin-slow {
  animation: spin-slow 30s linear infinite;
}

.wa-pulse {
  animation: pulse-green 2s infinite;
}

.slide-up {
  animation: slideUp 0.6s ease forwards;
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.cursor {
  font-weight: 300;
  color: var(--clr-primary);
  animation: blink 0.8s infinite;
  margin-left: 5px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .float,
  .float-reverse,
  .spin-slow,
  .wa-pulse,
  .aura-glass {
    animation: none;
  }
}

/* Intersection observer trigger */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Reveal Variations */
.reveal-left {
  transform: translateX(-40px) scale(0.98);
}

.reveal-right {
  transform: translateX(40px) scale(0.98);
}

.reveal-scale {
  transform: scale(0.9);
}

.reveal-up {
  transform: translateY(60px);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible,
.reveal-up.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Staggered Group Reveal - Potenciado */
.reveal-group>* {
  opacity: 0;
  transform: translateY(50px);
  /* Más desplazamiento para que se note el movimiento */
  filter: blur(4px);
  /* Sutil desenfoque al entrar para acabado premium */
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s ease-out;
  will-change: transform, opacity, filter;
}

.reveal-group.visible>* {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger delays (increments of 150ms for more noticeable cascade) */
.reveal-group.visible>*:nth-child(1) {
  transition-delay: 0.15s;
}

.reveal-group.visible>*:nth-child(2) {
  transition-delay: 0.3s;
}

.reveal-group.visible>*:nth-child(3) {
  transition-delay: 0.45s;
}

.reveal-group.visible>*:nth-child(4) {
  transition-delay: 0.6s;
}

.reveal-group.visible>*:nth-child(5) {
  transition-delay: 0.75s;
}

.reveal-group.visible>*:nth-child(6) {
  transition-delay: 0.9s;
}

.reveal-group.visible>*:nth-child(7) {
  transition-delay: 1.05s;
}

.reveal-group.visible>*:nth-child(8) {
  transition-delay: 1.2s;
}

.reveal-group.visible>*:nth-child(9) {
  transition-delay: 1.35s;
}

.reveal-group.visible>*:nth-child(10) {
  transition-delay: 1.5s;
}

/* Custom Delays */
[data-delay="200"] {
  transition-delay: 0.2s;
}

[data-delay="400"] {
  transition-delay: 0.4s;
}

[data-delay="600"] {
  transition-delay: 0.6s;
}

[data-delay="800"] {
  transition-delay: 0.8s;
}


/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: var(--z-header);
  padding: 1.25rem var(--sp-md);
  display: flex;
  justify-content: center;
  transition: padding var(--t-med);
}

.site-header.scrolled {
  padding: 0.75rem var(--sp-md);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  max-width: 1100px;
  width: auto;
  min-width: 320px;
}

.nav-pill a {
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-full);
  color: var(--clr-text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-pill a:hover {
  color: var(--clr-primary);
  background: rgba(139, 168, 136, 0.1);
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text) !important;
  padding: 0 var(--sp-md) !important;
  background: none !important;
  margin: 0 auto;
  transition: transform var(--t-fast), filter var(--t-fast);
}

.nav-logo:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, var(--clr-primary), #6366f1, var(--clr-primary)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 8px rgba(139, 168, 136, 0.3));
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.nav-icons button,
.nav-icons a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  color: var(--clr-text-muted);
  transition: background var(--t-fast), color var(--t-fast);
  font-size: 1.1rem;
  padding: 0;
  border: none;
  background: none;
}

.nav-icons button:hover,
.nav-icons a:hover {
  background: rgba(139, 168, 136, 0.15);
  color: var(--clr-primary);
}

.nav-icons .material-symbols-outlined {
  font-size: 1.2rem !important;
}

/* Hamburger (mobile) */
.nav-mobile-links {
  display: none;
}

.hamburger {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  cursor: pointer;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-fast);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-mobile-links {
    position: fixed;
    inset: 0;
    background: var(--clr-bg);
    z-index: calc(var(--z-header) + 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-md);
    transform: translateX(100%);
    transition: transform var(--t-slow);
  }

  .nav-mobile-links.open {
    transform: translateX(0);
  }

  .nav-mobile-links a {
    font-size: 2rem;
    font-family: var(--ff-display);
    font-weight: 600;
    color: var(--clr-text);
  }
}

/* ─── SIDE MENU (DRAWER) ─── */
.side-menu {
  position: fixed;
  inset: 0;
  z-index: 3000;
  visibility: hidden;
  transition: visibility 0.4s;
}

.side-menu.open {
  visibility: visible;
}

.side-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.side-menu.open .side-menu-overlay {
  opacity: 1;
}

.side-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  max-width: 380px;
  height: 100%;
  padding: 4rem 2.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem;
  overflow-y: auto;
  z-index: 2;
  background: var(--clr-surface) !important;
  border-left: 1px solid var(--clr-border);
}

.side-menu.open .side-menu-content {
  transform: translateX(0);
}

.side-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--clr-text-muted);
}

.side-menu-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem;
}

.side-menu-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--clr-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.side-menu-nav a:hover {
  color: var(--clr-primary);
}

.side-menu-contact {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem;
}

.contact-item {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

.social-flex {
  display: flex !important;
  gap: 1.5rem;
}

.social-flex a {
  color: var(--clr-primary);
  transition: transform 0.3s ease;
}

.social-flex a:hover {
  transform: translateY(-3px);
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: rgba(139, 168, 136, 0.1);
  border: 1px solid rgba(139, 168, 136, 0.15);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.lang-btn .material-symbols-outlined {
  font-size: 0.9rem !important;
}

.lang-btn:hover {
  background: rgba(139, 168, 136, 0.25);
  color: var(--clr-primary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  width: max-content;
  border-radius: var(--r-sm);
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-modal);
  background: var(--clr-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--clr-border);
}

[data-theme="dark"] .lang-dropdown {
  background: #142214;
  border-color: var(--clr-border-dark);
}

.lang-dropdown.open {
  display: flex;
  animation: scaleIn 0.2s ease;
}

.lang-dropdown button {
  padding: 0.65rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--t-fast), color var(--t-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  width: 100%;
}

[data-theme="dark"] .lang-dropdown button {
  background: transparent;
  color: var(--clr-text-dark);
}

.lang-dropdown button:hover {
  background: rgba(139, 168, 136, 0.15);
  color: var(--clr-primary);
}

.lang-dropdown button.active {
  color: var(--clr-primary);
  font-weight: 700;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--r-full);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--ff-body);
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), opacity var(--t-fast);
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(139, 168, 136, 0.35);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  background: var(--clr-primary-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
}

.btn-ghost:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(139, 168, 136, 0.07);
}

.btn-outline-primary {
  background: transparent;
  color: var(--clr-primary);
  border: 1.5px solid var(--clr-primary);
}

.btn-outline-primary:hover {
  background: var(--clr-primary);
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

/* ─── HERO SECTION ─── */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #05080d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 120px 0 80px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 2;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0) 58%,
      rgba(0, 0, 0, 0) 80%,
      #05080d 100%);
  z-index: 2;
  pointer-events: none;
}

[data-theme="dark"] #hero::after {
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0) 58%,
      rgba(0, 0, 0, 0) 80%,
      #05080d 100%);
}

#hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 850px;
  text-align: left;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--clr-primary-light);
  opacity: 0.7;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.hero-subtitle::before {
  content: "";
  width: 40px;
  height: 1.5px;
  background-color: var(--clr-primary);
}

.hero-text h1 {
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  line-height: 1.0;
  margin-bottom: 2.5rem;
  color: #fff;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

#typewriter {
  color: rgba(255, 255, 255, 0.65);
}

.cursor {
  color: #fff;
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  from,
  to {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-text p {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 580px;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.btn-hero-primary {
  background: #f0f7f6;
  color: #1a2e1a;
  padding: 1.1rem 2.8rem;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--t-fast);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 1.1rem 2.8rem;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--t-fast);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  #hero {
    padding-top: 100px;
    text-align: center;
    justify-content: center;
  }

  .hero-subtitle {
    justify-content: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-text p {
    margin-inline: auto;
  }

  .hero-ctas {
    justify-content: center;
  }
}

/* ─── TRUST BAR ─── */
.trust-bar {
  padding: var(--sp-md) 0 var(--sp-lg);
  border: none;
  position: relative;
  z-index: 10;
  margin-top: -3rem;
  background: transparent !important;
  padding-top: 5rem;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-md);
  justify-content: center;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  cursor: default;
  opacity: 0;
  transform: translateY(10px);
  animation: trustFadeUp 0.5s ease forwards;
  animation-delay: calc(0.08s + var(--i, 0) * 0.09s);
  transition: color var(--t-fast), transform var(--t-fast);
}

.trust-item:hover {
  color: var(--clr-primary);
  transform: translateY(-2px);
}

.trust-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: rgba(139, 168, 136, 0.10);
  border: 1px solid rgba(139, 168, 136, 0.18);
  flex-shrink: 0;
  transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.trust-item:hover .trust-icon-wrap {
  background: rgba(139, 168, 136, 0.22);
  box-shadow: 0 0 12px rgba(139, 168, 136, 0.28);
  transform: scale(1.12);
}

.trust-icon-wrap .material-symbols-outlined {
  color: var(--clr-primary);
  font-size: 1.05rem;
}

@keyframes trustFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ─── SECTION LABELS ─── */
.section-label {
  display: inline-block;
  padding: 0.25rem 1rem;
  border: 1px solid rgba(139, 168, 136, 0.3);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(139, 168, 136, 0.08);
  margin-bottom: var(--sp-sm);
}

/* ─── CARDS (generic) ─── */
.card {
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  transition: transform var(--t-med), box-shadow var(--t-med);
}

/* Neumorphic Utilities */
.card-neumorphic {
  background: #f1f1f1 !important;
  border-radius: 30px !important;
  border: none !important;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.05),
             -8px -8px 16px rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s ease;
}

.card-neumorphic-terracotta {
  background: #bf6131 !important;
  border-radius: 30px !important;
  border: none !important;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18),
             0 8px 30px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.3s ease;
}

.card-neumorphic:hover, .card-neumorphic-terracotta:hover {
  transform: translateY(-5px);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: rgba(139, 168, 136, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
  color: var(--clr-primary);
  transition: transform var(--t-med);
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon .material-symbols-outlined {
  font-size: 2rem;
}

/* ─── PROCESS STEPS ─── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  counter-reset: step;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  border-radius: var(--r-lg);
  counter-increment: step;
  position: relative;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(139, 168, 136, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  line-height: 1;
}

.process-step .step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-sm);
  background: rgba(139, 168, 136, 0.12);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
}

.process-step .step-icon .material-symbols-outlined {
  font-size: 1.8rem;
}

.process-step h4 {
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* ─── LEAD MAGNET ─── */
.seccion-lm {
  position: relative;
  z-index: 10;
  background: transparent;
  overflow: visible;
  padding: 0;
}

[data-theme="dark"] .seccion-lm {
  background: transparent;
}

.lm-capsule {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 500px;
  background-image: url('/assets/img/fondolm.png');
  background-size: 100% 100%;
  background-position: left center;
  background-repeat: no-repeat;
  padding: 4rem 3rem 4rem 3%;
  width: calc(100% + 10vw);
  margin-left: -10vw;
  margin-right: 0;
  margin-top: -80px;
  margin-bottom: -80px;
}

.lm-img-col {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}

.lm-img {
  max-width: 100%;
  max-height: 650px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.3));
  margin-bottom: -8rem;
  margin-top: -7rem;
  transform: translate(1.5rem, -4rem) scale(1.05);
}

.lm-text-col {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  padding-right: 2rem;
}

.lm-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: var(--sp-md) 0;
}

.lm-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.lm-checklist .material-symbols-outlined {
  font-size: 1.1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .lm-capsule {
    grid-template-columns: 1fr;
    background-image: none;
    background: linear-gradient(135deg, #bf6131 0%, #8B3A1A 60%, #5a1f08 100%);
    border-radius: 1.5rem;
    width: calc(100% - 2rem);
    margin: -40px auto;
    padding: 0 var(--sp-md) 2.5rem;
    gap: 0;
    text-align: center;
  }

  .lm-img-col {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: -3rem;
    margin-bottom: 1.5rem;
    height: auto;
  }

  .lm-img {
    display: block;
    max-height: 390px;
    width: auto;
    margin: 0 auto;
    margin-bottom: 0;
    margin-top: 0;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
  }

  .lm-text-col {
    padding: 0;
    align-items: center;
  }

  .lm-checklist {
    align-items: flex-start;
    display: inline-flex;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .lm-form-wrap {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.75rem;
  }

  .lm-form-wrap .input-with-icon {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
  }

  .lm-form-wrap .btn {
    width: 100%;
    justify-content: center;
    border-radius: 0.75rem;
  }
}

/* ─── QUIZ GLIMMA ─── */
#quiz {
  position: relative;
  background-color: #3d5a3b;
  overflow: hidden;
  z-index: 1;
  padding-top: 10rem;
  padding-bottom: 6rem;
  margin-bottom: -4rem;
}

#leavesCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.quiz-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
  z-index: 1;
}

.quiz-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(95, 114, 99, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 30%, rgba(26, 46, 26, 0.5) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.glimma-quiz {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25), 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gq-progress {
  display: flex;
  gap: 5px;
  padding: 1.25rem 2rem 0;
  background: #fff;
}

[data-theme="dark"] .gq-progress {
  background: #2a2a2a;
}

.gq-progress span {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: rgba(95, 114, 99, 0.15);
  transition: background 0.3s;
}

[data-theme="dark"] .gq-progress span {
  background: rgba(255, 255, 255, 0.08);
}

.gq-progress span.done {
  background: #5f7263;
}

.gq-step,
.gq-email,
.gq-result {
  display: none;
  padding: 1.75rem 2rem 2rem;
  background: #fff;
}

[data-theme="dark"] .gq-step,
[data-theme="dark"] .gq-email,
[data-theme="dark"] .gq-result {
  background: #2a2a2a;
}

.gq-step.active,
.gq-email.active,
.gq-result.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.gq-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 1.25rem;
  line-height: 1.4;
  text-align: left;
}

.gq-sub {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  text-align: left;
}

.gq-opts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gq-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(95, 114, 99, 0.2);
  border-radius: 1rem;
  cursor: pointer;
  background: #fff;
  text-align: left;
  font-size: 0.9rem;
  color: var(--clr-text);
  line-height: 1.5;
  transition: all 0.18s;
  width: 100%;
  font-family: var(--ff-body);
}

[data-theme="dark"] .gq-opt {
  background: #333;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e8f0e8;
}

.gq-opt:hover {
  border-color: #5f7263;
  background: rgba(95, 114, 99, 0.05);
}

[data-theme="dark"] .gq-opt:hover {
  background: rgba(95, 114, 99, 0.12);
  border-color: #5f7263;
}

.gq-opt.sel {
  border-color: #5f7263;
  background: rgba(95, 114, 99, 0.08);
}

[data-theme="dark"] .gq-opt.sel {
  background: rgba(95, 114, 99, 0.18);
}

.gq-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.gq-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(95, 114, 99, 0.3);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: var(--clr-text);
  background: #fff;
  outline: none;
  margin-bottom: 0.75rem;
  font-family: var(--ff-body);
  transition: border-color 0.18s, box-shadow 0.18s;
}

[data-theme="dark"] .gq-input {
  background: #333;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e8f0e8;
}

.gq-input:focus {
  border-color: #5f7263;
  box-shadow: 0 0 0 3px rgba(95, 114, 99, 0.12);
}

.gq-btn {
  width: 100%;
  padding: 0.9rem;
  background: #5f7263;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--ff-body);
  transition: background 0.18s;
}

.gq-btn:hover {
  background: #3d5a3b;
}

.gq-privacy {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-top: 0.75rem;
  opacity: 0.7;
}

.gq-result {
  text-align: center;
}

.gq-res-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.gq-res-tipo {
  display: inline-block;
  padding: 0.2rem 1rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.gq-res-tipo.tierra {
  background: rgba(95, 114, 99, 0.12);
  color: #3d5a3b;
  border: 1px solid rgba(95, 114, 99, 0.25);
}

.gq-res-tipo.aire {
  background: rgba(70, 100, 160, 0.1);
  color: #1a3a6b;
  border: 1px solid rgba(70, 100, 160, 0.2);
}

.gq-res-tipo.fuego {
  background: rgba(191, 97, 49, 0.1);
  color: #7a3a18;
  border: 1px solid rgba(191, 97, 49, 0.2);
}

[data-theme="dark"] .gq-res-tipo.tierra {
  background: rgba(95, 114, 99, 0.25);
  color: #9fcc9f;
  border-color: rgba(95, 114, 99, 0.4);
}

[data-theme="dark"] .gq-res-tipo.aire {
  background: rgba(70, 100, 160, 0.2);
  color: #9ab8e8;
  border-color: rgba(70, 100, 160, 0.4);
}

[data-theme="dark"] .gq-res-tipo.fuego {
  background: rgba(191, 97, 49, 0.2);
  color: #e8a87a;
  border-color: rgba(191, 97, 49, 0.4);
}

.gq-res-titulo {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--clr-text);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gq-res-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.gq-res-cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: #5f7263;
  color: #fff;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s;
  font-family: var(--ff-body);
}

.gq-res-cta:hover {
  background: #3d5a3b;
}

.gq-reset {
  display: block;
  margin: 1rem auto 0;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--ff-body);
}

/* ─── TESTIMONIALS ─── */
.testimonial-card {
  padding: var(--sp-lg);
  border-radius: var(--r-xl);
  position: relative;
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: var(--clr-primary);
  opacity: 0.15;
  font-size: 3rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--sp-md);
}

.testimonial-card img {
  width: 52px;
  height: 52px;
  border-radius: var(--r-full);
  border: 2px solid var(--clr-primary-light);
  object-fit: cover;
}

.testimonial-card .stars {
  color: var(--clr-gold);
  font-size: 0.85rem;
  margin-top: 3px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

.seccion-testimonios {
  background: #d1cebf;
  padding: 10rem 0;
  transition: background 0.4s ease;
}

[data-theme="dark"] .seccion-testimonios {
  background: #2a2c2a;
  /* Un poco más claro que #212122 (FAQ) */
}

[data-theme="dark"] .seccion-testimonios h2 {
  color: #ffffff;
}

[data-theme="dark"] .seccion-testimonios p {
  color: rgba(255, 255, 255, 0.85);
}

/* ─── TESTIMONIOS CAROUSEL ─── */
.testimonios-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonios-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: testimoniosScroll 80s linear infinite;
}

.testimonios-track .testimonial-card {
  width: 340px;
  flex-shrink: 0;
  text-align: left;
}

@keyframes testimoniosScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .testimonios-track .testimonial-card {
    width: 280px;
  }
}

[data-theme="dark"] .testimonios-track .testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  /* Gris muy oscuro base */
}

[data-theme="dark"] .testimonios-track .testimonial-card:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
  /* Negro casi puro */
}

[data-theme="dark"] .testimonios-track .testimonial-card:nth-child(3n) {
  background: rgba(255, 255, 255, 0.08);
  /* Gris un poco más claro */
}

/* ─── FAQ ACCORDION ─── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  background: var(--clr-surface);
  color: var(--clr-text);
  transition: background var(--t-fast);
  gap: 1rem;
}

.faq-q:hover {
  background: rgba(139, 168, 136, 0.08);
}

.faq-q .material-symbols-outlined {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--clr-primary);
  transition: transform var(--t-med);
}

.faq-item.open .faq-q .material-symbols-outlined {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: rgba(139, 168, 136, 0.04);
  padding: 0 1.5rem;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 1rem 1.5rem 1.5rem;
}

.faq-a p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ─── CONTACT FORM ─── */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-text);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  backdrop-filter: blur(8px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(139, 168, 136, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-text-muted);
}

.hp-field {
  display: none !important;
}

.form-consent {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.form-consent a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.form-consent input {
  width: auto;
  padding: 0;
  margin-right: 6px;
  accent-color: var(--clr-primary);
}

/* ─── NEWSLETTER ─── */
.seccion-newsletter {
  position: relative;
  background-color: #1a1a2e;
  overflow: hidden;
}

.seccion-newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
  z-index: 0;
}

.seccion-newsletter .container {
  position: relative;
  z-index: 1;
}

.seccion-newsletter .newsletter-inline {
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1.5rem;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seccion-newsletter .newsletter-inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.seccion-newsletter .newsletter-inline input {
  color: #1a1a2e;
  background: transparent;
  border: none;
  flex: 1;
  font-size: 1rem;
  padding: 0;
  outline: none;
}

.seccion-newsletter .newsletter-inline input::placeholder {
  color: rgba(26, 26, 46, 0.6);
}

.seccion-newsletter .newsletter-inline button {
  background: #1a1a2e;
  color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.seccion-newsletter .newsletter-inline button:hover {
  background: #2a2a4e;
}

/* ─── METODOLOGÍA ─── */
#metodologia {
  margin: 0;
  border-radius: 0;
  background-image: url('../img/hojas2.png');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  overflow: hidden;
  margin-top: -12rem;
  /* 📍 Sube por detrás de la card */
  padding-top: clamp(200px, 15vw, 240px);
  /* 📍 Aumentamos para compensar el margin-top */
  z-index: 1;
  /* 👈 Fundamental: más bajo que la card */
}

#metodologia::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 12, 0.68);
  z-index: 0;
}

#metodologia .container {
  padding: var(--sp-2xl) var(--sp-md);
  position: relative;
  z-index: 1;
}

#metodologia h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
}

#metodologia .reveal>p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

#metodologia {
  padding-bottom: clamp(140px, 15vw, 200px);
}

#metodologia .process-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#metodologia .process-step:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--clr-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(139, 168, 136, 0.2);
}

#metodologia .process-step h4 {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 700;
  margin-top: 1rem;
  color: #ffffff;
}

#metodologia .process-step p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

#metodologia .step-icon {
  transform: transition transform 0.3s ease;
}

#metodologia .process-step:hover .step-icon {
  transform: scale(1.15) rotate(5deg);
}



.cta-premium::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4.5rem;
  background: var(--clr-bg);
  clip-path: ellipse(60% 100% at 50% 0%);
  z-index: 5;
  pointer-events: none;
}

.liquid-bottom .cta-overlay::after {
  content: '';
  position: absolute;
  bottom: -4rem;
  left: 0;
  right: 0;
  height: 4rem;
  background: inherit;
  clip-path: ellipse(60% 100% at 50% 0%);
}

.cta-premium .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.cta-premium h2 {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  opacity: 1;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.cta-premium h2 span.text-primary {
  color: #4cd5ff !important;
}

.cta-premium .cta-sub {
  font-family: var(--ff-sans);
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.cta-premium .btn-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: #0d120d;
  padding: 1rem 3rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-premium .btn-pill:hover {
  transform: scale(1.05) translateY(-5px);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cta-premium .pill-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 0.1rem;
}

.cta-premium .pill-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.cta-premium .pill-main .material-symbols-outlined {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.cta-premium .btn-pill:hover .pill-main .material-symbols-outlined {
  transform: translateX(6px);
}

.cta-premium .cta-footer-text {
  margin-top: 4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.6;
}

@media (max-width: 640px) {
  .cta-premium {
    padding: 60px 0;
    min-height: 400px;
    background-attachment: scroll;
  }

  .cta-premium h2 {
    font-size: 2.5rem;
  }

  .cta-premium .cta-sub {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .cta-premium .btn-pill {
    padding: 1rem 2rem;
  }

  .cta-premium .pill-main {
    font-size: 1.1rem;
  }

  .cta-premium .cta-footer-text {
    margin-top: 3rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }
}

/* ─── FOOTER ─── */
.site-footer {
  position: relative;
  padding: 2rem 0 0.75rem;
  background: var(--clr-bg);
  border-top: none;
}

[data-theme="dark"] .site-footer {
  background: #000000;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: 0;
  right: 0;
  height: 1.5rem;
  background: var(--clr-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

[data-theme="dark"] .site-footer::before {
  background: #000000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand h2 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  color: var(--clr-text-muted);
  max-width: 220px;
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: var(--sp-xs);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  background: var(--clr-surface);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.footer-social a:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

.footer-col h4 {
  font-size: 0.85rem;
  margin-bottom: var(--sp-xs);
  color: var(--clr-text);
}

.footer-col ul li {
  margin-bottom: 0.15rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
}

.footer-col ul a:hover {
  color: var(--clr-primary);
}

.footer-bottom {
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ─── FLOATING WHATSAPP ─── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-modal);
  width: 60px;
  height: 60px;
  border-radius: var(--r-full);
  background: #25D366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='30' fill='%2325D366'/%3E%3Cpath d='M30 10C19 10 10 19 10 30c0 3.55.98 6.87 2.69 9.71L10 50l10.59-2.63A19.9 19.9 0 0030 50c11 0 20-9 20-20S41 10 30 10zm0 36.4a16.3 16.3 0 01-8.3-2.28l-.59-.35-6.29 1.56 1.6-5.97-.39-.62A16.4 16.4 0 0113.6 30c0-9.06 7.34-16.4 16.4-16.4S46.4 20.94 46.4 30 39.06 46.4 30 46.4zM39.8 34c-.49-.25-2.9-1.43-3.35-1.59s-.78-.25-1.1.25-1.27 1.59-1.55 1.92-.57.37-1.06.12c-.49-.25-2.07-.76-3.94-2.42-1.46-1.3-2.44-2.9-2.73-3.39s-.03-.75.22-1c.22-.22.49-.57.73-.86.25-.29.33-.5.49-.83s.08-.62-.04-.86c-.12-.25-1.1-2.65-1.51-3.63-.4-.95-.8-.82-1.1-.84l-.94-.02c-.33 0-.86.12-1.31.62s-1.72 1.68-1.72 4.1 1.76 4.76 2 5.09 3.46 5.28 8.38 7.4c1.17.5 2.08.8 2.79 1.03 1.17.37 2.24.32 3.08.19.94-.14 2.9-1.18 3.3-2.33.41-1.14.41-2.12.29-2.33-.12-.2-.45-.33-.94-.57z' fill='white'/%3E%3C/svg%3E") center center / contain no-repeat;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.65);
}

/* Ocultar cualquier ícono/SVG/span hijo — el fondo lo muestra todo */
.wa-float>*,
.wa-float svg,
.wa-float span {
  display: none !important;
}





/* ─── SCROLL TO TOP ─── */
.scroll-top-btn {
  position: fixed;
  bottom: 6.5rem;
  right: 2.65rem;
  z-index: var(--z-modal);
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--clr-surface);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.scroll-top-btn .material-symbols-outlined {
  font-size: 1.2rem;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .wa-float {
    bottom: 5.5rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }

  .scroll-top-btn {
    bottom: 9.2rem;
    right: 1.4rem;
    width: 34px;
    height: 34px;
  }
}

/* ─── MOBILE BOTTOM BAR ─── */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--clr-border);
  gap: 0.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(242, 244, 242, 0.92);
}

[data-theme="dark"] .mobile-bar {
  background: rgba(11, 20, 11, 0.92);
}

@media (max-width: 640px) {
  .mobile-bar {
    display: flex;
  }
}

.mobile-bar .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 0.75rem 1rem;
}

/* ─── POPUP MODAL ─── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-modal) + 5);
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
  backdrop-filter: blur(4px);
}

.popup-overlay.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.popup-box {
  max-width: 500px;
  width: 90%;
  border-radius: var(--r-xl);
  padding: 4rem 2.5rem 3rem;
  position: relative;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  animation: popupReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-icon-container {
  width: 72px;
  height: 72px;
  background: var(--clr-primary);
  color: white;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(139, 168, 136, 0.3);
  animation: pulseGlow 2s infinite ease-in-out;
}

.popup-main-icon {
  font-size: 2.25rem !important;
}

@keyframes popupReveal {
  from { opacity: 0; transform: scale(0.9) translateY(20px); filter: blur(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 25px rgba(139, 168, 136, 0.3); transform: scale(1); }
  50% { box-shadow: 0 15px 35px rgba(139, 168, 136, 0.5); transform: scale(1.05); }
}

.popup-box .popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: 1.3rem;
  transition: background var(--t-fast);
}

.popup-box .popup-close:hover {
  background: rgba(0, 0, 0, 0.08);
}

.popup-box h3 {
  font-family: var(--ff-display);
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--clr-text);
  line-height: 1.1;
}

.popup-box p {
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.popup-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popup-form input {
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-md);
  background: var(--clr-surface);
  color: var(--clr-text);
  font-size: 0.95rem;
}

.btn-link {
  background: none;
  border: none;
  color: var(--clr-text-muted);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color var(--t-fast);
}

.btn-link:hover {
  color: var(--clr-primary-dark);
}

.popup-form input:focus {
  outline: none;
  border-color: var(--clr-primary);
}

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-modal) + 2);
  padding: 1.25rem var(--sp-md);
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  border-top: 1px solid var(--clr-border);
}

.cookie-banner.show {
  display: flex;
  animation: slideUp 0.4s ease;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
}

.cookie-banner p a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ─── BLOG CARDS ─── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--clr-primary-light);
}

.blog-card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img-placeholder .material-symbols-outlined {
  font-size: 3rem;
  color: #fff;
  opacity: 0.6;
}

.blog-card-body {
  padding: var(--sp-md);
}

.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}

.blog-card-body h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  color: var(--clr-text);
  font-weight: 400;
}

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
}

.blog-meta {
  margin-top: var(--sp-sm);
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  align-items: center;
}

.blog-meta .material-symbols-outlined {
  font-size: 0.9rem;
}

/* ─── FILTER TABS ─── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--sp-lg);
}

.filter-tab {
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--clr-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  cursor: pointer;
  background: transparent;
  transition: all var(--t-fast);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

/* ─── BREADCRUMBS ─── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
}

.breadcrumbs a {
  color: var(--clr-primary);
}

.breadcrumbs .sep {
  opacity: 0.5;
}

/* ─── Product / Shop Cards ─── */
.product-card {
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.product-img-wrap {
  width: 220px;
  height: 220px;
  position: relative;
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-glow {
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  transition: transform var(--t-slow);
}

.product-card:hover .product-glow {
  transform: scale(1.25);
}

.product-img {
  position: relative;
  z-index: 1;
  max-height: 200px;
  max-width: 200px;
  object-fit: contain;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.product-card .desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--ff-display);
}

.add-cart-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  background: var(--clr-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.add-cart-btn:hover {
  transform: scale(1.12);
  box-shadow: var(--shadow-glow);
}

.add-cart-btn .material-symbols-outlined {
  font-size: 1.3rem;
}

/* ─── HERO DOWNLOAD PAGE ─── */
.download-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 6rem var(--sp-md) var(--sp-xl);
  gap: var(--sp-xl);
}

@media (min-width: 768px) {
  .download-hero {
    grid-template-columns: 1fr 1fr;
  }
}

.download-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: var(--sp-md) 0;
}

.download-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.download-checklist .material-symbols-outlined {
  color: var(--clr-primary);
  flex-shrink: 0;
}

/* ─── ARTICLE BLOG POST ─── */
.article-container {
  max-width: 760px;
  margin: 6rem auto 4rem;
  padding: 0 var(--sp-md);
}

.article-hero-img {
  width: 100%;
  border-radius: var(--r-lg);
  height: 320px;
  object-fit: cover;
  margin-bottom: var(--sp-lg);
}

.article-meta {
  display: flex;
  gap: var(--sp-sm);
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  align-items: center;
  margin-bottom: var(--sp-md);
  flex-wrap: wrap;
}

.article-meta .sep {
  opacity: 0.4;
}

.article-body h2 {
  font-size: 1.75rem;
  margin: var(--sp-lg) 0 var(--sp-sm);
}

.article-body h3 {
  font-size: 1.35rem;
  margin: var(--sp-md) 0 var(--sp-sm);
}

.article-body p {
  margin-bottom: var(--sp-md);
  color: var(--clr-text-muted);
  font-size: 1rem;
}

.article-body ul {
  margin-bottom: var(--sp-md);
  padding-left: var(--sp-md);
}

.article-body ul li {
  margin-bottom: 0.5rem;
  color: var(--clr-text-muted);
}

.alert-box {
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-lg);
  margin: var(--sp-lg) 0;
  border-left: 4px solid var(--clr-primary);
  background: rgba(139, 168, 136, 0.08);
  font-size: 0.95rem;
}

.alert-box.tip {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.08);
}

.alert-box.warn {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

.cta-banner {
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-xl);
  text-align: center;
  margin: var(--sp-xl) 0;
}

.cta-banner h3 {
  margin-bottom: var(--sp-sm);
}

.cta-banner p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
}

.share-bar {
  display: flex;
  gap: 0.65rem;
  margin-top: var(--sp-xl);
  align-items: center;
  flex-wrap: wrap;
}

.share-bar span {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--clr-border);
  color: var(--clr-text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--t-fast);
}

.share-btn:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

/* ─── RESOURCES HUB ─── */
.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 640px) {
  .resources-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── UTILITY ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden {
  display: none !important;
}

.mt-sm {
  margin-top: var(--sp-sm);
}

.mt-md {
  margin-top: var(--sp-md);
}

.mt-lg {
  margin-top: var(--sp-lg);
}

.mb-sm {
  margin-bottom: var(--sp-sm);
}

.mb-md {
  margin-bottom: var(--sp-md);
}

.mb-lg {
  margin-bottom: var(--sp-lg);
}

.gap-sm {
  gap: var(--sp-sm);
}

.gap-md {
  gap: var(--sp-md);
}

/* ─── LIQUID & ABSTRACT FLOW ─── */
.liquid {
  position: relative;
}

.liquid-top::before {
  content: '';
  position: absolute;
  top: -4rem;
  left: 0;
  right: 0;
  height: 4rem;
  background: inherit;
  clip-path: ellipse(60% 100% at 50% 100%);
  z-index: 0;
  pointer-events: none;
}

.liquid-bottom::after {
  content: '';
  position: absolute;
  bottom: -4rem;
  left: 0;
  right: 0;
  height: 4rem;
  background: inherit;
  clip-path: ellipse(60% 100% at 50% 0%);
  z-index: 0;
  pointer-events: none;
}

.bg-abstract {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: var(--clr-bg);
}

.abstract-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: abstract-float 25s infinite alternate ease-in-out;
}

[data-theme="dark"] .abstract-blob {
  opacity: 0.08;
}

@keyframes abstract-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(5vw, 10vh) scale(1.3) rotate(15deg);
  }

  100% {
    transform: translate(-5vw, -5vh) scale(0.9) rotate(-10deg);
  }
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-primary) transparent;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--clr-primary);
  border-radius: 20px;
}

/* ─── LEAD MAGNET INLINE FORM ─── */
.lm-inline-form {
  max-width: 600px;
  margin-top: var(--sp-md);
}

.lm-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 540px) {
  .lm-form-wrap {
    flex-direction: row;
    align-items: stretch;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-full);
    padding: 0.4rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t-med), border-color var(--t-med);
  }

  .lm-form-wrap:focus-within {
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: var(--clr-primary);
  }

  .lm-form-wrap .input-with-icon {
    flex: 1;
    min-width: 250px;
    border: none;
    background: transparent;
  }

  .lm-form-wrap .btn {
    padding: 0.8rem 1.8rem;
    border-radius: var(--r-full);
    white-space: nowrap;
  }

  .lm-form-wrap .input-with-icon .material-symbols-outlined {
    margin-left: 0.5rem;
  }
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 0 1rem;
  transition: all var(--t-fast);
}

.input-with-icon:focus-within {
  border-color: var(--clr-primary);
}

@media (max-width: 539px) {
  .input-with-icon {
    padding: 0 1rem;
  }

  .lm-form-wrap .btn {
    width: 100%;
    justify-content: center;
  }
}

.input-with-icon .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--clr-primary);
  margin-right: 0.75rem;
  opacity: 0.7;
}

.input-with-icon input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.85rem 0;
  font-size: 1rem;
  color: var(--clr-text);
  outline: none;
}

.input-with-icon input::placeholder {
  color: var(--clr-text-muted);
  opacity: 0.6;
}

[data-theme="dark"] .lm-form-wrap,
[data-theme="dark"] .input-with-icon {
  background: rgba(255, 255, 255, 0.03);
}

/* ─── SECCIÓN DIAGNÓSTICO ─── */
.seccion-diagnostico {
  background-image: url('../img/hojas.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  overflow: visible;
  /* Espacio extra para que el fondo de hojas respire y la onda no tape los cards */
  padding-bottom: clamp(150px, 15vw, 220px);
}

.seccion-diagnostico::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #05080d 0%, rgba(10, 18, 12, 0.8) 25%, rgba(10, 18, 12, 0.68) 100%);
  z-index: 0;
}

.seccion-diagnostico .container {
  position: relative;
  z-index: 1;
}

.seccion-diagnostico h2 {
  color: #f2f2f2;
}

[data-theme="dark"] .seccion-diagnostico h2,
[data-theme="dark"] .seccion-diagnostico h3,
[data-theme="dark"] .seccion-diagnostico h4 {
  color: #ffffff;
}

[data-theme="dark"] .seccion-diagnostico p,
[data-theme="dark"] .seccion-diagnostico .text-muted {
  color: rgba(255, 255, 255, 0.6);
}

.seccion-diagnostico::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, #05080d 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 1024px) {

  #hero-botella,
  #hero-auris {
    display: none;
  }
}

.diagnostico-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: var(--sp-xl);
}

.diag-card {
  position: relative;
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.diag-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--clr-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(139, 168, 136, 0.2);
}

.diag-card svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.diag-card:hover svg {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(139, 168, 136, 0.2));
}

.diag-card-inner {
  position: absolute;
  inset: 0;
  padding: 1.5rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.diag-card-inner .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.diag-card:hover .icon-wrap {
  transform: scale(1.15) rotate(5deg);
}

.diag-card h3 {
  font-family: var(--ff-body) !important;
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.5rem;
  text-align: center;
}

.diag-card p {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 768px) {
  .diagnostico-grid {
    grid-template-columns: 1fr;
  }

  .diag-card {
    height: auto;
    min-height: 280px;
  }

  .diag-card svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .diag-card-inner {
    position: relative;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(20, 28, 22, 0.6) !important;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.5rem;
  }
}

/* ─── ONDA TRANSICIÓN ─── */
.onda-transicion {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
}

.onda-transicion svg {
  width: 100%;
  height: clamp(60px, 8vw, 110px);
  display: block;
}

.onda-transicion-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
  transform: rotate(180deg);
}

.onda-transicion-top svg {
  width: 100%;
  height: clamp(60px, 8vw, 110px);
  display: block;
}

.onda-fill {
  fill: #f1f1f1;
}

[data-theme="dark"] .onda-fill {
  fill: #212122;
}

/* ─── SECCIÓN CUERPO / MENTE ─── */
.seccion-cuerpo-mente {
  background: #f1f1f1;
  position: relative;
  /* z-index: 2; Eliminado intencionalmente para no crear contexto de apilamiento */
  padding-top: 0;
  margin-top: -2px;
  overflow: visible;
}

/* Responsive Specific Overrides placed here for cleaner management */
@media (max-width: 900px) {

  /* Ocultar links del header para que solo quede Logo y Hamburger */
  .site-header .nav-links,
  .site-header .lang-selector,
  .site-header #dark-mode-btn {
    display: none !important;
  }

  .nav-pill {
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
  }
}

@media (max-width: 768px) {

  /* Ocultar botón flotante si la barra inferior está presente */
  .wa-float {
    display: none !important;
  }

  /* Ocultar divisor vertical de Cuerpo/Mente al apilarse */
  .cm-unified-card .cm-grid::after {
    display: none;
  }
}

[data-theme="dark"] .seccion-cuerpo-mente {
  background: #212122;
}

.seccion-cuerpo-mente::before {
  display: none;
}

.cm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .cm-grid {
    grid-template-columns: 1fr;
    row-gap: 10rem;
    /* 📍 Genera el pozo de espacio para que la imagen de Mente no pise el botón de Cuerpo al apilarse */
  }
}

/* ─── CARD UNIFICADA ─── */
.cm-unified-card {
  position: relative;
  border-radius: 2.5rem;
  overflow: visible;
  margin-top: 1rem;
  /* 📍 Al acercar la caja a la sección superior, las imágenes cruzan el límite y la invaden */
  z-index: 10;
  /* 👈 Se asegura que la card tape la imagen y la onda de la sección siguiente */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.08'/%3E%3C/svg%3E") repeat 0 0 / 200px 200px,
    #ffffff;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.08),
    0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .cm-unified-card {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.06'/%3E%3C/svg%3E") repeat 0 0 / 200px 200px,
    #242424;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

/* Divisor sutil entre Cuerpo y Mente */
.cm-unified-card .cm-grid {
  position: relative;
}

.cm-unified-card .cm-grid::after {
  display: none;
}

[data-theme="dark"] .cm-unified-card .cm-grid::after {
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 25%,
      rgba(255, 255, 255, 0.08) 75%,
      transparent 100%);
}

/* Cards internas: transparentes, sin sombra propia */
.cm-unified-card .cm-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0 2.5rem 3rem;
  transition: none;
}

.cm-unified-card .cm-card:hover {
  transform: none;
  box-shadow: none;
}

/* ─── CARD INDIVIDUAL (fuera de unified) ─── */
.cm-card {
  background: #ffffff;
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: visible;
  position: relative;
  padding: 0 2.5rem 2.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cm-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cm-body .btn {
  margin-top: auto;
  padding-top: 0.8rem; /* Restore default or use a safe margin */
  margin-top: 2.5rem;
  align-self: flex-start;
}

[data-theme="dark"] .cm-card {
  background: #2a2a2a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cm-unified-card .cm-card {
  background: transparent;
  box-shadow: none;
}

.cm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.cm-img-wrap {
  display: flex;
  justify-content: center;
  margin-top: -9rem;
  /* 📍 9rem = ~145px (Aprox 30% de los 500px). La imagen sobresale generosamente. */
  margin-bottom: 1.5rem;
  height: 500px;
  align-items: flex-end;
}

.cm-img {
  max-height: 500px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s ease;
}

.cm-card:hover .cm-img {
  transform: translateY(-8px) scale(1.03);
}

.cm-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.cm-tag--cuerpo {
  background: rgba(95, 114, 99, 0.12);
  color: #5f7263;
  border: 1px solid rgba(95, 114, 99, 0.25);
}

.cm-tag--mente {
  background: rgba(191, 97, 49, 0.1);
  color: #bf6131;
  border: 1px solid rgba(191, 97, 49, 0.2);
}

.cm-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--clr-text);
  letter-spacing: -0.02em;
}

.cm-desc {
  font-size: 0.95rem;
  color: #212122;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.cm-list {
  color: #212122;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.cm-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--clr-text);
}

.cm-list .material-symbols-outlined {
  font-size: 1.1rem;
  color: #5f7263;
  flex-shrink: 0;
}

.cm-card:has(.cm-tag--mente) .cm-list .material-symbols-outlined {
  color: #bf6131;
}

/* ─── LEAD MAGNET CUSTOM (Service Page Version) ─── */
.lm-card {
  background: linear-gradient(135deg, #bf6131 0%, #8e4722 100%);
  border-radius: 2.5rem;
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
  color: white;
  margin-top: -6rem;
}

.lm-card .lm-img-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lm-card .lm-img {
  position: absolute;
  left: -6.5rem;
  width: 125%;
  max-width: none;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.3));
  z-index: 10;
}

@media (max-width: 900px) {
  .lm-card {
    grid-template-columns: 1fr;
    padding: 4rem 2rem;
    gap: 1rem;
    margin-top: -4rem;
    text-align: center;
  }

  .lm-card .lm-img-container {
    height: auto;
    min-height: auto;
    order: -1;
    /* Image on top */
    margin-bottom: 1rem;
  }

  .lm-card .lm-img {
    position: static;
    left: 0;
    width: 85%;
    max-width: 400px;
    margin: 0 auto;
    transform: none;
  }

  .lm-card h2 {
    margin-bottom: 1.5rem;
  }

  .lm-card form {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .lm-card .lm-img-container {
    min-height: auto;
  }

  .lm-card .lm-img {
    width: 90%;
    transform: none;
  }

  .lm-card {
    padding: 3rem 1.5rem;
    border-radius: 2rem;
  }
}

/* ─── RESPONSIVE FIXES (Price Cards & Benefits) ─── */
.grid-2-responsive {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2-responsive {
    grid-template-columns: 1fr 1fr;
  }
}

/* Benefit Items (Editorial Style) */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
}

/* Support Mockup Responsive */
.support-mockup-container {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.support-mockup-img {
  width: 82vw;
  max-width: 1200px;
  min-width: 320px;
  display: inline-block;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  animation: float-mockup 6s ease-in-out infinite;
  will-change: transform, filter;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

@keyframes float-mockup {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.01);
  }
}

@media (max-width: 767px) {
  .support-mockup-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    padding: 0 5%;
  }

  .support-mockup-img {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: 0 !important;
    display: block;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.12));
    animation: float-mockup-simple 6s ease-in-out infinite;
  }
}

@keyframes float-mockup-simple {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float-mockup-mobile {
  0%, 100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(-5px) scale(1.01);
  }
}

.benefit-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-item:nth-child(2n+1) {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding-right: 2.5rem;
  }

  /* Fix for odd last item (like item 07) */
  .benefit-item:nth-child(2n+1):last-child {
    border-right: none;
    grid-column: span 2;
    padding-right: 0;
  }

  .benefit-item:nth-child(2n) {
    padding-left: 2.5rem;
  }
}

@media (max-width: 767px) {
  .benefit-item {
    gap: 1rem;
    padding: 1rem 0.5rem;
  }

  .benefit-item .step-number {
    font-size: 2rem !important;
  }
}

/* Price Cards Responsive */
@media (max-width: 767px) {
  .price-card-container {
    padding: 2rem 1.2rem !important;
  }

  .price-card-container h4 {
    font-size: 1.4rem !important;
  }

  .price-card-container .price-text {
    font-size: 1.8rem !important;
  }

  .price-card-container.featured {
    transform: scale(1) !important;
    margin: 1rem 0;
  }
}

/* ─── CUERPO HERO RESPONSIVE REORDER ─── */
@media (max-width: 900px) {
  #hero-cuerpo {
    flex-direction: column !important;
    padding-top: 2.5rem !important; /* Spacing for header minimized */
    min-height: auto !important;
    text-align: center;
    background: #0a110a !important; /* Solid background if video fails */
  }

  /* El UnicornStudio Background debe ser absoluto y cubrir todo */
  #hero-cuerpo > div:first-child {
    position: absolute !important;
    z-index: 0 !important;
  }

  /* La imagen pasa a ser relativa y primera en el orden */
  #hero-cuerpo img.float {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    margin: 1rem auto 0 auto !important;
    width: 90% !important;
    max-width: 450px !important;
    height: auto !important;
    order: 1 !important;
    z-index: 2 !important;
    display: block !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  /* El contenedor del texto pasa abajo */
  #hero-cuerpo .container {
    padding-top: 1rem !important;
    padding-bottom: 6rem !important;
    order: 2 !important;
    position: relative !important;
    z-index: 3 !important;
  }

  #hero-cuerpo .container > div {
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  #hero-cuerpo h1 {
    font-size: var(--fs-h1) !important;
    margin-top: 1rem !important;
    line-height: 1.1 !important;
  }

  #hero-cuerpo p {
    margin-inline: auto !important;
    font-size: 1rem !important;
    max-width: 90% !important;
  }

  #hero-cuerpo .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
    #hero-cuerpo .btn-hero-primary, 
    #hero-cuerpo .btn-hero-secondary {
      width: 100% !important;
      max-width: 320px !important;
      justify-content: center !important;
    }
  }

/* === TEAM PHOTO ENHANCEMENTS === */
.team-photo-mockup {
  cursor: pointer;
  position: relative;
}

.team-photo-mockup:hover {
  transform: translateY(-12px) rotate(1deg) scale(1.02);
  box-shadow: 0 50px 100px -25px rgba(139, 168, 136, 0.4);
}

.team-photo-mockup::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.team-photo-mockup:hover::after {
  opacity: 1;
}

.team-photo-mockup:hover img {
  transform: scale(1.08);
  filter: contrast(1.1);
}

.team-photo-mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(139, 168, 136, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.team-photo-mockup:hover::before {
  opacity: 1;
}