/* ============================================================
   EASYTOUCH LIMITED — DESIGN SYSTEM
   Premium Luxury Business Website
   ============================================================ */

/* 1. GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* 2. DESIGN TOKENS */
:root {
  --ink:         #0B0B0B;
  --ink-soft:    #1C1C1C;
  --gold:        #B8962E;
  --gold-hover:  #CBA832;
  --gold-pale:   #F2E8CF;
  --cream:       #F8F4EE;
  --cream-dark:  #EDE6DA;
  --white:       #FFFFFF;
  --text:        #1C1C1C;
  --text-muted:  #666666;
  --text-faint:  #999999;
  --border:      #DDD4C0;
  --border-dark: rgba(255,255,255,0.12);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-1:  0.5rem;
  --space-2:  1rem;
  --space-3:  1.5rem;
  --space-4:  2rem;
  --space-5:  2.5rem;
  --space-6:  3rem;
  --space-8:  4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;
  --space-20: 10rem;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 400ms;

  --nav-height: 76px;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

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

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

/* 4. TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.75rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
h4 { font-size: 1.125rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

p { max-width: 64ch; }

strong { font-weight: 600; }

/* 5. LAYOUT */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

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

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

.section {
  padding-block: var(--space-16);
}

.section--sm {
  padding-block: var(--space-10);
}

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

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

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

.section-header {
  max-width: 640px;
  margin-bottom: var(--space-10);
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: inherit;
}

.section-title--light {
  color: var(--white);
}

.section-body {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-body--light {
  color: rgba(255,255,255,0.65);
}

/* 6. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  border-radius: var(--radius-sm);
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,150,46,0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn--sm {
  padding: 0.625rem 1.375rem;
  font-size: 0.75rem;
}

.btn--lg {
  padding: 1.0625rem 2.5rem;
  font-size: 0.875rem;
}

/* 7. NAVIGATION */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: 1.25rem;
  transition: background var(--t-slow) var(--ease),
              padding var(--t-base) var(--ease),
              box-shadow var(--t-slow) var(--ease);
}

.nav--scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-block: 0.875rem;
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06);
}

.nav__container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--t-base) var(--ease);
  letter-spacing: 0.01em;
}

.nav__logo-tag {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav--scrolled .nav__logo-name {
  color: var(--ink);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2.5rem;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t-base) var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav--scrolled .nav__link {
  color: var(--text-muted);
}

.nav--scrolled .nav__link:hover,
.nav--scrolled .nav__link.active {
  color: var(--ink);
}

.nav__cta {
  display: none;
  margin-left: 2rem;
}

@media (min-width: 1024px) {
  .nav__cta {
    display: inline-flex;
  }
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav__burger {
    display: none;
  }
}

.nav__burger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--t-base) var(--ease);
  transform-origin: center;
}

.nav--scrolled .nav__burger-line {
  background: var(--ink);
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease-out);
}

.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.nav__mobile-link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.nav__mobile-link:last-child {
  border-bottom: none;
}

/* 8. HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--ink); /* deepest fallback if image also fails */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  padding-bottom: 5rem; /* reserve clear zone for scroll-cue */
}

