/* ==========================================================================
   Tierra Mate — Yerba Orgánica Premium
   Main Stylesheet — Complete Rewrite
   Font: Montserrat | Mobile-first | Premium artisanal aesthetic
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
  /* ── Brand Color Palette ── */
  --color-tierra:      #2D1F13;
  --color-oliva:       #63672F;
  --color-terracota:   #C05A34;
  --color-crema:       #F9F0E2;
  --color-swash-tan:   #F2DFC7;
  --color-dorado:      #BE8E43;
  --color-white:       #FFFFFF;

  /* Derived / Functional */
  --color-glass:       rgba(249, 240, 226, 0.72);
  --color-glass-card:  rgba(255, 255, 255, 0.55);
  --color-tierra-08:   rgba(45, 31, 19, 0.08);
  --color-tierra-05:   rgba(45, 31, 19, 0.05);
  --color-tierra-03:   rgba(45, 31, 19, 0.03);
  --color-tierra-75:   rgba(45, 31, 19, 0.75);
  --color-tierra-80:   rgba(45, 31, 19, 0.80);
  --color-oliva-soft:  rgba(99, 103, 47, 0.06);
  --color-dorado-soft: rgba(190, 142, 67, 0.05);
  --whatsapp-green:    #25D366;
  --whatsapp-dark:     #128C7E;

  /* ── Typography ── */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Montserrat', sans-serif;

  /* ── Spacing (rem) ── */
  --space-2xs: 0.125rem;
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* ── Borders & Radius ── */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 50%;

  /* ── Shadows ── */
  --shadow-subtle: 0 1px 3px rgba(45, 31, 19, 0.04);
  --shadow-soft:   0 4px 12px rgba(45, 31, 19, 0.06);
  --shadow-card:   0 8px 30px rgba(45, 31, 19, 0.08);
  --shadow-hover:  0 16px 48px rgba(45, 31, 19, 0.14);
  --shadow-deep:   0 20px 60px rgba(45, 31, 19, 0.18);

  /* ── Transitions ── */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast:  150ms var(--ease-smooth);
  --transition-base:  300ms var(--ease-out-quint);
  --transition-slow:  600ms var(--ease-out-expo);
  --transition-extra: 800ms var(--ease-out-expo);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-tierra);
  background-color: var(--color-crema);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

button, input, select, textarea {
  font-family: var(--font-body);
}

/* ── Headings ── */
h1, h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-tierra);
  letter-spacing: -0.02em;
}

h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-tierra);
}

h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-tierra);
}

/* ── Links ── */
a {
  color: var(--color-oliva);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-terracota);
}

a:focus-visible {
  outline: 2px solid var(--color-terracota);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* ── Lists & Media ── */
ul {
  list-style: none;
}

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

/* ── Selection ── */
::selection {
  background-color: var(--color-terracota);
  color: var(--color-crema);
}

/* ==========================================================================
   3. Layout & Container
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

@media (min-width: 480px) {
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }
}

/* ── Section Padding (mobile-first) ── */
.section-padding {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
}

/* ── Background Alternation ── */
.bg-alt {
  background-color: var(--color-swash-tan);
}

/* ── Utility ── */
.text-center {
  text-align: center;
}

/* ==========================================================================
   4. Section Headers
   ========================================================================== */

.section-header {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-2xl);
}

.section-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-oliva);
  display: block;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: 1.85rem;
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.35rem;
  }
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-terracota), var(--color-dorado));
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.section-description {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-tierra-80);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 1.85rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

/* Primary */
.btn-primary {
  background-color: var(--color-terracota);
  color: var(--color-crema);
  border-color: var(--color-terracota);
}

.btn-primary:hover {
  background-color: #a84a2b;
  border-color: #a84a2b;
  color: var(--color-crema);
  box-shadow: 0 6px 24px rgba(192, 90, 52, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(192, 90, 52, 0.25);
}

/* Secondary */
.btn-secondary {
  background-color: transparent;
  color: var(--color-tierra);
  border-color: var(--color-tierra);
}

.btn-secondary:hover {
  background-color: var(--color-tierra);
  color: var(--color-crema);
  box-shadow: 0 6px 24px rgba(45, 31, 19, 0.2);
  transform: translateY(-1px);
}

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

/* WhatsApp */
.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--color-white);
  border-color: var(--whatsapp-green);
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: var(--color-white);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btn-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.2);
}

/* Modifiers */
.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
}

