/* ============================================================
   LOYALS Solutions — Global Stylesheet v2.0
   Brand Identity Guidelines Compliant — Luxury Edition
   Domain: loyal-solutions.uk
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Brand Palette)
   ============================================================ */
:root {
  /* Core palette */
  --charcoal: #1A1A2E;
  --dark-slate: #2D2D3A;
  --warm-gold: #C9A96E;
  --light-gold: #D4BC8A;
  --deep-gold: #B8944F;
  --cream: #F5F2EB;
  --warm-white: #FAF8F5;
  --white: #FFFFFF;
  --mid-grey: #8A8A8A;
  --light-grey: #D4D0C8;
  --card-border: #E8E4DC;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-pad-desktop: 80px;
  --section-pad-mobile: 56px;
  --container-max: 1200px;
  --content-max: 720px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Gold gradient */
  --gold-gradient: linear-gradient(135deg, #B8944F, #C9A96E, #D4BC8A);
  --gold-shimmer: linear-gradient(90deg, #B8944F 0%, #C9A96E 30%, #D4BC8A 50%, #C9A96E 70%, #B8944F 100%);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--dark-slate);
  background-color: var(--cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.ls-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.ls-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.ls-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.ls-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.ls-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.ls-reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.ls-reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for grid items */
.ls-stagger-1 { transition-delay: 0.1s; }
.ls-stagger-2 { transition-delay: 0.2s; }
.ls-stagger-3 { transition-delay: 0.3s; }
.ls-stagger-4 { transition-delay: 0.4s; }
.ls-stagger-5 { transition-delay: 0.5s; }
.ls-stagger-6 { transition-delay: 0.6s; }

/* ============================================================
   LAYOUT
   ============================================================ */
.ls-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.ls-content {
  max-width: var(--content-max);
}

/* Section backgrounds — alternate cream and white */
.ls-section {
  padding: var(--section-pad-desktop) 0;
  position: relative;
}

.ls-section--cream {
  background-color: var(--cream);
}

.ls-section--white {
  background-color: var(--white);
}

.ls-section--charcoal {
  background-color: var(--charcoal);
}

.ls-section--dark-slate {
  background-color: var(--dark-slate);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

/* Section labels — gold uppercase */
.ls-section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: 8px;
}

/* Display — 48px desktop / 32px mobile */
.ls-display {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 200;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* H1 */
h1, .ls-h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* H2 */
h2, .ls-h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 8px;
}

/* H3 */
h3, .ls-h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Gold accent line — now animated */
.ls-gold-line {
  width: 40px;
  height: 2px;
  background: var(--gold-gradient);
  margin-bottom: 24px;
  transition: width 0.5s var(--ease-out);
}

.ls-section:hover .ls-gold-line {
  width: 60px;
}

/* Body text */
p, .ls-body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--dark-slate);
  margin-bottom: 16px;
}

/* Small text */
.ls-small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--mid-grey);
  line-height: 1.6;
}

.ls-caption {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--mid-grey);
}

/* ============================================================
   HERO SECTION — Luxury treatment
   ============================================================ */
.ls-hero {
  background-color: var(--charcoal);
  padding: var(--section-pad-desktop) 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* Subtle animated gradient overlay */
.ls-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  animation: ls-hero-glow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ls-hero-glow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  100% { transform: translate(-40px, 30px) scale(1.2); opacity: 1; }
}

/* Gold line at bottom of hero */
.ls-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-shimmer);
  background-size: 200% 100%;
  animation: ls-shimmer 3s linear infinite;
}

@keyframes ls-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.ls-hero h1,
.ls-hero .ls-h1 {
  color: var(--warm-white);
  font-size: 48px;
  font-weight: 200;
  margin-bottom: 16px;
}

.ls-hero .ls-hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--mid-grey);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 32px;
}

.ls-hero .ls-hero-sub--gold {
  color: var(--warm-gold);
}

/* ============================================================
   BUTTONS — Enhanced with transitions
   ============================================================ */
.ls-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-align: center;
  min-height: 44px;
  min-width: 44px;
  position: relative;
  overflow: hidden;
}

.ls-btn--primary {
  background-color: var(--warm-gold);
  color: var(--charcoal);
}

.ls-btn--primary:hover {
  background-color: var(--deep-gold);
  transform: translateY(-2px);
}

.ls-btn--primary:active {
  transform: translateY(0);
}

/* Gold shimmer on hover */
.ls-btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s var(--ease);
}

.ls-btn--primary:hover::after {
  left: 100%;
}

