/* ==========================================================================
   UTTARAKHAND JEWELLERS — MASTER STYLESHEET V2
   Brand Identity: Midnight Navy (#14263F), Pearl White (#FFFFFF), Champagne Gold (#C3A06B)
   Mobile-First, Accessible (WCAG 2.2 AA), Framework-Free Vanilla CSS
   ========================================================================== */

/* Design Tokens & CSS Custom Properties */
:root {
  /* Core Brand Colors */
  --color-navy: #14263F;
  --color-navy-dark: #0B1728;
  --color-navy-light: #1E375B;
  --color-navy-surface: #182E4B;
  --color-white: #FFFFFF;
  --color-pearl: #FAFCFE;
  --color-surface-subtle: #F4F7FB;
  --color-surface-card: #FFFFFF;
  
  /* Metallic & Accent Tokens */
  --color-gold: #C3A06B;
  --color-gold-hover: #AF8C57;
  --color-gold-dark: #8C6A37;
  --color-gold-light: #F6EFE5;
  --color-gold-border: rgba(195, 160, 107, 0.35);
  --color-gold-glow: rgba(195, 160, 107, 0.15);
  
  /* Restrained Tertiary Accent (Royal Burgundy) */
  --color-burgundy: #6B283C;
  --color-burgundy-light: #FAF0F3;
  
  /* Typography & Neutral Colors */
  --color-text-main: #252525;
  --color-text-muted: #565D65;
  --color-text-light: #8E96A0;
  --color-border: #E3E8EF;
  --color-border-subtle: #EEF2F6;

  /* WhatsApp Verified Accent (Tactful) */
  --color-whatsapp: #0F6B45;
  --color-whatsapp-hover: #0B5234;

  /* Typography Stacks */
  --font-serif: "Cinzel", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Dimensions & Grid Tokens */
  --container-max: 1180px;
  --header-height-mobile: 66px;
  --header-height-desktop: 78px;
  --dock-height: 60px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 6px rgba(20, 38, 63, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 38, 63, 0.07);
  --shadow-lg: 0 16px 36px rgba(20, 38, 63, 0.1);
  --transition-fast: 0.18s ease;
  --transition-normal: 0.25s ease;
}

/* --------------------------------------------------------------------------
   Global Reset & Foundations
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height-desktop) + 16px);
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-white);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Reserve space for mobile sticky dock */
  padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom, 0px) + 14px);
}

/* Prevent body scroll when mobile navigation is open */
body.nav-open {
  overflow: hidden;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

/* Universal Focus States for WCAG 2.2 AA */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

::selection {
  background: var(--color-gold-light);
  color: var(--color-navy);
}

/* Skip to Content for Screen Readers & Keyboard Users */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-md);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 14px;
}

/* Reusable Layout Container */
.container {
  width: min(calc(100% - 32px), var(--container-max));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Top Announcement Bar (Heritage & Store Location)
   -------------------------------------------------------------------------- */
.top-announcement {
  background-color: var(--color-navy-dark);
  color: #D6DFEA;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(195, 160, 107, 0.25);
  padding: 7px 0;
}

.top-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  flex-wrap: wrap;
}

.top-divider {
  color: var(--color-gold);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Section 1 — Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-normal);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(20, 38, 63, 0.06);
}

.header-inner {
  height: var(--header-height-mobile);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand Identity — Exact Showroom Logo */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.brand:hover {
  opacity: 0.9;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 175px;
  display: block;
  object-fit: contain;
}

@media (min-width: 900px) {
  .brand-logo-img {
    height: 52px;
    max-width: 190px;
  }
}

/* Desktop Navigation (Hidden on Mobile) */
.desktop-nav {
  display: none;
}

/* Mobile Hamburger Menu Toggle Button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: transparent;
  color: var(--color-navy);
  padding: 0;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.menu-toggle:hover {
  border-color: var(--color-navy);
  background-color: var(--color-surface-subtle);
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Dropdown */
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 16px 28px rgba(20, 38, 63, 0.12);
  padding: 16px 0 24px;
  animation: slideDown 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav[hidden] {
  display: none;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 14px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-border-subtle);
  min-height: 48px;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--color-gold-dark);
}

