/**
 * Kayal PVC Interior Design — Custom Styles
 * 
 * Target: Vanilla Stack Migration (HTML/CSS/JS/PHP/MySQL)
 * Recreates Tailwind v4 theme variables, utility classes, and custom animations.
 */

/* ---------------- Design System & Theme Variables ---------------- */
:root {
    --color-navy: #1B3A5C;
    --color-navy-deep: #0F2236;
    --color-navy-darker: #091623;
    --color-teal: #3E8E92;
    --color-teal-light: #EBF5F5;
    --color-gold: #C48A3E;
    --color-gold-dark: #A8752F;
    --color-gold-pressed: #8F6127;
    --color-gold-light: #FDF3E3;
    --color-silver: #A8ADB4;
    --color-lotus: #7A9A4E;
    --color-ink: #1F2225;
    --color-ink-2: #4A5057;
    --color-ink-3: #8A9299;
    --color-bg: #FFFFFF;
    --color-bg-section: #F4F6F7;
    --color-border-line: #E1E5E7;
    --color-border-soft: #EEF1F2;

    --color-background: #FFFFFF;
    --color-foreground: #1F2225;
    --color-primary: #1B3A5C;
    --color-primary-foreground: #FFFFFF;
    --color-secondary: #EBF5F5;
    --color-secondary-foreground: #1B3A5C;
    --color-muted: #F4F6F7;
    --color-muted-foreground: #4A5057;
    --color-accent: #C48A3E;
    --color-accent-foreground: #FFFFFF;
    --color-destructive: #b00020;
    --color-destructive-foreground: #FFFFFF;
    --color-border: #E1E5E7;
    --color-input: #E1E5E7;
    --color-ring: #C48A3E;
    --color-card: #FFFFFF;
    --color-card-foreground: #1F2225;
    --color-popover: #FFFFFF;
    --color-popover-foreground: #1F2225;

    --font-heading: "Poppins", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
    --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --shadow-sm: 0 2px 8px rgba(27, 58, 92, 0.07);
    --shadow-card: 0 4px 12px rgba(27, 58, 92, 0.09);
    --shadow-hover: 0 8px 24px rgba(27, 58, 92, 0.15);
    --shadow-elev: 0 16px 48px rgba(27, 58, 92, 0.18);

    --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
    --ease-cinematic: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------------- Base Styles ---------------- */
* {
    border-color: var(--color-border);
}
html {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}
body {
    background: var(--color-bg);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    padding-bottom: 0;
}
body.mobile-nav-active {
    overflow: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    letter-spacing: -0.01em;
}
h1 {
    font-weight: 700;
    font-size: clamp(32px, 6vw, 60px);
    line-height: 1.05;
}
h2 {
    font-weight: 700;
    font-size: clamp(26px, 4.2vw, 42px);
    line-height: 1.15;
}
h3 {
    font-weight: 600;
    font-size: clamp(19px, 2.6vw, 26px);
    line-height: 1.25;
}
h4 {
    font-weight: 600;
    font-size: clamp(16px, 2vw, 20px);
}
input, textarea, select {
    font-family: inherit;
    font-size: 16px;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: inherit;
}
::selection {
    background: var(--color-gold);
    color: white;
}

/* ---------------- Core Layouts & Badge Utils ---------------- */
.container-x {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 40px);
}
.section-py {
    padding-block: clamp(56px, 9vw, 110px);
}
.kbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 14px 26px;
    border-radius: 8px;
    transition: all 250ms cubic-bezier(.4,0,.2,1);
    border: 2px solid transparent;
    cursor: pointer;
}
.kbtn-primary {
    background: var(--color-gold);
    color: #fff;
    border-color: var(--color-gold);
}
.kbtn-primary:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(196,138,62,.35);
}
.kbtn-primary:active {
    transform: scale(.97);
    background: var(--color-gold-pressed);
}
.kbtn-secondary {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}
.kbtn-secondary:hover {
    background: var(--color-navy);
    color: #fff;
}
.kbtn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.kbtn-ghost:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
}
.section-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--color-gold);
    display: inline-block;
}

