/* =====================================================================
   SHINE BY SPARSH, FAMILY SALON — DESIGN SYSTEM & SHARED CHROME
   ---------------------------------------------------------------------
   Part 1 of 2  (see sections.css for page sections)

   Palette (warm editorial — no black/gold luxury clichés):
     ink        #292624  primary text / dark buttons
     ink-soft   #706A65  muted text
     cocoa      #8B6257  primary brand
     cocoa-deep #6F4D45  button hover
     champagne  #C8A98A  borders / decor accents ONLY (never small text
                          on light backgrounds)
     sand       #E8DDD4  soft accent band
     cream      #F7F3EE  page background
     surface    #FFFFFF  cards
     sage       #6F7D70  success accents

   Typography: Cormorant Garamond (display) + DM Sans (body)
   ===================================================================== */

/* ---------------------------------------------------------------
   1. TOKENS
--------------------------------------------------------------- */
:root {
  /* Colour */
  --ink: #292624;
  --ink-soft: #706A65;
  --ink-soft-2: #8A8480;
  --cocoa: #8B6257;
  --cocoa-deep: #6F4D45;
  --champagne: #C8A98A;
  --sand: #E8DDD4;
  --cream: #F7F3EE;
  --surface: #FFFFFF;
  --sage: #6F7D70;
  --border-warm: #E5DCD2;

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Type scale — fluid between mobile and desktop targets
     H1 42→76px · H2 34→56px · H3 22→30px · body 16→18px */
  --fs-h1: clamp(2.625rem, 1.1rem + 4.5vw, 4.75rem);
  --fs-h2: clamp(2.125rem, 1.4rem + 2.5vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.1875rem);
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-small: 0.9rem;
  --fs-tiny: 0.8rem;

  /* Layout & rhythm */
  --container: 1180px;
  --container-wide: 1280px;
  --gutter: clamp(1.25rem, 4.5vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 4vw, 7rem);

  /* Radii & shadows & motion */
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-card: 0 14px 36px -26px rgba(41, 38, 36, 0.35);
  --shadow-hover: 0 18px 40px -24px rgba(41, 38, 36, 0.4);
  --shadow-float: 0 12px 32px -14px rgba(41, 38, 36, 0.4);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --t-fast: 200ms;
  --t-med: 320ms;
}

/* ---------------------------------------------------------------
   2. RESET & BASE
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Mobile sticky action bar reserves space so nothing is covered
   (58px row + 1px border, matching the approved design) */
@media (max-width: 767.98px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 600; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cocoa-deep); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--cocoa); }

ul, ol { margin: 0; padding: 0; list-style: none; }

address { font-style: normal; }

strong { font-weight: 600; }

::selection { background: var(--sand); color: var(--ink); }

/* Visible focus for keyboard users everywhere */
:focus-visible {
  outline: 2px solid var(--cocoa);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link — first tab stop */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 0; color: var(--cream); }

/* Screen-reader-only helper */
.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;
}

/* ---------------------------------------------------------------
   3. SHARED UTILITIES
--------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide {
  max-width: var(--container-wide);
}

.section { padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * 0.66); }

.surface-card {
  background: var(--surface);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
}

/* Eyebrow label (section kicker) */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cocoa-deep);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--champagne);
  flex-shrink: 0;
}
.eyebrow-center { justify-content: center; }
.eyebrow-center::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--champagne);
  flex-shrink: 0;
}
.eyebrow-light { color: var(--champagne); }
.eyebrow-light::before, .eyebrow-light::after { background: var(--champagne); }

/* Lead paragraph under headings */
.lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* Serif italic accent inside headings */
.accent-italic {
  font-style: italic;
  font-weight: 500;
  color: var(--cocoa);
}
.accent-italic-light { font-style: italic; font-weight: 500; color: var(--champagne); }

/* Section heading block */
.section-heading { max-width: 720px; margin-bottom: clamp(2.5rem, 2vw, 3.75rem); }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .lead { margin-inline: auto; }
.section-heading h2 { margin-bottom: 0.45em; }

/* Demo image chip — marks replaceable demo imagery honestly.
   Controlled by SITE_CONFIG.flags.showDemoLabels in main.js. */
.demo-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.92);
  background: rgba(41, 38, 36, 0.55);
  backdrop-filter: blur(4px);
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   4. REVEAL ANIMATIONS (subtle fade / slide — respects reduced motion)
--------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

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

/* No-JS fallback: content must be visible without JavaScript */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   5. BUTTONS
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition:
    background-color var(--t-med) var(--ease),
    color var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-med) var(--ease);
  -webkit-appearance: none;
  appearance: none;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn:focus-visible { outline-offset: 4px; }

.btn .ic { flex-shrink: 0; }
.btn .ic svg { width: 1.05em; height: 1.05em; }

/* Dark (primary) */
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--cocoa-deep);
  color: var(--cream);
  box-shadow: 0 12px 26px -14px rgba(111, 77, 69, 0.65);
}