.mobile-nav-contact {
  margin-top: 18px;
  padding-top: 8px;
}

.mobile-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--color-navy);
  color: var(--color-white);
  border: 1px solid var(--color-navy);
  box-shadow: 0 3px 10px rgba(20, 38, 63, 0.15);
}

.btn-primary:hover {
  background-color: var(--color-navy-light);
  border-color: var(--color-navy-light);
  box-shadow: 0 5px 14px rgba(20, 38, 63, 0.22);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
}

.btn-secondary:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-navy-light);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border: 1px solid var(--color-whatsapp);
  box-shadow: 0 3px 10px rgba(15, 107, 69, 0.18);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  border-color: var(--color-whatsapp-hover);
}

.full-width {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Section 2 — Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  background-color: var(--color-pearl);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  padding-block: 42px 48px;
  display: grid;
  gap: 36px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

/* Refined Heritage Badge (Replaces old giant strip) */
.heritage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gold-border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-navy);
  margin-bottom: 18px;
  align-self: flex-start;
  box-shadow: 0 2px 6px rgba(20, 38, 63, 0.04);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
}

.hero-heading {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-size: clamp(2rem, 7.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.hero-specialty {
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 3vw, 1.24rem);
  font-weight: 600;
  color: var(--color-gold-dark);
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  line-height: 1.45;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero Media Box & Authentic Photography Container */
.hero-visual {
  width: 100%;
}

.media-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: var(--color-navy-dark);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.hero-media-box {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 580px;
}

.media-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  transition: transform var(--transition-normal);
}

.hero-photo {
  object-position: center center;
}

.gallery-card:hover .media-photo {
  transform: scale(1.03);
}

.media-photo[hidden] {
  display: none !important;
}

/* Tasteful, dignified showroom placeholder active until real photo is supplied */
.media-placeholder-card {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: radial-gradient(circle at center, #1B3150 0%, #112137 60%, #0A1422 100%);
  color: var(--color-white);
  border: 1px solid var(--color-gold-border);
}

.placeholder-crest {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1.5px solid var(--color-gold);
  border-radius: 50%;
  margin-bottom: 16px;
  background-color: rgba(20, 38, 63, 0.4);
  box-shadow: 0 0 24px var(--color-gold-glow);
}

.placeholder-crest.small {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
}

.crest-monogram {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.placeholder-crest.small .crest-monogram {
  font-size: 1.15rem;
}

.placeholder-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.placeholder-kicker {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  font-weight: 600;
}

.placeholder-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.placeholder-loc {
  font-size: 0.74rem;
  color: #A0B2C6;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Quality & Trust Hallmarks Strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: linear-gradient(180deg, #101E31 0%, #14263F 100%);
  border-top: 1px solid rgba(195, 160, 107, 0.35);
  border-bottom: 1px solid rgba(195, 160, 107, 0.35);
  padding: 44px 0;
  position: relative;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}

@media (min-width: 900px) {
  .trust-strip {
    padding: 52px 0;
  }
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-emblem {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  background: radial-gradient(circle, rgba(195, 160, 107, 0.16) 0%, rgba(20, 38, 63, 0.6) 100%);
  box-shadow: 0 0 18px rgba(195, 160, 107, 0.18), inset 0 0 12px rgba(195, 160, 107, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 16px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.trust-card:hover .trust-emblem {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(195, 160, 107, 0.38), inset 0 0 16px rgba(195, 160, 107, 0.22);
}

.hallmark-k {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.04em;
  line-height: 1;
}

.hallmark-grade {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-white);
  line-height: 1;
  margin-top: 2px;
}

.hallmark-stars {
  font-size: 0.52rem;
  color: var(--color-gold);
  letter-spacing: 0.18em;
  line-height: 1;
  margin-top: 3px;
}

.trust-icon {
  color: var(--color-gold);
}

.trust-title {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.trust-desc {
  font-size: 0.78rem;
  color: #A0B2C6;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .trust-strip {
    padding: 36px 0;
  }
  .trust-grid {
    gap: 22px 14px;
  }
  .trust-emblem {
    width: 66px;
    height: 66px;
    margin-bottom: 10px;
  }
  .hallmark-k {
    font-size: 1.12rem;
  }
  .hallmark-grade {
    font-size: 0.62rem;
  }
  .trust-title {
    font-size: 0.88rem;
  }
  .trust-desc {
    font-size: 0.72rem;
  }
}

/* --------------------------------------------------------------------------
   Generic Section Formatting & Typographic Hierarchy
   -------------------------------------------------------------------------- */
.section {
  padding-block: 64px;
}

.section-header {
  margin-bottom: 36px;
  display: grid;
  gap: 12px;
}

.section-eyebrow {
  color: var(--color-gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.eyebrow-on-dark {
  color: var(--color-gold);
}

.section-title {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-size: clamp(1.65rem, 5.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0;
}

.title-on-dark {
  color: var(--color-white);
}

.section-desc {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Section 3 — Jewellery Gallery Grid
   -------------------------------------------------------------------------- */
.gallery-section {
  background-color: var(--color-white);
}

.gallery-grid {
  display: grid;
  gap: 28px;
}

.gallery-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-border);
  box-shadow: var(--shadow-md);
}

.gallery-media-box {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.gallery-card-content {
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.gallery-card-index {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  padding-top: 3px;
  flex: none;
}

.gallery-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  background-color: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: 2px;
}

.gallery-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.02em;
  margin: 0;
}

.gallery-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Section 4 — Our Story (Refined & Compact)
   -------------------------------------------------------------------------- */
.story-section {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-top: 1px solid rgba(195, 160, 107, 0.2);
  border-bottom: 1px solid rgba(195, 160, 107, 0.2);
}

.story-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.story-badge-col {
  display: flex;
  justify-content: center;
}

.story-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  background: radial-gradient(circle at center, rgba(195, 160, 107, 0.12) 0%, rgba(20, 38, 63, 0.6) 80%);
  box-shadow: 0 0 28px rgba(195, 160, 107, 0.15);
  text-align: center;
  gap: 4px;
}

.emblem-year {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold);
  letter-spacing: 0.04em;
}

.emblem-label {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: #D6DFEA;
  font-weight: 600;
}

.emblem-place {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  font-weight: 600;
}

.story-text-col {
  display: flex;
  flex-direction: column;
}

.story-body {
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: #D8E2ED;
  margin: 0;
  max-width: 540px;
}

.story-founders-card {
  margin: 6px 0 24px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(195, 160, 107, 0.12) 0%, rgba(20, 38, 63, 0.45) 100%);
  border-left: 3px solid var(--color-gold);
  border-top: 1px solid rgba(195, 160, 107, 0.2);
  border-right: 1px solid rgba(195, 160, 107, 0.1);
  border-bottom: 1px solid rgba(195, 160, 107, 0.15);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: 540px;
  box-shadow: 0 4px 16px rgba(11, 23, 40, 0.35);
}

.founders-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.founders-names {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.45;
}

.story-action {
  margin-top: 4px;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 4px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.story-link:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

.link-arrow {
  transition: transform var(--transition-fast);
}

.story-link:hover .link-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Section 5 — Optional Video Section (Hidden by default)
   -------------------------------------------------------------------------- */
.film-section[hidden] {
  display: none !important;
}

.film-section {
  background-color: var(--color-pearl);
  border-bottom: 1px solid var(--color-border);
}

.film-player-wrapper {
  max-width: 880px;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-navy);
}

.showroom-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

/* --------------------------------------------------------------------------
   Section 6 — Visit Our Showroom
   -------------------------------------------------------------------------- */
.visit-section {
  background-color: var(--color-surface-subtle);
}

.visit-section .section-title {
  font-size: clamp(1.35rem, 3.2vw, 1.8rem);
  letter-spacing: 0.02em;
  margin: 0 0 6px;
}

.visit-section .section-eyebrow {
  margin: 0;
}

.visit-grid {
  display: grid;
  gap: 28px;
}

.visit-card,
.directions-guide-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
}

.visit-card-header,
.guide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.visit-kicker,
.guide-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-gold-dark);
}

.visit-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
}

