:root {
  --cream:    #F7F4EF;
  --parchment:#EDE8E0;
  --stone:    #D4CCC0;
  --white:    #FFFFFF;
  --charcoal: #1A1A18;
  --ink:      #0E0E0C;
  --mid:      #2C2C28;
  --warm:     #5C5850;
  --muted:    #9A9288;
  --gold:     #B8975A;
  --gold-l:   #D4B47A;
  --gold-d:   #9A7A3E;
  --line:     rgba(26,26,24,0.09);
  --line-dk:  rgba(255,255,255,0.09);
  --f-serif:  'Cormorant Garamond', Georgia, serif;
  --f-sans:   'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ─────────────────────────────────────────────── */
.c-dot {
  position: fixed; width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .18s, height .18s, background .2s;
}
.c-ring {
  position: fixed; width: 34px; height: 34px;
  border: 1px solid rgba(184,151,90,0.5);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .22s, height .22s, border-color .2s;
}
.c-dot.hover  { width: 12px; height: 12px; background: var(--gold-d); }
.c-ring.hover { width: 52px; height: 52px; border-color: var(--gold); }

/* ── NAV ────────────────────────────────────────────────────────── */
nav {
  position: fixed; inset: 0 0 auto;
  z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 56px;
  transition: padding .35s ease, background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
  background-color: var(--cream);;
}
nav.scrolled {
  padding: 16px 56px;
  background: rgba(247,244,239,0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}
.nav-logo {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--warm); text-decoration: none;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 10px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--white); background: var(--charcoal);
  padding: 12px 28px; text-decoration: none;
  border: 1px solid var(--charcoal);
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); }
/* ── DESKTOP SUBMENU STYLES ──────────────────────────────────── */
/* ── FIXED DESKTOP SUBMENU STYLES ──────────────────────────────────── */

.nav-links > li.has-submenu {
  position: relative;
  display: flex;
  align-items: center;
  /* Added a tiny bit of padding to the container to help stabilize the hover zone */
  padding-bottom: 15px; 
  margin-bottom: -20px;
}

.submenu {
  position: absolute;
  /* Pushes the menu down safely below the main navbar text line */
  top: 100%; 
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid var(--line, rgba(0,0,0,0.05));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 16px 0; 
  list-style: none; 
  min-width: 240px;
  opacity: 0; 
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 210;
}

/* ⚡️ THE HOVER BRIDGE FIX ⚡️ */
/* This creates an invisible hit-box between the link and the dropdown */
.submenu::before {
  content: '';
  position: absolute;
  top: -25px; /* Stretches upwards to cover the blank air gap */
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent; /* Invisible to the eye, but active for the mouse */
}

/* Trigger the visibility smoothly when hovering the parent li */
.nav-links > li.has-submenu:hover .submenu {
  opacity: 1; 
  visibility: visible; 
}

.submenu li a {
  display: block; 
  padding: 10px 24px; 
  font-size: 11px;
  font-weight: 400; 
  letter-spacing: 1.5px; 
  text-transform: uppercase;
  color: var(--warm); 
  text-decoration: none; 
  transition: background .2s, color .2s;
}

.submenu li a:hover { 
  background: rgba(247,244,239,0.5); 
  color: var(--ink); 
}

.submenu li a::after { 
  display: none; 
}
/* ── NEW: HAMBURGER BUTTON (HIDDEN ON DESKTOP) ────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 18px;
  background: transparent; border: none; cursor: pointer;
  padding: 0; z-index: 210;
}
.nav-toggle span {
  width: 100%; height: 2px;
  background-color: var(--ink, #000);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  z-index: 100; /* Sits behind the 200+ z-index nav bar */
}

