/* ==== BEGIN GENERATED FONTS & ICONS (built by optimization-tools/build_fonts_icons.py) ====
   Self-hosted copies of Inter, Poppins and a Font Awesome Free 6.5.1 subset (only the icons this
   site uses), replacing the render-blocking Google Fonts + cdnjs stylesheets.
   Licenses: Inter/Poppins fonts SIL OFL 1.1; Font Awesome Free: icons CC BY 4.0, fonts SIL OFL 1.1,
   code MIT (https://fontawesome.com/license/free). See fonts/LICENSES.txt.
   Do not edit by hand: re-run the build script after adding a new icon. ==== */
@font-face{font-family:"Inter";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/inter-latin-wght-3100e775.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/inter-latin-ext-wght-34b9c504.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/inter-vietnamese-wght-5c66f9e0.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/poppins-latin-500-cd36de20.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/poppins-latin-ext-500-af5fda16.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/poppins-latin-600-f4e80d9d.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/poppins-latin-ext-600-bb1f2d58.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/poppins-latin-700-9338e65f.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/poppins-latin-ext-700-ccfd87f6.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/inter-naira-wght-4796e1ad.woff2) format("woff2-variations");unicode-range:U+20A6}
@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../fonts/fa-solid-subset-4c27f36b.woff2) format("woff2")}
@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../fonts/fa-brands-subset-89aec663.woff2) format("woff2")}
.fa-solid,.fa-brands{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display,inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}
.fa-solid{font-family:"Font Awesome 6 Free";font-weight:900}
.fa-brands{font-family:"Font Awesome 6 Brands";font-weight:400}
.fa-address-card::before{content:"\f2bb"}.fa-arrow-right::before{content:"\f061"}.fa-arrow-up::before{content:"\f062"}.fa-award::before{content:"\f559"}.fa-bell::before{content:"\f0f3"}.fa-bolt::before{content:"\f0e7"}.fa-building::before{content:"\f1ad"}.fa-bullseye::before{content:"\f140"}.fa-calendar-check::before{content:"\f274"}.fa-car-side::before{content:"\f5e4"}.fa-chevron-left::before{content:"\f053"}.fa-chevron-right::before{content:"\f054"}.fa-circle-check::before{content:"\f058"}.fa-circle-info::before{content:"\f05a"}.fa-circle-question::before{content:"\f059"}.fa-clock::before{content:"\f017"}.fa-comments::before{content:"\f086"}.fa-copy::before{content:"\f0c5"}.fa-envelope::before{content:"\f0e0"}.fa-eye::before{content:"\f06e"}.fa-facebook-f::before{content:"\f39e"}.fa-gears::before{content:"\f085"}.fa-handshake::before{content:"\f2b5"}.fa-heart::before{content:"\f004"}.fa-house::before{content:"\f015"}.fa-images::before{content:"\f302"}.fa-instagram::before{content:"\f16d"}.fa-key::before{content:"\f084"}.fa-location-crosshairs::before{content:"\f601"}.fa-location-dot::before{content:"\f3c5"}.fa-lock::before{content:"\f023"}.fa-magnifying-glass::before{content:"\f002"}.fa-microchip::before{content:"\f2db"}.fa-motorcycle::before{content:"\f21c"}.fa-newspaper::before{content:"\f1ea"}.fa-paper-plane::before{content:"\f1d8"}.fa-phone::before{content:"\f095"}.fa-phone-volume::before{content:"\f2a0"}.fa-plus::before{content:"\2b"}.fa-satellite-dish::before{content:"\f7c0"}.fa-screwdriver-wrench::before{content:"\f7d9"}.fa-shield-halved::before{content:"\f3ed"}.fa-star::before{content:"\f005"}.fa-tags::before{content:"\f02c"}.fa-tiktok::before{content:"\e07b"}.fa-toolbox::before{content:"\f552"}.fa-triangle-exclamation::before{content:"\f071"}.fa-truck::before{content:"\f0d1"}.fa-truck-fast::before{content:"\f48b"}.fa-users::before{content:"\f0c0"}.fa-van-shuttle::before{content:"\f5b6"}.fa-whatsapp::before{content:"\f232"}.fa-wifi::before{content:"\f1eb"}.fa-x-twitter::before{content:"\e61b"}.fa-xmark::before{content:"\f00d"}
/* ==== END GENERATED FONTS & ICONS ==== */

