/* ============================================
   COLCHONERÍA SAN JUAN — Premium Landing Page
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Colors — Pastel red premium palette */
  --color-bg:          #FDF8F6;
  --color-bg-alt:      #F9F0EC;
  --color-bg-warm:     #F4E6E2;
  --color-bg-dark:     #3B1818;
  --color-bg-dark-alt: #4D2020;
  --color-text:        #3B1818;
  --color-text-light:  #6B3E3E;
  --color-text-muted:  #9A7070;
  --color-accent:      #C25A52;
  --color-accent-dark: #A34740;
  --color-accent-light:#D4918B;
  --color-gold:        #C96E6E;
  --color-border:      #EAD8D4;
  --color-white:       #FFFFFF;
  --color-overlay:     rgba(50, 20, 20, 0.55);
  --color-star:        #D4944C;
  
  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;
  
  /* Layout */
  --max-width:  1200px;
  --max-narrow: 900px;
  
  /* Borders & Shadows */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 2px 8px rgba(50,20,20,0.04);
  --shadow-md:  0 4px 20px rgba(50,20,20,0.06);
  --shadow-lg:  0 8px 40px rgba(50,20,20,0.08);
  --shadow-xl:  0 16px 60px rgba(50,20,20,0.10);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }

p {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 65ch;
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-narrow);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255,255,255,0.7);
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-sm);
}

.section-header__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 55ch;
  margin: 0 auto;
  line-height: 1.7;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  margin: var(--space-md) auto;
  border: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(194, 90, 82, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--outline-dark:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.95rem;
}

.btn svg,
.btn .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---- Sticky Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
  background: transparent;
}

.nav--scrolled {
  background: rgba(253, 248, 246, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(50,20,20,0.06);
  padding: 0.7rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__brand-logo {
  height: 42px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  transition: all var(--transition-base);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav--scrolled .nav__brand-logo {
  height: 36px;
}

.nav__brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color var(--transition-base);
}

.nav--scrolled .nav__brand-name {
  color: var(--color-text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.nav--scrolled .nav__link {
  color: var(--color-text-light);
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__cta {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  background: var(--color-accent);
  color: var(--color-white);
  transition: all var(--transition-base);
}

.nav__cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

.nav--scrolled .nav__mobile-toggle span {
  background: var(--color-text);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(50, 20, 20, 0.92) 0%,
    rgba(50, 20, 20, 0.82) 38%,
    rgba(50, 20, 20, 0.45) 62%,
    rgba(50, 20, 20, 0.12) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
  padding-top: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero__inner {
  flex: 1 1 0;
  min-width: 0;
  max-width: 580px;
}

/* Hero vídeo columna derecha */
.hero__video-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.8s;
}

.hero__video-frame {
  position: relative;
  height: min(70vh, 560px);
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(50, 20, 20, 0.6);
}

.hero__video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero__tag::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1.5px;
  background: var(--color-accent-light);
}

.hero__title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: var(--space-xs);
  max-width: 540px;
  font-weight: 300;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero__support {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.85s;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1s;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}

.hero__scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ---- TRUST BAR ---- */
.trust-bar {
  position: relative;
  z-index: 10;
  margin-top: -3rem;
  padding: 0 var(--space-md);
}

.trust-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-lg) var(--space-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: var(--space-sm) 0;
  position: relative;
}

.trust-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(-1 * var(--space-lg) / 2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: var(--color-border);
}

.trust-bar__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-accent);
}

.trust-bar__icon svg {
  width: 22px;
  height: 22px;
}

.trust-bar__label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
}

.trust-bar__sublabel {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.trust-bar__stars {
  display: flex;
  gap: 2px;
  color: var(--color-star);
}

.trust-bar__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---- STORE IMAGE SECTION ---- */
.store-showcase {
  padding: var(--space-xl) 0 0;
}

.store-showcase__wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.store-showcase__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.store-showcase__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.store-showcase__image:hover img {
  transform: scale(1.03);
}

.store-showcase__content {
  padding: var(--space-lg) 0;
}

.store-showcase__content h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.store-showcase__content p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.store-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-alt);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent-dark);
}

/* ---- VALUE PROPS ---- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.value-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}

.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-bg-warm));
  color: var(--color-accent);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.value-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- PRODUCT CATEGORIES ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  group: true;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image {
  transform: scale(1.08);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(50, 20, 20, 0.75) 0%,
    rgba(50, 20, 20, 0.1) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.product-card:hover .product-card__overlay {
  background: linear-gradient(
    to top,
    rgba(50, 20, 20, 0.85) 0%,
    rgba(50, 20, 20, 0.2) 60%,
    transparent 100%
  );
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 0.3rem;
}

.product-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-sm);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-accent-light);
  letter-spacing: 0.04em;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition-base);
}

.product-card:hover .product-card__link {
  transform: translateY(0);
  opacity: 1;
}

.product-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.product-card__link:hover svg {
  transform: translateX(4px);
}

/* ---- WHY CHOOSE US ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.why-item:hover {
  background: var(--color-bg-alt);
}

.why-item__number {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.why-item__content h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.why-item__content p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- STORYTELLING ---- */
.storytelling {
  position: relative;
  overflow: hidden;
}