/* Reveal the blur overlay when mobile menu is active */
nav.active ~ .nav-overlay {
  opacity: 1;
  visibility: visible;
}
/* ── RESPONSIVE MOBILE STYLES (UNDER 768px) ─────────────────── */
@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
    flex-wrap: wrap;
    position: fixed;
    top: 0; left: 0; right: 0;
  }
  
  nav.scrolled {
    padding: 12px 24px;
  }

  .nav-toggle { 
    display: flex; 
    order: 2; 
  }
  
  .nav-cta { 
    display: none; /* Hiding to save space on small viewports */
  }

  nav.active {
    background: rgba(247,244,239,1) !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: rgba(247,244,239,1); /* Solid on mobile for readability */
    border-top: 1px solid var(--line, rgba(0,0,0,0.05));
    border-bottom: 1px solid var(--line, rgba(0,0,0,0.05));
    padding: 24px;
    box-sizing: border-box;
    flex-direction: column; gap: 0;
    max-height: 80vh; /* Prevents overflow clipping on small screens */
    overflow-y: auto;
  }

  nav.active .nav-links {
    display: flex;
  }
  /* Reveal drawer */
  nav.active .nav-links {
    display: flex;
  }

  /* Hamburger to X transitions */
  nav.active .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  nav.active .nav-toggle span:nth-child(2) { opacity: 0; }
  nav.active .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Main List Items alignment fix */
  .nav-links > li { 
    width: 100%; 
    padding: 14px 0;
    box-sizing: border-box;
  }
  
  .nav-links > li > a { 
    font-size: 13px; 
    display: inline-block;
    color: var(--ink);
  }

  /* Setting up the alignment row for Services + Arrow */
  .nav-links > li.has-submenu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Arrow icon positioning */
  .submenu-arrow {
    display: inline-block;
    width: 32px; 
    height: 32px;
    position: relative; 
    cursor: pointer;
  }
  
  .submenu-arrow::before {
    content: ''; 
    position: absolute; 
    top: 12px; 
    right: 8px;
    width: 6px; 
    height: 6px;
    border-right: 1.5px solid var(--warm, #000); 
    border-bottom: 1.5px solid var(--warm, #000);
    transform: rotate(45deg); 
    transition: transform 0.3s;
  }

  /* FIXED: Submenu Accordion Container */
  .submenu {
    position: static; 
    transform: none; 
    box-shadow: none; 
    border: none;
    background: transparent; 
    width: 100%; /* Spans full width of the parent layout */
    padding: 8px 0 0 0; /* Keeps it flush to the left alignment */
    margin: 0;
    display: none; /* Controlled via JS toggle */
    opacity: 1; 
    visibility: visible;
  }

  /* Show submenu when parent li gets the .open class */
  .nav-links li.has-submenu.open .submenu { 
    display: block; 
  }
  
  /* Flips the arrow around when menu opens */
  .nav-links li.has-submenu.open .submenu-arrow::before { 
    transform: rotate(-135deg); 
  }

  /* FIXED: Submenu links alignment and wrapping fixes */
  .submenu li {
    width: 100%;
    padding: 8px 0;
  }

  .submenu li a {
    display: block; 
    padding: 4px 0; 
    font-size: 11px;
    font-weight: 400; 
    letter-spacing: 1.5px; 
    text-transform: uppercase;
    color: var(--warm); 
    text-decoration: none;
    white-space: normal; /* Allows long text like 'Corporate Communications' to break nicely */
    line-height: 1.4;
  }
}
/* ── HERO — V1 ENERGY IN V2 PALETTE ───────────────────────────── */


/* ── MARQUEE — V1 ENERGY, V2 PALETTE ──────────────────────────── */
.marquee-wrap {
  background: var(--charcoal);
  padding: 15px 0;
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--f-sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 0 32px;
}
.marquee-track span.sep {
  color: var(--gold);
  padding: 0 4px;
  font-size: 8px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── CLIENTS STRIP ─────────────────────────────────────────────── */
.clients-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0 56px;
  display: flex; align-items: stretch;
}
.clients-label {
  font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted);
  padding: 26px 40px 26px 0;
  border-right: 1px solid var(--line);
  white-space: nowrap;
  display: flex; align-items: center;
}

/* UPDATED FOR DESKTOP DRAG & SCROLL */
.clients-logos {
  display: flex; 
  align-items: center; 
  flex: 1; 
  overflow-x: auto; /* Allow overflow on desktop too */
  overflow-y: hidden;
  cursor: grab; /* Shows a hand cursor on desktop */
  user-select: none; /* Prevents text highlighting while dragging */
  scrollbar-width: none; /* Hides scrollbar on Firefox */
}

.clients-logos:active {
  cursor: grabbing; /* Gripping fist cursor during drag */
}

/* Hide scrollbars for WebKit browsers (Chrome/Safari) */
.clients-logos::-webkit-scrollbar {
  display: none;
}

