/* ==========================================================================
   GLOBAL LOCAL FARM (GLF) - HYDROPONICS & AGRITECH E-COMMERCE & SHOWCASE
   Design System & Master Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. FONTS & DESIGN TOKENS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Brand Color Palette */
  --color-primary: #1A3337;      /* Hydroponic Dark Teal */
  --color-primary-rgb: 26, 51, 55;
  --color-secondary: #B7C8B5;    /* Mint / Sage Light Green */
  --color-secondary-rgb: 183, 200, 181;
  --color-accent: #E9C162;       /* Mustard Yellow CTA */
  --color-accent-hover: #d8b051;
  --color-salmon: #F7D6CD;       /* Category Salmon Soft Tint */
  --color-mint-light: #EBF2EA;   /* Category Mint Soft Tint */
  
  /* Neutrals */
  --color-bg-main: #FFFFFF;      /* Pure White */
  --color-bg-alt: #F8F9FA;       /* Light Gray for alternate sections */
  --color-text-main: #555555;    /* Body Dark Gray */
  --color-text-dark: #1A3337;    /* Primary Dark Text */
  --color-text-muted: #888888;
  --color-border: #E5E7EB;
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1280px;
  --header-height: 95px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-sm: 0 2px 8px rgba(26, 51, 55, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 51, 55, 0.08);
  --shadow-lg: 0 16px 40px rgba(26, 51, 55, 0.12);
  --shadow-glow: 0 0 20px rgba(183, 200, 181, 0.4);
}

/* --------------------------------------------------------------------------
   1. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.intro-active {
  overflow: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-text-dark);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.eyebrow-accent {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   2. 12-COLUMN FLUID GRID & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem auto;
}

.section-header p {
  color: var(--color-text-main);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(233, 193, 98, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 193, 98, 0.5);
}

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

.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-bg-main);
}

.btn-secondary:hover {
  background-color: #24464c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-main);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   SECTION 0: INTRO FULLSCREEN VIDEO OVERLAY
   -------------------------------------------------------------------------- */
#intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}

#intro-overlay.dismissed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.intro-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.intro-video-desktop {
  display: block;
}

.intro-video-mobile {
  display: none;
}

.intro-content {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.intro-enter-btn {
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.intro-enter-btn:hover {
  transform: scale(1.06) translateY(-2px);
  background-color: #FFFFFF;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   SECTION A: HEADER WITH AMBIENT MUSIC PLAYER
   -------------------------------------------------------------------------- */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 51, 55, 0.06);
}

#main-header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(26, 51, 55, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--color-primary);
}

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

#main-header.scrolled .brand-logo img {
  height: 52px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Audio Player Control */
.audio-player-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-secondary);
  color: var(--color-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}

#audio-status-label {
  display: none !important;
}

.audio-player-btn:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  transform: scale(1.06);
}

.waveform-icon {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.waveform-bar {
  width: 2.5px;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 1px;
  animation: waveform-bounce 1.2s ease-in-out infinite alternate;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; height: 60%; }
.waveform-bar:nth-child(2) { animation-delay: 0.2s; height: 100%; }
.waveform-bar:nth-child(3) { animation-delay: 0.4s; height: 40%; }
.waveform-bar:nth-child(4) { animation-delay: 0.6s; height: 80%; }

.audio-player-btn.muted .waveform-bar {
  animation: none;
  height: 30% !important;
  opacity: 0.4;
}

@keyframes waveform-bounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* Cart Button */
.cart-trigger-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.cart-trigger-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   SECTION B: HERO SECTION
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image: url('../glf-hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero-text {
  max-width: 660px;
  background: rgba(255, 255, 255, 0.5); /* 50% Transparencia */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 3.2rem 2.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  margin-left: auto;
}

.hero-title {
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-main);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(26, 51, 55, 0.1);
}

.metric-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-primary);
  line-height: 1.1;
}

.metric-item span {
  font-size: 0.85rem;
  color: var(--color-text-main);
}

.hero-visual {
  display: none;
}

.hero-img-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.hero-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid rgba(183, 200, 181, 0.4);
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-primary);
}

.badge-text span {
  font-size: 0.78rem;
  color: var(--color-text-main);
}

/* --------------------------------------------------------------------------
   SECTION C: FEATURED CATEGORIES (SECONDARY BANNERS)
   -------------------------------------------------------------------------- */
#categories {
  background-color: var(--color-bg-main);
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  width: 100%;
  max-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.category-card-salmon {
  background-color: var(--color-salmon);
}

.category-card-mint {
  background-color: var(--color-mint-light);
}

.category-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 51, 55, 0) 30%, rgba(26, 51, 55, 0.82) 100%);
  z-index: 2;
}

.category-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
}

