/* ================================================================
   MODALIA — Marketplace de Moda Local
   Paleta corporativa:
     --teal:   #3dbdad  (turquesa/aguamarina)
     --orange: #e8613a  (coral/naranja)
     --gold:   #c8960c  (dorado del logo)
     Neutros: blancos cálidos, grises suaves
   ================================================================ */

/* ================================================================
   1. CSS VARIABLES & RESET
   ================================================================ */
:root {
  --teal: #3dbdad;
  --teal-light: #6dd5c8;
  --teal-dark: #2a9e90;
  --orange: #e8613a;
  --orange-light: #f0896a;
  --orange-dark: #c94e28;
  --gold: #c8960c;
  --gold-light: #e5b52a;

  --white: #ffffff;
  --off-white: #faf9f7;
  --cream: #f5f2ed;
  --gray-100: #f0ede8;
  --gray-200: #e2ddd6;
  --gray-400: #b0a898;
  --gray-600: #7a7268;
  --gray-800: #3d3830;
  --black: #003149;

  --font: 'Quicksand', sans-serif;

  --shadow-sm: 0 2px 8px rgba(30, 26, 20, 0.08);
  --shadow-md: 0 4px 20px rgba(30, 26, 20, 0.12);
  --shadow-lg: 0 8px 40px rgba(30, 26, 20, 0.16);
  --shadow-teal: 0 8px 30px rgba(61, 189, 173, 0.3);
  --shadow-orange: 0 8px 30px rgba(232, 97, 58, 0.3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--off-white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

ul {
  list-style: none;
}

/* ================================================================
   2. UTILIDADES
   ================================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay {
  transition-delay: 0.2s;
}

.step-card:nth-child(2).reveal.visible {
  transition-delay: 0.1s;
}

.step-card:nth-child(3).reveal.visible {
  transition-delay: 0.2s;
}

.step-card:nth-child(4).reveal.visible {
  transition-delay: 0.3s;
}

.product-card:nth-child(2).reveal.visible {
  transition-delay: 0.08s;
}

.product-card:nth-child(3).reveal.visible {
  transition-delay: 0.16s;
}

.product-card:nth-child(4).reveal.visible {
  transition-delay: 0.24s;
}

.product-card:nth-child(5).reveal.visible {
  transition-delay: 0.32s;
}

.product-card:nth-child(6).reveal.visible {
  transition-delay: 0.4s;
}

/* ================================================================
   3. COMPONENTES COMUNES
   ================================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  color: var(--gray-800);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  color: var(--teal);
  background: rgba(61, 189, 173, 0.08);
}

.section-tag {
  display: inline-block;
  background: rgba(61, 189, 173, 0.12);
  color: var(--teal-dark);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-tag--light {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-title--light {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto;
}

/* ================================================================
   4. NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 45px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-links li a {
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}

.nav-links li a:hover {
  color: var(--teal);
  background: rgba(61, 189, 173, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.mobile-menu.open {
  max-height: 400px;
}

.mobile-menu ul {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu ul li a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--gray-800);
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}

.mobile-menu ul li a:hover {
  background: var(--cream);
  color: var(--teal);
}

.btn-primary-full {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding: 14px;
  background: var(--orange);
  color: var(--white) !important;
  border-radius: var(--radius-md);
  font-weight: 700;
}

/* ================================================================
   5. HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(145deg, #e8f8f6 0%, var(--cream) 50%, #fce8e0 100%);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-blob--1 {
  width: 500px;
  height: 500px;
  background: rgba(61, 189, 173, 0.15);
  top: -100px;
  right: -100px;
}

.hero-blob--2 {
  width: 350px;
  height: 350px;
  background: rgba(232, 97, 58, 0.12);
  bottom: 0;
  left: -80px;
}

.hero-blob--3 {
  width: 250px;
  height: 250px;
  background: rgba(200, 150, 12, 0.1);
  top: 40%;
  right: 30%;
}

/* Grid hero — desktop */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 20px;
}

.highlight {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 460px;
  margin-bottom: 36px;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-orange);
  transition: transform var(--transition-bounce), box-shadow var(--transition);
}