.client-name {
  font-family: var(--f-serif);
  font-size: 16px; font-weight: 400;
  color: var(--stone);
  padding: 26px 28px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
  transition: color .25s;
  letter-spacing: .5px;
  flex-shrink: 0; /* Ensures names never squish */
}
.client-name:last-child { border-right: none; }
.client-name:hover { color: var(--charcoal); }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
  .clients-strip {
    gap: 15px;
    padding: 0 20px; /* Adjusted padding to look better on small screens */
  }

  .clients-label {
    margin-bottom: 0;
    padding: 15px 15px 15px 0;
  }
  
  .client-name {
    padding: 15px 20px;
  }
}

/* ── SHARED SECTION STYLES ─────────────────────────────────────── */
.section-eyebrow {
  font-size: 9px; font-weight: 500;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--gold);
}
h2.serif-title {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.0;
  letter-spacing: -1.5px;
  color: var(--ink);
}
h2.serif-title em { font-style: italic; color: var(--gold); }
h2.serif-title.inv { color: var(--white); }

.section-lead {
  font-size: 15px; font-weight: 300;
  color: var(--warm); line-height: 1.75;
  max-width: 520px; margin-bottom: 56px;
}
.section-lead.inv { color: rgba(255,255,255,0.45); }

/* ── INTRO SPLIT ───────────────────────────────────────────────── */
.intro-section {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 260px 1fr;
}
.intro-left {
  border-right: 1px solid var(--line);
  padding: 80px 40px;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.intro-num {
  font-family: var(--f-serif);
  font-size: 110px; font-weight: 300;
  color: var(--parchment);
  line-height: 1; letter-spacing: -8px;
}
.intro-sub {
  font-size: 12px; font-weight: 300;
  color: var(--muted); line-height: 1.7;
}
.intro-right { padding: 80px 64px 80px 56px; }
.intro-body {
  font-size: 16px; font-weight: 300;
  color: var(--warm); line-height: 1.8;
  margin-bottom: 24px; max-width: 640px;
}
.intro-body strong { color: var(--charcoal); font-weight: 500; }
.intro-body:last-child { margin-bottom: 0; }

/* ── SERVICES — V1 HOVER IN V2 STYLE ──────────────────────────── */
.services-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.services-header {
  padding: 72px 56px 56px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
}
.services-header p {
  font-size: 14px; font-weight: 300;
  color: var(--warm); line-height: 1.75;
  align-self: end;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
}
.svc-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 36px 36px;
  position: relative; overflow: hidden;
  transition: background .25s;
}
/* V1-style full fill hover — in charcoal, not yellow */
.svc-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--charcoal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .38s cubic-bezier(.77,0,.18,1);
  z-index: 0;
}
.svc-card:hover::before { transform: scaleY(1); }
.svc-card > * { position: relative; z-index: 1; }

.svc-num {
  font-family: var(--f-serif);
  font-size: 13px; color: var(--stone);
  margin-bottom: 32px;
  transition: color .2s;
}
.svc-card:hover .svc-num { color: rgba(255,255,255,0.25); }
.svc-name {
  font-family: var(--f-serif);
  font-size: 24px; font-weight: 400;
  letter-spacing: -0.3px; line-height: 1.15;
  color: var(--ink); margin-bottom: 14px;
  transition: color .2s;
}
.svc-card:hover .svc-name { color: var(--white); }
.svc-body {
  font-size: 13px; font-weight: 300;
  color: var(--muted); line-height: 1.65;
  margin-bottom: 28px; transition: color .2s;
}
.svc-card:hover .svc-body { color: rgba(255,255,255,0.5); }
.svc-link {
  font-size: 10px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  transition: color .2s;
}
.svc-link-bar {
  width: 22px; height: 1px;
  background: var(--gold);
  transition: width .22s, background .2s;
}
.svc-card:hover .svc-link { color: var(--gold-l); }
.svc-card:hover .svc-link-bar { width: 38px; background: var(--gold-l); }

/* ── WORK MOSAIC ───────────────────────────────────────────────── */
.work-section { padding: 100px 56px; background: var(--cream); }
.work-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px;
}
/* Container Layout */
.work-mosaic {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr; /* Slightly wider left column for nice vertical proportions */
  grid-template-rows: 1fr 1fr;          /* Splits rows exactly in half */
  gap: 3px;                             /* Kept your exact 3px spacing */
  width: 100%;
  height: 950px;                        /* Sets a solid fixed structural block height */
}