/* Dark overlay — heavier on the left where text sits, lighter toward right to reveal video */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(6,5,4,0.88) 0%,
      rgba(6,5,4,0.72) 55%,
      rgba(6,5,4,0.45) 100%),
    linear-gradient(to bottom,
      rgba(6,5,4,0.30) 0%,
      rgba(6,5,4,0.10) 50%,
      rgba(6,5,4,0.40) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Video wrapper — fills the entire hero behind everything */
/* Ken Burns animation on the background image — cinematic slow zoom/pan */
@keyframes kenBurns {
  0%   { transform: scale(1.08) translate(0%, 0%); }
  33%  { transform: scale(1.12) translate(-1.5%, -1%); }
  66%  { transform: scale(1.10) translate(1%, 0.5%); }
  100% { transform: scale(1.08) translate(0%, 0%); }
}

.hero__video-wrap {
  position: absolute;
  inset: -6%; /* slightly oversized so Ken Burns pan never shows edges */
  z-index: 0;
  overflow: hidden;
  background-image: url('../assets/hero-bg.jpg');
  background-position: center 40%;
  background-size: cover;
  animation: kenBurns 16s ease-in-out infinite;
  will-change: transform;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* When video plays it sits on top of the Ken Burns layer */
.hero__video:not([src=""]) {
  z-index: 1;
}

/* Respect reduced-motion: freeze the pan, keep static image */
@media (prefers-reduced-motion: reduce) {
  .hero__video-wrap { animation: none; }
  .hero__video { display: none; }
}

/* Hero copy column */
/* JS sets padding-left to align with the right edge of the nav logo on desktop */
.hero__copy {
  width: 100%;
  transition: padding-left 0.15s ease;
}

.hero__bg-text {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(180px, 25vw, 380px);
  font-weight: 300;
  color: var(--gold);
  opacity: 0.05;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
  z-index: 2;
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-block: clamp(2rem, 7vh, 5.5rem) clamp(1.5rem, 4vh, 3.5rem);
}

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

@media (min-width: 1024px) {
  .hero__container {
    padding-inline: 3rem;
  }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 84px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.2s forwards;
}

.hero__heading em {
  font-style: italic;
  color: var(--gold);
}

.hero__body {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.35s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}

.hero__rule {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(184,150,46,0.2) 60%, transparent 100%);
  opacity: 0.4;
}

/* ---- Hero badge ---- */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem 0.4rem 0.7rem;
  border: 1px solid rgba(184,150,46,0.35);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.05s forwards;
}

.hero__badge-dot {
  --dot-color: var(--gold); /* overridden by JS to green/red */
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot-color);
  position: relative;
  flex-shrink: 0;
  transition: background 0.4s ease;
}

.hero__badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--dot-color);
  opacity: 0.3;
  animation: badgePulse 2.2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50%       { transform: scale(2.2); opacity: 0; }
}

/* ---- Hero stats bar ---- */
.hero__stats-bar {
  display: flex;
  align-items: stretch;
  margin-top: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.7s forwards;
  flex-wrap: wrap;
}

.hero__stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
  min-width: 70px;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.hero__stat-n {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

.hero__stat-l {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.hero__stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.09);
  flex-shrink: 0;
}

/* ---- Hero scroll cue ---- */
.hero__scroll-cue {
  /* reset <button> defaults */
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;

  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  z-index: 3;
  animation: scrollCueBob 2.4s ease-in-out infinite;
  transition: color 0.2s ease;
}

.hero__scroll-cue:hover,
.hero__scroll-cue:focus-visible {
  color: rgba(255,255,255,0.7);
  outline: none;
}

@keyframes scrollCueBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ---- Ticker strip ---- */
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-wrap {
  background: var(--gold);
  overflow: hidden;
  padding: 0.875rem 0;
  position: relative;
  z-index: 5;
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
}

.ticker__item {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  padding: 0 2.25rem;
}

.ticker__sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.ticker-wrap:hover .ticker__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* Old hero__scroll — replaced by hero__scroll-cue */
.hero__scroll {
  display: none !important;
}

/* Legacy: keep hero__scroll styles dormant */
.hero__scroll--legacy {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  margin-top: 0.5rem;
}

/* 9. PILLARS */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
  }
}

.pillars__physical,
.pillars__digital {
  padding: var(--space-12) var(--space-6);
  display: flex;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .pillars__physical,
  .pillars__digital {
    padding: var(--space-16) var(--space-10);
  }
}

.pillars__physical {
  background: var(--ink-soft);
  color: var(--white);
}

.pillars__digital {
  background: var(--gold);
  color: var(--ink);
}

.pillars__content {
  max-width: 480px;
}

.pillars__number {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0.15;
  margin-bottom: 1.25rem;
}

.pillars__physical .pillars__number { color: var(--gold); opacity: 0.3; }
.pillars__digital .pillars__number { color: var(--ink); opacity: 0.15; }

.pillars__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: inherit;
}

.pillars__physical .pillars__title { color: var(--white); }
.pillars__digital .pillars__title { color: var(--ink); }

