/* ==========================================================================
   Rana Law Association ⚖️ — Master Stylesheet (style.css)
   Location: Lahore, Pakistan
   Architecture: Mobile-First, Pure CSS3, Frosted Glassmorphism + Fallbacks,
                 WCAG AA Contrast, Bilingual (English LTR + Urdu Nastaliq RTL)
   ========================================================================== */

:root {
  /* Brand Palette */
  --navy-950: #061222;
  --navy-900: #0B1F3A;
  --navy-800: #122C50;
  --navy-700: #1B3D6D;
  --gold-300: #EAD08E;
  --gold-400: #DFBE6F;
  --gold-500: #C9A24B;
  --gold-600: #A6802E;
  --gold-700: #7A5C1B;
  --ivory-50: #FCFBF8;
  --ivory-100: #F8F5EE;
  --ivory-200: #ECE5D5;
  --charcoal-900: #1B222C;
  --charcoal-700: #394452;
  --charcoal-500: #596575;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;

  /* Functional Colors */
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5D;
  --danger: #D9383A;
  --danger-bg: rgba(217, 56, 58, 0.1);
  --success: #1F9D63;

  /* Glassmorphism Surfaces & Borders */
  --glass-navy-bg: rgba(11, 31, 58, 0.72);
  --glass-navy-elevated: rgba(18, 44, 80, 0.58);
  --glass-white-on-navy: rgba(255, 255, 255, 0.07);
  --glass-light-bg: rgba(255, 255, 255, 0.78);
  --glass-border-gold: rgba(201, 162, 75, 0.36);
  --glass-border-gold-strong: rgba(201, 162, 75, 0.70);
  --glass-blur: 16px;

  /* Radii & Shadows */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(6, 18, 34, 0.10);
  --shadow-glass: 0 16px 40px rgba(6, 18, 34, 0.24);
  --shadow-gold: 0 8px 24px rgba(201, 162, 75, 0.24);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-urdu: 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', 'Urdu Typesetting', serif;

  /* Layout */
  --container-max: 1220px;
  --header-height-mobile: 68px;
  --header-height: 78px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   1. Reset & Base Typography
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory-100);
  color: var(--charcoal-900);
  line-height: 1.65;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem; /* Prevents iOS auto-zoom on form fields */
}

button {
  cursor: pointer;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2.5px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip Link for Keyboard Accessibility */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Urdu & RTL Language Support */
.urdu-text,
[data-lang="ur"] [data-ur] {
  font-family: var(--font-urdu);
  line-height: 2.15;
  letter-spacing: 0;
}

html[data-lang="ur"] .brand-name {
  font-family: var(--font-urdu);
  line-height: 1.6;
  padding-block: 1px;
}

html[data-lang="ur"] .rtl-zone {
  direction: rtl;
  text-align: right;
}

html[data-lang="ur"] h1[data-ur],
html[data-lang="ur"] h2[data-ur],
html[data-lang="ur"] h3[data-ur] {
  line-height: 1.85;
}

.ltr-keep {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   2. Layout Containers & Section Themes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 480px) {
  .container {
    padding-inline: 1.35rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: 3.35rem;
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding-block: 5.5rem;
  }
}

.section-ivory {
  background-color: var(--ivory-100);
  color: var(--charcoal-900);
}

.section-ivory-alt {
  background: linear-gradient(180deg, var(--ivory-50) 0%, var(--ivory-200) 100%);
  color: var(--charcoal-900);
}

.section-navy {
  background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--ivory-100);
  overflow: hidden;
}

.section-header {
  max-width: 740px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 3rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--gold-700);
  background: rgba(201, 162, 75, 0.14);
  border: 1px solid rgba(201, 162, 75, 0.35);
  padding: 0.36rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  max-width: 100%;
}

.section-navy .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold-300);
  background: rgba(201, 162, 75, 0.14);
  border-color: rgba(201, 162, 75, 0.4);
}

.section-title {
  font-size: clamp(1.68rem, 3.4vw, 2.65rem);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--charcoal-700);
}

.section-navy .section-subtitle {
  color: var(--slate-300);
}