/* ============================================================================
   IBEHJ.MAKS ENTERPRISE — MAIN STYLESHEET
   Premium Automotive Locksmith Website
   ----------------------------------------------------------------------------
   TABLE OF CONTENTS
   1.  Design Tokens (colors, type, spacing, shadows)
   2.  Reset & Base
   3.  Utilities & Layout Helpers
   4.  Typography
   5.  Buttons
   6.  Navigation
   7.  Hero Sections
   8.  Cards & Sections (services, why-us, testimonials, blog, pricing...)
   9.  Forms
   10. Gallery & Lightbox
   11. Accordion (FAQ)
   12. Carousel (Testimonials)
   13. Footer
   14. Floating Widgets (WhatsApp, Back-to-top, Live chat, Cookie banner)
   15. Animations
   16. Dark Mode
   17. Responsive / Media Queries
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   Palette: Navy Blue (primary/trust) + Gold (premium accent) + White/Gray
   Type: Poppins (display/headings) + Inter (body) + Poppins (utility labels)
   ========================================================================== */
:root {
  /* --- Colors --- */
  --navy-950: #060f24;
  --navy-900: #0a1f44;   /* primary navy */
  --navy-800: #123163;   /* secondary navy */
  --navy-700: #1c4079;
  --gold-600: #a9821b;
  --gold-500: #c9a227;   /* primary gold accent */
  --gold-400: #e8c766;   /* light gold */
  --gold-100: #faf3dd;
  --white: #ffffff;
  --gray-50: #f4f6f9;    /* light gray background */
  --gray-100: #eaedf2;
  --gray-200: #dde2ea;
  --gray-400: #9aa4b5;
  --gray-600: #5b6779;
  --ink: #10192b;        /* body text on light */
  --success: #1e8e5a;
  --danger: #c0392b;
  --danger-bright: #e85d4c;

  /* --- Semantic tokens (swap these for dark mode) --- */
  --bg-page: var(--white);
  --bg-alt: var(--gray-50);
  --bg-card: var(--white);
  --text-primary: var(--ink);
  --text-muted: var(--gray-600);
  --border-color: var(--gray-200);
  --nav-bg: rgba(10, 31, 68, 0.86);

  /* --- Typography --- */
  --font-display: 'Poppins', 'Inter', 'Segoe UI', sans-serif; /* Inter 2nd: Poppins has no Naira sign or Yoruba dot-below letters */
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* --- Spacing scale --- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* --- Radius / Shadow --- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(10, 31, 68, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 31, 68, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 31, 68, 0.18);
  --shadow-gold: 0 8px 24px rgba(201, 162, 39, 0.35);

  /* --- Layout --- */
  --container-w: 1240px;
  --nav-h: 84px;
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--transition-fast), color var(--transition-fast);
}

/* Respect reduced motion preference for accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visible keyboard focus state (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-to-content link for screen reader / keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-500);
  color: var(--navy-900);
  padding: var(--sp-3) var(--sp-5);
  z-index: 10000;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   3. UTILITIES & LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.section { padding-block: var(--sp-9); }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.grid { display: grid; gap: var(--sp-6); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.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;
}

.section-header { max-width: 720px; margin: 0 auto var(--sp-7); text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: var(--sp-1) var(--sp-4);
  border-radius: 999px;
  margin-bottom: var(--sp-4);
}
[data-theme="dark"] .eyebrow { background: rgba(201,162,39,0.15); color: var(--gold-400); }

/* Signature divider: a repeating "key-tooth" pattern instead of a generic wave.
   This embodies the locksmith subject matter directly. */
.key-divider {
  height: 18px;
  width: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    var(--gold-500) 0 6px,
    transparent 6px 14px
  );
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
  opacity: 0.5;
}

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 {
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text-muted); }
.text-gold { color: var(--gold-500); }
.text-navy { color: var(--navy-900); }
[data-theme="dark"] .text-navy { color: var(--white); }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-950); box-shadow: var(--shadow-gold); }
.btn-gold:hover { box-shadow: 0 14px 34px rgba(201,162,39,0.45); }