.btn-hero-primary svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232, 97, 58, 0.4);
}

.btn-hero-primary:hover svg {
  transform: translateX(4px);
}

.btn-hero-primary:active {
  transform: translateY(-1px);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  color: var(--gray-800);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}

.btn-hero-ghost svg {
  width: 36px;
  height: 36px;
  color: var(--teal);
}

.btn-hero-ghost:hover {
  color: var(--teal);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* ---- Hero visual / mockup ---- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 460px;
}

.mockup-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.mockup-card--back {
  width: 260px;
  height: 340px;
  top: 30px;
  right: 20px;
  background: linear-gradient(135deg, rgba(61, 189, 173, 0.15), rgba(61, 189, 173, 0.05));
  border: 1px solid rgba(61, 189, 173, 0.2);
  transform: rotate(8deg);
}

.mockup-card--mid {
  width: 265px;
  height: 345px;
  top: 15px;
  right: 30px;
  background: linear-gradient(135deg, rgba(232, 97, 58, 0.1), rgba(232, 97, 58, 0.03));
  border: 1px solid rgba(232, 97, 58, 0.15);
  transform: rotate(4deg);
}

.mockup-card--front {
  width: 270px;
  height: 350px;
  top: 20px;
  right: 40px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform var(--transition-bounce), box-shadow var(--transition);
}

.mockup-card--front:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.mockup-img {
  height: 240px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #e8f8f6 0%, #fce8e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mockup-img-inner svg {
  width: 120px;
  height: auto;
}

.mockup-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--gray-100);
}

.mockup-store {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
}

.mockup-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}

.mockup-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
}

.mockup-tag {
  position: absolute;
  top: 36px;
  left: 30px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 3px;
}

.mockup-tag svg {
  width: 10px;
  height: 10px;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-800);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
}

.float-badge--1 {
  bottom: 80px;
  left: 0;
  animation-delay: 0s;
}

.float-badge--2 {
  top: 60px;
  left: 20px;
  animation-delay: 1.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

/* ================================================================
   6. PASOS (CÓMO FUNCIONA)
   ================================================================ */
.steps {
  padding: 100px 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  transition: transform var(--transition-bounce), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon svg {
  width: 26px;
  height: 26px;
}

.step-icon--teal {
  background: rgba(61, 189, 173, 0.12);
  color: var(--teal-dark);
}

.step-icon--orange {
  background: rgba(232, 97, 58, 0.12);
  color: var(--orange-dark);
}

.step-icon--gold {
  background: rgba(200, 150, 12, 0.12);
  color: var(--gold);
}

.step-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gray-100);
  position: absolute;
  top: 20px;
  right: 20px;
  line-height: 1;
  pointer-events: none;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ================================================================
   7. BENEFICIOS
   ================================================================ */
.benefits {
  padding: 100px 0;
  background: var(--cream);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
}

.benefits-block {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.benefits-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.benefits-icon {
  font-size: 2rem;
}

.benefits-block-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefits-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(61, 189, 173, 0.15);
  color: var(--teal-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.benefit-check--orange {
  background: rgba(232, 97, 58, 0.12);
  color: var(--orange-dark);
}

.benefits-list li strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
}

.benefits-list li p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.benefits-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 80px;
}

.divider-line {
  width: 1px;
  height: 80px;
  background: var(--gray-200);
}

.divider-icon {
  padding: 8px;
}

.logo-icon-sm {
  width: 40px;
  height: 50px;
}

/* ================================================================
   8. TIENDAS / PRODUCTOS
   ================================================================ */
.featured {
  padding: 100px 0;
  background: var(--white);
}

.category-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: all var(--transition);
}

.filter-btn:hover {
  background: var(--gray-200);
  color: var(--black);
}

.filter-btn--active {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}