/* The Left Card (Your sketch's large box) */
.work-card.tall {
  grid-column: 1;
  grid-row: 1 / span 2;                 /* Tells the box to stretch down over both rows */
}

/* Core Card Styles & Layout Safety rules */
.work-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Layout structural rules for inside images/videos */
.work-card img,
.work-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;                    /* Retains visual shapes clean without skewing aspect ratios */
  display: block;
}

/* Interface Layers Placement Over the Media elements */
.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  z-index: 2;
  pointer-events: none;
}

.work-tag,
.work-content {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.work-tag {
  top: 20px;
  right: 20px;
}

.work-content {
  bottom: 20px;
  left: 20px;
  right: 20px;
}
/* Carousel Container */
.card-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Sits at the bottom layer */
}

/* 3. The media rules */
.carousel-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.carousel-media.active {
  opacity: 1;
}


/* .work-card.tall { grid-row: span 2; } */
.work-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: transform .7s cubic-bezier(.25,.46,.45,.94), filter .5s;
}
.work-card:hover .work-img { transform: scale(1.06); filter: saturate(1); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(14,14,12,0.88) 0%,
    rgba(14,14,12,0.2) 50%,
    transparent 100%);
  transition: opacity .3s;
}
.work-tag {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 10px;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
}
.work-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 28px; z-index: 2;
  transform: translateY(5px); transition: transform .3s;
}
.work-card:hover .work-content { transform: translateY(0); }
.work-cat {
  font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-l);
  margin-bottom: 7px;
}
.work-title {
  font-family: var(--f-serif);
  font-size: 22px; font-weight: 400;
  color: var(--white); line-height: 1.25;
  letter-spacing: -0.3px; margin-bottom: 7px;
}
.work-meta {
  font-size: 16px; color: rgba(255, 255, 255, 0.757);
  letter-spacing: .5px;
  opacity: 1; transform: translateY(6px);
  transition: opacity .3s .05s, transform .3s .05s;
}
/* .work-card:hover .work-meta { opacity: 1; transform: translateY(0); } */

/* ── NUMBERS ───────────────────────────────────────────────────── */
.numbers-band {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.num-item {
  padding: 56px 44px;
  border-right: 1px solid var(--line);
  position: relative;
}
.num-item:last-child { border-right: none; }
.num-item::before {
  content: '';
  position: absolute; top: 0; left: 0;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width .6s ease;
}
.num-item.in::before { width: 100%; }
.num-val {
  font-family: var(--f-serif);
  font-size: 64px; font-weight: 300;
  letter-spacing: -4px; color: var(--ink);
  line-height: 1; margin-bottom: 10px;
}
.num-val sup { font-size: 28px; letter-spacing: 0; color: var(--gold); vertical-align: super; }
.num-label {
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted);
}

/* ── GLOBAL REACH ──────────────────────────────────────────────── */
/* Section Container Styling */
.reach-section {
  background-color: #121212; /* Dark background matching the image */
  color: #ffffff;
  padding: 80px 20px;
  font-family: sans-serif; /* Adjust to match your project's body font */
}

.reach-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Typography Matching image_d7e566.jpg */
.reach-top h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: normal;
}

.reach-top .gold-text {
  color: #c5a880; /* Elegant gold/bronze color from image */
  font-style: italic;
}

.reach-top p {
  color: #888888;
  max-width: 700px;
  margin: 0 auto 15px auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

.reach-markets {
  color: #666666;
  font-size: 0.85rem;
  margin-bottom: 50px;
}

/* Responsive Grid Layout */
.reach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  gap: 16px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Pill-shaped Badge Styling */
.country-pill {
  background-color: #1c1c1c; /* Dark grey pill background */
  border: 1px solid #252525;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 10px 18px;
  text-align: left;
  transition: background-color 0.3s ease;
}

.country-pill:hover {
  background-color: #252525;
}

/* Pill Flags (Circularized) */
.country-pill img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 14px;
}

/* Pill Country Text */
.country-pill span {
  font-size: 0.9rem;
  color: #e0e0e0;
  font-weight: 400;
  font-family: var(--f-serif);
}