.storytelling__bg {
  position: absolute;
  inset: 0;
}

.storytelling__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storytelling__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(50, 20, 20, 0.82) 0%,
    rgba(50, 20, 20, 0.65) 100%
  );
}

.storytelling__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  max-width: 750px;
  margin: 0 auto;
}

.storytelling__content .section-header__tag {
  color: var(--color-accent-light);
}

.storytelling__content h2 {
  color: var(--color-white);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: var(--space-md);
}

.storytelling__content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 60ch;
  margin: 0 auto var(--space-lg);
}

.storytelling__pillars {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.storytelling__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.storytelling__pillar-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-accent-light);
  margin-bottom: 0.3rem;
}

.storytelling__pillar-icon svg {
  width: 24px;
  height: 24px;
}

.storytelling__pillar-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-white);
}

/* ---- REVIEWS ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
}

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

.review-card__quote {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-bg-warm);
  pointer-events: none;
}

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-sm);
  color: var(--color-star);
}

.review-card__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

.review-card__name {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--color-text);
}

.review-card__source {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Google Reviews badge */
.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
  width: fit-content;
  margin: var(--space-lg) auto 0;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.google-badge__icon svg {
  width: 24px;
  height: 24px;
}

.google-badge__text {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.google-badge__text strong {
  color: var(--color-text);
}

/* Reviews CTA button */
.resenas-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}

.btn--resenas {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-color: var(--color-border);
  color: var(--color-text-light);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn--resenas:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateX(3px);
}

.btn--resenas svg {
  transition: transform 0.2s ease;
}

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

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-dark-alt));
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(194,90,82,0.08), transparent 70%);
  pointer-events: none;
}

.cta-section__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin: 0 auto var(--space-lg);
  max-width: 50ch;
}

.cta-section__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__top {
  padding: var(--space-3xl) var(--space-md) var(--space-xl);
}

.footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-md);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  transition: border-color 0.2s, color 0.2s;
}

.footer__social-btn:hover {
  border-color: var(--color-accent-light);
  color: var(--color-white);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent-light);
  margin-top: 2px;
}

.footer__contact-item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}

.footer__contact-item a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-md);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  max-width: 100%;
}

/* ---- CONTACT + MAP SECTION ---- */
.contact-map-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: stretch;
  min-height: 480px;
}

.contact-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.contact-info-card__header {
  margin-bottom: var(--space-lg);
}

.contact-info-card__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: var(--space-sm);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info-card__tagline {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 100%;
}

.contact-info-card__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info-card__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-info-card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-accent);
}

.contact-info-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-card__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.2rem;
}

.contact-info-card__value {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}

.contact-info-card__value--link {
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.contact-info-card__value--link:hover {
  color: var(--color-accent);
}

.contact-info-card__social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}

.social-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-bg-warm);
}

.contact-info-card__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-info-card__ctas .btn {
  flex: 1;
  min-width: 140px;
  justify-content: center;
}

.contact-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  min-height: 480px;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 480px;
  filter: grayscale(0.15) contrast(0.95);
}

/* Keep old map-container for backwards compat */
.map-container {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) contrast(0.9);
}

/* ---- FLOATING CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.floating-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(194,90,82,0.4);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.floating-cta__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(194,90,82,0.5);
}

.floating-cta__btn svg {
  width: 24px;
  height: 24px;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  
  .why-grid {
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  
  .nav__mobile-toggle {
    display: block;
  }
  
  /* Mobile menu */
  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    gap: 0;
  }
  
  .nav__links--open .nav__link {
    color: var(--color-text);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  
  .nav__links--open .nav__cta {
    margin-top: var(--space-sm);
    text-align: center;
    display: inline-block;
  }
  
  .hero__title {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }

  /* Hero split: ocultar vídeo en móvil, volver a columna */
  .hero__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding-top: 7rem;
  }

  .hero__video-col {
    display: none;
  }

  .hero__inner {
    max-width: 100%;
  }
  
  .trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-md);
    gap: var(--space-md);
  }
  
  .trust-bar__item:not(:last-child)::after {
    display: none;
  }
  
  .store-showcase__wrapper {
    grid-template-columns: 1fr;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .why-image {
    order: -1;
  }
  
  .why-image img {
    height: 300px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .storytelling__pillars {
    gap: var(--space-md);
  }
  
  .hero__ctas {
    flex-direction: column;
  }
  
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
  
  .cta-section__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-section__buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .contact-map-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-map-wrapper {
    min-height: 350px;
  }
  
  .contact-map-wrapper iframe {
    min-height: 350px;
  }
  
  .contact-info-card__ctas {
    flex-direction: column;
  }
  
  .contact-info-card__ctas .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .trust-bar {
    margin-top: -1.5rem;
  }
  
  .trust-bar__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-sm);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .nav__brand-logo {
    height: 34px;
  }
  
  .contact-info-card {
    padding: var(--space-md);
  }
}


