/* ============================================================
   KDG Solutions — Design System
   Inspired by Stripe / Linear / Vercel aesthetic
   ============================================================

   TABLE OF CONTENTS
   ─────────────────
   1.  Design Tokens (CSS Variables)
   2.  Modern Normalize (micro-reset)
   3.  Base & Typography
   4.  Layout Utilities
   5.  Header / Navigation
   6.  Hero Section
   7.  Film Grain Overlay
   8.  Hero Content & Controls
   9.  Section Shared Styles
   10. Overview Section
   11. Services Grid
   12. Expertise / Trust Section
   13. Buttons
   14. Footer
   15. Modals (Privacy & Consultation)
   16. Consultation Form
   17. Animations & AOS
   18. Responsive
   19. Accessibility & Reduced Motion
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* ── Brand Palette ───────────────────────────────────────── */
  --color-brand-navy:     #0f1923;   /* deepest surface */
  --color-brand-slate:    #1c2b3a;   /* secondary surface */
  --color-brand-gold:     #c9a84c;   /* primary accent  */
  --color-brand-gold-dim: #a8893e;   /* hover / pressed  */
  --color-brand-gold-muted: rgba(201,168,76,.12); /* subtle tint */

  /* ── Neutral Scale (light mode surfaces) ────────────────── */
  --color-neutral-0:   #ffffff;
  --color-neutral-50:  #f9fafb;
  --color-neutral-100: #f3f4f6;
  --color-neutral-150: #eaecf0;
  --color-neutral-200: #e2e5eb;
  --color-neutral-300: #cdd1da;
  --color-neutral-400: #9ba3af;
  --color-neutral-500: #6b7280;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2937;
  --color-neutral-900: #111827;

  /* ── Semantic Aliases ────────────────────────────────────── */
  --color-bg:           var(--color-neutral-0);
  --color-bg-subtle:    var(--color-neutral-50);
  --color-bg-muted:     var(--color-neutral-100);
  --color-surface:      var(--color-neutral-0);
  --color-border:       var(--color-neutral-200);
  --color-border-subtle:var(--color-neutral-150);
  --color-text:         var(--color-neutral-800);
  --color-text-muted:   var(--color-neutral-500);
  --color-text-subtle:  var(--color-neutral-400);
  --color-heading:      var(--color-neutral-900);

  /* Status colours */
  --color-error:        #dc2626;
  --color-error-bg:     #fef2f2;
  --color-error-border: #fecaca;
  --color-success:      #16a34a;
  --color-success-bg:   #f0fdf4;
  --color-success-border:#bbf7d0;

  /* ── Legacy aliases (keep JS / markup compatibility) ────── */
  --color-primary:            var(--color-brand-navy);
  --color-secondary:          var(--color-brand-slate);
  --color-accent:             var(--color-brand-gold);
  --color-text-light:         var(--color-text-muted);
  --color-background:         var(--color-bg);
  --color-background-light:   var(--color-bg-subtle);

  /* ── Typography ─────────────────────────────────────────── */
  --font-sans:     -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI',
                   Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading:  'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-primary:  var(--font-sans);  /* legacy alias */

  /* Type scale (1.25 Major Third) */
  --text-xs:   0.75rem;    /*  12px */
  --text-sm:   0.875rem;   /*  14px */
  --text-base: 1rem;       /*  16px */
  --text-md:   1.125rem;   /*  18px */
  --text-lg:   1.25rem;    /*  20px */
  --text-xl:   1.5rem;     /*  24px */
  --text-2xl:  1.875rem;   /*  30px */
  --text-3xl:  2.25rem;    /*  36px */
  --text-4xl:  3rem;       /*  48px */
  --text-5xl:  3.75rem;    /*  60px */

  /* ── 8-point Spacing Scale ──────────────────────────────── */
  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */

  /* Legacy spacing aliases */
  --spacing-xs: var(--space-2);
  --spacing-sm: var(--space-4);
  --spacing-md: var(--space-8);
  --spacing-lg: var(--space-16);
  --spacing-xl: var(--space-10);

  /* ── Border Radius ──────────────────────────────────────── */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* ── Shadows ─────────────────────────────────────────────  */
  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 20px -3px rgba(0,0,0,.10), 0 4px 8px -2px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 40px -5px rgba(0,0,0,.12), 0 8px 16px -4px rgba(0,0,0,.07);
  --shadow-2xl: 0 32px 64px -8px rgba(0,0,0,.16);
  --shadow-inner: inset 0 2px 4px rgba(0,0,0,.05);

  /* ── Transitions ─────────────────────────────────────────  */
  --ease-out:     cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out:  cubic-bezier(0.4, 0.0, 0.2, 1);
  --duration-fast:  120ms;
  --duration-base:  200ms;
  --duration-slow:  300ms;
  --transition-base: all var(--duration-base) var(--ease-in-out);

  /* ── Layout ──────────────────────────────────────────────  */
  --max-width:    1200px;
  --header-height: 72px;
}