.gold-divider {
  width: 68px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  margin: 1rem auto 0;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   3. Frosted Glassmorphism System (+ Browser Fallbacks)
   -------------------------------------------------------------------------- */
.glass-dark {
  background: var(--glass-white-on-navy);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

.glass-navy {
  background: var(--glass-navy-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  color: var(--ivory-100);
}

.glass-light {
  background: var(--glass-light-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .glass-dark,
  .glass-navy,
  .site-header,
  .mobile-nav-drawer,
  .cookie-banner {
    background: rgba(11, 31, 58, 0.96);
  }
  .glass-light,
  .modal-card {
    background: rgba(252, 251, 248, 0.97);
  }
}

.hover-lift {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

@media (hover: hover) {
  .hover-lift:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-gold-strong);
    box-shadow: 0 20px 44px rgba(6, 18, 34, 0.18);
  }
}

/* Ambient Blurred Gold Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(85px);
  z-index: 0;
}

.orb-gold-lg {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.34) 0%, rgba(201, 162, 75, 0) 72%);
}

.orb-gold-md {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(223, 190, 111, 0.28) 0%, rgba(201, 162, 75, 0) 70%);
}

/* --------------------------------------------------------------------------
   4. Scroll Progress Bar, Top Bar & Mobile-First Sticky Glass Navbar
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300), var(--gold-500));
  z-index: 1200;
  transition: width 0.08s linear;
}

.top-bar {
  background: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(201, 162, 75, 0.22);
  padding-block: 0.4rem;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem 1rem;
}

.top-bar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-item svg {
  width: 13px;
  height: 13px;
  color: var(--gold-500);
  flex-shrink: 0;
}

.top-bar a:hover {
  color: var(--gold-400);
}

.emergency-pill {
  color: var(--gold-300);
  font-weight: 600;
}

@media (max-width: 767px) {
  .top-bar {
    font-size: 0.73rem;
    padding-block: 0.35rem;
  }
  .top-bar .hide-mobile,
  .top-bar .emergency-pill {
    display: none;
  }
  .top-bar-inner {
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .top-bar-item {
    white-space: nowrap;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(11, 31, 58, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.34);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(6, 18, 34, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height-mobile);
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .nav-inner {
    min-height: var(--header-height);
    gap: 1rem;
  }
}

/* Brand Logo — Mobile-Safe Flex Sizing (Never Crushes Hamburger Button) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 640px) {
  .brand-logo {
    gap: 0.75rem;
    flex: 0 1 auto;
  }
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(201, 162, 75, 0.22), rgba(11, 31, 58, 0.92));
  border: 1px solid rgba(201, 162, 75, 0.6);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 640px) {
  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .brand-mark svg {
    width: 26px;
    height: 26px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 3.8vw, 1.28rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tagline {
  display: none;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-300);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 560px) {
  .brand-tagline {
    display: block;
  }
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

@media (min-width: 1080px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
  }
}

.nav-link {
  color: var(--ivory-100);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.72rem;
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--gold-400);
  font-weight: 600;
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 4px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

/* Right Actions Group (Language Toggle + CTA + Mobile 3-Lines Button) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
}

@media (min-width: 1080px) {
  .nav-actions {
    margin-left: 0;
    gap: 0.6rem;
  }
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  height: 38px;
  padding: 0 0.62rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 162, 75, 0.5);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ivory-100);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
}

@media (min-width: 640px) {
  .lang-toggle {
    height: 40px;
    padding: 0 0.82rem;
    font-size: 0.82rem;
    gap: 0.38rem;
  }
}

.lang-toggle:hover {
  border-color: var(--gold-400);
  background: rgba(201, 162, 75, 0.18);
  color: var(--gold-300);
}

.lang-toggle .urdu-pill {
  font-family: var(--font-urdu);
  font-size: 0.85rem;
  line-height: 1.1;
  color: var(--gold-300);
}

.nav-cta-desktop {
  display: none !important;
}

@media (min-width: 720px) {
  .nav-cta-desktop {
    display: inline-flex !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile 3-Lines Hamburger Menu Button (Pixel-Perfect & Animated to ✕)
   -------------------------------------------------------------------------- */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 11px;
  border: 1.5px solid rgba(201, 162, 75, 0.68);
  background: rgba(201, 162, 75, 0.12);
  color: var(--gold-300);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  position: relative;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background: rgba(201, 162, 75, 0.24);
  border-color: var(--gold-300);
}

/* Crisp 3 Horizontal Bars */
.menu-bar {
  display: block;
  width: 22px;
  height: 2.2px;
  background-color: var(--gold-300);
  border-radius: 3px;
  transition: transform 0.26s ease, opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
  flex-shrink: 0;
}

/* Fallback if inline SVG exists before JS runs */
.menu-toggle svg {
  width: 23px;
  height: 23px;
  min-width: 23px;
  min-height: 23px;
  flex-shrink: 0;
  stroke: var(--gold-300);
}

/* Morph 3 lines into X when menu is open */
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

@media (min-width: 1080px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Slide-Down Frosted Glass Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - var(--header-height-mobile));
  max-height: calc(100dvh - var(--header-height-mobile));
  overflow-y: auto;
  background: rgba(6, 18, 34, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid rgba(201, 162, 75, 0.48);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  padding: 1rem 1rem 1.4rem;
  z-index: 1099;
}

.mobile-nav-drawer.is-open {
  display: block;
  animation: drawerSlideDown 0.22s ease-out;
}

@keyframes drawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1080px) {
  .mobile-nav-drawer,
  .mobile-nav-drawer.is-open {
    display: none !important;
  }
}

.mobile-nav-list {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.mobile-nav-list .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0.72rem 1rem;
  font-size: 0.98rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.mobile-nav-list .nav-link.active,
.mobile-nav-list .nav-link[aria-current="page"] {
  background: rgba(201, 162, 75, 0.16);
  border-color: rgba(201, 162, 75, 0.48);
  color: var(--gold-300);
}

.mobile-nav-list .nav-link.active::after {
  display: none;
}

.mobile-drawer-info {
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: rgba(201, 162, 75, 0.09);
  border: 1px solid rgba(201, 162, 75, 0.28);
  font-size: 0.8rem;
  color: var(--slate-300);
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

.mobile-drawer-info strong {
  color: var(--gold-300);
  display: block;
}

.mobile-drawer-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

@media (max-width: 359px) {
  .mobile-drawer-ctas {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 46px;
  padding: 0.78rem 1.4rem;
  border-radius: 12px;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.25;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-sm {
  min-height: 38px;
  padding: 0.54rem 1rem;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 28px rgba(201, 162, 75, 0.36);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #062211;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.24);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ivory-100);
  border: 1px solid rgba(201, 162, 75, 0.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(201, 162, 75, 0.16);
  border-color: var(--gold-400);
  color: var(--gold-300);
}

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

.btn-outline-navy:hover {
  background: var(--navy-900);
  color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   6. Hero Sections (Home Hero & Inner Page Heroes)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 52%, #15325B 100%);
  color: var(--ivory-100);
  padding-block: 2.75rem 3.85rem;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero {
    padding-block: 5.5rem 6.25rem;
  }
}

.hero .orb-1 {
  top: -80px;
  right: -60px;
}

.hero .orb-2 {
  bottom: -90px;
  left: -70px;
}

.hero .orb-3 {
  top: 36%;
  left: 48%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.88fr;
    gap: 3.25rem;
  }
}

.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  color: var(--ivory-50);
  margin-bottom: 1rem;
}

.hero h1 .text-gold {
  color: var(--gold-400);
}

.hero-lead {
  font-size: clamp(0.98rem, 1.5vw, 1.15rem);
  color: var(--slate-300);
  max-width: 610px;
  margin-bottom: 1.55rem;
}

.hero-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
  }
}

.hero-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--slate-300);
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 75, 0.25);
  max-width: 100%;
}

