/* ============================================================
   RESTRUCTURA & DESIGN ÃƒÆ’Ã† €™Ãƒ €  ‚¬ „¢ ¢ÃƒÆ’Ã† €™ ¢ €š ¬Ã… ¡ ¬ÃƒÆ’ ‚¬ ¦ ¡ÃƒÆ’Ã† €™ €š ¬Ã… ¡ ¬ÃƒÆ’Ã† €™Ãƒ €  ‚¬ „¢ ¢ÃƒÆ’Ã† €™ ¢ ‚¬Å¡ ¬Ãƒ €¦ ¡ ¬ÃƒÆ’Ã† €™ €š ¬Ã… ¡  Luxury Renovation Design System
   Palette: Espresso  · Gold  · Ivory  · Pearl
   ============================================================ */

:root {
  /* Brand colours */
  --espresso:    #1C1410;
  --espresso-mid:#2E2218;
  --gold:        #C8A96A;
  --gold-light:  #E8D5A8;
  --gold-dark:   #9A7A45;
  --ivory:       #F7F3ED;
  --pearl:       #FBF8F4;
  --warm-gray:   #8A7F74;
  --border-warm: #E2D9CE;
  --white:       #FFFFFF;

  /* Semantic aliases */
  --primary:       var(--espresso);
  --accent:        var(--gold);
  --text-primary:  var(--espresso);
  --text-secondary:#5A5048;
  --text-muted:    var(--warm-gray);
  --bg:            var(--pearl);
  --bg-alt:        var(--ivory);
  --bg-dark:       var(--espresso);
  --border:        var(--border-warm);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --font-sans:    'Space Grotesk', sans-serif;

  /* Fluid type */
  --t-xs:   clamp(0.70rem, 0.9vw,  0.78rem);
  --t-sm:   clamp(0.82rem, 1.0vw,  0.90rem);
  --t-base: clamp(0.94rem, 1.1vw,  1.00rem);
  --t-lg:   clamp(1.05rem, 1.4vw,  1.20rem);
  --t-xl:   clamp(1.40rem, 2.4vw,  2.00rem);
  --t-2xl:  clamp(1.80rem, 3.2vw,  2.80rem);
  --t-3xl:  clamp(2.40rem, 5.0vw,  4.20rem);
  --t-hero: clamp(3.20rem, 4vw,  7.00rem);

  /* Spacing */
  --s1:4px;
  --s2:8px;
  --s3:16px;
  --s4:24px;
  --s5:32px;
  --s6:48px;
  --s8:64px;
  --s10:80px;
  --s12:96px;
  --s16:128px;
  --container: 1320px;
  --pad:       clamp(16px, 5vw, 80px);
  --section:   clamp(80px, 10vw, 152px);
  --radius:    2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --ease:      400ms cubic-bezier(0.25, 0, 0.1, 1);
  --ease-slow: 700ms cubic-bezier(0.25, 0, 0.1, 1);
  --z-nav:    100;
  --z-cursor: 9999;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.70;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body, .btn, .service-card { cursor: auto; } }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--espresso); color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  color: var(--text-primary);
  font-weight: 600;
  padding-bottom: 0.30em;
}
h1 { font-size: var(--t-hero);  font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--t-3xl);   letter-spacing: -0.015em; }
h3 { font-size: var(--t-xl); }
h4 { font-family: var(--font-sans); font-size: var(--t-lg); font-weight: 600; }

p  { color: var(--text-secondary); line-height: 1.75; }

.mono   { font-family: var(--font-mono);  font-size: 0.70em; letter-spacing: 0.16em; text-transform: uppercase; }
.sans   { font-family: var(--font-sans); }
.label  { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.20em; text-transform: uppercase; color: var(--gold); }
.accent { color: var(--gold); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
section    { padding: var(--section) 0; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--ease);
  cursor: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-vendi-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--grigio-mid);
    overflow: hidden;
    flex-shrink: 0;
}