/* ============================================================
   2. MODERN NORMALIZE (micro-reset)
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-base) var(--ease-in-out);
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================================
   3. BASE & TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-heading);
  margin-bottom: var(--space-4);
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-lg),  3vw, var(--text-2xl)); }
h4 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

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

.bg-light {
  background-color: var(--color-bg-subtle);
}


/* ============================================================
   5. HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-xs);
  z-index: 1000;
  transition: box-shadow var(--duration-base) var(--ease-in-out),
              background-color var(--duration-base) var(--ease-in-out);
}

/* Scrolled state — applied via JS (site already adds shadow on scroll) */
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo img {
  height: 81px;
  width: auto;
  display: block;
}

/* Nav links */
.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-neutral-600);
  border-radius: var(--radius-sm);
  transition: color var(--duration-base) var(--ease-in-out),
              background-color var(--duration-base) var(--ease-in-out);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background-color: #0da978;
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}

.main-nav a:hover {
  color: var(--color-heading);
  background-color: var(--color-bg-muted);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* Focus ring for keyboard users */
.main-nav a:focus-visible {
  outline: 2px solid #0da978;
  outline-offset: 2px;
}

/* Header phone */
.header-contact .phone-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: 0.01em;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--duration-base) var(--ease-in-out),
              background-color var(--duration-base) var(--ease-in-out);
}

.header-contact .phone-link:hover {
  color: var(--color-brand-gold);
  background-color: var(--color-brand-gold-muted);
}

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: var(--space-2);
  transition: border-color var(--duration-base) var(--ease-in-out),
              background-color var(--duration-base) var(--ease-in-out);
}

.mobile-menu-toggle:hover {
  background-color: var(--color-bg-muted);
  border-color: var(--color-border);
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--color-brand-gold);
  outline-offset: 2px;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--color-neutral-700);
  border-radius: var(--radius-full);
  transition: transform var(--duration-slow) var(--ease-in-out),
              opacity var(--duration-base) var(--ease-in-out);
  display: block;
}


/* ============================================================
   6. HERO SECTION — video / overlay infrastructure unchanged
   ============================================================ */
.hero {
  position: relative;
  background-color: var(--color-brand-navy);
  color: var(--color-neutral-0);
  padding-top: var(--header-height);
  padding-bottom: var(--space-16);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

/* Video container — structural, untouched */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  aspect-ratio: 16 / 9;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
}

.hero-video.active  { opacity: 1; z-index: 2; }
.hero-video.fade-out{ opacity: 0; z-index: 1; }

.hero-fallback-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
  z-index: 1;
}

.hero-fallback-image.active { display: block; }

.hero-fallback-image picture,
.hero-fallback-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Loading overlay */
.hero-loading {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-brand-navy), var(--color-brand-slate));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .1s ease-out, visibility .1s ease-out;
}

.hero-loading.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: var(--color-brand-gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loading-text {
  color: rgba(255,255,255,.8);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Overlay gradient — richer depth */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,25,35, 0.72) 0%,
    rgba(15,25,35, 0.45) 45%,
    rgba(15,25,35, 0.80) 100%
  );
  z-index: 3;
}


/* ============================================================
   7. FILM GRAIN OVERLAY — preserved exactly
   ============================================================ */
.hero-grain-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  transition: opacity var(--duration-slow) ease;
}

.grain-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-grain-overlay.css-grain {
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent, transparent 2px,
      rgba(0,0,0,.03) 2px, rgba(0,0,0,.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent, transparent 2px,
      rgba(0,0,0,.03) 2px, rgba(0,0,0,.03) 4px
    );
  animation: grain-animation 0.5s steps(10) infinite;
}