.hero-location-chip svg {
  width: 17px;
  height: 17px;
  color: var(--gold-400);
  flex-shrink: 0;
}

/* Hero Frosted Consultation Card */
.hero-card {
  padding: 1.4rem;
  position: relative;
}

@media (min-width: 640px) {
  .hero-card {
    padding: 1.85rem;
  }
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1.05rem;
  margin-bottom: 1.05rem;
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(201, 162, 75, 0.16);
  border: 1px solid rgba(201, 162, 75, 0.45);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.hero-card-title {
  font-size: 1.18rem;
  color: var(--ivory-50);
}

.hero-card-sub {
  font-size: 0.83rem;
  color: var(--gold-300);
}

.hero-info-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.3rem;
}

.hero-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--slate-300);
}

.hero-info-row svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  margin-top: 3px;
  flex-shrink: 0;
}

.hero-info-row strong {
  color: var(--ivory-50);
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Inner Page Hero + Breadcrumb */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, var(--navy-800) 100%);
  color: var(--ivory-100);
  padding-block: 2.5rem 3rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 162, 75, 0.28);
}

@media (min-width: 768px) {
  .page-hero {
    padding-block: 3.25rem 3.75rem;
  }
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--slate-300);
  margin-bottom: 0.85rem;
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.breadcrumb-sep {
  color: var(--gold-500);
}