/* --- Responsive Breakpoints --- */

/* Desktop & Tablets (3 columns) */
@media (max-width: 992px) {
  .reach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small Tablets / Landscape Phones (2 columns) */
@media (max-width: 768px) {
  .reach-top h2 {
    font-size: 2rem;
  }
  .reach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Portrait (1 column) */
@media (max-width: 480px) {
  .reach-section {
    padding: 50px 15px;
  }
  .reach-grid {
    grid-template-columns: 1fr;
  }
  .country-pill {
    padding: 12px 20px;
  }
}

/* ── WHY BUD ───────────────────────────────────────────────────── */
.why-section {
  background: var(--cream);
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-left {
  padding: 100px 56px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
}
.why-img-block {
  position: relative; height: auto;
  margin-top: 48px; overflow: hidden;
}
.why-img-block img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform .6s ease;
}
.why-img-block:hover img { transform: scale(1.04); }
.why-img-overlay { position: absolute; inset: 0; background: rgba(26,26,24,0.25); }
.why-img-caption {
  position: absolute; bottom: 18px; left: 18px;
  font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.why-right { padding: 100px 56px; }
.why-point {
  padding: 26px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 24px;
}
.why-point:first-child { padding-top: 0; }
.why-pt-num {
  font-family: var(--f-serif);
  font-size: 13px; color: var(--stone);
  min-width: 22px; padding-top: 4px;
}
.why-pt-title {
  font-family: var(--f-serif);
  font-size: 20px; font-weight: 400;
  color: var(--ink); letter-spacing: -0.3px;
  margin-bottom: 7px; transition: color .2s;
}
.why-point:hover .why-pt-title { color: var(--gold); }
.why-pt-body {
  font-size: 13px; font-weight: 300;
  color: var(--muted); line-height: 1.7;
}

/* ── TESTIMONIALS ──────────────────────────────────────────────── */
.test-section {
  background: var(--parchment);
  padding: 100px 56px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.test-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px;
}
.test-nav-header{
    display:none;
    justify-content:flex-end;
    align-items:center;
    margin-bottom:30px;
}

.test-nav{
    display:flex;
    gap:12px;
}

.test-arrow{

    width:40px;
    height:40px;

    border:1px solid var(--gold);
    border-radius:50%;

    background:var(--white);
    color:var(--gold);

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    transition:.35s ease;

    font-size:16px;
}

.test-arrow:hover{

    background:var(--gold);
    color:var(--white);

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(184,151,90,.25);

}

.test-arrow:disabled{

    opacity:.35;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;

}
/* Slider Track Frame Window */
.test-slider-container {
  max-width: 900px; /* Limits the view size of the single card on large screens */
  margin: 0 auto;
  overflow: hidden;
}

/* Changed to horizontal flex-row for slider mechanics */
.test-grid {
  display: flex;
  flex-direction: row;
  gap: 40px; /* Space between slides */
  cursor: grab;
  user-select: none;
  
  /* Smooth programmatic scrolling when using dots */
  scroll-behavior: smooth; 
  overflow-x: auto;
  overflow-y: hidden;
  
  /* Hide standard scrollbars */
  scrollbar-width: none; /* Firefox */
}
.test-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.test-grid:active {
  cursor: grabbing;
}

/* Forces each card to be exactly 100% width of the slider window container */
.test-card {
  background: var(--parchment);
  border: 1px solid var(--line);
  padding: 44px 36px;
  transition: background .2s;
  flex: 0 0 100%; /* CRITICAL: Prevents columns from shrinking or stacking */
  box-sizing: border-box;
}
.test-card:hover { background: var(--white); }

.test-mark {
  font-family: var(--f-serif);
  font-size: 72px; line-height: 0.7;
  color: var(--stone); margin-bottom: 20px; display: block;
}
.test-quote {
  font-family: var(--f-serif);
  font-size: 20px; font-weight: 300;
  font-style: italic; color: var(--charcoal);
  line-height: 1.6; margin-bottom: 28px;
}
.test-rule {
  width: 28px; height: 1px;
  background: var(--gold); margin-bottom: 18px;
}
.test-name {
  font-family: var(--f-serif);
  font-size: 15px; font-weight: 500;
  color: var(--ink); margin-bottom: 3px;
}
.test-co {
  font-size: 11px; letter-spacing: .5px;
  color: var(--muted); text-transform: uppercase;
}

/* Visible Navigation Dots Styling */
.test-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.test-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--stone);
  opacity: 0.4;
  cursor: pointer;
  transition: all 0.3s ease;
}
.test-dots .dot.active {
  opacity: 1;
  background-color: var(--ink);
  transform: scale(1.2);
}

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
  .test-section { padding: 60px 24px; }
  .test-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 35px;
  }
  .test-quote { font-size: 18px; }
  .test-grid { gap: 20px; }
}
/* ── CTA ───────────────────────────────────────────────────────── */
.cta-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.cta-left {
  padding: 100px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--line);
  background: var(--cream);
}
.cta-left h2 {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(48px, 5.5vw, 84px);
  letter-spacing: -3px; line-height: 0.95;
  color: var(--ink);
}
.cta-left h2 em { font-style: italic; color: var(--gold); }
.cta-body {
  font-size: 14px; font-weight: 300;
  color: var(--warm); line-height: 1.75;
  max-width: 380px; margin-top: 28px;
}
.cta-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 44px; }
/* .cta-right {
  position: relative; overflow: hidden;
  background: var(--charcoal);
}
.cta-right img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.45;
  filter: saturate(0);
  transition: opacity .4s;
}
.cta-right:hover img { opacity: 0.6; }
.cta-right-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(184,151,90,0.1) 0%,
    rgba(14,14,12,0.5) 100%);
}
.cta-right-caption {
  position: absolute; bottom: 44px; left: 44px;
  font-family: var(--f-serif);
  font-size: 12px; font-style: italic;
  color: rgba(255,255,255,0.35);
} */
.cta-right {
  position: relative;
  width: 100%; /* Adjust based on your layout split */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Keeps caption at the bottom */
}