/* ---------------- Dynamic Visual Effects ---------------- */
.card-lift {
    transition: transform 450ms var(--ease-luxury), box-shadow 450ms var(--ease-luxury);
    will-change: transform;
}
.card-lift:hover {
    transform: translateY(-8px) scale(1.008);
    box-shadow: 0 24px 60px rgba(27,58,92,.22);
}
.float-in {
    animation: floatIn .8s var(--ease-luxury) both;
}
.ken-burns {
    animation: kenBurns 9s var(--ease-cinematic) both;
}
.wa-pulse {
    position: relative;
}
.wa-pulse::before, .wa-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37,211,102,.35);
    z-index: -1;
    pointer-events: none;
}
.wa-pulse::before {
    animation: waRing 2.4s var(--ease-cinematic) infinite;
}
.wa-pulse::after {
    animation: waRing 2.4s var(--ease-cinematic) 0.9s infinite;
}
.link-underline {
    position: relative;
}
.link-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: var(--color-gold);
    transition: width 300ms var(--ease-luxury);
}
.link-underline:hover::after, .link-underline.active::after {
    width: 100%;
}
.link-underline.active {
    color: var(--color-gold) !important;
}
.dot-grid {
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 22px 22px;
}
.kp-divider {
    display: block;
    width: 42px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
    margin-top: 12px;
}
.reveal-clip {
    clip-path: inset(0 0 100% 0);
    animation: clipReveal 1.2s var(--ease-cinematic) forwards;
}
.overlay-slide {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,58,92,.94) 0%, rgba(62,142,146,.55) 70%, transparent 100%);
    transform: translateY(100%);
    transition: transform 500ms var(--ease-luxury);
    display: flex;
    align-items: flex-end;
}
.group:hover .overlay-slide {
    transform: translateY(0);
}

/* ---------------- Hero Sections & COUNTERS ---------------- */
.hero-slider-container {
    position: relative;
    height: 100vh;
    min-height: 560px;
    width: 100%;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1200ms ease-in-out;
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* ---------------- Before / After Compare Slider ---------------- */
.before-after-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
    touch-action: pan-y;
}
.before-after-handle {
    cursor: col-resize;
}

/* ---------------- 3D Tilt Glare Overlay ---------------- */
.glare-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 300ms;
    z-index: 5;
}
.group:hover .glare-overlay {
    opacity: 1;
}

/* ---------------- Tinder Testimonials Stack ---------------- */
.testimonials-stack-container {
    position: relative;
    width: 100%;
    max-width: 680px;
    height: 380px;
    margin: 0 auto;
}
@media (min-width: 576px) {
    .testimonials-stack-container {
        height: 340px;
    }
}
@media (min-width: 768px) {
    .testimonials-stack-container {
        height: 320px;
    }
}
.testimonial-card-stack {
    position: absolute;
    inset: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(27,58,92,.14);
    will-change: transform, opacity;
}
.testimonial-card-stack.draggable {
    cursor: grab;
}
.testimonial-card-stack.draggable:active {
    cursor: grabbing;
}

/* ---------------- Accordion Smooth Grid Transition ---------------- */
.accordion-grid-container {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms var(--ease-smooth);
}
.accordion-grid-container.open {
    grid-template-rows: 1fr;
}
.accordion-grid-content {
    overflow: hidden;
}

/* Premium Dark Theme Accordion Overrides */
.dark-faq-accordion {
    transition: all 300ms var(--ease-luxury);
}
.dark-faq-accordion:hover {
    border-color: rgba(196, 138, 62, 0.4) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 10px 30px rgba(9, 22, 35, 0.3);
}
.dark-faq-accordion .accordion-header {
    color: rgba(255, 255, 255, 0.9) !important;
}
.dark-faq-accordion .accordion-header.text-teal {
    color: var(--color-gold) !important;
}
.dark-faq-accordion .accordion-header.text-teal .accordion-plus-icon {
    border-color: var(--color-gold) !important;
    background-color: var(--color-gold) !important;
    color: var(--color-navy-deep) !important;
}
.dark-faq-accordion .accordion-plus-icon {
    transition: transform 300ms, background-color 300ms, border-color 300ms, color 300ms;
}