.page-hero h1 {
  font-size: clamp(1.78rem, 4vw, 3rem);
  color: var(--ivory-50);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1rem;
  color: var(--slate-300);
}

/* --------------------------------------------------------------------------
   7. Trust Bar (Launch-Ready Chambers Highlights)
   -------------------------------------------------------------------------- */
.trust-bar-wrap {
  margin-top: -1.65rem;
  position: relative;
  z-index: 5;
  padding-bottom: 0.75rem;
}

.trust-bar {
  padding: 1.2rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

@media (min-width: 640px) {
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.4rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .trust-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.35rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(11, 31, 58, 0.08);
  border: 1px solid rgba(201, 162, 75, 0.45);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-600);
}

.trust-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal-500);
  font-weight: 600;
}

.trust-value {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* Quick Jump Bar on Services Page */
.quick-jump-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.65rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.jump-pill {
  flex-shrink: 0;
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(201, 162, 75, 0.42);
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.jump-pill:hover {
  background: var(--navy-900);
  color: var(--gold-300);
  border-color: var(--gold-500);
}

/* --------------------------------------------------------------------------
   8. Grids & Glass Cards (Services, Values, Why Choose Us, Courts)
   -------------------------------------------------------------------------- */
.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}

@media (min-width: 680px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .cards-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 768px) {
  .service-card {
    padding: 1.65rem;
  }
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border: 1px solid rgba(201, 162, 75, 0.55);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
  flex-shrink: 0;
}

.card-icon svg {
  width: 23px;
  height: 23px;
}

.glass-dark .card-icon {
  background: rgba(201, 162, 75, 0.14);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-bottom: 0.55rem;
}

.glass-dark.service-card h3 {
  color: var(--ivory-50);
}

.service-card p {
  font-size: 0.93rem;
  color: var(--charcoal-700);
  margin-bottom: 1.2rem;
  flex: 1;
}

.glass-dark.service-card p {
  color: var(--slate-300);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.tag-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.62rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 31, 58, 0.06);
  color: var(--navy-800);
  border: 1px solid rgba(11, 31, 58, 0.12);
}

.service-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(201, 162, 75, 0.25);
}

.link-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.link-gold:hover {
  color: var(--gold-700);
}

.section-navy .link-gold {
  color: var(--gold-400);
}

/* Service Detail Sections on services.html */
.service-detail-list {
  display: grid;
  gap: 1.5rem;
}

.service-detail-card {
  padding: 1.45rem;
  scroll-margin-top: 96px;
}

@media (min-width: 860px) {
  .service-detail-card {
    padding: 2.35rem;
  }
}

.service-detail-grid {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 860px) {
  .service-detail-grid {
    grid-template-columns: 1.55fr 1fr;
    align-items: start;
  }
}

.detail-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 0.35rem;
}

.bullet-list {
  display: grid;
  gap: 0.5rem;
  margin-block: 1rem;
}

.bullet-list li {
  position: relative;
  padding-inline-start: 1.4rem;
  font-size: 0.93rem;
  color: var(--charcoal-700);
}

.bullet-list li::before {
  content: "⚖";
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  font-size: 0.82rem;
  color: var(--gold-600);
}