/* ============================================================
   SECCIONES DE VÍDEO VERTICAL — Colchonería San Juan
   ============================================================ */

/* ---- Componentes compartidos ---- */

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: inherit;
}

/* Imagen en sección historia (reemplaza vídeo) */
.historia-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: inherit;
}

/* Desktop: imagen visible, vídeo oculto */
.historia-media--mobile { display: none; }
@media (max-width: 768px) {
  .historia-media--desktop { display: none; }
  .historia-media--mobile { display: block; }
}

.historia-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.historia-img__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(30, 10, 10, 0.6), transparent);
  pointer-events: none;
}

.video-wrap__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.video-wrap__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(50,20,20,.45), transparent);
  pointer-events: none;
}

.video-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.video-frame--dark {
  padding: 6px;
  background: linear-gradient(145deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 100%);
  box-shadow: 0 24px 80px rgba(10,0,0,.55), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.video-frame--dark .video-wrap { border-radius: calc(var(--radius-xl) - 4px); }

.video-frame--light {
  padding: 6px;
  background: linear-gradient(145deg, var(--color-border) 0%, var(--color-bg-warm) 100%);
  box-shadow: var(--shadow-xl);
}
.video-frame--light .video-wrap { border-radius: calc(var(--radius-xl) - 4px); }

.video-play-btn {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition-base);
}
.video-play-btn--hidden { opacity: 0; pointer-events: none; }

.video-play-btn__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(253,248,246,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(50,20,20,.25);
  transition: all var(--transition-base);
}
.video-play-btn__circle svg { width: 22px; height: 22px; margin-left: 3px; }
.video-play-btn:hover .video-play-btn__circle {
  transform: scale(1.1);
  background: var(--color-white);
  box-shadow: 0 12px 40px rgba(194,90,82,.3);
}

/* ---- Sección 1: Portada ---- */

.video-portada {
  background-color: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}
.video-portada::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 70%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(194,90,82,.07) 0%, transparent 65%);
  pointer-events: none;
}

.video-portada__layout {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.video-portada__copy { flex: 1 1 0; min-width: 0; }

.video-portada__tag {
  color: var(--color-accent-light) !important;
  margin-bottom: var(--space-md);
  display: block;
}

.video-portada__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.video-portada__divider { margin-left: 0 !important; margin-right: auto !important; }

.video-portada__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  max-width: 48ch;
  margin-bottom: var(--space-sm);
}
.video-portada__text--secondary {
  font-size: .95rem;
  color: rgba(255,255,255,.48);
  margin-bottom: var(--space-xl);
}

.video-portada__pillars {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.video-portada__pillar { display: flex; flex-direction: column; gap: .2rem; }
.video-portada__pillar strong {
  font-family: var(--font-heading);
  font-size: 2.2rem; font-weight: 500;
  color: var(--color-white); line-height: 1;
}
.video-portada__pillar span {
  font-size: .78rem;
  color: var(--color-text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.video-portada__pillar-sep {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

.video-portada__media { flex: 0 0 320px; width: 320px; }

.video-frame__deco {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 3px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  z-index: 5;
}

.video-frame__badge {
  position: absolute;
  bottom: -14px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-bg-dark);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .45rem 1.1rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(10,0,0,.4);
}
.video-frame__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent); flex-shrink: 0;
  animation: pulseDot 2.4s ease infinite;
}
@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.7); }
}

/* ---- Sección 2: 100 Noches ---- */

.video-100noches__layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: nowrap;
}

.video-100noches__trust,
.video-100noches__cta {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column;
  gap: var(--space-md);
}
.video-100noches__cta { align-items: flex-start; }

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: background var(--transition-base);
}
.trust-item:hover { background: rgba(194,90,82,.04); }

.trust-item__icon {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-bg), var(--color-bg-warm));
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
}
.trust-item__icon svg { width: 20px; height: 20px; }

.trust-item__body { display: flex; flex-direction: column; gap: .25rem; }
.trust-item__body strong {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 500;
  color: var(--color-text);
}
.trust-item__body span { font-size: .85rem; color: var(--color-text-muted); line-height: 1.6; }

.video-100noches__media {
  flex: 0 0 300px; width: 300px;
  position: relative;
  display: flex; flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding-top: 2rem;
}