@media (hover: none) { .btn { cursor: auto; } }
.btn-arrow { transition: transform var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn--dark {
  background: var(--bg-alt);
  color: var(--espresso);
  border-color: var(--espresso);
}
.btn--dark:hover {background: transparent;border-color: var(--gold);color: var(--gold);}

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

.btn--gold {
  background: var(--accent-dim-2);
  color: var(--espresso);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }

.btn--light {
  background: var(--pearl);
  color: var(--espresso);
  border-color: var(--pearl);
}
.btn--light:hover { background: var(--ivory); }

/* ---- Navigation ---- */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  transition: background var(--ease), box-shadow var(--ease);
  background: var(--ivory);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  will-change: blur;
  color: var(--testo);
  border-bottom: solid 1px var(--accent-dim);
}
#main-nav.scrolled {
  background: rgba(28, 20, 16, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(200, 169, 106, 0.2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  max-width: var(--container);
  margin: 0 auto;
}
.nav__logo img { height: 36px; width: auto; }
.nav__logo-desktop { display: none; }
.nav__logo-mobile  { display: block; }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s6);
  list-style: none;
}
@media (max-width: 900px) { .nav__links { display: none; } }
.nav__link {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  transition: color var(--ease);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--gold); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.nav__cta {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  color: var(--accent-dark);
  border-radius: var(--radius);
  transition: all var(--ease);
  background: var(--gold);
  font-weight: 800;
}
.nav__cta:hover { background: var(--gold); color: var(--espresso); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--testo);
  transition: all var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 900px) { .nav__hamburger { display: flex; } }

/* ---- Mobile menu ---- */
.nav__mobile {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: var(--espresso);
  z-index: calc(var(--z-nav) - 1);
  display: flex;
  flex-direction: column;
  padding: 100px var(--pad) var(--s8);
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(0.25, 0, 0.1, 1);
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile ul { display: flex; flex-direction: column; gap: var(--s4); }
.nav__mobile .nav__link {
  font-size: var(--t-lg);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--pearl);
}
.nav__mobile .nav__cta { align-self: flex-start; margin-top: var(--s4); }
.nav__mobile-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.nav__mobile-footer a {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--warm-gray);
  letter-spacing: 0.10em;
}

/* ---- Hero ---- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--s16) var(--pad) var(--s8);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200,169,106,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: -webkit-fill-available;
  width: 100%;
}
.hero__logo {
  width: auto;
  max-height: 13vh;
  margin: 0 auto var(--s6);
  filter: brightness(0) invert(0.2);
  margin: 20px auto;
}
.hero__divider {
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 0 auto var(--s5);
  opacity: 0.8;
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--t-hero);
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--s5);
}
.hero__tagline em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-family: var(--font-sans);
  font-size: var(--t-lg);
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s8);
}
.hero__sub .phrase { display: inline; }
.hero__sub .phrase + .phrase::before { content: '  · '; color: rgba(200,169,106,0.4); }
.hero__cta {
  display: flex;
  gap: var(--s3);
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: var(--s6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  color: rgba(251,248,244,0.35);
}
.hero__scroll .mono { font-size: 0.65rem; }
.scroll-bar {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 0.8; transform: scaleY(1.15); }
}

/* ---- Intro ---- */
.intro-section { background: var(--pearl); }
.intro-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 768px) {
  .intro-section .container { grid-template-columns: 1fr; }
}
.intro__statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 600;
  color: var(--espresso);
  line-height: 1.18;
  letter-spacing: -0.01em;
  white-space: pre-line;
}
.intro__body { color: var(--text-secondary); margin-bottom: var(--s6); }
.intro__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  border-top: 1px solid var(--border);
  padding-top: var(--s6);
}
@media (max-width: 480px) { .intro__stats { grid-template-columns: 1fr 1fr; } }
.intro__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--espresso);
  line-height: 1;
  margin-bottom: 6px;
}
.intro__stat-label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

/* ---- Services ---- */
.services-section { background: var(--ivory); }
.services-section h2 { margin-bottom: 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--espresso);
  cursor: none;
}
@media (hover: none) { .service-card { cursor: auto; } }
.service-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: saturate(0.6) brightness(0.55);
}
.service-card:hover .service-card__img { transform: scale(1.06); filter: saturate(0.7) brightness(0.5); }
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,20,16,0.90) 0%, rgba(28,20,16,0.25) 60%, transparent 100%);
  transition: opacity var(--ease);
}
.service-card__content {
  position: relative;
  z-index: 1;
  padding: var(--s6) var(--s5);
}
.service-card__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: var(--s3);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 600;
  color: var(--pearl);
  line-height: 1.15;
  margin-bottom: var(--s2);
}
.service-card__desc {
  font-size: var(--t-sm);
  color: rgba(251,248,244,0.65);
  line-height: 1.55;
  margin-bottom: var(--s4);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.service-card:hover .service-card__desc { max-height: 120px; opacity: 1; }
.service-card__link {
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--ease);
}
.service-card:hover .service-card__link { gap: 12px; }