.btn-navy { background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-md); }
.btn-navy:hover { background: var(--navy-800); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-navy { background: transparent; color: var(--navy-900); border: 2px solid var(--navy-900); }
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }

.btn-danger { background: var(--danger-bright); color: var(--white); box-shadow: 0 10px 26px rgba(232,93,76,0.4); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }

/* Ripple effect element injected by JS on click */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.55);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(3.5); opacity: 0; }
}

/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: translateY(0);
  opacity: 1;
  transition: box-shadow var(--transition-fast),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
/* Auto-hide on scroll-down, slide back in on scroll-up (see initAutoHideHeader in main.js) */
.site-header.is-header-hidden { transform: translateY(-100%); opacity: 0.4; }
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: box-shadow var(--transition-fast); }
  .site-header.is-header-hidden { transform: none; opacity: 1; }
}

.navbar { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand img { height: 42px; width: auto; }

.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-block: var(--sp-2);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold-500);
  transition: width var(--transition-fast);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--gold-400); }

.nav-actions { display: flex; align-items: center; gap: var(--sp-4); }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); background: rgba(255,255,255,0.08);
  transition: background var(--transition-fast);
  font-size: 1rem;
}
.icon-btn:hover { background: rgba(255,255,255,0.18); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1200;
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: transform var(--transition-fast), opacity var(--transition-fast); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search bar (expands within nav) */
.nav-search { position: relative; }
.nav-search input {
  width: 0; opacity: 0; padding: 0; border: none;
  border-radius: 999px; background: rgba(255,255,255,0.12); color: var(--white);
  transition: width var(--transition-med), padding var(--transition-med), opacity var(--transition-fast);
}
.nav-search input::placeholder { color: rgba(255,255,255,0.7); }
.nav-search.is-open input { width: 200px; opacity: 1; padding: 0.5rem 1rem; margin-right: 0.4rem; }

/* ==========================================================================
   7. HERO SECTIONS
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, rgba(6,15,36,0.88), rgba(10,31,68,0.72)), center/cover no-repeat;
  color: var(--white);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: inherit;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero .eyebrow { background: rgba(201,162,39,0.18); color: var(--gold-400); }
.hero h1 { color: var(--white); margin-bottom: var(--sp-3); }
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gold-400);
  margin-bottom: var(--sp-4);
  position: relative;
  padding-left: var(--sp-4);
  border-left: 3px solid var(--gold-500);
}
.hero p.lead { color: rgba(255,255,255,0.85); margin-bottom: var(--sp-6); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

.hero-stats {
  display: flex; gap: var(--sp-8); margin-top: var(--sp-8); flex-wrap: wrap;
}
.hero-stat .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--gold-400); }
.hero-stat .num-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold-400); line-height: 1.2; }
.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.08em; }
.stats-disclaimer { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: var(--sp-3); }
.stats-disclaimer.on-dark { color: rgba(255,255,255,0.6); }

/* Glassmorphism card floating over hero (used on home) */
.glass-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}

/* Page header hero (interior pages) — shorter version of hero */
.page-header {
  position: relative;
  overflow: hidden;
  min-height: 46vh;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  color: var(--white);
  padding-top: var(--nav-h);
}
/* Rotating background slideshow: 5 stacked images crossfade in sequence,
   driven purely by CSS keyframes (no JS required). */
.header-slideshow { position: absolute; inset: 0; z-index: 0; }
.header-slideshow .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: headerSlideFade 20s infinite ease-in-out;
}
.header-slideshow .slide:nth-child(1) { animation-delay: 0s; }
.header-slideshow .slide:nth-child(2) { animation-delay: 4s; }
.header-slideshow .slide:nth-child(3) { animation-delay: 8s; }
.header-slideshow .slide:nth-child(4) { animation-delay: 12s; }
.header-slideshow .slide:nth-child(5) { animation-delay: 16s; }
@keyframes headerSlideFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  26%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .header-slideshow .slide { animation: none; opacity: 0; }
  .header-slideshow .slide:first-child { opacity: 1; }
}
/* Dark gradient overlay sits above the slideshow, below the text content */
.page-header::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(6,15,36,0.92), rgba(10,31,68,0.8));
}
.page-header .container { position: relative; z-index: 2; }
.page-header .breadcrumb { font-size: 0.85rem; color: var(--gold-400); margin-top: var(--sp-3); }
.page-header .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb a:hover { color: var(--white); }