.filter-btn--active:hover {
  background: var(--teal-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: transform var(--transition-bounce), box-shadow var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img--1 {
  background: linear-gradient(135deg, #e8f8f6, #c8ede9);
}

.product-img--2 {
  background: linear-gradient(135deg, #fce8e0, #f5d0c2);
}

.product-img--3 {
  background: linear-gradient(135deg, #fef8e8, #f5e8c0);
}

.product-img--4 {
  background: linear-gradient(135deg, #e0f0f8, #c5e2ef);
}

.product-img--5 {
  background: linear-gradient(135deg, #fde8f5, #f5c8e5);
}

.product-img--6 {
  background: linear-gradient(135deg, #f5f0e8, #e8dfc5);
}

.product-img-inner svg {
  width: 90px;
  height: auto;
}

.product-img-inner {
  transition: transform var(--transition);
}

.product-card:hover .product-img-inner {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-badge--new {
  background: var(--teal);
  color: var(--white);
}

.product-badge--hot {
  background: var(--orange);
  color: var(--white);
}

.product-badge--sale {
  background: var(--gold);
  color: var(--white);
}

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-400);
  transition: color var(--transition-bounce), transform var(--transition-bounce), background var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-wishlist:hover {
  transform: scale(1.15);
  background: var(--white);
}

.product-wishlist.active {
  color: var(--orange);
}

.product-info {
  padding: 16px;
}

.product-store {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 4px;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
}

.product-price-old {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-left: 6px;
}

.product-rating {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}

.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--teal);
  color: var(--teal);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition), transform var(--transition-bounce);
}

.btn-outline-lg:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-teal);
}

/* ================================================================
   9. TESTIMONIOS
   ================================================================ */
.testimonials {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--teal-dark) 0%, #1e8a7e 50%, #2a6060 100%);
  z-index: 0;
}

.testimonials-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232, 97, 58, 0.15) 0%, transparent 40%);
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: transform var(--transition-bounce), background var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-card--featured {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}

.testimonial-stars {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-avatar--1 {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.testimonial-avatar--2 {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.testimonial-avatar--3 {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
}

.testimonial-avatar--4 {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.press-mentions {
  text-align: center;
}

.press-mentions p {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.press-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.press-logo {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.press-logo:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ================================================================
   10. CTA FINAL
   ================================================================ */
.final-cta {
  position: relative;
  padding: 120px 0;
  background: var(--cream);
  overflow: hidden;
  text-align: center;
}

.final-cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.final-cta-blob--1 {
  width: 400px;
  height: 400px;
  background: rgba(61, 189, 173, 0.2);
  top: -100px;
  right: -100px;
}

.final-cta-blob--2 {
  width: 300px;
  height: 300px;
  background: rgba(232, 97, 58, 0.15);
  bottom: -80px;
  left: -60px;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.final-cta-inner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin: 12px 0 20px;
}

.final-cta-inner p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 40px;
  line-height: 1.7;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-orange);
  transition: transform var(--transition-bounce), box-shadow var(--transition);
}

.btn-cta-primary svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232, 97, 58, 0.4);
}

.btn-cta-primary:hover svg {
  transform: translateX(4px);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: var(--white);
  color: var(--teal-dark);
  border: 2px solid var(--teal);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-bounce);
}

.btn-cta-secondary:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-teal);
}

.final-cta-note {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ================================================================
   11. FOOTER
   ================================================================ */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}

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

.footer-brand .nav-logo .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer-links ul li a:hover {
  color: var(--teal-light);
}

.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.newsletter-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.newsletter-text p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  width: 240px;
  transition: border-color var(--transition), background var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.1);
}

.btn-newsletter {
  padding: 12px 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-newsletter:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ================================================================
   12. SCROLL TO TOP
   ================================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition-bounce);
  z-index: 900;
}

.scroll-top svg {
  width: 22px;
  height: 22px;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
}

/* ================================================================
   13. RESPONSIVE — TABLET (max 1024px)
   ================================================================ */