.cta-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* This ensures the video fills the area without stretching */
  z-index: 1;
}

.cta-right-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Adjust darkness as needed */
  z-index: 2;
}

.cta-right-caption {
  position: relative;
  z-index: 3;
  color: #fff;
  padding: 40px;
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
}

/* Responsive adjustments for Mobile */
@media (max-width: 768px) {
  .cta-right {
    width: 100%;
    height: 50vh; /* Stack vertically on smaller screens */
  }
}

/* ── FOOTER ────────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 80px 56px 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dk);
  margin-bottom: 36px;
}
.footer-brand-name {
  font-family: var(--f-serif);
  font-weight: 600; font-size: 30px;
  letter-spacing: 7px; color: var(--white);
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.28);
  line-height: 1.75; max-width: 290px;
}
.footer-col h4 {
  font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.42);
  text-decoration: none; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-size: 11px; letter-spacing: 1px;
  color: rgba(255,255,255,0.18);
}
.footer-socials { display: flex; gap: 24px; }
.footer-socials a {
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  text-decoration: none; transition: color .2s;
}
.footer-socials a:hover { color: var(--gold); }

/* ── REVEAL ────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .22s; }
.d3 { transition-delay: .34s; }
.d4 { transition-delay: .46s; }
/* ── MODAL STYLES ───────────────────────────────────────────────── */
body.modal-open {
  overflow: hidden; /* Prevents background scrolling when modal is active */
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 12, 0.85); /* Deep ink transparency */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000; /* Stays securely on top of everything else */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--cream);
  width: 100%;
  max-width: 960px;
  min-height: 580px;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  transform: translateY(40px) scale(0.98);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}

/* Close Button (X) */
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-family: var(--f-serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--warm);
  cursor: pointer;
  z-index: 10;
  line-height: 0.5;
  padding: 8px;
  transition: color 0.2s ease;
}
.modal-close:hover {
  color: var(--gold-d);
}
.btn-dark {
  font-size: 10px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--white); background: var(--charcoal);
  padding: 15px 38px; text-decoration: none;
  border: 1px solid var(--charcoal);
  transition: background .22s, color .22s, border-color .22s;
  display: inline-block;
}
.btn-dark:hover {
  background: var(--gold);
  border-color: var(--gold);
}
/* Left Section Info Panel */
.modal-info {
  background: var(--charcoal);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--white);
  margin-top: 24px;
  margin-bottom: 24px;
}
.modal-title em {
  font-style: italic;
  color: var(--gold);
}