.category-title {
  color: #FFFFFF;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.category-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent);
}

/* Card Hover Effects */
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card:hover .category-bg-img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   SECTION D: UNIQUE SELLING PROPOSITION (USP)
   -------------------------------------------------------------------------- */
#usp {
  background-color: var(--color-bg-alt);
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

#usp .section-header {
  margin-bottom: 2rem;
}

.usp-banner-image {
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.usp-full-img {
  width: 100%;
  height: auto;
  display: block;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.usp-card {
  background-color: #FFFFFF;
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  position: relative;
}

.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.usp-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: rgba(183, 200, 181, 0.25);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.usp-card:hover .usp-icon-wrapper {
  transform: scale(1.12) rotate(4deg);
  background-color: var(--color-secondary);
}

.usp-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.usp-text {
  font-size: 0.88rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   SECTION E: FEATURED E-COMMERCE PRODUCTS GRID
   -------------------------------------------------------------------------- */
#products {
  background-color: var(--color-bg-main);
}

.product-category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.product-tab-btn {
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-tab-btn.active,
.product-tab-btn:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.product-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 12px rgba(26, 51, 55, 0.04);
  opacity: 1 !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  will-change: transform, box-shadow;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(26, 51, 55, 0.09);
  border-color: rgba(46, 117, 89, 0.35);
}

.product-card.hidden {
  display: none;
}

.product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background-color: #F8FAF8;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 2;
}

.product-badge-alt {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.product-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.product-name {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
  line-height: 1.45;
  opacity: 0.88;
}

.product-rating span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-left: 0.2rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Slide-Up Quick Add Button */
.add-to-cart-btn {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.product-card:hover .add-to-cart-btn {
  background-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 193, 98, 0.4);
}

/* --------------------------------------------------------------------------
   SECTION F: INSTITUTIONAL VIDEO ("DENTRO DE NUESTRA GRANJA")
   -------------------------------------------------------------------------- */
#institutional-video {
  background-color: var(--color-bg-alt);
}

.video-banner-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 1040px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  width: 100%;
  background-color: #F8FAF8;
  border: 1px solid var(--color-border);
}

.video-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
  display: block;
}

.video-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: transparent;
}

.video-play-action-btn {
  padding: 1.15rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.play-pulse-btn:hover {
  transform: scale(1.12);
  background-color: #FFFFFF;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(233, 193, 98, 0.7);
  }
  70% {
    box-shadow: 0 0 0 24px rgba(233, 193, 98, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(233, 193, 98, 0);
  }
}

.video-banner-title {
  color: #FFFFFF;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.video-banner-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   SECTION G: TESTIMONIALS CAROUSEL
   -------------------------------------------------------------------------- */
#testimonials {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 34, 37, 0.15) 0%, rgba(17, 34, 37, 0.22) 100%),
              url('../glf-testimonials-bg.png') center/cover no-repeat;
  background-attachment: scroll;
}

#testimonials .section-header .eyebrow {
  color: var(--color-accent);
}

#testimonials .section-header h2 {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

#testimonials .section-header p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.testimonial-carousel-container {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  min-height: 350px;
}

.testimonial-slide {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 3.5rem 4rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: none;
  opacity: 0;
  min-height: 350px;
  box-sizing: border-box;
  will-change: opacity, transform, filter;
}