/* ==========================================================================
   6. Header & Navigation
   ========================================================================== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(249, 240, 226, 0.78);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(45, 31, 19, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

/* Scrolled state — JS adds .header-scrolled */
.main-header.header-scrolled {
  background-color: rgba(249, 240, 226, 0.92);
  box-shadow: 0 4px 20px rgba(45, 31, 19, 0.08);
  padding: var(--space-xs) 0;
}

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

@media (min-width: 480px) {
  .header-container {
    padding: 0 var(--space-lg);
  }
}

/* ── Brand Logo ── */
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover .header-logo-img {
  opacity: 0.85;
}

/* ── Desktop Navigation ── */
.nav-menu {
  display: flex;
  position: absolute;
  top: 15px;
  right: 60px;
  width: 20px;
  height: 20px;
  opacity: 0.01;
  pointer-events: auto;
  overflow: hidden;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-tierra);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-terracota), var(--color-dorado));
  transition: width var(--transition-base), left var(--transition-base);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--color-terracota);
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* ── Mobile Nav Toggle ── */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
  background-color: var(--color-tierra-05);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-tierra);
  position: relative;
  transition: background-color var(--transition-fast);
  border-radius: 1px;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background-color: var(--color-tierra);
  left: 0;
  border-radius: 1px;
  transition: transform var(--transition-base), top var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

/* Active hamburger → X */
.nav-toggle.active .hamburger {
  background-color: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ── Mobile Menu Open ── */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(249, 240, 226, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: calc(var(--space-3xl) + 40px) var(--space-xl) var(--space-xl);
  justify-content: flex-start;
  align-items: center;
  z-index: 999;
  animation: menuSlideIn 0.4s var(--ease-out-expo);
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu.active .nav-list {
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.nav-menu.active .nav-link {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 2px;
}

/* ── Desktop breakpoint ── */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  .nav-menu {
    display: flex;
    align-items: center;
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--space-3xl) + 60px);
  padding-bottom: var(--space-3xl);
  background-color: var(--color-crema);
  overflow: hidden;
}

/* ── Gradient overlays for depth ── */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(99, 103, 47, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 85%, rgba(190, 142, 67, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(192, 90, 52, 0.03) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* ── Decorative parallax leaf shapes ── */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

.hero-section::before {
  width: 400px;
  height: 400px;
  top: -80px;
  right: -100px;
  background: var(--color-oliva);
  transform: rotate(-25deg);
}

.hero-section::after {
  width: 300px;
  height: 300px;
  bottom: -60px;
  left: -80px;
  background: var(--color-dorado);
  transform: rotate(15deg);
}

/* ── Hero Content ── */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
}

.hero-brand-logo {
  max-width: min(750px, 90vw);
  margin-bottom: var(--space-xl);
  mix-blend-mode: multiply;
}

@media (min-width: 768px) {
  .hero-brand-logo {
    max-width: 1050px;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-tierra);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

.hero-categories {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-oliva);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-tierra-80);
  max-width: 560px;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* ── Hero CTA row ── */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 400px;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
    max-width: none;
  }
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--color-tierra);
  border-right: 2px solid var(--color-tierra);
  transform: rotate(45deg);
}

/* ==========================================================================
   8. Philosophy Section (3 Pillars)
   ========================================================================== */

.philosophy-grid,
.philosophy-pillars,
.pillars-grid,
.philosophy-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .philosophy-grid,
  .philosophy-pillars,
  .pillars-grid,
  .philosophy-container {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.philosophy-card {
  background: var(--color-glass-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo);
  border: 1px solid rgba(255, 255, 255, 0.45);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay on card */
.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-oliva), var(--color-dorado));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.philosophy-card:hover::before {
  opacity: 1;
}

/* ── Pillar Icon Circle ── */
.pillar-icon {
  color: var(--color-oliva);
  margin-bottom: var(--space-lg);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(99, 103, 47, 0.08), rgba(190, 142, 67, 0.06));
  transition:
    background 0.4s var(--ease-out-expo),
    color 0.4s var(--ease-out-expo),
    transform 0.4s var(--ease-out-expo);
}

.pillar-icon-img {
  width: 48px;
  height: 48px;
  transition: filter 0.4s ease;
}

.philosophy-pillar img, .pillar img, .filosofia-pillar img {
  max-width: 80px;
  height: auto;
}

.philosophy-card:hover .pillar-icon {
  background: linear-gradient(135deg, var(--color-oliva), #4a4e22);
  color: var(--color-crema);
  transform: scale(1.08);
}

.philosophy-card:hover .pillar-icon-img {
  filter: brightness(0) invert(1);
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-tierra);
}

.pillar-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-tierra-75);
  line-height: 1.7;
}