/* Emergency banner strip (Home page) */
.emergency-banner {
  background: linear-gradient(90deg, var(--danger-bright), #b93a2c);
  color: var(--white);
  padding: var(--sp-4) 0;
}
.emergency-banner .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.emergency-banner strong { font-family: var(--font-display); }
.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--white);
  display: inline-block; margin-right: var(--sp-2);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ==========================================================================
   8. CARDS & SECTIONS
   ========================================================================== */

/* Generic card */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* Intro / about strip */
.intro-grid { grid-template-columns: 1fr 1fr; align-items: center; }
.intro-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-950); }
.intro-media img { width: 100%; height: auto; display: block; object-fit: contain; transition: transform 0.6s ease; }
.intro-media:hover img { transform: scale(1.06); }
/* "11+ Years of Experience" sits in a caption strip BELOW the photo (it used to
   float over the bottom-right corner and covered faces on phones). */
.intro-badge {
  display: flex; align-items: baseline; justify-content: center; gap: var(--sp-3);
  flex-wrap: wrap; padding: var(--sp-3) var(--sp-5);
  background: var(--navy-950); color: var(--white);
  border-top: 2px solid var(--gold-500);
  font-family: var(--font-display); text-align: center;
}
.intro-badge-num { font-size: 1.6rem; font-weight: 700; color: var(--gold-400); line-height: 1; }
.intro-badge-label { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; }
.check-list li { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-3); color: var(--text-primary); }
.check-list i { color: var(--gold-500); margin-top: 3px; }

/* Service cards */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.service-card {
  padding: var(--sp-6);
  text-align: left;
  position: relative;
}
.service-icon {
  width: 62px; height: 62px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--gold-400); font-size: 1.6rem; margin-bottom: var(--sp-5);
  transition: transform var(--transition-med);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { margin-bottom: var(--sp-2); }
.service-card p { margin-bottom: var(--sp-5); }
.service-card .btn { padding: 0.6rem 1.3rem; font-size: 0.85rem; }
.service-card .price-tag {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  font-family: var(--font-display); font-weight: 700; color: var(--gold-600);
  font-size: 0.85rem; background: var(--gold-100); padding: 0.2rem 0.7rem; border-radius: 999px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.service-card .price-tag:hover { background: var(--gold-500); color: var(--navy-950); transform: scale(1.05); }

/* Why choose us */
.why-us-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.why-card { text-align: center; padding: var(--sp-6) var(--sp-5); }
.why-card .service-icon { margin-inline: auto; background: var(--gold-100); color: var(--gold-600); }

/* Counters */
.counters { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); text-align: center; }
.counter-item .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--navy-900); }
[data-theme="dark"] .counter-item .num { color: var(--gold-400); }
.counter-item .num-text { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--navy-900); line-height: 1.2; }
[data-theme="dark"] .counter-item .num-text { color: var(--gold-400); }
.counter-item .label { color: var(--text-muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; }

/* Testimonial cards */
.testimonial-card {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  height: 100%;
}
.testimonial-stars { color: var(--gold-500); font-size: 0.9rem; }
.testimonial-person { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.testimonial-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-person .name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.testimonial-person .role { font-size: 0.8rem; color: var(--text-muted); }

/* Carousel */
.carousel { position: relative; }
.carousel-track { display: flex; transition: transform var(--transition-med); }
.carousel-slide { flex: 0 0 100%; padding: 0 var(--sp-2); }
.carousel-controls { display: flex; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-6); }
.carousel-dots { display: flex; gap: var(--sp-2); align-items: center; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); transition: background var(--transition-fast), transform var(--transition-fast); }
.carousel-dot.is-active { background: var(--gold-500); transform: scale(1.3); }
.carousel-arrow {
  width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center;
  color: var(--navy-900); transition: background var(--transition-fast);
}
.carousel-arrow:hover { background: var(--gold-100); }