.detail-meta-box {
  background: rgba(11, 31, 58, 0.04);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.detail-meta-box h4 {
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
}

/* --------------------------------------------------------------------------
   9. 4-Step Legal Process Timeline
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  padding: 1.55rem 1.4rem;
  position: relative;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
  color: var(--ivory-50);
}

.process-step p {
  font-size: 0.91rem;
  color: var(--slate-300);
}

/* --------------------------------------------------------------------------
   10. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 840px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--navy-900);
  transition: background-color var(--transition);
}

@media (min-width: 768px) {
  .faq-trigger {
    padding: 1.2rem 1.4rem;
    font-size: 1.08rem;
  }
}

html[data-lang="ur"] .faq-trigger {
  text-align: right;
}

.faq-trigger:hover {
  background: rgba(201, 162, 75, 0.08);
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.07);
  color: var(--gold-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: var(--navy-900);
  color: var(--gold-400);
}

.faq-panel {
  display: none;
  padding: 0 1.2rem 1.2rem;
  color: var(--charcoal-700);
  font-size: 0.94rem;
  border-top: 1px solid rgba(201, 162, 75, 0.2);
}

@media (min-width: 768px) {
  .faq-panel {
    padding: 0 1.4rem 1.3rem;
    font-size: 0.96rem;
  }
}

.faq-item.is-open .faq-panel {
  display: block;
  padding-top: 0.95rem;
}

/* --------------------------------------------------------------------------
   11. Courts of Practice, Team Cards, & Blog Cards
   -------------------------------------------------------------------------- */
.courts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .courts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .courts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.court-card {
  padding: 1.3rem 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.court-card h3 {
  font-size: 1.08rem;
  color: var(--ivory-50);
  margin-bottom: 0.25rem;
}

.court-card p {
  font-size: 0.88rem;
  color: var(--slate-300);
}

/* Team / Legal Counsel Wing Cards */
.team-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-photo-wrap {
  aspect-ratio: 10 / 10;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(201, 162, 75, 0.35);
  overflow: hidden;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-role {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--gold-700);
  margin-bottom: 0.3rem;
}

.team-name {
  font-size: 1.24rem;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.team-meta {
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--charcoal-700);
  margin-bottom: 1.25rem;
  flex: 1;
}

.team-meta strong {
  color: var(--navy-900);
}

/* Blog Cards & Article Template */
.blog-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.blog-category {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-700);
  background: rgba(201, 162, 75, 0.16);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.blog-card h3 {
  font-size: 1.24rem;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
}

.blog-meta {
  font-size: 0.81rem;
  color: var(--charcoal-500);
  margin-bottom: 0.85rem;
}

.article-shell {
  max-width: 820px;
  margin-inline: auto;
  padding: 1.5rem 1.2rem;
}

@media (min-width: 768px) {
  .article-shell {
    padding: 3rem;
  }
}

.article-prose h2 {
  font-size: 1.45rem;
  color: var(--navy-900);
  margin: 1.75rem 0 0.7rem;
}

.article-prose h3 {
  font-size: 1.2rem;
  color: var(--navy-800);
  margin: 1.35rem 0 0.55rem;
}

.article-prose p {
  margin-bottom: 1.05rem;
  color: var(--charcoal-700);
}

.legal-notice-box {
  background: rgba(11, 31, 58, 0.05);
  border-left: 4px solid var(--gold-500);
  padding: 1.05rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 1.4rem;
  font-size: 0.9rem;
  color: var(--charcoal-700);
}

/* --------------------------------------------------------------------------
   12. Appointment & Direct Inquiry Forms
   -------------------------------------------------------------------------- */
.booking-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 992px) {
  .booking-layout {
    grid-template-columns: 1.4fr 0.9fr;
    gap: 2rem;
  }
}

.booking-card {
  padding: 1.4rem;
}

@media (min-width: 768px) {
  .booking-card {
    padding: 2.35rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 680px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--navy-900);
}

.req-star {
  color: var(--danger);
}

.opt-tag {
  font-weight: 400;
  font-size: 0.79rem;
  color: var(--charcoal-500);
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
  border: 1.5px solid rgba(11, 31, 58, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-600);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.22);
}

.form-group.has-error .form-control {
  border-color: var(--danger);
  background: #FFF9F9;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--charcoal-500);
}

.field-error {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--danger);
  min-height: 1.05rem;
  display: none;
}

.form-group.has-error .field-error {
  display: block;
}

/* Consultation Mode Radio Pills */
.mode-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 540px) {
  .mode-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mode-option {
  position: relative;
}

.mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.72rem 0.7rem;
  border-radius: 12px;
  border: 1.5px solid rgba(11, 31, 58, 0.2);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}

.mode-option input:checked + .mode-label {
  background: var(--navy-900);
  color: var(--gold-300);
  border-color: var(--gold-500);
  box-shadow: 0 6px 16px rgba(11, 31, 58, 0.18);
}

.mode-option input:focus-visible + .mode-label {
  outline: 2.5px solid var(--gold-500);
  outline-offset: 2px;
}

.textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.char-counter {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal-500);
  margin-left: auto;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 0.95rem;
  border-radius: 12px;
  background: rgba(11, 31, 58, 0.04);
  border: 1px solid rgba(201, 162, 75, 0.3);
}

.consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--navy-900);
  flex-shrink: 0;
}