@keyframes grain-animation {
  0%, 100% { transform: translate(0,0); }
  10% { transform: translate(-5%,-5%); }
  20% { transform: translate(-10%,5%); }
  30% { transform: translate(5%,-10%); }
  40% { transform: translate(-5%,15%); }
  50% { transform: translate(-10%,5%); }
  60% { transform: translate(15%,0%); }
  70% { transform: translate(0%,10%); }
  80% { transform: translate(-15%,0%); }
  90% { transform: translate(10%,5%); }
}

.hero-grain-overlay.hidden { opacity: 0; }


/* ============================================================
   8. HERO CONTENT & CONTROLS
   ============================================================ */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: clamp(var(--space-4), 3vw, var(--space-8));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-tagline {
  font-size: var(--text-md);
  margin-bottom: var(--space-8);
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.hero-title {
  color: var(--color-neutral-0);
  font-size: clamp(var(--text-2xl), 5vw, var(--text-5xl));
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: clamp(var(--space-4), 2vw, var(--space-8));
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.hero-description {
  font-size: clamp(var(--text-base), 2.5vw, var(--text-md));
  line-height: 1.75;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
  margin-bottom: 0;
  max-width: 640px;
  text-align: justify;
}

.hero-content > .btn-cta {
  margin-top: clamp(var(--space-8), 3vw, var(--space-12));
}

/* Video controls */
.hero-controls {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-12);
}

.video-control-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--color-neutral-0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color var(--duration-base) var(--ease-in-out),
    border-color var(--duration-base) var(--ease-in-out),
    transform var(--duration-fast) var(--ease-out);
}

.video-control-btn:hover {
  background: rgba(255,255,255,.22);
  border-color: var(--color-brand-gold);
  transform: scale(1.08);
}

.video-control-btn:active { transform: scale(0.94); }

.video-control-btn:focus-visible {
  outline: 2px solid var(--color-brand-gold);
  outline-offset: 3px;
}

.control-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,.7);
  animation: bounce 2.4s ease-in-out infinite;
}

.scroll-text {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}


/* ============================================================
   9. SECTION SHARED STYLES
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: var(--space-6);
  color: #0da978;
}

.section-intro {
  max-width: 820px;
  margin: 0 auto var(--space-12);
  text-align: center;
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* AOS fade-up */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Always visible inside hero (critical fix preserved) */
.hero [data-aos="fade-up"] {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* ============================================================
   10. OVERVIEW SECTION
   ============================================================ */
.overview-section {
  background-color: var(--color-bg);
}

.overview-section .section-intro {
  /* left-aligned justified text from inline style */
  color: var(--color-text);
}

.content-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
  align-items: center;
}

.content-image-grid.reverse { direction: rtl; }
.content-image-grid.reverse > * { direction: ltr; }

.content-column { padding: var(--space-8); }

.content-title { margin-bottom: var(--space-8); }

.content-text {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.image-column img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}


/* ============================================================
   11. SERVICES GRID
   ============================================================ */
.services-grid {
  background-color: var(--color-bg-subtle);
  padding-top: var(--space-20);  /* Extra space between intro and services */
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.service-card {
  padding: var(--space-8);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-slow) var(--ease-out),
    box-shadow var(--duration-slow) var(--ease-out),
    border-color var(--duration-slow) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-brand-gold-muted);
}

.service-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #0da978;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.service-description {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.service-list {
  list-style-type: none;
  padding-left: 0;
  margin: var(--space-3) 0;
}

.service-list li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0da978;
  font-weight: 700;
  font-size: 1.1em;
}


/* ============================================================
   12. EXPERTISE / TRUST SECTION
   ============================================================ */
.expertise-section {
  background: linear-gradient(
    160deg,
    var(--color-brand-navy) 0%,
    var(--color-brand-slate) 100%
  );
  color: var(--color-neutral-0);
}

.expertise-section .section-title {
  color: #00bf63;
  margin-bottom: var(--space-8);
}

.expertise-section .section-intro {
  color: rgba(255,255,255,.75);
  margin-bottom: var(--space-10);
}

/* Trust wrapper centering */
.trust-wrapper { text-align: center; }