.nights-badge {
  position: absolute;
  top: -10px; right: -20px;
  z-index: 10;
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(194,90,82,.4);
  text-align: center; line-height: 1;
}
.nights-badge__number {
  font-family: var(--font-heading);
  font-size: 1.6rem; font-weight: 600;
  color: var(--color-white); line-height: 1;
}
.nights-badge__label {
  font-size: .55rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  line-height: 1.3;
}

.nights-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 100px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap; margin-top: .5rem;
}

.nights-quote {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}
.nights-quote__text {
  font-size: .92rem; font-style: italic;
  color: var(--color-text); line-height: 1.7;
  margin-bottom: .75rem; max-width: 100%;
}
.nights-quote__author { display: flex; align-items: center; gap: .6rem; }
.nights-quote__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; color: var(--color-white);
  flex-shrink: 0;
}
.nights-quote__author strong { display: block; font-size: .82rem; font-weight: 600; color: var(--color-text); }
.nights-quote__author span { font-size: .74rem; color: var(--color-text-muted); }

.nights-cta-note {
  font-size: .78rem !important;
  color: var(--color-text-muted) !important;
  margin-top: -.5rem !important;
  max-width: 100%;
}

/* ---- Sección 3: Consejos ---- */

.video-consejos__grid {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.consejo-card {
  flex: 0 0 320px; width: 320px;
  display: flex; flex-direction: column;
  gap: var(--space-md);
}
.consejo-card__frame { position: relative; }

.consejo-card__num {
  position: absolute;
  top: -20px; left: -16px;
  z-index: 5;
  font-family: var(--font-heading);
  font-size: 5rem; font-weight: 700;
  color: var(--color-bg-warm);
  line-height: 1;
  pointer-events: none; user-select: none;
  letter-spacing: -0.05em;
}

.consejo-card__body { padding: 0 var(--space-sm); }
.consejo-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 400; color: var(--color-text);
  margin-bottom: .5rem; line-height: 1.2;
}
.consejo-card__text {
  font-size: .9rem; color: var(--color-text-light);
  line-height: 1.75; margin-bottom: var(--space-sm);
  max-width: 100%;
}
.consejo-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.consejo-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: .25rem .65rem; border-radius: 100px;
  transition: all var(--transition-fast);
}
.consejo-tag:hover { border-color: var(--color-accent-light); color: var(--color-accent); }

.video-consejos__footer {
  display: flex; align-items: center;
  justify-content: center; gap: var(--space-lg);
  margin-top: var(--space-xl); flex-wrap: wrap;
}
.video-consejos__footer p { font-size: 1rem; color: var(--color-text-muted); margin: 0; max-width: 100%; }

/* ---- Reveal animations (compatible con IntersectionObserver existente) ---- */
.reveal--delay-1 { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }
.reveal--delay-3 { transition-delay: .36s; }

/* ---- Media queries vídeos ---- */
@media (max-width: 768px) {
  .video-portada__layout { flex-direction: column; gap: var(--space-xl); }
  .video-portada__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .video-portada__divider { margin-left: auto !important; }
  .video-portada__text { max-width: 100%; }
  .video-portada__pillars { justify-content: center; }
  .video-portada__media { flex: unset; width: min(300px, 80vw); }

  .video-100noches__layout { flex-direction: column; align-items: center; gap: var(--space-xl); }
  .video-100noches__trust, .video-100noches__cta { flex: unset; width: 100%; max-width: 480px; }
  .video-100noches__media { flex: unset; width: min(280px, 75vw); }
  .video-100noches__cta { align-items: center; text-align: center; }
  .nights-quote { text-align: left; }
  .nights-cta-note { text-align: center; }

  .video-consejos__grid { flex-direction: column; align-items: center; gap: var(--space-xl); }
  .consejo-card { flex: unset; width: min(320px, 90vw); }
  .consejo-card__body { text-align: center; }
  .consejo-card__tags { justify-content: center; }
  .video-consejos__footer { flex-direction: column; text-align: center; gap: var(--space-md); }
  .video-play-btn__circle { width: 52px; height: 52px; }
  .video-play-btn__circle svg { width: 18px; height: 18px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .video-portada__media { flex: 0 0 260px; width: 260px; }
  .video-100noches__media { flex: 0 0 240px; width: 240px; }
  .consejo-card { flex: 0 0 280px; width: 280px; }
  .video-portada__layout { gap: var(--space-xl); }

  /* Hero split en tablet: vídeo más pequeño, gap reducido */
  .hero__content { gap: 2.5rem; }
  .hero__video-frame { height: min(60vh, 420px); }
}

/* ---- Botón mute/unmute ---- */
.video-mute-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 248, 246, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-white);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.video-mute-btn:hover {
  background: rgba(253, 248, 246, 0.32);
  transform: scale(1.08);
}
.video-mute-btn svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}