/* ==========================================================================
   9. Products Section
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* If there are 5 items, allow the 5th to take a special spot on desktop */
@media (min-width: 1024px) {
  .products-grid > .product-card:nth-child(5):last-child {
    grid-column: 2 / 4;
  }
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo);
  border: 1px solid var(--color-tierra-03);
  display: flex;
  flex-direction: column;
}

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

/* ── Product Image Area ── */
.product-image-container {
  height: 220px;
  background: linear-gradient(145deg, var(--color-swash-tan) 0%, rgba(242, 223, 199, 0.5) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

/* Decorative corner shape */
.product-image-container::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--color-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.product-image {
  max-height: 80px;
  max-width: 80px;
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 2;
  position: relative;
}

.product-card:hover .product-image {
  transform: scale(1.12);
}

.product-card:hover .product-image-container {
  background: linear-gradient(145deg, rgba(242, 223, 199, 0.8) 0%, var(--color-swash-tan) 100%);
}

/* ── Product Info ── */
.product-info {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-tierra);
}

.product-description {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-tierra-75);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  line-height: 1.7;
}

/* Price styling (for future use with priced products) */
.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-terracota);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.product-price .price-unit {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-tierra-75);
}

.product-cta {
  align-self: stretch;
  margin-top: auto;
  text-align: center;
}

/* ==========================================================================
   10. Almacén a Granel (Customization) Section
   ========================================================================== */

.almacen-granel {
  position: relative;
}

.almacen-granel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(99, 103, 47, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(190, 142, 67, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* ==========================================================================
   11. Cómo Pedir Section (Steps)
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  position: relative;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

.step-item {
  text-align: center;
  position: relative;
  padding-top: var(--space-xl);
}

/* Step number circle */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-dorado), #d4a44e);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(190, 142, 67, 0.3);
}

/* Connecting lines between steps on desktop */
@media (min-width: 768px) {
  .step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(var(--space-xl) + 30px);
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, var(--color-dorado), rgba(190, 142, 67, 0.2));
    z-index: 1;
  }
}

.step-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-md);
  color: var(--color-oliva);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-tierra);
}

.step-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-tierra-75);
  line-height: 1.7;
}

/* ==========================================================================
   12. Showroom Section
   ========================================================================== */

.showroom-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .showroom-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.showroom-details {
  padding-right: 0;
}

@media (min-width: 768px) {
  .showroom-details {
    padding-right: var(--space-xl);
  }
}

.showroom-intro {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-tierra-80);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.showroom-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.info-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.info-icon {
  font-size: 1.4rem;
  line-height: 1.3;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.info-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-tierra);
  margin-bottom: var(--space-2xs);
}

.info-item p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--color-tierra-75);
  line-height: 1.6;
}

.link-highlight {
  font-weight: 600;
  color: var(--color-oliva);
  transition: color var(--transition-fast);
}

.link-highlight:hover {
  color: var(--color-terracota);
}

/* ── Map ── */
.showroom-visual {
  width: 100%;
}

.map-placeholder {
  height: 380px;
  border-radius: var(--radius-lg);
  background-color: var(--color-swash-tan);
  background-image: radial-gradient(circle, rgba(190, 142, 67, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-tierra-05);
}

/* Google Maps iframe (for when embedded) */
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
}

.map-overlay {
  background-color: rgba(249, 240, 226, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-card);
  max-width: 80%;
  border: 1px solid var(--color-tierra-05);
}

.map-overlay h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.2rem;
  font-weight: 700;
}

.map-overlay p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color-tierra-75);
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .map-placeholder {
    height: 420px;
  }
}

/* ==========================================================================
   13. Testimonials Section
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background-color: var(--color-white);
  padding: var(--space-xl) var(--space-xl) var(--space-xl) calc(var(--space-xl) + 4px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-tierra-03);
  border-left: 4px solid var(--color-terracota);
  position: relative;
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo);
}

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

/* Decorative large quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-terracota);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}

.testimonial-text {
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-tierra-80);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-tierra);
}

.testimonial-location {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--color-tierra-75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   14. Contact Section
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-form-wrapper {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-tierra-03);
}

@media (min-width: 480px) {
  .contact-form-wrapper {
    padding: var(--space-2xl);
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ==========================================================================
   15. Forms
   ========================================================================== */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-oliva);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(45, 31, 19, 0.12);
  background-color: var(--color-crema);
  color: var(--color-tierra);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232D1F13' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-terracota);
  box-shadow: 0 0 0 4px rgba(192, 90, 52, 0.1);
  background-color: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(45, 31, 19, 0.35);
  font-weight: 300;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── Contact Methods ── */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.direct-card {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-tierra-03);
  transition: box-shadow 0.3s ease;
}