.trust-list {
  display: inline-block;
  text-align: left;
  list-style-type: none;
  padding: 0;
  margin: 0 auto var(--space-8);
}

.trust-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-3);
  font-size: var(--text-base);
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}

.trust-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00bf63 !important;
  font-weight: 700;
  font-size: var(--text-sm);
  top: 2px;
  fill: #00bf63 !important;
  stroke: #00bf63 !important;
  -webkit-text-fill-color: #00bf63 !important;
}

/* Ensure checkmarks are visible in expertise section */
.expertise-section .trust-list li::before {
  content: "✔" !important;
  color: #00bf63 !important;
  fill: #00bf63 !important;
  stroke: #00bf63 !important;
  -webkit-text-fill-color: #00bf63 !important;
}

/* Extra specificity for mobile */
body .expertise-section .trust-list li::before,
html body .expertise-section .trust-list li::before {
  color: #00bf63 !important;
  -webkit-text-fill-color: #00bf63 !important;
}

.trust-closing {
  font-weight: 500;
  color: rgba(255,255,255,.8);
}

/* CTA button wrapper */
.cta-button-wrapper {
  text-align: center;
  margin-top: var(--space-8);
}


/* ============================================================
   13. BUTTONS
   ============================================================ */

/* ── Base ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color var(--duration-base) var(--ease-in-out),
    border-color var(--duration-base) var(--ease-in-out),
    color var(--duration-base) var(--ease-in-out),
    box-shadow var(--duration-base) var(--ease-in-out),
    transform var(--duration-fast) var(--ease-out);
  -webkit-user-select: none;
  user-select: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-brand-gold);
  outline-offset: 3px;
}

.btn:active { transform: translateY(1px); }

/* ── Primary (gold) ── */
.btn-primary {
  background-color: #0da978;
  color: var(--color-neutral-0);
  border-color: #0da978;
  box-shadow: 0 1px 3px rgba(13,169,120,.35), 0 1px 2px rgba(0,0,0,.12);
}

.btn-primary:hover {
  background-color: #00bf63;
  border-color: #00bf63;
  box-shadow: 0 4px 12px rgba(13,169,120,.4), 0 2px 4px rgba(0,0,0,.12);
  transform: translateY(-1px);
}

.btn-primary:active {
  background-color: #00bf63;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── CTA (hero — inverted white) ── */
.btn-cta {
  background-color: var(--color-neutral-0);
  color: var(--color-brand-navy);
  border-color: transparent;
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,.25), 0 1px 3px rgba(0,0,0,.15);
  letter-spacing: 0.02em;
}