/* ---- Process / Project Tracking ---- */
.process-section   { background: var(--pearl); }
.tracking-section  {background: var(--espresso-mid);color: var(--pearl);}
.tracking-section h2   { color: var(--pearl); }
.tracking-section p    { color: rgba(251,248,244,0.7); }
.tracking-section .section-eyebrow .label { color: var(--gold); }
.tracking-section .section-eyebrow::before { background: var(--gold); }
.tracking-section .process__step { border-left-color: rgba(200,169,106,0.2); }
.tracking-section .process__circle {
  background: rgba(200,169,106,0.12);
  border-color: rgba(200,169,106,0.3);
  color: var(--gold);
}
.tracking-section .process__num   { color: rgba(251,248,244,0.35); }
.tracking-section .process__title { color: var(--pearl); }
.tracking-section .process__desc  { color: rgba(251,248,244,0.65); }
.tracking-section .process__line  { background: rgba(200,169,106,0.15); }

.process__intro { color: var(--text-secondary); max-width: 600px; margin-bottom: var(--s8); }
.process__note {
  max-width: 560px;
  margin-top: var(--s6);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.10em;
  color: var(--warm-gray);
  border-left: 2px solid var(--gold);
  padding-left: var(--s3);
  line-height: 1.6;
}

.process__track-wrap { position: relative; }
.process__line {
  position: absolute;
  top: 26px; left: 24px;
  width: calc(100% - 48px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process__line-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: left;
}
.process__steps {
  display: flex;
  gap: clamp(16px, 3vw, 48px);
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .process__line { display: none; }
  .process__steps {
    flex-direction: column;
    gap: var(--s5);
  }
  .process__step { border-left: 2px solid var(--border); padding-left: var(--s4); }
  .process__circle { margin-left: calc(-1 * var(--s4) - 19px); }
}
.process__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.process__circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--pearl);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: var(--s3);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.process__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--warm-gray);
  margin-bottom: 4px;
}
.process__title {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: var(--s2);
}
.process__desc {
  font-size: var(--t-sm);
  color: var(--text-secondary);
  line-height: 1.60;
  max-width: 200px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .process__step { align-items: flex-start; text-align: left; }
  .process__desc { max-width: 100%; }
}

/* ---- Manifesto ---- */
.manifesto-section {
  background: var(--espresso);
  color: var(--pearl);
  position: relative;
  overflow: hidden;
}
.manifesto-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,106,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 768px) { .manifesto__grid { grid-template-columns: 1fr; } }
.manifesto-section h2 { color: var(--pearl); }
.manifesto-section .section-eyebrow .label { color: var(--gold); }
.manifesto-section .section-eyebrow::before { background: var(--gold); }

.manifesto__quote {
  border-left: 2px solid var(--gold);
  padding-left: var(--s5);
  margin-top: var(--s6);
}
.manifesto__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-style: italic;
  color: rgba(251,248,244,0.85);
  line-height: 1.55;
  margin-bottom: var(--s3);
}
.manifesto__quote cite {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

.manifesto__metrics { display: flex; flex-direction: column; gap: var(--s6); }
.metric-row { display: flex; flex-direction: column; gap: var(--s2); }
.metric-row__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--pearl);
  line-height: 1;
}
.metric-row__unit { font-size: 0.5em; color: var(--gold); }
.metric-row__label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,248,244,0.50);
  line-height: 1.5;
}
.metric-row + .metric-row {
  border-top: 1px solid rgba(200,169,106,0.15);
  padding-top: var(--s6);
}

/* ---- Territory ---- */
.territory-section { background: var(--ivory); }
.territory__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
@media (max-width: 768px) { .territory__grid { grid-template-columns: 1fr; } }
.territory__regions { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s6); }
.region-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: default;
  transition: border-color var(--ease), background var(--ease);
}
.region-item:hover, .region-item.active {
  border-color: var(--gold);
  background: rgba(200,169,106,0.04);
}
.region-item__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--warm-gray);
  flex-shrink: 0;
  transition: background var(--ease);
}
.region-item:hover .region-item__dot,
.region-item.active .region-item__dot { background: var(--gold); }
.region-item__content { flex: 1; }
.region-item__name {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--espresso);
  display: block;
}
.region-item__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.region-item__arrow {
  width: 16px; height: 16px;
  color: var(--warm-gray);
  transition: color var(--ease), transform var(--ease);
}
.region-item:hover .region-item__arrow,
.region-item.active .region-item__arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* Map */
.coverage__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.coverage__map svg { width: 100%; height: auto; }
.map-inactive { fill: var(--warm-gray); }
.map-active {
  fill: var(--espresso);
  cursor: pointer;
  transition: fill var(--ease);
}
.map-active.highlighted,
.map-active:hover { fill: var(--gold); }
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--espresso);
  color: var(--pearl);
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  border: 1px solid rgba(200,169,106,0.3);
}