.direct-card:hover {
  box-shadow: var(--shadow-card);
}

.direct-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-tierra);
}

.direct-card p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--color-tierra-75);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.whatsapp-direct {
  border-top: 3px solid var(--whatsapp-green);
}

.email-direct {
  border-top: 3px solid var(--color-oliva);
}

.email-address {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

.main-footer {
  background-color: var(--color-tierra);
  color: var(--color-crema);
  padding-top: var(--space-3xl);
  border-top: 3px solid var(--color-dorado);
  position: relative;
}

/* Subtle top gradient overlay */
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(190, 142, 67, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.main-footer h1,
.main-footer h2,
.main-footer h3,
.main-footer h4,
.main-footer h5 {
  color: var(--color-crema);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
  }
}

/* ── Footer Brand ── */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-img {
  height: 64px;
  width: 64px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  border: 2px solid var(--color-dorado);
  background-color: var(--color-crema);
  object-fit: cover;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
  color: var(--color-dorado);
}

.footer-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--color-swash-tan);
  border-left: 2px solid var(--color-oliva);
  padding-left: var(--space-md);
  margin-top: var(--space-sm);
  line-height: 1.6;
}

/* ── Footer Links & Social ── */
.footer-links h4,
.footer-social h4 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  position: relative;
  color: var(--color-dorado);
}

.footer-links h4::after,
.footer-social h4::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-dorado), transparent);
  margin-top: var(--space-sm);
  border-radius: 1px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(249, 240, 226, 0.75);
  font-size: 0.9rem;
  font-weight: 300;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-dorado);
  padding-left: var(--space-xs);
}

/* ── Social Icons ── */
.social-icons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-icons a {
  background-color: rgba(249, 240, 226, 0.06);
  color: var(--color-crema);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(249, 240, 226, 0.1);
  transition:
    all 0.3s var(--ease-out-quint);
  letter-spacing: 0.5px;
}

.social-icons a:hover {
  background-color: var(--color-dorado);
  color: var(--color-tierra);
  border-color: var(--color-dorado);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(190, 142, 67, 0.3);
}

/* ── Footer Bottom ── */
.footer-bottom {
  border-top: 1px solid rgba(249, 240, 226, 0.08);
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(249, 240, 226, 0.5);
  letter-spacing: 0.3px;
}

/* ==========================================================================
   17. Floating WhatsApp Button
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background-color: var(--whatsapp-green);
  color: var(--color-white) !important;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  font-size: 1.75rem;
  transition:
    transform 0.3s var(--ease-out-expo),
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-dark);
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  color: var(--color-white) !important;
}

.whatsapp-float:active {
  transform: scale(1.02);
}

/* ==========================================================================
   18. Responsive Breakpoints — Progressive Enhancement
   ========================================================================== */

/* ── 480px: Large phones ── */
@media (min-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* ── 768px: Tablets ── */
@media (min-width: 768px) {
  body {
    line-height: 1.7;
  }
}

/* ── 1024px: Small desktops ── */
@media (min-width: 1024px) {
  .section-header {
    margin-bottom: var(--space-3xl);
  }

  .philosophy-card {
    padding: var(--space-2xl);
  }

  .product-info {
    padding: var(--space-lg) var(--space-xl);
  }
}

/* ── 1200px: Large desktops ── */
@media (min-width: 1200px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }

  .header-container {
    padding: 0;
  }

  .hero-content {
    max-width: 850px;
  }
}

/* ==========================================================================
   19. Accessibility Enhancements
   ========================================================================== */

/* Skip-to-content link (if added) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background-color: var(--color-terracota);
  color: var(--color-crema);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-md);
}

/* Focus-visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--color-terracota);
  outline-offset: 3px;
}

/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}

/* ==========================================================================
   20. Print Styles
   ========================================================================== */

@media print {
  .main-header,
  .whatsapp-float,
  .scroll-indicator,
  #cursor-glow,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .section-padding {
    padding: 1.5rem 0;
  }

  .container {
    max-width: 100%;
  }
}

/* ==========================================================================
   21. Missing Styles — Completed post-build
   ========================================================================== */

/* ── Hero Parallax Background Layers ── */
.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-leaf {
  position: absolute;
  opacity: 1;
  will-change: transform;
}

.hero-leaf--1 {
  top: -5%;
  right: -5%;
}

.hero-leaf--2 {
  bottom: 5%;
  left: -8%;
}

.hero-leaf--3 {
  top: 35%;
  left: 5%;
}