.btn-cta:hover {
  background-color: #0da978;
  color: var(--color-neutral-0);
  box-shadow: 0 6px 20px rgba(13,169,120,.5), 0 2px 6px rgba(0,0,0,.18);
  transform: translateY(-2px);
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* CTA inside expertise/dark section — gold outline variant */
.expertise-section .btn-primary {
  background-color: #0da978;
  border-color: #0da978;
  color: var(--color-neutral-0);
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

.expertise-section .btn-primary:hover {
  background-color: #00bf63;
  border-color: #00bf63;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,169,120,.45);
}


/* ============================================================
   14. MEDIA SECTION (preserved for potential future use)
   ============================================================ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-12);
}

.read-more-link {
  color: var(--color-brand-gold);
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  transition: color var(--duration-base) var(--ease-in-out);
}

.read-more-link:hover { color: var(--color-heading); }

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.media-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-slow) var(--ease-out),
    box-shadow var(--duration-slow) var(--ease-out);
}

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

.media-link { display: block; }

.media-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--color-bg-muted);
}

.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.media-card:hover .media-image img { transform: scale(1.04); }

.media-content { padding: var(--space-6); }

.media-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--color-heading);
}

.media-date {
  font-size: var(--text-xs);
  color: var(--color-brand-gold);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
  font-weight: 600;
  text-transform: uppercase;
}

.media-excerpt {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* CTA section (if used standalone) */
.cta-section {
  background: linear-gradient(135deg, var(--color-brand-navy), var(--color-brand-slate));
  color: var(--color-neutral-0);
  text-align: center;
}

.cta-content { max-width: 760px; margin: 0 auto; }
.cta-title   { color: var(--color-neutral-0); margin-bottom: var(--space-8); }
.cta-text    { font-size: var(--text-md); margin-bottom: var(--space-12); opacity: 0.88; }


/* ============================================================
   15. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-brand-navy);
  color: var(--color-neutral-0);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(255,255,255,.07);
}

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

.footer-brand { max-width: 360px; }

.footer-logo { margin-bottom: var(--space-6); }

.footer-logo img {
  height: 92px;
  width: auto;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

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

.footer-phone,
.footer-email {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.72);
  transition: color var(--duration-base) var(--ease-in-out);
}

.footer-phone:hover,
.footer-email:hover { color: #0da978; }

.footer-heading {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0da978;
  margin-bottom: var(--space-4);
}

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

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  transition:
    color var(--duration-base) var(--ease-in-out),
    padding-left var(--duration-base) var(--ease-in-out);
}

.footer-links a:hover {
  color: rgba(255,255,255,.95);
  padding-left: var(--space-2);
}

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

.copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
  letter-spacing: 0.02em;
}

.footer-legal { display: flex; gap: var(--space-6); }

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
  transition: color var(--duration-base) var(--ease-in-out);
}

.footer-legal a:hover { color: #00bf63; }


/* ============================================================
   16. MODALS — Privacy & Consultation
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,25, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--space-4);
}

.modal-content {
  background: var(--color-neutral-0);
  width: 90%;
  max-width: 820px;
  max-height: 88vh;
  overflow-y: auto;
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-xl);
  position: relative;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--color-border-subtle);
  /* smooth scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--color-neutral-300) transparent;
}

.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-thumb {
  background: var(--color-neutral-300);
  border-radius: var(--radius-full);
}

/* Close button */
.modal-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-6);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  line-height: 1;
  transition:
    color var(--duration-base) var(--ease-in-out),
    border-color var(--duration-base) var(--ease-in-out),
    background-color var(--duration-base) var(--ease-in-out);
}

.modal-close:hover {
  color: var(--color-heading);
  border-color: var(--color-neutral-400);
  background-color: var(--color-bg-muted);
}

.modal-close:focus-visible {
  outline: 2px solid var(--color-brand-gold);
  outline-offset: 2px;
}

/* Modal logo */
.modal-logo {
  text-align: center;
  margin-bottom: clamp(var(--space-4), 3vw, var(--space-6));
}

.modal-logo img {
  width: clamp(132px, 18vw, 211px);
  height: auto;
  margin: 0 auto;
}

/* Modal typography */
.modal-title {
  font-size: clamp(var(--text-xl), 5vw, var(--text-3xl));
  font-weight: 700;
  margin-bottom: var(--space-3);
  text-align: center;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.effective-date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  text-align: center;
  letter-spacing: 0.02em;
}

.policy-section {
  margin-bottom: var(--space-8);
}

.policy-section h2 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-heading);
  letter-spacing: -0.01em;
}

.policy-section p {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.policy-section a {
  color: var(--color-brand-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-section:not(:last-child) {
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: var(--space-8);
}


/* ============================================================
   17. CONSULTATION FORM
   ============================================================ */
.consultation-modal-content {
  max-width: 600px;
}

.consultation-subtitle {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

/* Form groups */
.consultation-form .form-group {
  margin-bottom: var(--space-5);
}

.consultation-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-neutral-700);
  margin-bottom: var(--space-2);
  letter-spacing: 0.01em;
}

.consultation-form .required {
  color: var(--color-error);
  margin-left: 2px;
}

/* Inputs, selects, textarea */
.consultation-form input[type="text"],
.consultation-form input[type="email"],
.consultation-form input[type="tel"],
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-neutral-200);
  border-radius: var(--radius-md);
  transition:
    border-color var(--duration-base) var(--ease-in-out),
    box-shadow var(--duration-base) var(--ease-in-out),
    background-color var(--duration-base) var(--ease-in-out);
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
  color: var(--color-text-subtle);
}

/* Hover state */
.consultation-form input[type="text"]:hover,
.consultation-form input[type="email"]:hover,
.consultation-form input[type="tel"]:hover,
.consultation-form select:hover,
.consultation-form textarea:hover {
  border-color: var(--color-neutral-300);
}

/* Focus state */
.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  border-color: var(--color-brand-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.18);
  background-color: var(--color-neutral-0);
}

