/* ==========================================================================
   Terra Trees - Main Stylesheet
   Conversion-Optimized Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Variables)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #1f3d2b;
  --color-primary-dark: #142a1e;
  --color-primary-light: #4f7a5b;
  --color-secondary: #c68b3c;
  --color-secondary-light: #d9a85e;
  --color-whatsapp: #1f3d2b;
  --color-whatsapp-dark: #142a1e;

  --color-bg: #fbf7f0;
  --color-bg-alt: #f2ede3;
  --color-bg-dark: #1b1914;

  --color-text: #1f1a17;
  --color-text-light: #4f463f;
  --color-text-muted: #7a6f66;
  --color-text-inverse: #FFFFFF;

  --color-border: #e2d7c7;
  --color-success: #28A745;
  --color-error: #DC3545;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 1.75rem;   /* 28px */
  --font-size-3xl: 2.25rem;   /* 36px */
  --font-size-4xl: 3rem;      /* 48px */

  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 5rem;     /* 80px */

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Borders & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Z-index scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;

  --header-height: 70px;
}

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

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

input, button, textarea, select {
  font: inherit;
}

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

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

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

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--space-md);
}

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

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

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--color-text-inverse); }

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

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

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

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

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

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

.section-olive {
  background-color: #e6efe1;
}

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

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 120px;
}

.page-hero-video-bg,
.page-hero-video-overlay {
  position: absolute;
  inset: 0;
}

.page-hero-video-bg {
  z-index: 0;
  background: #000;
}

.page-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-video-overlay {
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

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

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Flexbox utilities */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-sticky);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-primary);
}

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

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  position: relative;
}

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

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

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

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition-fast);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-text-inverse);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-text-inverse);
}

.btn-secondary:hover {
  background: var(--color-secondary-light);
  color: var(--color-text-inverse);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-text-inverse);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  color: var(--color-text-inverse);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

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

.btn-white:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-md);
  min-height: 56px;
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  min-height: 40px;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 140px 0 90px;
  background: radial-gradient(circle at top left, rgba(79, 122, 91, 0.18), rgba(251, 247, 240, 0.9) 55%), var(--color-bg);
}

.hero::before {
  content: none;
}

.hero-rebuild {
  padding: 130px 0 100px;
  background: radial-gradient(circle at 10% 20%, rgba(198, 139, 60, 0.12), rgba(251, 247, 240, 0.92) 45%),
    radial-gradient(circle at 90% 10%, rgba(31, 61, 43, 0.12), transparent 40%),
    var(--color-bg);
}

.hero-video-section {
  isolation: isolate;
  overflow: hidden;
  background: var(--color-primary-dark);
  padding: 0;
  margin-top: var(--header-height);
  height: min(calc(100vw * 9 / 16), 640px);
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-video-bg,
.hero-video-overlay {
  position: absolute;
  inset: 0;
}

.hero-video-bg {
  z-index: 0;
  background: #000;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity 280ms ease;
}

.hero-video.is-fading {
  opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    transition: none;
  }
}

.hero-video-overlay {
  z-index: 1;
  background: rgba(0, 0, 0, 0.48);
}

.hero-video-section .container {
  position: relative;
  z-index: 2;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.3rem, 0.8vw, 0.8rem);
  padding-top: 0;
  padding-bottom: 0;
}

.hero-video-section .hero-ensemble {
  grid-template-columns: 1fr;
  max-width: 760px;
  gap: clamp(0.45rem, 0.8vw, 0.7rem);
  margin-top: 0;
}

.hero-video-section .hero-copy {
  gap: clamp(0.45rem, 0.8vw, 0.7rem);
}

.hero-video-section .hero-copy,
.hero-video-section .hero-copy h1,
.hero-video-section .hero-lead,
.hero-video-section .hero-tags span {
  color: var(--color-text-inverse);
}

.hero-video-section .hero-eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.hero-video-section .hero-eyebrow::before,
.hero-video-section .hero-tags span::before {
  background: var(--color-secondary-light);
}