.testimonial-slide.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: luxurySlideMorph 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.testimonial-slide.active .testimonial-quote {
  animation: textStaggerUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.testimonial-slide.active .testimonial-author {
  animation: textStaggerUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

@keyframes luxurySlideMorph {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes textStaggerUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

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

.author-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.author-role {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  z-index: 5;
}

.carousel-nav-btn:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.carousel-nav-prev { left: -24px; }
.carousel-nav-next { right: -24px; }

/* --------------------------------------------------------------------------
   SECTION H: DYNAMIC GALLERY ("VIDA EN LA GRANJA")
   -------------------------------------------------------------------------- */
#gallery {
  background-color: var(--color-bg-alt);
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.hidden {
  display: none;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Translucent Dark Teal Overlay with Magnifying Glass */
.gallery-mask {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 51, 55, 0.4); /* #1A3337 at 40% */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  color: #FFFFFF;
  padding: 1rem;
  text-align: center;
}

.zoom-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transform: scale(0.6);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-title {
  font-size: 1rem;
  color: #FFFFFF;
  font-weight: 600;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-mask {
  opacity: 1;
}

.gallery-item:hover .zoom-icon {
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   SECTION I: TEAM ("CONOCE A NUESTROS EXPERTOS HIDROPÓNICOS")
   -------------------------------------------------------------------------- */
#team {
  background-color: var(--color-bg-main);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.team-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.avatar-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem auto;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: filter 0.3s ease;
}

/* Rotating Mint Border */
.avatar-border-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 3px dashed var(--color-secondary);
  transition: transform 0.8s linear;
  z-index: 1;
}

.team-card:hover .avatar-border-ring {
  transform: rotate(180deg);
  border-color: var(--color-accent);
}

.team-name {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

/* Slide-Up Social Icons */
.team-social-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.team-card:hover .team-social-bar {
  transform: translateY(0);
  opacity: 1;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   SECTION J: PROCESS & INNOVATION MAP
   -------------------------------------------------------------------------- */
#process {
  background-color: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

/* 2-Column Hydroponic Science Overview */
.process-intro-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 868px) {
  .process-intro-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.process-col-card {
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  box-shadow: 0 4px 16px rgba(26, 51, 55, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
}

.process-col-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(26, 51, 55, 0.08);
  border-color: rgba(46, 117, 89, 0.3);
}

.process-col-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(46, 117, 89, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

.process-col-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.process-col-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--color-text-main);
}

.process-timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Animated Progress Line */
.timeline-line-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--color-border);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  transition: height 0.2s ease-out;
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-content {
  width: 45%;
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.process-step:hover .process-content {
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.step-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  transition: all var(--transition-normal);
}

.process-step.active .step-node {
  background-color: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.15);
}

.step-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--color-text-main);
}

/* Process Map Banner Card */
.process-map-card {
  margin-top: 4.5rem;
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  box-shadow: 0 4px 16px rgba(26, 51, 55, 0.05);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  will-change: transform, box-shadow;
}

.process-map-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26, 51, 55, 0.10);
  border-color: rgba(46, 117, 89, 0.35);
}

.process-map-header {
  margin-bottom: 2rem;
}

.eyebrow-small {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.4rem;
}

.process-map-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.process-map-sub {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.process-map-img-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #FFFFFF;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  transition: border-color 0.4s ease;
}

.process-map-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-map-card:hover .process-map-img {
  transform: scale(1.015);
}

/* --------------------------------------------------------------------------
   SECTION K: NEWSLETTER SUBSCRIPTION
   -------------------------------------------------------------------------- */
#newsletter {
  background-color: var(--color-primary);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.newsletter-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.newsletter-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 540px;
  margin: 0 auto;
}

.newsletter-input {
  flex-grow: 1;
  padding: 1.05rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-text-dark);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

/* Focus Glow Effect in Mint Green */
.newsletter-input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 20px rgba(183, 200, 181, 0.6);
  background-color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   SECTION L: FOOTER (PIE DE PÁGINA)
   -------------------------------------------------------------------------- */
#main-footer {
  background-color: #122427;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-logo {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-about {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

/* Social Icons Hover Mustard Yellow */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.12);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   MODALS & DRAWERS (CART & LIGHTBOX)
   -------------------------------------------------------------------------- */
/* Mini Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 9995;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-size: 1.25rem;
}

.close-drawer-btn {
  font-size: 1.5rem;
  color: var(--color-text-main);
  padding: 0.2rem;
}

.cart-drawer-body {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.cart-item-price {
  font-size: 0.88rem;
  color: var(--color-text-main);
}

.remove-cart-item {
  color: #EF4444;
  font-size: 0.85rem;
  cursor: pointer;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  position: relative;
}

.lightbox-content img,
.lightbox-content video {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.close-lightbox {
  position: absolute;
  top: -40px;
  right: 0;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE BREAKPOINTS (DESKTOP / TABLET / MOBILE)
   -------------------------------------------------------------------------- */
/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .grid-12 {
    gap: 1.5rem;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .hero-main-img {
    height: 420px;
  }
  
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Mobile (<= 767px) */
@media (max-width: 767px) {
  .intro-video-desktop {
    display: none !important;
  }

  .intro-video-mobile {
    display: block !important;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .audio-player-btn {
    width: 36px;
    height: 36px;
  }

  #audio-status-label {
    display: none !important;
  }

  .brand-logo span {
    display: none !important;
  }

  .brand-logo img {
    height: 46px;
  }

  .hero-text {
    padding: 2rem 1.1rem;
    max-width: 100%;
    margin-left: 0;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.2rem;
    text-align: center;
  }

  .metric-item strong {
    font-size: 1.35rem;
  }

  .metric-item span {
    font-size: 0.72rem;
    line-height: 1.25;
    display: block;
  }

  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  
  .main-nav.active {
    transform: translateY(0);
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-main-img {
    height: 320px;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-floating-badge {
    left: 0;
    bottom: -1rem;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .usp-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .process-timeline::before {
    left: 20px;
  }
  
  .timeline-line-track {
    left: 20px;
  }
  
  .process-step {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 50px;
  }
  
  .process-content {
    width: 100%;
  }
  
  .step-node {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
