/* ============================================================
   AVERNAC ENTERPRISES — Global Design System
   Typography: Syne (Headlines) + DM Sans (Body)
   Palette: Warm neutrals, deep teal accent, charcoal text
   ============================================================ */

/* --- Google Fonts loaded via <link> in HTML <head> for performance --- */

/* --- CSS Custom Properties --- */
:root {
  /* Palette */
  --bg-primary: #FAF8F5;
  /* warm ivory */
  --bg-secondary: #F2EFEA;
  /* warm stone */
  --bg-alt: #E8E4DD;
  /* mist sand */
  --bg-dark: #1A2A2A;
  /* deep forest for dark sections */
  --bg-footer: #161E1E;
  /* footer deep */

  --text-primary: #2A2A28;
  /* deep charcoal, never pure black */
  --text-secondary: #5A5A56;
  /* muted body text */
  --text-light: #8A8A84;
  /* light captions */
  --text-on-dark: #F0EDE8;
  /* text on dark bg */
  --text-on-dark-muted: #A0A09A;

  --accent: #1A6B5A;
  /* deep sea green / refined teal */
  --accent-hover: #14524A;
  /* darker teal hover */
  --accent-light: rgba(26, 107, 90, 0.08);

  --copper: #A0785A;
  /* muted copper for secondary accent moments */
  --border: rgba(42, 42, 40, 0.10);
  --border-dark: rgba(240, 237, 232, 0.12);

  /* Typography */
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --gap-lg: clamp(48px, 6vw, 80px);
  --gap-md: clamp(32px, 4vw, 56px);
  --gap-sm: clamp(16px, 2vw, 24px);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Header */
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

ul,
ol {
  list-style: none;
}

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

/* Selection */
::selection {
  background: var(--accent);
  color: #fff;
}

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

/* Eyebrow labels — ONLY uppercase element besides buttons */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow-light {
  color: var(--copper);
}

/* Hero title */
.text-hero {
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

/* Major section titles 72-96px */
.text-section {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

/* Subsection headings 40-56px */
.text-subsection {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Card/item titles */
.text-card-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
}

/* Body large */
.text-body-lg {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Small body */
.text-body-sm {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.container-wide {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  height: var(--header-height);
}

.site-header.scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  height: 42px;
  width: auto;
}

.header-logo-text {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  line-height: 1;
}

.header-logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Footer logo */
.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

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

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
}

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

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

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

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transition: right 0.5s var(--ease-out);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 107, 90, 0.25);
}

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

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

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

.btn-outline-light:hover {
  border-color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--accent);
  border: 2px solid #fff;
}

.btn-light:hover {
  background: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vw, 120px);
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 42, 42, 0.3) 0%,
      rgba(26, 42, 42, 0.55) 50%,
      rgba(22, 30, 30, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content .eyebrow {
  color: var(--copper);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(240, 237, 232, 0.8);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--section-pad) 0;
}

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

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

.section-dark p {
  color: var(--text-on-dark-muted);
}

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

.section-header {
  margin-bottom: var(--gap-lg);
}

.section-header .text-section {
  margin-top: 8px;
}

/* ============================================================
   CARD GRID SYSTEM
   ============================================================ */
.card-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

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

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

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

.card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: clamp(32px, 3vw, 48px);
  border-radius: 4px;
  transition: all 0.4s var(--ease);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.card-dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-dark);
}

.card-dark:hover {
  border-color: rgba(26, 107, 90, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.card-number {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.card .text-card-title {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.card-dark p {
  color: var(--text-on-dark-muted);
}

/* ============================================================
   TWO-COLUMN LAYOUTS
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.split-content {
  padding: clamp(20px, 4vw, 60px) 0;
}

.split-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.split-image:hover img {
  transform: scale(1.03);
}

/* ============================================================
   PRODUCT CATEGORY CARDS
   ============================================================ */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 42, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 36px);
}

.product-card-overlay h3 {
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  margin-bottom: 8px;
}

.product-card-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ============================================================
   PROCESS / WORKFLOW STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--border);
}

.process-step {
  background: var(--bg-primary);
  padding: clamp(32px, 3vw, 48px);
  transition: background 0.3s var(--ease);
}

.process-step:hover {
  background: var(--accent-light);
}

.process-step .step-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: rgba(26, 107, 90, 0.15);
  line-height: 1;
  margin-bottom: 20px;
}

.process-step h4 {
  font-size: clamp(18px, 1.5vw, 22px);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   MARKETS / REGION CARDS
   ============================================================ */
.market-card {
  padding: clamp(32px, 3vw, 48px);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.3s var(--ease);
}

.market-card:hover {
  border-color: var(--accent);
}

.market-card h4 {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}

.market-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 16px;
}