.hero-video-section .btn-outline {
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero-video-section .btn-outline:hover {
  background: var(--color-text-inverse);
  color: var(--color-primary-dark);
}

.hero-video-section .hero-brief-card {
  background: rgba(19, 22, 18, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  backdrop-filter: blur(3px);
  color: var(--color-text-inverse);
  padding: clamp(0.95rem, 1.25vw, 1.3rem);
  min-height: clamp(140px, 11vw, 178px);
  display: flex;
  flex-direction: column;
}

.hero-video-section .hero-brief {
  margin-top: clamp(0.5rem, 0.9vw, 0.95rem);
  gap: clamp(0.45rem, 0.9vw, 0.75rem);
}

.hero-video-section .hero-copy h1 {
  font-size: clamp(1.9rem, 2.8vw, 2.45rem);
  line-height: 1.14;
}

.hero-video-section .hero-lead {
  max-width: 64ch;
  font-size: clamp(0.95rem, 1.1vw, 1.04rem);
  line-height: 1.4;
}

.hero-video-section .hero-actions {
  gap: clamp(0.45rem, 0.8vw, 0.65rem);
}

.hero-video-section .btn-lg {
  min-height: 44px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
}

.hero-video-section .hero-tags {
  display: flex;
  gap: clamp(0.5rem, 0.8vw, 0.75rem);
}

.hero-video-section .hero-brief-card h4 {
  color: var(--color-text-inverse);
  font-size: clamp(0.94rem, 1.05vw, 1.12rem);
  margin-bottom: 3px;
}

.hero-video-section .hero-brief-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.8rem, 0.9vw, 0.96rem);
  line-height: 1.36;
}

.hero-video-section .hero-brief-icon {
  width: clamp(30px, 2.4vw, 38px);
  height: clamp(30px, 2.4vw, 38px);
  margin-bottom: 0.45rem;
  font-size: clamp(0.76rem, 0.95vw, 0.92rem);
  background: rgba(198, 139, 60, 0.3);
  color: #f5d2a1;
}

.hero-video-section .hero-divider {
  display: none;
}

@media (min-width: 1600px) {
  .hero-video-section {
    height: 640px;
  }

  .hero-video-section .hero-brief-card {
    padding: 1.25rem 1.15rem;
    min-height: 190px;
  }

  .hero-video-section .hero-brief-card h4 {
    font-size: 1.16rem;
  }

  .hero-video-section .hero-brief-card p {
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .hero-video-section .hero-brief-icon {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
}

@media (max-width: 1200px) {
  .hero-video-section {
    height: min(calc(100vw * 9 / 16), 600px);
    min-height: 460px;
  }
}

@media (max-width: 992px) {
  .hero-video-section {
    height: min(calc(100vw * 9 / 16), 540px);
    min-height: 400px;
  }

  .hero-video-section .hero-brief {
    gap: 0.5rem;
    justify-items: stretch;
    text-align: center;
    align-items: stretch;
  }
  .hero-video-section .hero-brief-card {
    text-align: center;
    align-items: center;
    width: 100%;
  }
}

.hero-ensemble {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-3xl);
  align-items: center;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-primary);
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
}

.hero-lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  line-height: var(--line-height-relaxed);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-tags span {
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-tags span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-secondary);
}

.hero-media-stack {
  position: relative;
  padding-left: 0;
}

.hero-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(31, 26, 23, 0.08);
  box-shadow: var(--shadow-lg);
}

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


.hero-stats-bar {
  margin-top: var(--space-2xl);
  display: flex;
  gap: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-item .stat-number {
  font-weight: 700;
  font-size: var(--font-size-md);
  color: var(--color-text);
}

.hero-stat-item .stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero-brief {
  margin-top: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.hero-divider {
  margin-top: var(--space-2xl);
  padding: var(--space-2xl) 0;
}

.hero-divider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.hero-divider-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(31, 26, 23, 0.08);
  box-shadow: var(--shadow-md);
  min-height: 220px;
  background: var(--color-bg);
}

.hero-divider-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-brief-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.hero-brief-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(198, 139, 60, 0.15);
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.hero-brief-card h4 {
  font-size: var(--font-size-md);
  margin-bottom: 6px;
}

.hero-brief-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  grid-column: span 5;
  max-width: 560px;
  color: var(--color-text);
}

.hero-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(242, 237, 227, 0.95));
  border: 1px solid rgba(31, 26, 23, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-primary);
}

.hero-kicker span {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-secondary);
}