.visit-store-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 6px;
}

.visit-store-meta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gold-dark);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.visit-address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 16px;
}

.contact-detail-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-gold-dark);
}

.contact-val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-navy);
}

.contact-val:hover {
  color: var(--color-gold-dark);
  text-decoration: underline;
}

.visit-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 10px;
}

.guide-image-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 9;
  background-color: var(--color-navy-dark);
}

.guide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-normal);
}

.directions-guide-card:hover .guide-image {
  transform: scale(1.02);
}

.guide-text {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 22px;
}

.landmark-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 18px;
}

.landmark-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.landmark-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--color-surface-subtle);
  color: var(--color-navy);
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--color-border);
}

.landmark-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
}

.landmark-item p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  margin: 2px 0 0;
}

.map-link-block {
  margin-top: 8px;
}

.map-disclaimer {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--color-text-light);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Section 7 — Frequently Asked Questions
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.faq-container {
  max-width: 820px;
}

.faq-header {
  margin-bottom: 30px;
}

.faq-accordion {
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-gold-dark);
  transition: transform var(--transition-fast);
}

.faq-toggle-icon::before {
  width: 12px;
  height: 2px;
}

.faq-toggle-icon::after {
  width: 2px;
  height: 12px;
}

.faq-item[open] .faq-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding-bottom: 18px;
  padding-right: 24px;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0;
}