.pillars__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.pillars__physical .pillars__desc { color: rgba(255,255,255,0.6); }
.pillars__digital .pillars__desc { color: rgba(11,11,11,0.65); }

.pillars__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.pillars__list li {
  font-size: 0.875rem;
  font-weight: 500;
  padding-left: 1.25rem;
  position: relative;
}

.pillars__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
}

.pillars__physical .pillars__list li { color: rgba(255,255,255,0.75); }
.pillars__physical .pillars__list li::before { background: var(--gold); }
.pillars__digital .pillars__list li { color: var(--ink-soft); }
.pillars__digital .pillars__list li::before { background: var(--ink); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn--outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(11,11,11,0.3);
}

.btn--outline-dark:hover {
  background: var(--ink);
  color: var(--gold);
  border-color: var(--ink);
}

/* 10. SERVICE CATEGORY CARDS */
.services-preview {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: var(--space-10);
}

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

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

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background var(--t-base) var(--ease), transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  overflow: hidden;
  cursor: default;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--t-slow) var(--ease-out);
}

.service-card:hover {
  background: var(--cream);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-md);
  z-index: 1;
}

.service-card:hover::after {
  width: 100%;
}

.service-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.service-card__name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
  margin-bottom: 1.25rem;
}

.service-card__count {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.services-preview__footer {
  text-align: center;
  margin-top: var(--space-8);
}

/* 11. WHY US */
.why-us {
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: var(--space-10);
}

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

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

.why-item {
  position: relative;
}

.why-item__number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.why-item__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.why-item__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: none;
}

/* 12. SERVICE AREAS */
.areas {
  background: var(--ink);
  color: var(--white);
}

.areas__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .areas__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: var(--space-2);
}

.area-tag {
  padding: 0.5rem 1.125rem;
  border: 1px solid rgba(184,150,46,0.35);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.area-tag:hover {
  background: rgba(184,150,46,0.08);
  border-color: var(--gold);
}

/* 13. CTA BANNER */
.cta-banner {
  background: var(--ink);
  border-top: 1px solid rgba(184,150,46,0.2);
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .cta-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.cta-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  max-width: 540px;
}

.cta-banner__title strong {
  color: var(--gold);
  font-weight: 400;
}

.cta-banner__desc {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  flex-shrink: 0;
}

/* 14. PAGE HERO */
.page-hero {
  background: var(--ink);
  padding-top: calc(var(--nav-height) + var(--space-12));
  padding-bottom: var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(184,150,46,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.page-hero__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 800px;
}

.page-hero__title em {
  font-style: italic;
  color: var(--gold);
}

.page-hero__body {
  max-width: 580px;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-top: 1.5rem;
}

.page-hero__rule {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(184,150,46,0.15) 60%, transparent 100%);
  opacity: 0.3;
}

/* 15. ABOUT PAGE */
.about-intro {
  background: var(--white);
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 1024px) {
  .about-intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.about-intro__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  max-width: none;
}

.about-intro__lead em {
  font-style: italic;
  color: var(--gold);
}

.about-intro__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: none;
}

.about-intro__body p + p {
  margin-top: 1.25rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: var(--space-10);
}

.stat-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* 16. SERVICES PAGE */
.services-page {
  background: var(--cream);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-8);
}

.filter-tab {
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  border-radius: var(--radius-sm);
}

.filter-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-item {
  background: var(--white);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: all var(--t-base) var(--ease);
  position: relative;
}

.service-item:hover {
  border-left-color: var(--gold);
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

.service-item__category {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.service-item__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-item__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
}

/* 17. CONTACT PAGE */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
  }
}

.contact-info__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:first-child {
  padding-top: 0;
}

.contact-detail__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-detail__value {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 400;
}

.contact-detail__value a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.contact-detail__value a:hover {
  color: var(--gold);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--t-fast) var(--ease);
}

.contact-social__link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Contact Form */
.contact-form {
  background: var(--cream);
  padding: 2.5rem;
}

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

.form-title {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 2rem;
}

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

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  outline: none;
  transition: border-color var(--t-fast) var(--ease);
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-faint);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-submit {
  grid-column: 1 / -1;
  justify-self: start;
}