/* Secondary CTA — outline */
.ls-btn--secondary {
  background-color: transparent;
  color: var(--warm-gold);
  border: 1px solid var(--warm-gold);
}

.ls-btn--secondary:hover {
  background-color: var(--warm-gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}

/* Dark background primary */
.ls-btn--dark {
  background-color: var(--charcoal);
  color: var(--white);
}

.ls-btn--dark:hover {
  background-color: var(--dark-slate);
  transform: translateY(-2px);
}

/* ============================================================
   CARDS — Enhanced with hover effects
   ============================================================ */
.ls-card {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
}

.ls-card:hover {
  transform: translateY(-4px);
  border-color: var(--warm-gold);
}

/* Gold top border accent on hover */
.ls-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.ls-card:hover::before {
  opacity: 1;
}

/* Card on white section uses cream bg */
.ls-section--white .ls-card {
  background-color: var(--cream);
}

/* Card grid */
.ls-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Card icon circle */
.ls-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,110,0.12), rgba(201,169,110,0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.ls-card:hover .ls-card-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(201,169,110,0.2), rgba(201,169,110,0.4));
}

.ls-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--warm-gold);
}

/* ============================================================
   FLIP CARDS — Enhanced with touch support
   ============================================================ */
.ls-flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.ls-flip-container {
  perspective: 1000px;
  width: 100%;
  height: 300px;
  cursor: pointer;
}

.ls-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease);
  transform-style: preserve-3d;
}

.ls-flip-container:hover .ls-flip-inner,
.ls-flip-container.is-flipped .ls-flip-inner {
  transform: rotateY(180deg);
}

.ls-flip-front, .ls-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ls-flip-front {
  background: var(--white);
  border: 1px solid var(--card-border);
  text-align: center;
  align-items: center;
}

.ls-flip-back {
  background: var(--charcoal);
  transform: rotateY(180deg);
  color: var(--warm-white);
}

/* Flip card icon */
.ls-flip-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,110,0.1), rgba(201,169,110,0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ls-flip-icon svg {
  width: 26px;
  height: 26px;
  color: var(--warm-gold);
}

.ls-flip-front h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  color: var(--charcoal);
  margin: 0 0 8px;
}

.ls-flip-front p {
  font-size: 13px;
  color: var(--mid-grey);
  margin-bottom: 0;
}

/* Flip hint */
.ls-flip-hint {
  font-size: 10px;
  color: var(--light-grey);
  margin-top: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ls-flip-back h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  color: var(--warm-gold);
  margin-bottom: 12px;
}

.ls-flip-back p {
  font-size: 13px;
  color: var(--warm-white);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   PROCESS / STEPS — Luxury timeline
   ============================================================ */
.ls-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  position: relative;
}

.ls-process-step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.ls-process-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--warm-gold);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.ls-process-step:hover .ls-process-num {
  transform: scale(1.1);
  background: var(--warm-gold);
  color: var(--charcoal);
}

.ls-process-step h3 {
  margin-bottom: 8px;
}

.ls-process-step p {
  font-size: 14px;
  color: var(--mid-grey);
  line-height: 1.6;
}

/* ============================================================
   STAT COUNTERS
   ============================================================ */
.ls-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
  padding: 40px 0;
}

.ls-stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 200;
  color: var(--warm-gold);
  line-height: 1.1;
  margin-bottom: 4px;
}

.ls-stat-label {
  font-size: 13px;
  color: var(--mid-grey);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ============================================================
   FEATURE HIGHLIGHT (alternating image+text)
   ============================================================ */
.ls-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ls-feature--reverse {
  direction: rtl;
}

.ls-feature--reverse > * {
  direction: ltr;
}

.ls-feature-visual {
  background: var(--charcoal);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.ls-feature-visual::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201,169,110,0.15) 0%, transparent 70%);
}

/* ============================================================
   GOLD DIVIDER
   ============================================================ */
.ls-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--warm-gold), transparent);
  margin: 0;
  border: none;
}

/* ============================================================
   CTA / CONVERSION SECTION (bottom of every page)
   ============================================================ */
.ls-cta-section {
  background-color: var(--charcoal);
  padding: var(--section-pad-desktop) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow */
.ls-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,169,110,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.ls-cta-section h2 {
  color: var(--warm-gold);
  margin-bottom: 12px;
  position: relative;
}

.ls-cta-section p {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.ls-cta-section .ls-phone {
  color: var(--mid-grey);
  font-size: 14px;
  margin-top: 16px;
  position: relative;
}

.ls-cta-section .ls-phone a {
  color: var(--warm-gold);
  font-weight: 500;
}

/* ============================================================
   HEADER — Enhanced with blur backdrop
   ============================================================ */
.ls-header {
  background-color: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(212, 208, 200, 0.3);
  transition: background-color 0.3s var(--ease);
}

.ls-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  padding-top: 16px;
  padding-bottom: 0;
}

.ls-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 8px;
}