/* ---------------- Lightbox Modal ---------------- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
    padding: 1rem;
}
.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* ── Container ── */
.kp-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding-left: 25px;
  padding-right: 25px;
  box-sizing: border-box;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ISSUE 1 — TOP INFO BAR CSS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#kp-topbar {
  background: #091623;
  height: 36px;                        /* Fixed height — do not change */
  display: flex;
  align-items: center;
  position: relative;
  z-index: 201;
  border-bottom: 1px solid rgba(62,142,146,0.15);
  box-sizing: border-box;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;                     /* 12px — not 14px, not 16px */
  font-weight: 400;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.topbar-contact:hover { color: #C48A3E; }
.topbar-contact i {
  font-size: 11px;
  color: #3E8E92;
}
.topbar-divider {
  color: rgba(255,255,255,0.20);
  font-size: 12px;
  user-select: none;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-social {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.55);
  font-size: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.topbar-social:hover {
  border-color: #C48A3E;
  color: #C48A3E;
}
.topbar-wa {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #25D366;
  padding: 3px 10px;
  border: 1px solid rgba(37,211,102,0.28);
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  margin-left: 6px;
}
.topbar-wa i { font-size: 12px; }
.topbar-wa:hover {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
/* HIDE top bar on mobile */
@media (max-width: 768px) {
  #kp-topbar { display: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ISSUE 2 — NAVBAR LOGO CSS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;                       /* CRITICAL — prevents logo from shrinking */
  min-width: 0;
}
.nav-logo img {
  width: 44px;
  height: 44px;
  min-width: 44px;                      /* CRITICAL — prevents image from shrinking */
  border-radius: 50%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.30));
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  gap: 3px;
  white-space: nowrap;                  /* CRITICAL — prevents text wrapping */
  min-width: 0;
}
.nav-logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
  display: block;
}
.nav-logo-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #3E8E92;                       /* Teal — not gold */
  line-height: 1;
  display: block;
}
/* On mobile — hide the text, show logo image only */
@media (max-width: 480px) {
  .nav-logo-text { display: none; }
  .nav-logo img  { width: 38px; height: 38px; min-width: 38px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ISSUE 3 — MAIN NAVBAR LAYOUT & HEIGHT CSS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#kp-nav {
  position: fixed;
  top: 36px;                            /* sits below 36px top bar */
  left: 0;
  right: 0;
  z-index: 200;
  height: 68px;                         /* FIXED height — never changes */
  background: transparent;
  transition:
    background   0.35s cubic-bezier(0.4,0,0.2,1),
    box-shadow   0.35s cubic-bezier(0.4,0,0.2,1),
    top          0.35s cubic-bezier(0.4,0,0.2,1),
    transform    0.35s cubic-bezier(0.4,0,0.2,1);
}
/* After scrolling past top bar */
#kp-nav.scrolled {
  background: #1B3A5C;
  box-shadow: 0 2px 24px rgba(27,58,92,0.28);
  top: 0;
}
/* Hide on mobile scroll-down */
#kp-nav.nav-hidden {
  transform: translateY(-100%);
}
/* Mobile: always start from top:0 (no top bar) */
@media (max-width: 768px) {
  #kp-nav       { top: 0; height: 60px; }
  #kp-nav.scrolled { top: 0; }
}

/* ── Nav inner row ── */
.nav-inner {
  display: flex;
  align-items: center;                  /* CRITICAL — vertical center everything */
  justify-content: space-between;
  height: 68px;                         /* Must match #kp-nav height */
  gap: 16px;
}
@media (max-width: 768px) {
  .nav-inner { height: 60px; }
}