/* Blog cards */
.blog-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.blog-card { overflow: hidden; }
.blog-thumb { overflow: hidden; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.blog-thumb img { transition: transform 0.6s ease; width: 100%; height: auto; aspect-ratio: 900 / 560; object-fit: cover; } /* keeps every thumbnail the same shape without squashing photos */
.blog-card:hover .blog-thumb img { transform: scale(1.08); }
.blog-body { padding: var(--sp-5); }
.blog-meta { display: flex; gap: var(--sp-3); align-items: center; font-size: 0.78rem; color: var(--text-muted); margin-bottom: var(--sp-3); }
.blog-category { color: var(--gold-600); background: var(--gold-100); padding: 0.15rem 0.7rem; border-radius: 999px; font-weight: 600; }
.blog-body h3 { margin-bottom: var(--sp-3); }

/* Pricing */
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pricing-card { padding: var(--sp-6); }
.pricing-card .price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy-900); }
[data-theme="dark"] .pricing-card .price { color: var(--gold-400); }
.pricing-card .price span { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); }
.pricing-card ul { margin: var(--sp-5) 0; }
.pricing-card ul li { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.pricing-card ul li i { color: var(--gold-500); }
.pricing-note {
  text-align: center; font-size: 0.9rem; color: var(--text-muted);
  margin-top: var(--sp-6); font-style: italic;
}
.pricing-card.featured { border: 2px solid var(--gold-500); position: relative; transform: scale(1.03); }
.pricing-card.featured::before {
  content: "Key Service"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold-500); color: var(--navy-950); font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 700; padding: 0.3rem 1rem; border-radius: 999px;
}

/* CTA section */
.cta-section {
  background: radial-gradient(circle at 20% 20%, var(--navy-800), var(--navy-950));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(201,162,39,0.06) 0 2px, transparent 2px 22px);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.8); }

/* Newsletter */
.newsletter { background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: var(--sp-7); }
.newsletter-form { display: flex; gap: var(--sp-3); max-width: 520px; margin: var(--sp-5) auto 0; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 0.9rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: var(--white); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }

/* Achievements / values (About page) */
.values-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value-card { padding: var(--sp-6); text-align: center; }

/* Team */
.team-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.team-card { overflow: hidden; text-align: center; }
.team-photo { overflow: hidden; }
.team-photo img { transition: transform 0.5s ease; }
.team-card:hover .team-photo img { transform: scale(1.08); }
.team-info { padding: var(--sp-5); }
.team-info .role { color: var(--gold-600); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.team-social { display: flex; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-3); }
.team-social a { color: var(--navy-900); }
[data-theme="dark"] .team-social a { color: var(--gold-400); }

/* Certifications */
.certs-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.cert-badge { padding: var(--sp-5); }
.cert-badge i { font-size: 2.2rem; color: var(--gold-500); margin-bottom: var(--sp-3); }

/* ==========================================================================
   9. FORMS
   ========================================================================== */
.form-card { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--sp-7); border: 1px solid var(--border-color); }
.form-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-5); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }
.form-group .required { color: var(--danger-bright); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.15);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group .file-drop {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: var(--sp-6);
  text-align: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.form-group .file-drop:hover, .form-group .file-drop.is-dragover { border-color: var(--gold-500); background: var(--gold-100); }
.field-error { color: var(--danger-bright); font-size: 0.8rem; min-height: 1.1em; }
.form-group input.invalid, .form-group select.invalid, .form-group textarea.invalid { border-color: var(--danger-bright); }
.form-success {
  display: none;
  background: rgba(30,142,90,0.1);
  border: 1px solid var(--success);
  color: var(--success);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-sm);
  margin-top: var(--sp-5);
  font-weight: 600;
}
.form-success.is-visible { display: block; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: var(--sp-3); }

/* Google Map placeholder */
.map-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 340px;
  position: relative;
}
.map-placeholder iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Contact info list */
.contact-info-list li { display: flex; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--border-color); }
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .icon-circle { flex-shrink: 0; }
.icon-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

/* ==========================================================================
   10. GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-filters { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-bottom: var(--sp-7); }
.filter-btn {
  padding: 0.55rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--border-color);
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--text-primary);
  transition: all var(--transition-fast);
}
.filter-btn:hover { border-color: var(--gold-500); }
.filter-btn.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

.gallery-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; }
.gallery-item img { transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,31,68,0.85), transparent 60%);
  display: flex; align-items: flex-end; padding: var(--sp-4);
  opacity: 0; transition: opacity var(--transition-fast);
  color: var(--white); font-family: var(--font-display); font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; background: rgba(6,15,36,0.94);
  padding: var(--sp-6);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--white); font-size: 1.6rem;
  width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: var(--sp-6); right: var(--sp-6); }
.lightbox-prev { left: var(--sp-6); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--sp-6); top: 50%; transform: translateY(-50%); }
.lightbox-caption { position: absolute; bottom: var(--sp-6); color: var(--white); font-family: var(--font-display); }

/* ==========================================================================
   11. ACCORDION (FAQ)
   ========================================================================== */