.ls-logo img {
  height: 100px;
  width: auto;
  max-width: 400px;
}

.ls-logo-text {
  display: flex;
  flex-direction: column;
}

.ls-logo-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.08em;
  line-height: 1;
}

.ls-logo-sub {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  color: var(--warm-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}

/* Desktop nav */
.ls-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid rgba(212, 208, 200, 0.3);
}

.ls-nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s var(--ease);
  position: relative;
}

.ls-nav-link:hover {
  color: var(--warm-gold);
}

/* Underline hover effect on nav links */
.ls-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--warm-gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.ls-nav-link:hover::after {
  transform: scaleX(1);
}

.ls-nav-phone {
  font-size: 13px;
  color: var(--mid-grey);
}

.ls-nav-phone a {
  color: var(--mid-grey);
  transition: color 0.2s var(--ease);
}

.ls-nav-phone a:hover {
  color: var(--warm-gold);
}

/* Services dropdown */
.ls-dropdown {
  position: relative;
}

.ls-dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ls-dropdown-arrow {
  font-size: 8px;
  color: var(--mid-grey);
  transition: transform 0.2s var(--ease);
}

.ls-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  padding: 8px 0;
  padding-top: 20px;
  min-width: 240px;
  z-index: 50;
  box-shadow: 0 8px 32px rgba(26,26,46,0.08);
}

/* Invisible bridge between trigger and menu to prevent hover gap */
.ls-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.ls-dropdown:hover .ls-dropdown-menu {
  display: block;
}

.ls-dropdown:hover .ls-dropdown-arrow {
  transform: rotate(180deg);
}

.ls-dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--dark-slate);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.ls-dropdown-item:hover {
  background-color: var(--cream);
  color: var(--charcoal);
  padding-left: 24px;
}

/* Mobile hamburger */
.ls-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
}

.ls-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--charcoal);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Mobile phone icon */
.ls-mobile-phone {
  display: none;
  font-size: 14px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.ls-mobile-menu {
  display: none;
  background: var(--warm-white);
  border-top: 1px solid var(--light-grey);
  padding-bottom: 16px;
}

.ls-mobile-menu.is-open {
  display: block;
}

.ls-mobile-menu-link {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(212, 208, 200, 0.3);
}

.ls-mobile-menu-link:hover {
  color: var(--warm-gold);
}

.ls-mobile-services {
  background: var(--cream);
}

.ls-mobile-services a {
  display: block;
  padding: 12px 24px 12px 40px;
  font-size: 14px;
  color: var(--dark-slate);
  border-bottom: 1px solid rgba(212, 208, 200, 0.2);
}

.ls-mobile-cta {
  padding: 16px 24px;
}

.ls-mobile-cta .ls-btn {
  width: 100%;
  text-align: center;
}

.ls-mobile-cta .ls-phone-note {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--mid-grey);
}

.ls-mobile-cta .ls-phone-note a {
  color: var(--warm-gold);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ls-footer {
  background-color: var(--charcoal);
}

/* Pre-footer CTA strip */
.ls-prefooter {
  background-color: var(--dark-slate);
  padding: 28px 0;
}

.ls-prefooter-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ls-prefooter h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--warm-gold);
  margin-bottom: 4px;
}

.ls-prefooter p {
  font-size: 13px;
  color: var(--mid-grey);
  margin-bottom: 0;
}

/* Footer grid */
.ls-footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 36px 24px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}

.ls-footer-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: 16px;
}