.hero-leaf--4 {
  top: -5%;
  left: -3%;
}

.hero-leaf--5 {
  bottom: 10%;
  right: 8%;
}

@media (max-width: 768px) {
  .hero-leaf {
    opacity: 0.6;
  }
  .hero-leaf--1 { width: 200px; height: 200px; }
  .hero-leaf--3,
  .hero-leaf--4 { display: none; }
}

/* ── Product Image Placeholder (gradient + SVG icon) ── */
.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base, 0.3s ease);
}

.product-card:hover .product-image-placeholder {
  transform: scale(1.05);
}

/* ── Product Pricing ── */
.product-meta-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: var(--space-md, 1rem);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-terracota);
  line-height: 1;
}

.product-unit {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-tierra-75, rgba(45,31,19,0.75));
}

/* ── Button Sizes ── */
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 1.5px;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}

/* ── Button Icon ── */
.btn-icon {
  flex-shrink: 0;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Accessories Section ── */
.accessories-section {
  background-color: var(--color-crema);
}

/* ── How-to / Cómo Pedir Section ── */
.how-to-section {
  background-color: var(--color-swash-tan);
}

.step-card {
  text-align: center;
  padding: var(--space-xl, 2rem) var(--space-lg, 1.5rem);
  background-color: var(--color-white);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-soft, 0 4px 12px rgba(45,31,19,0.05));
  border: 1px solid var(--color-tierra-03, rgba(45,31,19,0.03));
  position: relative;
  transition: transform var(--transition-base, 0.3s ease), box-shadow var(--transition-base, 0.3s ease);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover, 0 12px 40px rgba(45,31,19,0.12));
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-dorado);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(190, 142, 67, 0.3);
}

.step-icon {
  margin-bottom: var(--space-md, 1rem);
  display: flex;
  justify-content: center;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-sm, 0.5rem);
  color: var(--color-tierra);
}

.step-text {
  font-size: 0.9rem;
  color: var(--color-tierra-75, rgba(45,31,19,0.75));
  line-height: 1.6;
}

/* ── Steps Grid with Connectors ── */
@media (min-width: 768px) {
  .step-card {
    position: relative;
  }

  .step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-dorado), transparent);
    opacity: 0.3;
    pointer-events: none;
  }
}

/* ── Showroom Map ── */
.showroom-map {
  width: 100%;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-card, 0 8px 30px rgba(45,31,19,0.08));
}

.showroom-map iframe {
  width: 100%;
  display: block;
  border: none;
}

/* ── Info Icon Wrapper ── */
.info-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background-color: rgba(192, 90, 52, 0.08);
  color: var(--color-terracota);
  transition: background-color var(--transition-base, 0.3s ease);
}

.info-item:hover .info-icon-wrapper {
  background-color: rgba(192, 90, 52, 0.15);
}

/* ── Testimonial Author Avatars ── */
.author-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-oliva), var(--color-dorado));
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md, 1rem);
  margin-top: var(--space-lg, 1.5rem);
  padding-top: var(--space-md, 1rem);
  border-top: 1px solid var(--color-tierra-05, rgba(45,31,19,0.05));
}

.author-name {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  color: var(--color-tierra);
}

.author-location {
  font-size: 0.8rem;
  color: var(--color-tierra-75, rgba(45,31,19,0.75));
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-sm, 0.5rem);
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-tierra-80, rgba(45,31,19,0.8));
  font-style: italic;
  border: none;
  margin: 0;
  padding: 0;
}

/* ── Footer Contact Column ── */
.footer-contact h4 {
  color: var(--color-crema);
  font-size: 1.05rem;
  margin-bottom: var(--space-md, 1rem);
  position: relative;
}

.footer-contact h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: var(--color-dorado);
  margin-top: var(--space-xs, 0.25rem);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm, 0.5rem);
  list-style: none;
  padding: 0;
}

.footer-contact li {
  font-size: 0.9rem;
  color: var(--color-swash-tan);
  display: flex;
  align-items: center;
}

.footer-contact a {
  color: var(--color-swash-tan);
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast, 0.15s ease);
}

.footer-contact a:hover {
  color: var(--color-dorado);
}

/* ── Social Icons in Footer ── */
.social-icons a {
  display: flex;
  align-items: center;
  gap: var(--space-sm, 0.5rem);
}

.social-icons a span {
  font-size: 0.85rem;
}

/* ── Responsive adjustments for missing grid configs ── */
@media (max-width: 767px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .showroom-wrapper {
    grid-template-columns: 1fr;
  }

  .showroom-map iframe {
    height: 300px;
  }
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