.accordion { max-width: 820px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-5) var(--sp-2); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  text-align: left; color: var(--text-primary);
}
.accordion-trigger i { color: var(--gold-500); transition: transform var(--transition-fast); }
.accordion-item.is-open .accordion-trigger i { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height var(--transition-med); }
.accordion-panel p { padding: 0 var(--sp-2) var(--sp-5); }

/* FAQ category tabs */
.faq-tabs { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-bottom: var(--sp-7); }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.75); padding-top: var(--sp-9); }
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: var(--sp-7); padding-bottom: var(--sp-8); }
.footer-brand img { height: 56px; width: auto; margin-bottom: var(--sp-4); }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-col h2, .footer-col h3 { color: var(--white); font-size: 1rem; font-family: var(--font-display); margin-bottom: var(--sp-5); }
.footer-col ul li { margin-bottom: var(--sp-3); }
.footer-col a { color: rgba(255,255,255,0.65); transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--gold-400); }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transition: background var(--transition-fast);
}
.footer-social a:hover { background: var(--gold-500); color: var(--navy-950); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--sp-5) 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3);
  font-size: 0.85rem;
}
.footer-bottom p { color: rgba(255,255,255,0.72); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ==========================================================================
   13. FLOATING WIDGETS
   ========================================================================== */
.float-stack { position: fixed; right: var(--sp-5); bottom: var(--sp-5); z-index: 900; display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-end; }
.float-stack-left { position: fixed; left: var(--sp-5); bottom: var(--sp-5); z-index: 900; display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }

.whatsapp-float, .backtotop-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem; box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast);
}
.whatsapp-float { background: #25d366; }
.backtotop-btn { background: var(--gold-500); color: var(--navy-950); opacity: 0; pointer-events: none; transform: translateY(10px); }
.backtotop-btn.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.whatsapp-float:hover, .backtotop-btn:hover { transform: scale(1.1); }

/* Emergency floating call button — stacked above WhatsApp on the left */
.emergency-float {
  background: var(--danger); color: var(--white); padding: var(--sp-3) var(--sp-5);
  border-radius: 999px; display: flex; align-items: center; gap: var(--sp-3);
  box-shadow: 0 12px 30px rgba(232,93,76,0.45); font-family: var(--font-display); font-weight: 700;
}


/* Cookie consent banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
  background: var(--navy-950); color: rgba(255,255,255,0.85);
  padding: var(--sp-5); display: none; align-items: center; justify-content: center; gap: var(--sp-5); flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { color: rgba(255,255,255,0.75); max-width: 640px; font-size: 0.9rem; }

/* Loading screen */
.page-loader {
  position: fixed; inset: 0; z-index: 5000; background: var(--navy-950);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: var(--sp-5);
  transition: opacity 0.5s ease, visibility 0.5s ease;
  /* Fades itself out with CSS only, so it can never sit over the page while
     scripts/fonts load (it used to stay until the whole page had loaded). */
  animation: loader-out 0.25s ease 0.15s forwards;
}
@keyframes loader-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-key {
  width: 96px; height: 96px; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.35);
  animation: loader-pulse 1.2s ease-in-out infinite;
}
.loader-key img { width: auto; height: 60px; display: block; }
@keyframes loader-pulse { 50% { transform: scale(1.08); } }
.loader-key svg { animation: spin-key 1.1s linear infinite; }
@keyframes spin-key { to { transform: rotate(360deg); } }
.page-loader span { color: var(--gold-400); font-family: var(--font-display); letter-spacing: 0.1em; font-size: 0.85rem; text-transform: uppercase; }

/* Dark mode toggle switch */
.theme-toggle {
  width: 46px; height: 26px; border-radius: 999px; background: rgba(255,255,255,0.15);
  position: relative; flex-shrink: 0;
}
.theme-toggle::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-400); transition: transform var(--transition-fast);
}
[data-theme="dark"] .theme-toggle::before { transform: translateX(20px); }