.ls-footer-link {
  display: block;
  font-size: 13px;
  color: #C8C8C8;
  margin-bottom: 10px;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.ls-footer-link:hover {
  color: var(--warm-gold);
  padding-left: 4px;
}

.ls-footer-link--muted {
  color: var(--mid-grey);
  font-style: italic;
}

.ls-footer-text {
  font-size: 12px;
  color: var(--mid-grey);
  line-height: 1.7;
}

.ls-footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.ls-footer-brand-sub {
  font-size: 8px;
  font-weight: 500;
  color: var(--warm-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ls-footer-contact-gold {
  color: var(--warm-gold);
  font-weight: 500;
}

.ls-footer-map-link {
  font-size: 12px;
  color: var(--warm-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease);
}

.ls-footer-map-link:hover {
  color: var(--light-gold);
}

/* Footer bottom bar */
.ls-footer-bottom {
  border-top: 1px solid var(--dark-slate);
  padding: 16px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ls-footer-copyright {
  font-size: 11px;
  color: var(--mid-grey);
}

.ls-footer-socials {
  display: flex;
  gap: 16px;
}

.ls-footer-socials a {
  font-size: 11px;
  color: var(--mid-grey);
  transition: color 0.2s var(--ease);
}

.ls-footer-socials a:hover {
  color: var(--warm-gold);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.ls-text-gold { color: var(--warm-gold); }
.ls-text-charcoal { color: var(--charcoal); }
.ls-text-white { color: var(--white); }
.ls-text-warm-white { color: var(--warm-white); }
.ls-text-mid-grey { color: var(--mid-grey); }
.ls-text-center { text-align: center; }
.ls-mb-0 { margin-bottom: 0; }
.ls-mb-8 { margin-bottom: 8px; }
.ls-mb-16 { margin-bottom: 16px; }
.ls-mb-24 { margin-bottom: 24px; }
.ls-mb-32 { margin-bottom: 32px; }
.ls-mb-48 { margin-bottom: 48px; }
.ls-mt-32 { margin-top: 32px; }

/* Visually hidden but accessible to screen readers */
.ls-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;
}

/* ============================================================
   RESPONSIVE — Mobile first critical overrides
   ============================================================ */
@media (max-width: 768px) {
  .ls-display {
    font-size: 32px;
  }

  h1, .ls-h1 {
    font-size: 28px;
  }

  h2, .ls-h2 {
    font-size: 24px;
  }

  .ls-hero h1,
  .ls-hero .ls-h1 {
    font-size: 32px;
  }

  .ls-section {
    padding: var(--section-pad-mobile) 0;
  }

  .ls-cta-section {
    padding: var(--section-pad-mobile) 0;
  }

  /* Header */
  .ls-nav {
    display: none;
  }

  .ls-hamburger {
    display: flex;
  }

  .ls-mobile-phone {
    display: flex;
  }

  .ls-header-inner {
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    min-height: 60px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .ls-logo {
    margin-bottom: 0;
  }

  .ls-logo img {
    height: 60px;
    max-width: 220px;
  }

  /* Buttons full-width on mobile */
  .ls-btn--mobile-full {
    width: 100%;
    text-align: center;
  }

  /* Cards */
  .ls-card-grid {
    grid-template-columns: 1fr;
  }

  /* Flip cards */
  .ls-flip-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Feature sections */
  .ls-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ls-feature--reverse {
    direction: ltr;
  }

  /* Process steps */
  .ls-process {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Footer */
  .ls-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ls-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .ls-prefooter-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Content padding */
  .ls-container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .ls-footer-grid {
    grid-template-columns: 1fr;
  }

  .ls-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   STICKY MOBILE CTA — "Get a Quote" bottom bar
   ============================================================ */
.ls-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .ls-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--charcoal);
    padding: 12px 20px;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(26,26,46,0.15);
    border-top: 2px solid var(--warm-gold);
  }

  .ls-sticky-cta a {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
  }

  /* Add padding to body so footer isn't hidden behind sticky */
  body {
    padding-bottom: 70px;
  }
}

/* ============================================================
   FOOTER TOOL CARDS
   ============================================================ */
.ls-footer-tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 10px;
  color: #D4BC8A;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ls-footer-tool-card:hover {
  background: rgba(201,169,110,0.08);
  border-color: rgba(201,169,110,0.4);
}

@media (max-width: 768px) {
  .ls-footer-tool-card {
    font-size: 12px;
    padding: 12px 8px;
  }
  div:has(> .ls-footer-tool-card) {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ============================================================
   FOOTER AREAS WE SERVE
   ============================================================ */
.ls-footer-areas {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 20px;
}

.ls-footer-areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.ls-footer-area-link {
  display: inline-block;
  font-size: 13px;
  color: #C8C8C8;
  padding: 5px 12px;
  border-radius: 4px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.ls-footer-area-link:hover {
  color: #C9A96E;
  background: rgba(201,169,110,0.08);
}

/* ============================================================
   PRINT — hide nav/footer
   ============================================================ */
@media print {
  .ls-header, .ls-footer, .ls-prefooter, .ls-cta-section, .ls-sticky-cta {
    display: none;
  }
}