.cta-strip p {
  margin-bottom: 32px;
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   IMPORTANT NOTICE BANNER
   ============================================================ */
.notice-strip {
  background: #FFF8F0;
  border-top: 3px solid var(--copper);
  padding: 24px 0;
}

.notice-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.notice-strip h4 {
  font-size: 18px;
  color: var(--copper);
}

.notice-strip p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ============================================================
   CONTACT + FORM
   ============================================================ */
.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 36px);
  border-radius: 4px;
  transition: all 0.3s var(--ease);
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-card a:hover {
  color: var(--accent);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-on-dark);
  padding: clamp(60px, 8vw, 100px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: 15px;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-brand .header-logo {
  margin-bottom: 8px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  transition: color 0.3s ease;
}

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

.footer-contact p,
.footer-contact a {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  display: block;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-contact a:hover {
  color: var(--text-on-dark);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.footer-bottom a:hover {
  color: var(--text-on-dark);
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 107, 90, 0.3);
  transition: all 0.3s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 28px rgba(26, 107, 90, 0.4);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

/* ============================================================
   LEGAL PAGE STYLES
   ============================================================ */
.legal-page {
  padding-top: calc(var(--header-height) + 60px);
}

.legal-page h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 16px;
}

.legal-page .last-updated {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: clamp(20px, 2vw, 28px);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.legal-content h3 {
  font-size: clamp(17px, 1.5vw, 22px);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.legal-content ul {
  margin: 12px 0 24px 24px;
}

.legal-content li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--header-height) + clamp(60px, 8vw, 120px));
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 42, 42, 0.4) 0%,
      rgba(22, 30, 30, 0.8) 100%);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(40px, 6vw, 80px);
  max-width: 700px;
}

.page-hero p {
  color: rgba(240, 237, 232, 0.8);
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 560px;
  margin-top: 20px;
  line-height: 1.7;
}

/* ============================================================
   SCROLL ANIMATIONS (JS-driven)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center {
  text-align: center;
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-md {
  max-width: 32rem;
}

.max-w-lg {
  max-width: 48rem;
}

.max-w-xl {
  max-width: 64rem;
}

.mb-sm {
  margin-bottom: var(--gap-sm);
}

.mb-md {
  margin-bottom: var(--gap-md);
}

.mb-lg {
  margin-bottom: var(--gap-lg);
}

.mt-sm {
  margin-top: var(--gap-sm);
}

.mt-md {
  margin-top: var(--gap-md);
}

.mt-lg {
  margin-top: var(--gap-lg);
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.gap-sm {
  gap: var(--gap-sm);
}

.gap-md {
  gap: var(--gap-md);
}

/* ============================================================
   STATS COUNTER BAR
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 32px);
  border-right: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--accent-light);
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Dark stats variant */
.stats-bar-dark {
  border-color: var(--border-dark);
}

.stats-bar-dark .stat-item {
  border-color: var(--border-dark);
}

.stats-bar-dark .stat-number {
  color: var(--copper);
}

.stats-bar-dark .stat-label {
  color: var(--text-on-dark-muted);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item h4 {
  font-size: clamp(18px, 1.5vw, 22px);
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.timeline-year {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

/* ============================================================
   FULL-WIDTH PHOTO STRIP
   ============================================================ */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  overflow: hidden;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
  filter: saturate(0.85);
}

.photo-strip img:hover {
  transform: scale(1.05);
  filter: saturate(1.1);
}

/* ============================================================
   FULL-WIDTH STATEMENT
   ============================================================ */
.statement-section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}

.statement-text {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  max-width: 900px;
}

.statement-text .highlight {
  color: var(--accent);
}

/* ============================================================
   FEATURE LIST (icon + text)
   ============================================================ */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

.feature-item h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   IMAGE + TEXT FEATURE BLOCK
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
  padding: var(--gap-lg) 0;
  border-bottom: 1px solid var(--border);
}

.feature-block:last-child {
  border-bottom: none;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse>* {
  direction: ltr;
}

.feature-block-img {
  border-radius: 4px;
  overflow: hidden;
}

.feature-block-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.feature-block-img:hover img {
  transform: scale(1.03);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .feature-block {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse {
    direction: ltr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }
}

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 56px);
  }

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

  .hero-ctas .btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .notice-strip-inner {
    flex-direction: column;
    text-align: center;
  }

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

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

  .stats-bar .stat-item:nth-child(2) {
    border-right: none;
  }

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

  .header-logo-text {
    font-size: 15px;
  }

  .header-logo-text span {
    font-size: 9px;
  }
}

/* ============================================================
   TRUST BADGES BAR
   ============================================================ */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 60px);
  border-bottom: 1px solid var(--border);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   SOCIAL PROOF / TESTIMONIALS PLACEHOLDER
   ============================================================ */