/* ── Nav links (desktop) ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;                              /* takes available space between logo and actions */
  justify-content: center;              /* center the links */
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  padding: 6px 12px;                   /* padding for click area, not gap */
  position: relative;
  display: block;
  white-space: nowrap;
  transition: color 0.2s ease;
}
/* Underline hover effect */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;                          /* aligns with text start */
  right: 12px;                         /* aligns with text end */
  height: 1.5px;
  background: #C48A3E;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover                { color: #FFFFFF; }
.nav-links a:hover::after         { transform: scaleX(1); }
.nav-links a.active               { color: #C48A3E; }
.nav-links a.active::after        { transform: scaleX(1); }

/* ── Nav right actions ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
/* CTA button */
.nav-cta-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1B3A5C;
  background: #C48A3E;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    transform  0.25s cubic-bezier(0.34,1.4,0.64,1),
    box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
}
.nav-cta-btn:hover {
  background: #A8752F;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(196,138,62,0.35);
}
.nav-cta-btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

/* ── Hamburger button ── */
.kp-ham {
  display: none;                        /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  -webkit-tap-highlight-color: transparent;
}
.kp-ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  transform-origin: center;
}
.kp-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kp-ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.kp-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive breakpoints ── */
/* Tablet — hide some links */
@media (max-width: 1200px) {
  .nav-links a { padding: 6px 9px; font-size: 11px; letter-spacing: 1px; }
}
/* Below 1024px — hide nav links entirely, show hamburger */
@media (max-width: 1024px) {
  .nav-links    { display: none; }
  .nav-cta-btn  { display: none; }   /* hide CTA on tablet too */
  .kp-ham       { display: flex; }
}
/* Mobile */
@media (max-width: 768px) {
  .kp-ham       { display: flex; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ISSUE 4 — MOBILE FULL-SCREEN MENU CSS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.kp-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: #1B3A5C;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1),
              visibility 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
/* Background dot pattern */
.kp-mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(62,142,146,0.10) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}
.kp-mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mob-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mob-close:hover { border-color: #C48A3E; color: #C48A3E; }

.mob-nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 700;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  padding: 10px 28px;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    color   0.2s ease,
    opacity 0.35s cubic-bezier(0.4,0,0.2,1),
    transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.kp-mobile-menu.open .mob-nav-link { opacity: 1; transform: translateY(0); }
/* Stagger delays */
.mob-nav-link:nth-child(2)  { transition-delay: 0.05s; }
.mob-nav-link:nth-child(3)  { transition-delay: 0.09s; }
.mob-nav-link:nth-child(4)  { transition-delay: 0.13s; }
.mob-nav-link:nth-child(5)  { transition-delay: 0.17s; }
.mob-nav-link:nth-child(6)  { transition-delay: 0.21s; }
.mob-nav-link:nth-child(7)  { transition-delay: 0.25s; }
.mob-nav-link:nth-child(8)  { transition-delay: 0.29s; }
.mob-nav-link:nth-child(9)  { transition-delay: 0.33s; }
.mob-nav-link:nth-child(10) { transition-delay: 0.37s; }
.mob-nav-link:hover  { color: #C48A3E; }
.mob-nav-link.active { color: #C48A3E; }

.mob-menu-cta {
  margin-top: 16px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease 0.38s, transform 0.35s ease 0.38s;
}
.kp-mobile-menu.open .mob-menu-cta { opacity: 1; transform: translateY(0); }

/* Lock scroll when menu open */
body.menu-open { overflow: hidden; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ISSUE 5 — HERO SECTION LAYOUT FIXES CSS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── Hero wrapper ── */
.kp-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  /* No margin-top needed — hero goes full screen behind fixed nav */
}

/* ── Hero content positioning ── */
.hero-content {
  position: absolute;
  top: 50%;
  left: clamp(20px, 8%, 110px);
  right: clamp(20px, 8%, 110px);
  transform: translateY(-50%);
  max-width: 640px;
  z-index: 5;
  padding-top: 60px;                   /* push content down below nav area */
}
@media (max-width: 768px) {
  .hero-content {
    left: 20px;
    right: 20px;
    max-width: 100%;
    padding-top: 40px;
  }
}

/* ── Hero label (small text above H1) ── */
.hero-label-txt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C48A3E;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(14px);
}
.hero-label-txt::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: #C48A3E;
  flex-shrink: 0;
}
/* Animation handled by GSAP on active slide */

/* ── Hero H1 ── */
.hero-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(30px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  .hero-h1 { font-size: clamp(28px, 8vw, 40px); }
}

/* ── Hero subtitle ── */
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.68;
  max-width: 480px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(16px);
}
@media (max-width: 768px) {
  .hero-sub { max-width: 100%; }
}

/* ── Hero buttons ── */
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
}
@media (max-width: 768px) {
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  .hero-btns .kp-btn { width: 100%; justify-content: center; }
}