.hero-steps {
  margin-top: var(--space-xl);
  display: grid;
  gap: var(--space-md);
}

.hero-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.6);
}

.hero-step-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(31, 61, 43, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
}

.hero-step h4 {
  font-size: var(--font-size-md);
  margin-bottom: 4px;
}

.hero-step p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.hero-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(2.5rem, 3vw, 3.6rem);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  line-height: var(--line-height-relaxed);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-flow {
  margin-top: var(--space-2xl);
  display: grid;
  gap: var(--space-md);
}

.hero-flow-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

.hero-flow-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(31, 61, 43, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-flow-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
}

.hero-flow-card h4 {
  font-size: var(--font-size-md);
  margin-bottom: 4px;
}

.hero-flow-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.hero-highlight {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(198, 139, 60, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-highlight-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-secondary);
}

.hero-media {
  grid-column: span 7;
  position: relative;
  padding-left: var(--space-lg);
}

.hero-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(31, 26, 23, 0.08);
  box-shadow: var(--shadow-lg);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-gallery {
  margin-top: var(--space-3xl);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.hero-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(31, 26, 23, 0.08);
  box-shadow: var(--shadow-sm);
  min-height: 180px;
}

.hero-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stats {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.hero-stat {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(31, 61, 43, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
}

.hero-stat-text span {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-secondary);
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 var(--space-2xl);
  }

  .hero-rebuild {
    padding: 100px 0 var(--space-2xl);
  }

  .hero-video-section {
    height: auto;
    min-height: 0;
    display: block;
    margin-top: 0;
    padding: 84px 0 18px;
  }

  .hero-video-section .container {
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
    display: block;
  }

  .hero-video-section .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-video-section .hero-lead {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .hero-video-section .hero-tags {
    display: none;
  }
  .hero-video-section .hero-brief {
    justify-items: stretch;
  }
  .hero-video-section .hero-brief-card {
    text-align: center;
    align-items: center;
    width: 100%;
  }

  .hero-ensemble {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-media-stack {
    padding-left: 0;
    margin-top: var(--space-xl);
  }

  .hero-image-main img {
    min-height: 300px;
  }


  .hero-stats-bar {
    flex-direction: column;
  }

  .hero-brief {
    grid-template-columns: 1fr;
    margin-top: var(--space-xl);
  }

  .hero-divider-grid {
    grid-template-columns: 1fr;
  }

  .hero-divider {
    margin-top: var(--space-xl);
    padding: var(--space-xl) 0;
  }

  .hero-divider-card {
    min-height: 180px;
  }

  .hero-actions,
  .hero-cta {
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-cta .btn {
    width: 100%;
  }

  .delivery-banner .hero-trust {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .delivery-banner .trust-item {
    justify-content: center;
  }

  .testimonial {
    padding: var(--space-lg);
  }

  .testimonial-text {
    font-size: var(--font-size-base);
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .hero-media {
    grid-column: span 1;
  }

  .hero-media {
    padding-left: 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

  .hero-flow-card {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-image-card img {
    min-height: 320px;
  }

  .hero-stats {
    flex-direction: column;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }
}

/* Delivery Banner */
.delivery-banner {
  position: relative;
  color: var(--color-text-inverse);
  padding: var(--space-4xl) 0;
  background: url('../images_gallery_OPS_delivery-truck-2.jpg') center/cover no-repeat;
}

.delivery-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.68));
}

.delivery-banner h2,
.delivery-banner .hero-subtitle {
  color: var(--color-text-inverse);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.delivery-banner .hero-trust {
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.delivery-banner .trust-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-weight: 600;
}

.delivery-banner .trust-item svg {
  fill: var(--color-secondary-light);
}

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

/* Testimonials */
.testimonial-text {
  position: relative;
  padding-left: 32px;
}

.testimonial-text::before {
  content: '“';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 2.5rem;
  color: var(--color-secondary);
  line-height: 1;
}

/* Contact CTA */
.contact-hero {
  background: linear-gradient(140deg, rgba(31, 61, 43, 0.95), rgba(20, 42, 30, 0.95));
  color: var(--color-text-inverse);
}

.contact-hero .btn-white {
  background: var(--color-text-inverse);
  color: var(--color-primary);
}

.contact-hero-footnote {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.contact-hero-footnote h2 {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-xs);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.25;
}

.contact-hero-footnote p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto var(--space-sm);
  font-size: var(--font-size-sm);
  max-width: 760px;
}

.contact-hero-footnote .btn {
  font-size: var(--font-size-sm);
  padding: var(--space-sm) var(--space-lg);
  gap: var(--space-sm);
}

/* Notes */
.note-muted {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: var(--space-lg);
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.card-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
}

.service-card h3 {
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--color-text-light);
}

/* Recommendation Cards */
.recommendation-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.recommendation-card .btn {
  margin-top: auto;
}

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

.recommendation-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  font-weight: 700;
}

.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

.recommendation-list li {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.recommendation-list li::before {
  content: '•';
  color: var(--color-secondary);
  font-weight: 700;
}

.recommendation-card p {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

/* Product Cards */
.product-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.product-img-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: transparent;
}

.product-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(4px);
  transform: scale(1.2);
  opacity: 1;
  z-index: 0;
}

.product-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 2;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.product-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  margin-bottom: var(--space-xs);
}

.product-names {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.product-price {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.product-body .btn {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--color-text-light);
  font-size: var(--font-size-md);
}

.section-header-left {
  text-align: left;
  margin-left: 0;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
  background: var(--color-bg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-text {
  font-size: var(--font-size-md);
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-relaxed);
}

.testimonial-text::before {
  content: '"';
  font-size: var(--font-size-3xl);
  color: var(--color-primary);
  line-height: 0;
  vertical-align: bottom;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--color-text);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding-bottom: var(--space-lg);
  color: var(--color-text-light);
  line-height: var(--line-height-relaxed);
}

/* --------------------------------------------------------------------------
   WhatsApp CTA Strip
   -------------------------------------------------------------------------- */
.cta-strip {
  background: var(--color-whatsapp);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-strip h3 {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-md);
}

.cta-strip p {
  color: var(--color-text-inverse);
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   Sticky WhatsApp Button (Mobile)
   -------------------------------------------------------------------------- */
.whatsapp-sticky {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: var(--z-fixed);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-whatsapp);
  color: var(--color-text-inverse);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.whatsapp-sticky:hover {
  background: var(--color-whatsapp-dark);
  color: var(--color-text-inverse);
  transform: scale(1.05);
}

.whatsapp-sticky svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.whatsapp-sticky span {
  display: none;
}

@media (min-width: 769px) {
  .whatsapp-sticky span {
    display: inline;
  }
}

@media (max-width: 768px) {
  .whatsapp-sticky {
    bottom: var(--space-md);
    right: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-full);
  }

  .whatsapp-sticky svg {
    width: 28px;
    height: 28px;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: var(--space-3xl) 0 var(--space-lg);
}

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

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

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-top: var(--space-md);
}

.footer h4 {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-md);
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-text-inverse);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  fill: var(--color-whatsapp);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: var(--font-size-sm);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

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

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }

.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }

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

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade-in {
  animation: fadeIn var(--transition-slow) ease forwards;
}

.animate-slide-up {
  animation: slideUp var(--transition-slow) ease forwards;
}

/* --------------------------------------------------------------------------
   Page-Specific Adjustments
   -------------------------------------------------------------------------- */

/* Category filter pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.filter-pill {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  padding-top: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Contact info cards */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
}

/* Map container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Additional responsive polish for smaller devices */
@media (max-width: 768px) {
  .page-hero {
    padding-top: 120px;
    padding-bottom: 72px;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .page-hero .section-header p,
  .section-header p {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-video-section .hero-copy h1 {
    font-size: clamp(1.9rem, 7vw, 2.35rem);
  }

  .hero-video-section .hero-lead {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .hero-video-section .btn-lg {
    font-size: 0.95rem;
    padding: 0.78rem 1.05rem;
  }

  .hero-brief-card h4 {
    font-size: 1rem;
  }

  .hero-brief-card p {
    font-size: 0.89rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding-top: 108px;
    padding-bottom: 60px;
  }

  .hero-video-section .hero-copy h1 {
    font-size: clamp(1.7rem, 8.5vw, 2.05rem);
  }

  .hero-video-section .hero-lead {
    font-size: 0.92rem;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .whatsapp-sticky,
  .btn {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}