.social-proof {
  text-align: center;
  padding: clamp(40px, 5vw, 60px) clamp(20px, 4vw, 60px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-proof p {
  font-family: var(--font-body);
  font-size: 15px;
  font-style: italic;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.social-proof .social-proof-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-style: normal;
}

/* ============================================================
   PRINT STYLESHEET
   ============================================================ */
@media print {
  .site-header,
  .mobile-menu,
  .whatsapp-float,
  .notice-strip,
  .photo-strip,
  .hero-bg,
  .hero-overlay,
  .page-hero-bg,
  .page-hero-overlay {
    display: none !important;
  }

  body {
    color: #000 !important;
    background: #fff !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  .hero,
  .page-hero {
    min-height: auto !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .hero-title,
  .page-hero h1 {
    color: #000 !important;
    font-size: 24pt !important;
  }

  .hero-subtitle,
  .page-hero p {
    color: #333 !important;
  }

  .section,
  .section-dark,
  .section-alt {
    background: #fff !important;
    padding: 20px 0 !important;
  }

  .section-dark h2,
  .section-dark h3,
  .section-dark h4,
  .section-dark p {
    color: #000 !important;
  }

  .btn {
    border: 1px solid #000 !important;
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  .site-footer {
    background: #fff !important;
    color: #000 !important;
    border-top: 1px solid #ccc;
  }

  .site-footer * {
    color: #000 !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666;
  }

  .nav-links a[href]::after,
  .footer-links a[href]::after,
  .header-logo a[href]::after {
    content: none;
  }

  .card {
    break-inside: avoid;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }

  .form-control {
    border: 1px solid #ccc !important;
  }
}

/* ============================================================
   A D V A N C E D   D E S I G N   U P G R A D E S
   Task 10 — Premium polish layer
   ============================================================ */

/* ── GRAIN TEXTURE OVERLAY ────────────────────────────────────
   Adds a subtle photographic grain across the entire page for
   that editorial / analog-film feel. Barely visible, but
   subconsciously lifts the page out of the "flat digital" zone.
   ─────────────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── SECTION HEADER EYEBROW ACCENT ────────────────────────────
   Adds a small decorative bar before the eyebrow text so
   section intros feel intentional and magazine-like.
   ─────────────────────────────────────────────────────────── */
.section-header .eyebrow::before,
.split-content .eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}

/* ── ENHANCED CARD HOVER ──────────────────────────────────────
   Stronger depth on hover with an accent border-bottom line
   that slides in, giving an interactive "lift" feel.
   ─────────────────────────────────────────────────────────── */
.card {
  border-bottom: 2px solid transparent;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(0, 0, 0, 0.04);
  border-bottom-color: var(--accent);
}

/* ── DARK STATS BAR (homepage) ────────────────────────────────
   Replace plain bordered stat bar with a bold dark-background
   treatment that commands attention.
   ─────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-dark);
  border-color: var(--border-dark);
}

.stats-bar .stat-item {
  border-color: var(--border-dark);
}

.stats-bar .stat-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.stats-bar .stat-number {
  color: var(--copper);
}

.stats-bar .stat-label {
  color: var(--text-on-dark-muted);
}

/* ── PROCESS STEPS STYLING ────────────────────────────────────
   Premium numbered process steps with accent counters.
   ─────────────────────────────────────────────────────────── */
.process-grid .card::before {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 48px;
  color: var(--accent-light);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

/* ── HERO OVERLAY GRADIENT REFINEMENT ─────────────────────────
   Extra-deep gradient bottom so text always reads clearly
   against any video frame or image.
   ─────────────────────────────────────────────────────────── */
.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(26, 42, 42, 0.25) 0%,
    rgba(26, 42, 42, 0.50) 45%,
    rgba(22, 30, 30, 0.88) 100%
  );
}

/* ── BUTTON ARROW ANIMATION ───────────────────────────────────
   On hover, slide a "→" arrow 6px right for primary CTAs.
   ─────────────────────────────────────────────────────────── */
.btn-primary::after,
.btn-light::after {
  content: '→';
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s var(--ease);
}

.btn-primary:hover::after,
.btn-light:hover::after {
  transform: translateX(6px);
}

/* ── SECTION DIVIDER RHYTHM ───────────────────────────────────
   Subtle top border on alternating sections for visual rhythm.
   ─────────────────────────────────────────────────────────── */
.section-alt {
  border-top: 1px solid var(--border);
}

/* ── MARKET CARD HOVER GLOW ───────────────────────────────────
   Blog cards and card grids get a left accent border on hover.
   ─────────────────────────────────────────────────────────── */
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  border-left: 3px solid var(--accent);
}

/* ── PHOTO STRIP HOVER TINT ───────────────────────────────────
   On hover, shift from slightly desaturated to vivid so the
   strip feels alive and interactive.
   ─────────────────────────────────────────────────────────── */
.photo-strip img:hover {
  filter: saturate(1.15) contrast(1.02);
}

/* ── CONTACT CARD ACCENT BORDER ───────────────────────────────
   Accent left border slides in on hover for contact info cards.
   ─────────────────────────────────────────────────────────── */
.contact-card {
  border-left: 3px solid transparent;
  transition: all 0.3s var(--ease), border-left-color 0.3s var(--ease);
}

.contact-card:hover {
  border-left-color: var(--accent);
}

/* ── SMOOTH SCROLLBAR ─────────────────────────────────────────
   Custom thin scrollbar matching the site palette.
   ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* ── SELECTION COLOR ──────────────────────────────────────────
   Brand-matched text selection color.
   ─────────────────────────────────────────────────────────── */
::selection {
  background: var(--accent);
  color: #fff;
}

::-moz-selection {
  background: var(--accent);
  color: #fff;
}