/* Cocoa (brand warm) */
.btn-cocoa {
  background: var(--cocoa);
  color: var(--surface);
}
.btn-cocoa:hover {
  background: var(--cocoa-deep);
  color: var(--surface);
  box-shadow: 0 12px 26px -14px rgba(111, 77, 69, 0.65);
}

/* Outline on light backgrounds */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(41, 38, 36, 0.3);
}
.btn-outline:hover {
  background: var(--surface);
  border-color: var(--cocoa);
  color: var(--cocoa-deep);
}

/* Light solid + outline-light on dark backgrounds */
.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.5);
}
.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 238, 0.45);
}
.btn-outline-light:hover {
  border-color: var(--champagne);
  color: var(--champagne);
  background: rgba(247, 243, 238, 0.06);
}

/* Sizes (heights and type sizes match the approved design system) */
.btn-lg { height: 52px; padding: 0 32px; font-size: 0.9375rem; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 0.845rem; }
.btn-block { width: 100%; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cocoa-deep);
}
.link-arrow .ic svg { transition: transform var(--t-med) var(--ease); }
.link-arrow:hover .ic svg { transform: translateX(4px); }
.link-arrow-light { color: var(--champagne); }

/* ---------------------------------------------------------------
   6. ICONS (hydrated from main.js — [data-icon] spans)
--------------------------------------------------------------- */
.ic { display: inline-flex; align-items: center; justify-content: center; }
.ic svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke: currentColor;
}

/* ---------------------------------------------------------------
   7. ANNOUNCEMENT BAR
--------------------------------------------------------------- */
.announcement {
  background: var(--ink);
  color: rgba(247, 243, 238, 0.9);
}
.announcement .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  min-height: 40px;
  padding-block: 8px;
  text-align: center;
}
.announcement p {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin: 0;
}
.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(247, 243, 238, 0.1);
  color: var(--champagne);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.announcement a:hover { background: rgba(247, 243, 238, 0.2); color: var(--cream); }
.announcement a .ic svg { width: 0.8rem; height: 0.8rem; }

/* ---------------------------------------------------------------
   8. HEADER / NAVIGATION (sticky with compact transition)
--------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 238, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 243, 238, 0.96);
  border-bottom-color: var(--border-warm);
  box-shadow: 0 2px 20px -12px rgba(41, 38, 36, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
  transition: height var(--t-med) var(--ease);
}
.site-header.is-scrolled .header-inner { height: 62px; }

/* Logo lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  padding: 4px;
}
.brand-mark { flex-shrink: 0; }
.brand-mark svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: font-size var(--t-med) var(--ease);
}
.brand-tag {
  margin-top: 5px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cocoa-deep);
}
.site-header.is-scrolled .brand-name { font-size: 1.18rem; }
.site-header.is-scrolled .brand-mark svg { width: 34px; height: 34px; }

/* Desktop nav */
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 15px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(41, 38, 36, 0.72);
  border-radius: 999px;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.main-nav a:hover { color: var(--ink); background: rgba(232, 221, 212, 0.6); }
.main-nav a[aria-current="page"] { color: var(--cocoa-deep); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 2px;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Desktop actions */
.header-actions { display: none; align-items: center; gap: 10px; }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.844rem; /* 13.5px */
  font-weight: 600;
  color: rgba(41, 38, 36, 0.8);
}
.header-phone:hover { color: var(--cocoa-deep); }
.header-phone .ic { color: var(--cocoa); }
.header-phone .ic svg { width: 1rem; height: 1rem; }

/* Hamburger (mobile only) */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
.nav-toggle:hover { background: rgba(232, 221, 212, 0.7); }
.nav-toggle .ic svg { width: 1.5rem; height: 1.5rem; }

/* Nav + actions appear at 768px (md), phone link joins at 1024px (lg) —
   matching the approved design's breakpoints. */
@media (min-width: 768px) {
  .main-nav { display: block; }
  .header-actions { display: inline-flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1024px) {
  .header-phone { display: inline-flex; }
}
@media (max-width: 767.98px) {
  .main-nav { display: none; }
}

/* Mobile menu panel */
.mobile-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--cream);
  border-bottom: 1px solid var(--border-warm);
  box-shadow: 0 18px 40px -18px rgba(41, 38, 36, 0.35);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    visibility 0s linear var(--t-med),
    opacity var(--t-med) var(--ease),
    transform var(--t-med) var(--ease);
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.mobile-menu ul { padding-block: 10px; }
.mobile-menu .mobile-link {
  display: block;
  padding: 13px 12px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(41, 38, 36, 0.85);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.mobile-menu .mobile-link:hover { background: rgba(232, 221, 212, 0.55); }
.mobile-menu .mobile-link[aria-current="page"] {
  background: rgba(232, 221, 212, 0.75);
  color: var(--cocoa-deep);
}
.mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-block: 16px;
  border-top: 1px solid rgba(229, 220, 210, 0.7);
}
.mobile-menu-actions .btn-whatsapp { grid-column: 1 / -1; }