.faq-answer a {
  color: var(--color-navy);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   Section 8 — Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy-dark);
  color: #D6DFEA;
  padding: 48px 0 24px;
  border-top: 1px solid rgba(195, 160, 107, 0.25);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer-brand:hover {
  opacity: 0.9;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  max-width: 190px;
  display: block;
  object-fit: contain;
}

.footer-brand-meta {
  font-size: 0.78rem;
  color: #9BB0C7;
  margin: 8px 0 0;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.footer-nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav-list a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #C3D2E2;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #8C9EAF;
}

.footer-copyright {
  margin: 0;
}

.footer-developer {
  font-size: 0.74rem;
  color: #8C9EAF;
  letter-spacing: 0.03em;
}

.footer-developer strong {
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.06em;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gold);
  font-weight: 600;
}

.back-to-top:hover {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Mobile Sticky Contact Dock (Bottom Bar)
   Requirements: Fixed bottom, 3 distinct actions, safe area, high tap target
   -------------------------------------------------------------------------- */
.mobile-contact-dock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 18px rgba(20, 38, 63, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.dock-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: var(--dock-height);
  padding: 6px 4px;
  color: var(--color-navy);
  border-right: 1px solid var(--color-border-subtle);
  transition: background-color var(--transition-fast);
}

.dock-action:last-child {
  border-right: none;
}

.dock-action:active {
  background-color: var(--color-surface-subtle);
}

.dock-icon {
  margin-bottom: 2px;
}

.dock-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dock-action-whatsapp {
  color: var(--color-whatsapp);
}

.contact-val,
.footer-contact-links a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ==========================================================================
   Responsive Breakpoints & Refinements
   Targeting: 320px, 360px, 375px, 390px, 430px, 600px, 768px, 900px, 1024px, 1280px+
   ========================================================================== */

/* Ultra-Compact Mobile (320px - 360px) */
@media (max-width: 360px) {
  .container {
    width: min(calc(100% - 24px), var(--container-max));
  }
  .brand-title {
    font-size: 0.85rem;
  }
  .brand-subtitle {
    font-size: 0.54rem;
  }
  .hero-heading {
    font-size: 1.85rem;
  }
  .btn {
    padding-inline: 14px;
    font-size: 0.82rem;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .visit-card-actions .btn {
    width: 100%;
  }
}

/* Mobile Footer Alignment (< 600px) */
@media (max-width: 599px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

/* Phablet & Small Tablet Transition Range (600px - 899px) */
@media (min-width: 600px) {
  .container {
    width: min(calc(100% - 48px), var(--container-max));
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 36px;
    padding-block: 56px;
  }

  .hero-heading {
    font-size: clamp(2.1rem, 4.2vw, 2.85rem);
    line-height: 1.18;
  }

  .hero-lead {
    font-size: 1.02rem;
    margin-bottom: 24px;
  }

  .hero-media-box {
    aspect-ratio: 3 / 4;
    max-height: 520px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .gallery-media-box {
    aspect-ratio: 1 / 1;
  }

  .gallery-card-content {
    padding: 16px 14px;
    gap: 12px;
  }

  .gallery-card-title {
    font-size: 1.05rem;
  }

  .gallery-card-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .story-grid {
    grid-template-columns: 200px 1fr;
    gap: 36px;
    align-items: center;
  }

  .story-emblem {
    width: 180px;
    height: 180px;
  }

  .story-body p {
    font-size: 0.96rem;
  }

  .visit-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 24px;
  }

  .visit-card,
  .directions-guide-card {
    padding: 28px 24px;
  }

  .visit-card-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .visit-card-actions .btn {
    flex: 1 1 calc(50% - 5px);
    font-size: 0.84rem;
    padding: 10px 14px;
  }

  .visit-card-actions .btn:last-child {
    flex-basis: 100%;
  }

  .footer-top {
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: 32px;
  }
}

/* Specific Tablet Refinement (768px - 899px) */
@media (min-width: 768px) and (max-width: 899px) {
  .hero-grid {
    gap: 48px;
    padding-block: 64px;
  }

  .gallery-grid {
    gap: 22px;
  }

  .gallery-media-box {
    aspect-ratio: 4 / 4.5;
  }

  .gallery-card-content {
    padding: 20px 18px;
  }

  .gallery-card-title {
    font-size: 1.15rem;
  }

  .gallery-card-desc {
    font-size: 0.86rem;
  }

  .visit-grid {
    gap: 32px;
  }

  .visit-card,
  .directions-guide-card {
    padding: 34px 28px;
  }
}

/* Desktop Transition (900px and up) */
@media (min-width: 900px) {
  body {
    /* Hide padding for bottom dock */
    padding-bottom: 0;
  }

  .header-inner {
    height: var(--header-height-desktop);
  }

  /* Desktop Header Navigation */
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-navy);
    position: relative;
    padding-block: 6px;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
  }

  .nav-link:hover {
    color: var(--color-gold-dark);
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .nav-cta-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 1px solid var(--color-navy);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
  }

  .nav-cta-call:hover {
    background-color: var(--color-navy-light);
    border-color: var(--color-navy-light);
    color: var(--color-white);
  }

  .menu-toggle,
  .mobile-nav,
  .mobile-contact-dock {
    display: none !important;
  }

  /* Hero Section Desktop */
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    padding-block: 72px 84px;
    align-items: center;
  }

  .hero-heading {
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    margin-bottom: 20px;
  }

  .hero-lead {
    font-size: 1.12rem;
    margin-bottom: 32px;
  }

  .hero-media-box {
    aspect-ratio: 3 / 4;
    height: auto;
    max-height: 580px;
  }

  /* Gallery Section Desktop */
  .section {
    padding-block: 92px;
  }

  .section-header {
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    margin-bottom: 48px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  .gallery-media-box {
    aspect-ratio: 1 / 1;
  }

  /* Story Section Desktop */
  .story-grid {
    grid-template-columns: 240px 1fr;
    gap: 68px;
  }

  .story-emblem {
    width: 220px;
    height: 220px;
  }

  .emblem-year {
    font-size: 3.2rem;
  }

  /* Visit Section Desktop */
  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .visit-card,
  .directions-guide-card {
    padding: 38px 34px;
  }

  .footer-top {
    gap: 36px;
  }
}

/* Wide Desktop Screens (1200px+) */
@media (min-width: 1200px) {
  .hero-grid {
    gap: 80px;
    padding-block: 84px 96px;
  }

  .hero-media-box {
    height: 520px;
  }
}

/* Accessibility: Support prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