@media (max-width: 1024px) {

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

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

  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .benefits-divider {
    flex-direction: row;
    padding: 0;
  }

  .divider-line {
    width: 100%;
    height: 1px;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* ================================================================
   14. RESPONSIVE — MOBILE (max 768px)
   ================================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* Hero — stack layout */
  .hero {
    padding: 100px 0 80px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    /* Give enough height for the stacked cards + badge */
    height: 340px;
    width: 100%;
  }

  /* Centre the card stack within the visual area */
  .mockup-card--back {
    width: 210px;
    height: 275px;
    top: 20px;
    right: 50%;
    margin-right: -115px;
    /* half of card width */
  }

  .mockup-card--mid {
    width: 215px;
    height: 280px;
    top: 10px;
    right: 50%;
    margin-right: -120px;
  }

  .mockup-card--front {
    width: 220px;
    height: 285px;
    top: 10px;
    right: 50%;
    margin-right: -110px;
  }

  .mockup-img {
    height: 190px;
  }

  /* Reposition floating badge so it doesn't overflow */
  .float-badge--2 {
    top: auto;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    animation: none;
    /* stop float when centred to avoid layout jump */
    font-size: 0.78rem;
    padding: 7px 14px;
  }

  .float-badge--1 {
    display: none;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Benefits */
  .benefits-block {
    padding: 28px 24px;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA final */
  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================================================================
   15. RESPONSIVE — SMALL MOBILE (max 480px)
   ================================================================ */
@media (max-width: 480px) {

  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .btn-hero-primary {
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .hero-visual {
    height: 300px;
  }

  .mockup-card--back {
    width: 180px;
    height: 240px;
    margin-right: -100px;
  }

  .mockup-card--mid {
    width: 185px;
    height: 245px;
    margin-right: -105px;
  }

  .mockup-card--front {
    width: 190px;
    height: 248px;
    margin-right: -95px;
  }

  .mockup-img {
    height: 165px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .press-logos {
    gap: 20px;
  }

  .press-logo {
    font-size: 0.85rem;
  }
}

/* ================================================================
   16. BRAND COLOURS
   ================================================================ */
.logo-donde {
  color: var(--orange);
}

.logo-siempre {
  color: var(--teal);
}

/* ================================================================
   SECCIÓN VÍDEOS
================================================================ */
.ds-videos {
  padding: 100px 24px;
  background: linear-gradient(160deg, #e8f8f6 0%, #faf9f7 60%, #fce8e0 100%);
}

.ds-videos-header {
  text-align: center;
  margin-bottom: 56px;
}

.ds-videos-tag {
  display: inline-block;
  background: rgba(61, 189, 173, 0.13);
  color: var(--teal-dark);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ds-videos-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.ds-videos-desc {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 480px;
  margin: 0 auto;
}

.ds-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.ds-video-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-bounce), box-shadow var(--transition);
  cursor: pointer;
}

.ds-video-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.ds-video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e8f8f6;
}

.ds-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ds-video-card:hover .ds-video-thumb img {
  transform: scale(1.05);
}

.ds-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 49, 73, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.ds-video-card:hover .ds-video-overlay {
  opacity: 1;
}

.ds-play-btn {
  width: 52px;
  height: 52px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  transform: scale(0.85);
  transition: transform var(--transition-bounce);
}

.ds-video-card:hover .ds-play-btn {
  transform: scale(1);
}

.ds-play-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 3px;
}

.ds-play-btn-static {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
}

.ds-play-btn-static svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  margin-left: 2px;
}

.ds-video-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--teal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.ds-video-body {
  padding: 18px 20px 24px;
}

.ds-video-meta {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.ds-video-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.3;
}

.ds-video-body p {
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 16px;
}

.ds-video-watch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.25s;
}

.ds-video-watch:hover {
  gap: 10px;
}

.ds-video-watch svg {
  width: 16px;
  height: 16px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2.5;
}

@media (max-width: 1024px) {
  .ds-videos-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}