/* Invalid state */
.consultation-form input.invalid,
.consultation-form select.invalid,
.consultation-form textarea.invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}

/* Custom select arrow */
.consultation-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

/* Textarea */
.consultation-form textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* Form row (two columns) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* Checkbox row */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-brand-gold);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.form-checkbox label {
  font-size: var(--text-xs);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text-muted);
  cursor: pointer;
  letter-spacing: 0;
}

.form-checkbox label a {
  color: var(--color-brand-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Submit button */
.consultation-submit {
  width: 100%;
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  margin-top: var(--space-3);
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
}

.consultation-submit:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Field error */
.field-error {
  display: none;
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
  line-height: 1.4;
  font-weight: 500;
}

/* Form-level alert */
.form-alert {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin-bottom: var(--space-5);
  border: 1.5px solid transparent;
}

.form-alert-error {
  background-color: var(--color-error-bg);
  border-color: var(--color-error-border);
  color: var(--color-error);
}

.form-alert-success {
  background-color: var(--color-success-bg);
  border-color: var(--color-success-border);
  color: var(--color-success);
}

/* Success state */
.form-success {
  text-align: center;
  padding: var(--space-10) 0;
}

.form-success .success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-5);
  background-color: var(--color-success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--color-neutral-0);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(22,163,74,.35);
}

.form-success h3 {
  font-size: var(--text-xl);
  color: var(--color-heading);
  margin-bottom: var(--space-3);
}

.form-success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}