.modal-text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: auto;
}

.modal-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid var(--line-dk);
  padding-top: 24px;
}

.meta-item span {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-l);
  display: block;
  margin-bottom: 4px;
}
.meta-item p {
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
}
.meta-item a {
  font-size: 13px;
  font-weight: 300;
  color: var(--stone);
  text-decoration: none;
}
/* Right Section Form Panel */
.modal-form-container {
  padding: 64px 56px;
  background: var(--white);
  display: flex;
  align-items: center;
}

.modal-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--warm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold);
}

/* Custom styling override for cross-browser reset on Select box arrow */
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%235C5850' stroke-width='1' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  padding:5px 10px;
}
.form-group option {padding: 10px;}
.form-submit {
  align-self: flex-start;
  margin-top: 8px;
  cursor: pointer;
}

/* ── MODAL RESPONSIVE BREAKPOINTS ─────────────────────────────── */
@media (max-width: 860px) {
  .modal-window {
    grid-template-columns: 1fr;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-info {
    padding: 48px 36px 36px;
  }
  .modal-title {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .modal-meta {
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
  }
  .modal-form-container {
    padding: 40px 36px;
  }
}
/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  nav, nav.scrolled { padding-left: 32px; padding-right: 32px; }
  .clients-strip { padding: 0 32px; }
  .intro-section { grid-template-columns: 1fr; }
  .intro-left { display: none; }
  .intro-right { padding: 72px 32px; }
  .services-header { padding: 56px 32px; grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .work-section { padding: 80px 32px; }
  .numbers-band { grid-template-columns: 1fr 1fr; }
  .reach-section { padding: 80px 32px; }
  .reach-grid { grid-template-columns: 1fr 1fr; }
  .why-section { grid-template-columns: 1fr; }
  .why-left { border-right: none; border-bottom: 1px solid var(--line); padding: 64px 32px; }
  .why-right { padding: 64px 32px; }
  .test-section { padding: 40px 32px; }
  .test-grid { grid-template-columns: 1fr; }
  .cta-section { grid-template-columns: 1fr; }
  .cta-right { height: 380px; }
  .cta-left { padding: 80px 32px; border-right: none; }
  footer { padding: 64px 32px 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .reach-top { flex-direction: column; gap: 24px; align-items: flex-start; }
  .reach-top p { text-align: left; }
  .dummy-card{display: none;}
}
@media (max-width: 768px) {

  .services-grid { grid-template-columns: 1fr; }
  .work-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .work-card.tall { display: none;}
  .numbers-band { grid-template-columns: 1fr 1fr; }
  .reach-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom {flex-direction: column; gap: 10px;}
  /* .nav-links { display: none; } */
}
@media (max-width: 768px) {
  .clients-strip {
    gap: 15px;
    overflow: hidden; /* Prevents the whole strip/page from breaking layout width */
  }

  .clients-label {
    margin-bottom: 5px;
  }

  .clients-logos {
    width: 100%;
    gap: 30px;
    
    /* Enables clean, isolated touch scrolling */
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-wrap: nowrap; /* Forces layout to stay inline horizontally */
    
    /* Custom padding so logos don't clip at the container edge during scroll */
    padding-bottom: 10px; 
    
    /* Native smooth kinetic scrolling for iOS/Android devices */
    -webkit-overflow-scrolling: touch; 
    
    /* Hides standard ugly desktop scrollbars inside mobile viewports */
    scrollbar-width: none; /* Firefox */
  }

  /* Hide scrollbar for Chrome, Safari, and Opera */
  .clients-logos::-webkit-scrollbar {
    display: none;
  }
  
  .client-name {
    flex-shrink: 0; /* Vital: Keeps text strings from squishing together */
  }
}
@media (max-width: 768px) {
    .reach-section {padding: 30px;}
  .reach-flags {
    width: 100%;
    gap: 30px;
    
    /* Enables clean, isolated touch scrolling */
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-wrap: nowrap; /* Forces layout to stay inline horizontally */
    
    /* Custom padding so logos don't clip at the container edge during scroll */
    padding-bottom: 10px; 
    
    /* Native smooth kinetic scrolling for iOS/Android devices */
    -webkit-overflow-scrolling: touch; 
    
    /* Hides standard ugly desktop scrollbars inside mobile viewports */
    scrollbar-width: none; /* Firefox */
  }

  /* Hide scrollbar for Chrome, Safari, and Opera */
  .reach-flags::-webkit-scrollbar {
    display: none;
  }
  .reach-name {font-size: 20px;}
  .reach-card {padding: 0;}
}
.error{
    display:block;
    margin-top:6px;
    color:#d32f2f;
    font-size:13px;
    font-weight:500;
}

.input-error{
    border:1px solid #d32f2f !important;
}

/* ==========================================================================
   HERO SECTION LAYOUT
   ========================================================================== */
.hero {
  display: flex;
  min-height: calc(100vh - 80px); /* Adjust based on your actual nav height */
  background-color: #f6f4ee; /* Off-white warm background from image */
  padding: 10% 4% 60px 6%;
  box-sizing: border-box;
  align-items: center;
}

/* Left Content Column */
.hero-left {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Right Slider Column */
.hero-right {
  flex: 0 0 55%;
  position: relative;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   TYPOGRAPHY & LEFT STATIC CONTENT
   ========================================================================== */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
    animation: fadeUp .7s ease .3s both;
    position: relative;
}

/* Tiny indicator line next to the eyebrow */
.hero-eyebrow::before {
  content: '';
    width: 36px;
    height: 1px;
    background: var(--gold);
}

.hero-headline {
     font-family: var(--f-serif);
    font-weight: 300;
    font-size: clamp(40px, 7.5vw, 80px);
    line-height: 0.95;
    letter-spacing: -2px;
    color: var(--ink);
    margin-bottom: 40px;
    animation: fadeUp .85s ease .4s both;
    position: relative;
}

.hero-headline em {
  font-style: italic;
  color: #bfa67a; /* Gold tone matching the "flawless" font style */
  font-weight: 400;
}

.hero-body {
    font-size: 15px;
    font-weight: 300;
    color: var(--warm);
    max-width: 420px;
    line-height: 1.75;
    margin-bottom: 48px;
    animation: fadeUp .8s ease .55s both;
    position: relative;
}

.hero-body strong {
  color: #1a1a1a;
  font-weight: 600;
}

/* Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 60px;
}

.btn-primary {
  font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--charcoal);
    padding: 15px 38px;
    text-decoration: none;
    border: 1px solid var(--charcoal);
    transition: background .22s, color .22s, border-color .22s;
    display: inline-block;
}

.btn-primary:hover {
  background-color: #333333;
}

.btn-text {
  font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--warm);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color .2s;
}

/* Scroll Indicator Footer */
.hero-scroll {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a29e95;
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-scroll-line {
  width: 40px;
  height: 1px;
  background-color: #c5c2bb;
}

/* ==========================================================================
   SLIDER STYLING (MATCHING THE IMAGE FRAME)
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18 / 1; /* Matches the landscape proportions of the slider window */
  background-color: var(--parchment); 
  border-radius: 40px; /* Distinctly rounded corners from screen snapshot */
  padding: 24px; /* Internal outer frame spacing gap */
  box-sizing: border-box;
  overflow: hidden;
}

/* The wrapper container holding the slides inside the outer border padding */
.hero-slide {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  border-radius: 24px; /* Inner frame radius rounding */
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures your slide banners scale without distorting */
  display: block;
}

/* Slide Info/Counters overlay adjustments if needed */
.hero-img-num {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  z-index: 5;
}

/* Progress bar alignment positioned perfectly at the bottom inner edge */
.hero-slider-progress {
  position: absolute;
  bottom: 24px;
  left: 48px;
  right: 48px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.hero-slider-progress-bar {
  height: 100%;
  width: 0%;
  background-color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 60px 5%;
    gap: 50px;
  }
  .hero-left, .hero-right {
    flex: 0 0 100%;
    width: 100%;
  }
  .hero-headline {
    font-size: 3.5rem;
  }
}

@media (max-width: 576px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .btn-primary {
    width: 100%;
    text-align: center;
  }
  .hero-slider {
    border-radius: 24px;
    padding: 12px;
  }
  .hero-slide {
    top: 12px; left: 12px; right: 12px; bottom: 12px;
    border-radius: 14px;
  }
}