.form-success {
  display: none;
  padding: 1.25rem 1.5rem;
  background: rgba(184,150,46,0.1);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-size: 0.9375rem;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
}

.form-success.visible {
  display: block;
}

/* Hours */
.hours-section {
  background: var(--cream);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .hours-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hours-table {
  width: 100%;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 500;
  color: var(--ink);
}

.hours-time {
  color: var(--text-muted);
}

.hours-time--closed {
  color: var(--text-faint);
}

/* 18. FOOTER */
.footer {
  background: var(--ink);
  color: var(--white);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  border-top: 1px solid rgba(184,150,46,0.15);
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

@media (min-width: 1024px) {
  .footer__main {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.footer__logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.footer__logo-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--white);
  display: block;
  letter-spacing: 0.01em;
}

.footer__logo-tag {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.footer__tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.875rem;
}

.footer__about {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 1.75rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
}

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

.footer__nav-title {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__nav-list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.footer__nav-list a:hover {
  color: var(--gold);
}

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer__address p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  max-width: none;
}

.footer__address a {
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

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

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: var(--space-6);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
  max-width: none;
}

.footer__location {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.2);
  max-width: none;
}

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

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* 20. KEYFRAMES */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 21. UTILITIES */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }

/* focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
   RESPONSIVE OVERRIDES — MOBILE & TABLET
   ============================================================ */

/* --- Section padding: reduce on mobile --- */
@media (max-width: 767px) {
  .section        { padding-block: var(--space-10); }
  .section--sm    { padding-block: var(--space-8); }
}

/* --- Hero: small phones --- */
@media (max-width: 480px) {
  .hero__container {
    padding-block: var(--space-8) var(--space-8);
  }
  .hero__body {
    font-size: 0.9375rem;
  }
}

/* Hide the vertical scroll indicator on mobile (fixed position causes overflow on narrow screens) */
@media (max-width: 767px) {
  .hero__scroll { display: none; }
  .hero__scroll-cue { display: none; }
}

/* --- Hero actions: stack vertically on small screens --- */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
}

/* --- Page hero: reduce top padding on mobile --- */
@media (max-width: 480px) {
  .page-hero {
    padding-top: calc(var(--nav-height) + var(--space-6));
    padding-bottom: var(--space-8);
  }
}