/* ---------------------------------------------------------------
   9. MOBILE STICKY ACTION BAR (Call / WhatsApp / Directions)
   Matches the approved design: light surface, warm top border,
   vertical dividers, 58px rows, cocoa-deep text, upward shadow.
--------------------------------------------------------------- */
.mobile-action-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e5dbd2;
  box-shadow: 0 -6px 24px -12px rgba(41, 38, 36, 0.35);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-action-bar ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.mobile-action-bar li + li { border-left: 1px solid #e5dbd2; }
.mobile-action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 58px;
  color: var(--cocoa-deep);
  font-size: 0.719rem; /* 11.5px */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-action-bar a:active { background: rgba(232, 221, 212, 0.6); }
.mobile-action-bar .ic { color: var(--cocoa-deep); }
.mobile-action-bar .ic svg { width: 1.25rem; height: 1.25rem; }

@media (max-width: 767.98px) {
  .mobile-action-bar { display: block; }
}

/* ---------------------------------------------------------------
   10. FOOTER
--------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(247, 243, 238, 0.78);
}
.footer-grid {
  display: grid;
  gap: 44px;
  padding-block: clamp(3.5rem, 3vw, 4.5rem);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; } }

/* Light logo lockup in footer */
.site-footer .brand-name { color: var(--cream); }
.site-footer .brand-tag { color: var(--champagne); }

.footer-about {
  margin-top: 18px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(247, 243, 238, 0.62);
  max-width: 34ch;
}

.footer-social { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social .social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247, 243, 238, 0.28);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(247, 243, 238, 0.85);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.footer-social .social-chip:hover {
  border-color: var(--champagne);
  color: var(--champagne);
}
/* Placeholder chips (URL not confirmed yet) */
.footer-social .social-chip.placeholder {
  border-style: dashed;
  border-color: rgba(247, 243, 238, 0.3);
  color: rgba(247, 243, 238, 0.45);
  cursor: default;
  font-weight: 500;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
  margin: 0 0 20px;
}
.footer-links li + li { margin-top: 12px; }
.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(247, 243, 238, 0.75);
}
.footer-links a:hover { color: var(--champagne); }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-contact-list li + li { margin-top: 16px; }
.footer-contact-list .ic {
  color: rgba(200, 169, 138, 0.85);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-list a { color: rgba(247, 243, 238, 0.75); }
.footer-contact-list a:hover { color: var(--champagne); }
.footer-muted { color: rgba(247, 243, 238, 0.5); }

.footer-visit {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(247, 243, 238, 0.62);
}
.footer-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(247, 243, 238, 0.3);
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(247, 243, 238, 0.85);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.footer-map-btn:hover { border-color: var(--champagne); color: var(--champagne); }

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 238, 0.12);
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  font-size: 0.78rem;
  color: rgba(247, 243, 238, 0.5);
}
@media (min-width: 640px) {
  .footer-bottom .container { flex-direction: row; }
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal span { cursor: default; }
/* Legal links sit between copyright and the demo note on mobile,
   and after it on desktop — matching the approved design. */
.footer-bottom .footer-demo { order: 3; }
.footer-bottom .footer-legal { order: 2; }
@media (min-width: 640px) {
  .footer-bottom .footer-demo { order: 2; }
  .footer-bottom .footer-legal { order: 3; }
}

/* ---------------------------------------------------------------
   11. FORMS (enquiry form on contact page)
--------------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.form-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}
.form-top h2 { margin: 0; font-size: 1.6rem; }
.form-top-note { font-size: 0.78rem; color: var(--ink-soft); margin: 0; }

.form-grid {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-span-2 { grid-column: 1 / -1; }
}

.field label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.field .req { color: var(--cocoa); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--champagne); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cocoa);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(139, 98, 87, 0.16);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23706A65' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 1rem;
  padding-right: 42px;
  cursor: pointer;
}

.field-hint {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin: 7px 0 0;
}

/* Validation error state */
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #C4938E;
  background: #FCF4F2;
}
.field-error {
  display: none;
  font-size: 0.76rem;
  font-weight: 500;
  color: #A0423A;
  margin: 7px 0 0;
}
.field.has-error .field-error { display: block; }

/* Form footer note + status announcer */
.form-note {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

/* Loading spinner in submit button */
.spinner {
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: spin 700ms linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 1.6s; }
}

/* Success / error panels */
.form-status-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 420px;
  padding: clamp(2rem, 5vw, 3rem);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 22px;
}
.status-badge .ic svg { width: 1.9rem; height: 1.9rem; }
.status-success .status-badge { background: rgba(111, 125, 112, 0.14); color: var(--sage); }
.status-error .status-badge { background: #FBEDEE; color: #A0423A; }
.status-success h2 { font-size: 1.75rem; }
.status-error h2 { font-size: 1.6rem; color: #7A2E2E; }
.status-panel-text {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 40ch;
}
.status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

/* Error alert shown above the form */
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid #D9A8A2;
  background: #FBEEEC;
  color: #7A2E2E;
}
.form-alert .ic { color: #A0423A; flex-shrink: 0; margin-top: 1px; }
.form-alert strong { display: block; font-size: 0.875rem; }
.form-alert a { font-size: 0.82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Honeypot — hidden from humans and assistive tech */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