/* ---- SAMI AI ---- */
.sami-section {
  background: var(--espresso-mid);
  position: relative;
  overflow: hidden;
}
.sami-section::before {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,106,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.sami-section h2 {color: var(--pearl);line-height: 1.5;}
.sami-section p { color: rgba(251,248,244,0.7); max-width: 560px; margin-bottom: var(--s8); }
.sami-section .section-eyebrow .label { color: var(--gold); }
.sami-section .section-eyebrow::before { background: var(--gold); }

.sami__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s8);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sami__features li {
  background: rgba(251,248,244,0.06);
  border: 1px solid rgba(200,169,106,0.2);
  border-radius: 999px;
  padding: 7px 18px;
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: rgba(251,248,244,0.80);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sami__features li i { color: var(--gold); font-size: 0.75em; }
.sami__cta { display: flex; gap: var(--s3); flex-wrap: wrap; }

/* ---- Contact ---- */
.contact-section { background: var(--pearl); }
.contact-section h2 { margin-bottom: var(--s5); }
.contact-section > .container > p { max-width: 540px; margin-bottom: var(--s8); }
.contact__actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-bottom: var(--s8);
}
.contact__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  border-top: 1px solid var(--border);
  padding-top: var(--s6);
}
@media (max-width: 768px) { .contact__info { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .contact__info { grid-template-columns: 1fr; } }
.contact__info-item .mono { color: var(--warm-gray); margin-bottom: var(--s1); }
.contact__info-item a,
.contact__info-item span {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--espresso);
  font-weight: 500;
}
.contact__info-item a { transition: color var(--ease); }
.contact__info-item a:hover { color: var(--gold); }

/* ---- Footer ---- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  padding: var(--s12) 0 var(--s6);
}
.footer__main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  margin-bottom: var(--s12);
}
@media (max-width: 768px) { .footer__main { grid-template-columns: 1fr; } }
.footer__logo { height: 32px; width: auto; margin-bottom: var(--s4); filter: none; }
.footer__tagline {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--s5);
  line-height: 1.4;
}
.footer__social {
  display: flex;
  gap: var(--s3);
}
.footer__social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--warm-gray);
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.footer__social a:hover { color: var(--gold); border-color: var(--gold); background: rgba(200,169,106,0.08); }
.footer__social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
}
@media (max-width: 480px) { .footer__links { grid-template-columns: 1fr 1fr; } }
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--s4);
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: var(--t-sm);
  color: var(--text-muted);
  transition: color var(--ease);
}
.footer__col a:hover { color: var(--espresso); }

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s3);
  border-top: 1px solid var(--border);
  padding-top: var(--s5);
}
.footer__legal p { font-size: var(--t-xs); color: var(--warm-gray); }
.footer__legal-links {
  display: flex;
  gap: var(--s4);
}
.footer__legal-links a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--warm-gray);
  transition: color var(--ease);
}
.footer__legal-links a:hover { color: var(--gold); }

/* ---- McFrancis brand ---- */
:root { --mc-accent-dim: rgba(200, 169, 106, 0.22); }

.legal-branding {
  display: flex; align-items: center; gap: 0; justify-content: center;
  text-decoration: none; font-family: 'Whisper', cursive;
  font-size: 20px; font-weight: 400; color: var(--gold-dark);
  -webkit-text-stroke-width: 0.5px; -webkit-text-stroke-color: var(--gold);
  paint-order: stroke fill;
}
.legal-branding:hover { color: var(--gold); }
.legal-branding .brand { display: flex; align-items: center; font-size: inherit; font-weight: inherit; margin: 0; }
.legal-branding span {
  color: var(--gold); transform: translate(0, 4px);
  font-family: 'Whisper'; font-size: 20px; font-style: normal; font-weight: 400;
  -webkit-text-stroke-width: 0.5px; -webkit-text-stroke-color: var(--gold-dark);
  paint-order: stroke fill;
}