/* ============================================================
   18. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --space-16: 3.5rem;
    --space-20: 4rem;
  }

  /* ── Mobile header - ensure it stays fixed ── */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  /* ── Mobile nav ── */
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-neutral-0);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform var(--duration-slow) var(--ease-in-out),
      opacity var(--duration-slow) var(--ease-in-out),
      visibility var(--duration-slow) var(--ease-in-out);
    padding: var(--space-4);
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: var(--space-1);
    padding: 0;
    margin: 0;
  }

  .main-nav a {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    border-radius: var(--radius-md);
    color: var(--color-neutral-600);
    text-align: center;
  }

  .main-nav a::after { display: none; }

  .main-nav a:hover {
    background-color: var(--color-bg-muted);
    color: var(--color-brand-gold);
  }

  .header-contact { display: none; }

  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* ── Hero mobile ── */
  /* FORCE VIDEOS TO PLAY ON MOBILE */
  .hero-fallback-image { display: none !important; }
  
  /* Ensure videos are visible and playing on mobile */
  .hero-video {
    /* Ensure video fills container properly on mobile */
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block !important;
  }
  
  /* Force first video visible on mobile */
  .hero-video#heroVideo1 {
    opacity: 1 !important;
    z-index: 2 !important;
  }
  
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: var(--header-height);
    padding-bottom: var(--space-8);
  }
  
  .hero-description { line-height: 1.65; }
  
  /* Reduce grain intensity on mobile for better performance */
  .hero-grain-overlay { 
    opacity: 0.3; 
  }
  
  .scroll-indicator { display: none; }

  /* ── Grids ── */
  .content-image-grid,
  .content-image-grid.reverse {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    direction: ltr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8) var(--space-10);
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }

  .footer-logo { display: flex; justify-content: center; }
  .footer-contact { 
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  
  /* Force checkmark color on mobile */
  .trust-list li::before,
  .expertise-section .trust-list li::before {
    color: #00bf63 !important;
    -webkit-text-fill-color: #00bf63 !important;
    fill: #00bf63 !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  
  .footer-column {
    text-align: center;
  }

  /* ── Modals ── */
  .modal-content {
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-lg);
    max-height: 92vh;
  }

  .consultation-modal-content {
    padding: var(--space-8) var(--space-6);
  }

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

@media (max-width: 480px) {
  :root {
    --space-8:  1.5rem;
    --space-10: 2rem;
    --space-16: 2.5rem;
    --space-20: 3rem;
  }

  .container { padding: 0 var(--space-4); }

  .grid-4    { grid-template-columns: 1fr; }
  .media-grid{ grid-template-columns: 1fr; }

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

  .hero { min-height: 100vh; min-height: 100dvh; }

  .hero-controls { gap: var(--space-2); }

  .video-control-btn { width: 40px; height: 40px; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .modal-content {
    padding: var(--space-6) var(--space-4);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }

  .footer-column {
    text-align: center;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 100vh; }
  .hero-content { padding: var(--space-4) var(--space-8); }
  .scroll-indicator { display: none; }
}

@media (min-width: 1920px) {
  .hero-video {
    width: 100%;
    height: auto;
    min-width: auto;
    min-height: 100%;
  }
}


/* ============================================================
   19. ACCESSIBILITY & REDUCED MOTION
   ============================================================ */

/* Global focus ring — keyboard nav only */
:focus-visible {
  outline: 2px solid var(--color-brand-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-indicator,
  .hero-grain-overlay.css-grain {
    animation: none;
  }

  [data-aos] {
    transition: none !important;
    animation: none !important;
  }

  .hero-video,
  .video-control-btn,
  .service-card,
  .media-card {
    transition: none;
  }
}


/* ============================================================
   WhatsApp Click-to-Chat  —  wa-link / wa-icon
   Applies to: .phone-link.wa-link  &  .footer-phone.wa-link
   ============================================================ */

/* ── Design token ─────────────────────────────────────────── */
:root {
  --wa-green:        #25D366;
  --wa-green-dark:   #128C7E;
  --wa-green-muted:  rgba(37, 211, 102, .12);
  --wa-transition:   color 200ms ease, background-color 200ms ease,
                     box-shadow 200ms ease, transform 150ms ease;
}

/* ── Shared icon base ─────────────────────────────────────── */
.wa-icon {
  display:        inline-block;
  vertical-align: middle;
  flex-shrink:    0;
  margin-right:   6px;
  margin-bottom:  1px;           /* optical alignment */
  transition:     transform 200ms ease;
}

/* ── Header phone link ────────────────────────────────────── */
.header-contact .phone-link.wa-link {
  display:        inline-flex;
  align-items:    center;
  gap:            0;             /* gap handled by margin-right on icon */
  position:       relative;
  transition:     var(--wa-transition);
}

.header-contact .phone-link.wa-link .wa-icon {
  width:  17px;
  height: 17px;
  color:  var(--wa-green);
}

.header-contact .phone-link.wa-link:hover {
  color:            var(--wa-green-dark);
  background-color: var(--wa-green-muted);
}

.header-contact .phone-link.wa-link:hover .wa-icon {
  color:     var(--wa-green);
  transform: scale(1.15);
}

/* Tooltip — desktop hover ----------------------------------- */
.header-contact .phone-link.wa-link::after {
  content:          "Open WhatsApp";
  position:         absolute;
  top:              calc(100% + 8px);
  left:             50%;
  transform:        translateX(-50%) translateY(4px);
  white-space:      nowrap;
  background:       #1a1a1a;
  color:            #fff;
  font-size:        11px;
  font-weight:      500;
  letter-spacing:   0.03em;
  padding:          4px 10px;
  border-radius:    4px;
  pointer-events:   none;
  opacity:          0;
  transition:       opacity 180ms ease, transform 180ms ease;
  z-index:          200;
}

.header-contact .phone-link.wa-link:hover::after {
  opacity:   1;
  transform: translateX(-50%) translateY(0);
}

/* ── Footer phone link ────────────────────────────────────── */
.footer-phone.wa-link {
  display:     inline-flex;
  align-items: center;
  gap:         0;
  transition:  var(--wa-transition);
}

.footer-phone.wa-link .wa-icon {
  width:  16px;
  height: 16px;
  color:  var(--wa-green);
}

.footer-phone.wa-link:hover {
  color: var(--wa-green);
}

.footer-phone.wa-link:hover .wa-icon {
  transform: scale(1.15);
}

/* ── Focus ring (keyboard / accessibility) ────────────────── */
.wa-link:focus-visible {
  outline:        2px solid var(--wa-green);
  outline-offset: 3px;
  border-radius:  4px;
}

/* ── Mobile: suppress tooltip ─────────────────────────────── */
@media (max-width: 768px) {
  .header-contact .phone-link.wa-link::after {
    display: none;
  }
}

/* ── Print: show full URL ─────────────────────────────────── */
@media print {
  .wa-link::after {
    content: " (wa.me/12023406270)";
    font-size: 0.8em;
    color: #555;
  }
}