/* REMOVE Bootstrap default border-radius on buttons — use brand 8px */
.hero-btns .kp-btn {
  border-radius: 8px !important;       /* Override any Bootstrap rounded classes */
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
/* Primary gold button */
.hero-btns .kp-btn--primary {
  background: #C48A3E;
  color: #1B3A5C;
  border: 2px solid #C48A3E;
}
.hero-btns .kp-btn--primary:hover {
  background: #A8752F;
  border-color: #A8752F;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196,138,62,0.35);
}
/* Ghost outline button */
.hero-btns .kp-btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.40);
}
.hero-btns .kp-btn--ghost:hover {
  border-color: #C48A3E;
  color: #C48A3E;
}

/* ── Slide counter (top right) ── */
.slide-counter {
  position: absolute;
  top: 50%;
  right: clamp(20px, 4vw, 56px);
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.sc-current {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #C48A3E;
  line-height: 1;
  letter-spacing: -1px;
}
.sc-line {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.22);
  margin: 6px auto;
}
.sc-total {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.40);
  line-height: 1;
}
/* Hide on mobile */
@media (max-width: 768px) {
  .slide-counter { display: none; }
}

/* ── Swiper pagination dots ── */
.hero-swiper .swiper-pagination {
  bottom: 28px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.38);
  border-radius: 4px;
  opacity: 1;
  margin: 0 !important;
  transition: all 0.35s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: #C48A3E;
  width: 24px;
  border-radius: 4px;
}

/* ── Scroll indicator ── */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: clamp(20px, 8%, 110px);        /* aligned with hero content left edge */
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  opacity: 0;
  animation: scrollHintIn 0.6s ease 1.8s forwards;
}
@keyframes scrollHintIn { to { opacity: 1; } }
.scroll-hint-txt {
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
}
.scroll-hint-line {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, #C48A3E 0%, transparent 100%);
  animation: scrollLineAnim 1.8s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes scrollLineAnim {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0.15; }
}
/* Hide on mobile — use pagination dots only */
@media (max-width: 768px) {
  .scroll-hint { display: none; }
}

/* ---------------- Keyframe Animations ---------------- */
@keyframes floatIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes kenBurns {
    from { transform: scale(1.12) translateX(0); }
    to { transform: scale(1) translateX(-14px); }
}
@keyframes waRing {
    0%   { transform: scale(1);   opacity: .7; }
    100% { transform: scale(2.4); opacity: 0; }
}
@keyframes clipReveal {
    from { clip-path: inset(0 0 100% 0); }
    to   { clip-path: inset(0 0 0% 0); }
}
@keyframes hintPulse {
    0%, 100% { opacity: .45; }
    50%      { opacity: 1; }
}
@keyframes scrollDot {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
}
@keyframes floatOrb {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50%      { transform: translate3d(6%, -4%, 0) scale(1.08); }
}
@keyframes floatOrbAlt {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50%      { transform: translate3d(-5%, 5%, 0) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