mc-ico {
  display: block; float: left; width: auto;
  transform: scale(0.6) translate(0px, 10px);
  transition: all ease 0.33s; position: relative;
  margin: 0 auto; opacity: 1; padding: 5px 5px; will-change: transform;
}
mc-ico:after {
  content: ''; position: absolute; padding: 0 16px;
  border: solid 0px transparent; margin-left: -47px; margin-top: -13px;
  transition: all ease 0.33s; transform: rotate(38deg) translate(0,0);
  height: 5px; background-color: var(--mc-accent-dim);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border-top: none; border-bottom: none;
}
mc-ico:before {
  content: ' '; padding: 0; width: 10px; height: 10px;
  margin-top: 0px; float: left; border-radius: 100%;
  background-color: var(--gold); margin-right: -4px;
  transition: all ease 0.33s;
}
mc-ico-parallel:after {
  content: ''; position: absolute; padding: 0 10px;
  border: solid 1px transparent; margin-left: -13px; margin-top: -8px;
  transition: all ease 0.33s; transform: rotate(150deg); height: 3px;
  background-color: var(--mc-accent-dim);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; border-bottom: none;
}
mc-ico-parallel:before {
  content: ''; border-color: transparent; margin-top: 1px;
  margin-left: 14px; margin-right: 3px; padding: 0;
  background-color: var(--gold); width: 6px; height: 6px;
  float: left; border-radius: 100%; transition: all ease 0.4s;
}

/* ---- Custom cursor ---- */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot  { width: 6px; height: 6px; background: var(--gold); }
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(200,169,106,0.5);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}
.cursor-ring.hover {
  width: 48px; height: 48px;
  border-color: var(--gold);
  background: rgba(200,169,106,0.06);
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ---- Cookie banners ---- */
.gdpr-popup {
  position: fixed;
  bottom: 0;
  right: 10px;
  background: var(--pearl);
  border: 1px solid var(--border);
  box-shadow: 0 4px 60px rgba(28,20,16,0.18);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-width: 480px;
  max-height: 450px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gdpr-popup.show { transform: translateY(0); bottom: 10px; }
.gdpr-popup-content {
  padding: 20px 20px 0; flex: 1; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.gdpr-popup-content::-webkit-scrollbar { width: 6px; }
.gdpr-popup-content::-webkit-scrollbar-track { background: var(--ivory); border-radius: 3px; }
.gdpr-popup-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.gdpr-popup h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  margin-bottom: 12px; letter-spacing: -0.01em; color: var(--espresso);
}
.gdpr-popup p { font-size: 11px; line-height: 1.5; color: var(--text-secondary); margin-bottom: 16px; }
.cookie-preferences { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cookie-option { padding: 12px; border: 1px solid var(--border); }
.cookie-option label {
  display: flex; align-items: center;
  font-family: var(--font-sans); font-weight: 600;
  font-size: 12px; letter-spacing: 0.02em; cursor: pointer; color: var(--espresso);
}
.cookie-option input[type="checkbox"] { margin-right: 8px; width: 16px; height: 16px; accent-color: var(--gold); }
.cookie-option input[type="checkbox"]:disabled { opacity: 0.6; }
.cookie-description { font-size: 11px; color: var(--warm-gray); margin: 4px 0 0; }
.gdpr-popup-buttons {
  position: sticky; bottom: 0 ; background: var(--ivory);
  padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 8px;
}
.gdpr-popup-buttons .btn {
  padding: 8px 16px; font-family: var(--font-sans); font-size: 11px;
  font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--border); cursor: pointer; transition: background .2s, color .2s;
}
.gdpr-popup-buttons .btn.primary { background: var(--espresso); color: var(--gold); border-color: var(--espresso); }
.gdpr-popup-buttons .btn.primary:hover { background: var(--espresso-mid); }
.gdpr-popup-buttons .btn:not(.primary):not(.secondary) { background: var(--ivory); color: var(--espresso); border-color: var(--border); }
.gdpr-popup-buttons .btn:not(.primary):not(.secondary):hover { background: var(--pearl); border-color: var(--gold); }
.gdpr-popup-buttons .btn.secondary { background: transparent; color: var(--warm-gray); border-color: var(--border); }
.gdpr-popup-buttons .btn.secondary:hover { background: var(--ivory); color: var(--espresso); }
.gdpr-popup-footer { text-align: center; padding: 10px 20px 15px; border-top: 1px solid var(--border); }
.gdpr-popup-footer a { color: var(--gold-dark); text-decoration: none; font-size: 11px; margin: 0 8px; }
.gdpr-popup-footer a:hover { text-decoration: underline; }
@media (max-width: 1024px) {
  .gdpr-popup { right: 10px; left: 10px; max-width: none; }
  .gdpr-popup-content { padding: 15px; max-height: 50vh; padding-bottom: 0; }
  .gdpr-popup-buttons { flex-direction: column; align-items: stretch; }
  .gdpr-popup-buttons .btn { text-align: center; }
}