/* --- Buttons: allow text to wrap, prevent overflow on very small screens --- */
@media (max-width: 380px) {
  .btn {
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .btn--lg {
    padding: 0.875rem 1.25rem;
  }
}

/* --- Pillars: reduce padding and allow full-width content on mobile --- */
@media (max-width: 767px) {
  .pillars__physical,
  .pillars__digital {
    padding: var(--space-10) 1.5rem;
  }
  .pillars__content {
    max-width: 100%;
  }
  .pillars__title {
    font-size: clamp(1.75rem, 8vw, 3rem);
  }
}

/* On mobile, ensure pillar buttons don't overflow */
@media (max-width: 480px) {
  .pillars__physical .btn,
  .pillars__digital .btn {
    display: block;
    text-align: center;
    white-space: normal;
    width: 100%;
  }
}

/* --- Services grid: single column on very small screens --- */
@media (max-width: 400px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Services filter tabs: smaller text & padding on mobile --- */
@media (max-width: 640px) {
  .filter-tabs {
    gap: 0.375rem;
  }
  .filter-tab {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }
}

/* --- Why grid: reduce gap on mobile --- */
@media (max-width: 640px) {
  .why-grid { gap: 2rem; }
}

/* --- Stat row: collapse to single column on very small screens --- */
@media (max-width: 480px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
  .stat-item {
    padding: 1.5rem 1.25rem;
  }
}

/* --- Areas section: reduce button top margin on mobile --- */
@media (max-width: 767px) {
  .areas .btn {
    margin-top: 1.75rem !important;
  }
}

/* --- CTA banner: stack action buttons on mobile --- */
@media (max-width: 480px) {
  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .cta-banner__actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
    white-space: normal;
  }
}

/* --- Contact form: reduce padding on small screens --- */
@media (max-width: 480px) {
  .contact-form {
    padding: 1.5rem 1.25rem;
  }
}

/* --- Form grid: always single column on small screens --- */
@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Hours section: reduce padding on mobile --- */
@media (max-width: 767px) {
  .hours-section.section {
    padding-block: var(--space-8);
  }
}

/* --- Footer: ensure about text doesn't overflow its column --- */
@media (max-width: 640px) {
  .footer__about {
    max-width: 100%;
  }
}

/* --- Footer brand: full-width on small screens --- */
@media (max-width: 480px) {
  .footer__logo-name {
    font-size: 1rem;
  }
}

/* --- Services page: reduce section padding on mobile --- */
@media (max-width: 767px) {
  .services-page.section {
    padding-block: var(--space-8);
  }
  .filter-tabs {
    margin-bottom: var(--space-5);
  }
}

/* --- Service items: full width on very small screens --- */
@media (max-width: 480px) {
  .services-list {
    grid-template-columns: 1fr;
  }
}

/* --- Section header: allow text to wrap cleanly --- */
@media (max-width: 480px) {
  .section-title {
    font-size: clamp(1.625rem, 7vw, 3rem);
  }
  .page-hero__title {
    font-size: clamp(2rem, 10vw, 5rem);
  }
}

/* --- Contact social links: ensure spacing on mobile --- */
@media (max-width: 480px) {
  .contact-social {
    margin-top: 1.5rem;
  }
}

/* --- Ensure no horizontal scroll from absolute-positioned hero elements --- */
.hero,
.page-hero {
  overflow-x: hidden;
}

/* --- Nav container: ensure burger is always visible on mobile --- */
@media (max-width: 1023px) {
  .nav__container {
    justify-content: space-between;
  }
}

/* --- Tablet (768-1023): intermediate adjustments --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .section        { padding-block: var(--space-12); }
  .areas__inner   { gap: var(--space-10); }
  .about-intro__grid { gap: var(--space-10); }
  .cta-banner__inner { gap: 2rem; }
}

/* --- Ensure long words and URLs never break container --- */
* {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--ink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--t-base) var(--ease),
              transform var(--t-base) var(--ease-out),
              background var(--t-fast) var(--ease);
  box-shadow: 0 4px 20px rgba(184,150,46,0.28);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(184,150,46,0.4);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 4.5rem;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.28);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease),
              background var(--t-fast) var(--ease);
  animation: waPulse 3s ease-in-out 3s infinite;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.28); }
  50%       { box-shadow: 0 4px 24px rgba(37,211,102,0.5), 0 0 0 7px rgba(37,211,102,0.08); }
}

@media (max-width: 380px) {
  .scroll-top   { bottom: 1rem; right: 1rem; }
  .whatsapp-btn { bottom: 1rem; right: 4rem; }
}

/* ============================================================
   FOOTER HEADER
   ============================================================ */

.footer__header {
  padding-block: var(--space-10);
  text-align: center;
  border-bottom: 1px solid rgba(184,150,46,0.15);
  margin-bottom: var(--space-10);
}

.footer__hdr-tagline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  max-width: none;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.footer__hdr-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.footer__hdr-phone {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2vw, 1.625rem);
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--t-fast) var(--ease);
}

.footer__hdr-phone:hover {
  color: var(--gold);
}

.footer__hdr-sep {
  color: rgba(184,150,46,0.3);
  font-size: 1.125rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ============================================================
   PARALLAX BAND
   ============================================================ */

.parallax-band {
  position: relative;
  min-height: 500px;
  background-image: url('../assets/parallax-bg.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.parallax-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,7,6,0.78) 0%,
    rgba(8,7,6,0.65) 50%,
    rgba(8,7,6,0.78) 100%
  );
  display: flex;
  align-items: center;
  width: 100%;
}

.parallax-band__inner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding-block: 5rem;
}

.parallax-band__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.parallax-band__quote {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  margin: 0 0 2.75rem;
  quotes: none;
}

/* iOS and mobile: fixed attachment is unsupported, fall back to scroll */
@supports (-webkit-overflow-scrolling: touch) {
  .parallax-band {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .parallax-band {
    background-attachment: scroll;
    min-height: 380px;
  }

  .parallax-band__inner {
    padding-block: 4rem;
  }
}