.consent-row label {
  font-size: 0.86rem;
  color: var(--charcoal-700);
  cursor: pointer;
}

/* Bot Honeypot */
.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(11, 31, 58, 0.25);
  border-top-color: var(--navy-950);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.btn.is-loading .spinner {
  display: inline-block;
}

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

/* Glass Success Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(6, 18, 34, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(252, 251, 248, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--gold-500);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  overflow-y: auto;
}

@media (min-width: 640px) {
  .modal-card {
    padding: 2rem;
  }
}

.modal-summary {
  background: rgba(11, 31, 58, 0.05);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  margin-block: 1.05rem;
  font-size: 0.88rem;
  white-space: pre-line;
  color: var(--charcoal-900);
}

/* --------------------------------------------------------------------------
   13. Map & CTA Banner
   -------------------------------------------------------------------------- */
.map-frame-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border-gold);
  box-shadow: var(--shadow-soft);
  background: var(--navy-900);
  min-height: 310px;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .map-frame-wrap iframe {
    height: 410px;
  }
}

.cta-banner {
  padding: 2rem 1.3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 3.5rem;
  }
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--slate-300);
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  padding-top: 3.5rem;
  padding-bottom: 6.4rem; /* Space for mobile sticky bottom bar */
}

@media (min-width: 768px) {
  .site-footer {
    padding-top: 4rem;
    padding-bottom: 2.5rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1040px) {
  .footer-grid {
    grid-template-columns: 1.35fr 0.85fr 1fr 1.15fr;
  }
}

.footer-widget {
  padding: 1.35rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold-400);
  margin-bottom: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(201, 162, 75, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-400);
  display: grid;
  place-items: center;
}

.social-btn:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.footer-disclaimer {
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.4rem;
  font-size: 0.81rem;
  color: var(--slate-400);
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.83rem;
  color: var(--slate-400);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links a:hover {
  color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   15. Floating WhatsApp, Back-to-Top, Sticky Mobile Bar & Cookie Notice
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 0.9rem;
  bottom: 4.9rem;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

@media (min-width: 768px) {
  .whatsapp-float {
    right: 1.65rem;
    bottom: 1.65rem;
  }
}

.wa-tooltip {
  display: none;
  background: rgba(11, 31, 58, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ivory-50);
  border: 1px solid rgba(201, 162, 75, 0.45);
  padding: 0.42rem 0.82rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .wa-tooltip {
    display: inline-block;
  }
}

.wa-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  position: relative;
}

.wa-circle svg {
  width: 26px;
  height: 26px;
}

@media (min-width: 768px) {
  .wa-circle {
    width: 56px;
    height: 56px;
  }
  .wa-circle svg {
    width: 29px;
    height: 29px;
  }
}

.wa-circle::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.36);
    opacity: 0;
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  left: 0.9rem;
  bottom: 4.95rem;
  z-index: 940;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(11, 31, 58, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 162, 75, 0.52);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

@media (min-width: 768px) {
  .back-to-top {
    left: auto;
    right: 1.95rem;
    bottom: 6.1rem;
    width: 44px;
    height: 44px;
  }
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

/* Sticky Mobile Bottom Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 980;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.5rem 0.65rem calc(0.5rem + env(safe-area-inset-bottom));
  background: rgba(6, 18, 34, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201, 162, 75, 0.42);
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0.55rem 0.35rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.mobile-bar-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.m-call {
  background: rgba(255, 255, 255, 0.09);
  color: var(--ivory-50);
  border: 1px solid rgba(201, 162, 75, 0.38);
}

.m-wa {
  background: var(--whatsapp);
  color: #062211;
}

.m-book {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
}

/* Glass Cookie Notice */
.cookie-banner {
  position: fixed;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 4.8rem;
  max-width: 500px;
  z-index: 1010;
  padding: 1rem 1.15rem;
  background: rgba(7, 21, 40, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(201, 162, 75, 0.52);
  border-radius: var(--radius-md);
  color: var(--ivory-100);
  box-shadow: var(--shadow-glass);
  display: none;
}

@media (min-width: 768px) {
  .cookie-banner {
    left: 1.5rem;
    right: auto;
    bottom: 1.5rem;
  }
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  font-size: 0.82rem;
  color: var(--slate-300);
  margin-bottom: 0.75rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   16. Scroll Reveal Animations & Reduced Motion Support
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .wa-circle::before {
    display: none;
  }
}