/* ==========================================================================
   14. ANIMATIONS (scroll-reveal + misc)
   ========================================================================== */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate].in-view { opacity: 1; transform: translateY(0); }
[data-animate="fade"] { transform: none; }
[data-animate="left"] { transform: translateX(-40px); }
[data-animate="left"].in-view { transform: translateX(0); }
[data-animate="right"] { transform: translateX(40px); }
[data-animate="right"].in-view { transform: translateX(0); }
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }

/* ==========================================================================
   15. DARK MODE OVERRIDES
   ========================================================================== */
[data-theme="dark"] {
  --bg-page: #0a1224;
  --bg-alt: #0f1a30;
  --bg-card: #101c34;
  --text-primary: #eef1f6;
  --text-muted: #a9b3c4;
  --border-color: #1e2c48;
  --nav-bg: rgba(6, 15, 36, 0.9);
}
[data-theme="dark"] .service-icon { background: linear-gradient(135deg, #1c4079, #0a1f44); }
[data-theme="dark"] .why-card .service-icon { background: rgba(201,162,39,0.12); }
[data-theme="dark"] .carousel-arrow { background: var(--bg-card); color: var(--gold-400); }
[data-theme="dark"] .filter-btn { color: var(--text-primary); }

/* ==========================================================================
   16. RESPONSIVE / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset-inline: 0; top: var(--nav-h); bottom: 0;
    background: var(--navy-950); flex-direction: column; justify-content: flex-start;
    padding: var(--sp-8) var(--sp-6); gap: var(--sp-6);
    transform: translateX(100%); transition: transform var(--transition-med);
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .hamburger { display: flex; }
  .nav-search.is-open input { width: 140px; }
  .hero-stats { gap: var(--sp-6); }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .hero-actions .btn { width: 100%; }
  .section { padding-block: var(--sp-8); }
  .form-card, .newsletter, .cta-section { padding: var(--sp-6) var(--sp-5); }
  .nav-actions .nav-search { display: none; }
}

/* ==========================================================================
   17. MOBILE LAYOUT FIX (added after testing at 375px width)
   --------------------------------------------------------------------------
   Problem: the booking, contact, emergency and pricing pages use two-column
   grids set inline in the HTML, with no phone layout, and grid columns could
   not shrink below their content. Result: those pages (plus Home and About)
   scrolled sideways on phones. Fix: on tablets/phones, let grid columns
   shrink and stack the inline two-column layouts into one column. Also, items
   that slide in from the right (data-animate="right") start 40px off-screen,
   which made phones scroll sideways before they appeared; "clip" hides that
   without breaking the sticky header.
   ========================================================================== */
body { overflow-x: clip; }
main, section, footer { overflow-x: clip; }

@media (max-width: 1024px) {
  .grid > * { min-width: 0; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .grid[style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ==========================================================================
   18. CHAT LAUNCH BUTTON (replaces the auto-loaded Jotform widget)
   ========================================================================== */
.chat-launch {
  display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 48px;
  padding: var(--sp-3) var(--sp-5); border: 0; border-radius: 999px; cursor: pointer;
  background: var(--navy-950); color: var(--white); box-shadow: var(--shadow-lg);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.chat-launch i { color: var(--gold-400); }
.chat-launch:disabled { opacity: 0.85; cursor: progress; }
.chat-launch.is-error { background: var(--danger-bright); }
.chat-launch.is-error i { color: var(--white); }
.chat-launch[hidden] { display: none; }

/* ==========================================================================
   19. ABOVE-THE-FOLD TEXT + FLOATING BUTTONS (performance / overlap fixes)
   --------------------------------------------------------------------------
   1) Hero and page-header text used to start invisible (opacity 0) and only
      appear after main.js ran. Browsers therefore did not treat it as the
      page's main content, and the later cookie banner became the "Largest
      Contentful Paint" instead. Text that is visible on first load now just
      shows immediately; everything further down the page still fades in.
   2) The cookie banner used to sit on top of the Emergency / WhatsApp / Chat
      buttons. They now rise above it (JS sets --cookie-offset to its height),
      so the emergency call button is never covered.
   ========================================================================== */
.hero [data-animate], .page-header [data-animate] { opacity: 1; transform: none; transition: none; }

.float-stack, .float-stack-left {
  /* Moved with transform (not "bottom") so rising above the banner is not
     counted as a layout shift. */
  transform: translateY(calc(-1 * var(--cookie-offset, 0px)));
  transition: transform 0.25s ease;
}
/* After the Jotform chat loads it draws its own bubble in the bottom-right
   corner: lift the right-hand buttons above it and keep the banner's text
   clear of it. */
body.chat-loaded .float-stack { transform: translateY(calc(-1 * (var(--cookie-offset, 0px) + 88px))); }
body.chat-loaded .cookie-banner { padding-right: 88px; }

@media (max-width: 640px) {
  .cookie-banner { padding: var(--sp-4); gap: var(--sp-3); justify-content: flex-start; }
  .cookie-banner p { font-size: 0.8rem; line-height: 1.45; }
  .emergency-float { min-height: 44px; padding: var(--sp-2) var(--sp-4); font-size: 0.9rem; }
}

/* ============================================================================
   20. CONTRAST FIXES (found by running Lighthouse on all 23 pages)
   ----------------------------------------------------------------------------
   - Inner-page titles (.page-header h1) inherited the dark-navy heading colour
     and sat on the navy banner, so they were nearly invisible in light mode.
     (Dark mode already set headings to white.) Now white, like the homepage.
   - Gold text on a light background was below the 4.5:1 contrast minimum:
     the small gold labels (.eyebrow, .blog-category) and the gold links in
     light content sections. A slightly deeper gold is used there only.
     Dark banners/footer keep the original light gold.
   - Links inside sentences were marked by colour alone; they are underlined
     in the places where they appear inside text.
   ========================================================================== */
.page-header h1 { color: var(--white); }
.eyebrow, .blog-category { color: #856404; }
.hero .eyebrow { color: var(--gold-400); }
[data-theme="dark"] .eyebrow { color: var(--gold-400); } /* .blog-category keeps its cream pill in dark mode, so it keeps the deeper gold text */
main .section a.text-gold { color: #856404; }
[data-theme="dark"] main .section a.text-gold { color: var(--gold-400); }
main p a.text-gold, main li a.text-gold, .cookie-banner a { text-decoration: underline; text-underline-offset: 2px; }

/* 21. The homepage hero had no space reserved for the fixed navigation bar
   (inner pages do: .page-header has padding-top: var(--nav-h)), so on phones and
   short screens the "11+ Years" badge and the top of the main heading sat
   underneath the menu bar. */
.hero { padding-top: var(--nav-h); }

/* ==========================================================================
   22. HEADER LOGO (official IBEHJ.MAKS mark)
   Mark is 149x160 (ratio kept by width:auto); 52px tall fits inside the
   84px header without making it taller. flex-shrink:0 stops the nav from
   squeezing it. The business name stays available to screen readers via the
   link's aria-label.
   ========================================================================== */
.brand { flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
@media (max-width: 380px) {
  .brand img { height: 46px; }
}

/* Mid-width fix: between 861px and 1140px the full menu + buttons are wider than
   the screen (the old logo was being squeezed to nothing and "Call Now" ran off
   the edge). Use the same slide-in menu as phones in that range. */
@media (min-width: 861px) and (max-width: 1140px) {
  .nav-links {
    position: fixed; inset-inline: 0; top: var(--nav-h); bottom: 0;
    background: var(--navy-950); flex-direction: column; justify-content: flex-start;
    padding: var(--sp-8) var(--sp-6); gap: var(--sp-6);
    transform: translateX(100%); transition: transform var(--transition-med);
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .hamburger { display: flex; }
}

/* Very small phones (320px wide): tighten the buttons so nothing runs off the edge. */
@media (max-width: 340px) {
  .nav-actions { gap: 0.35rem; }
  .nav-actions .btn { padding-inline: 0.7rem; font-size: 0.82rem; }
  .brand img { height: 40px; }
}

/* 23. Navy outline button must stay readable on the dark theme */
[data-theme="dark"] .btn-outline-navy { color: var(--white); border-color: var(--white); }
[data-theme="dark"] .btn-outline-navy:hover { background: var(--white); color: var(--navy-900); }
