/* =========================================================================
   ApexShield Roofing — Design System
   A premium roofing-contractor site. Palette and structure are drawn from
   the trade itself: steel-grey storm skies, oxidized-copper rust, and a
   literal roofline as the recurring structural motif (see --pitch-clip).
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* ---- Color: Texas storm-sky charcoal + oxidized-steel rust ---- */
  --ink:        #171D24;   /* primary dark — header, footer, high-contrast text */
  --ink-soft:   #29333d;   /* secondary dark surface */
  --ink-60:     rgba(23,29,36,0.6);
  --ink-40:     rgba(23,29,36,0.4);
  --paper:      #F3F1EB;   /* page background — stone, not cream */
  --paper-dim:  #EAE7DE;   /* recessed panels on paper */
  --white:      #FFFFFF;
  --accent:     #C1501F;   /* signature — oxidized rust / ember */
  --accent-dark:#9B3F17;
  --accent-tint:#F2E2D6;
  --steel:      #3E5872;   /* muted storm-blue, secondary accent / links */
  --steel-dark: #2B3E52;
  --gold:       #B8872F;   /* review-star gold, muted not neon */
  --line:       rgba(23,29,36,0.13);
  --line-soft:  rgba(23,29,36,0.08);
  --line-on-dark: rgba(243,241,235,0.16);

  /* ---- Type ---- */
  --f-display: 'Archivo Black', 'Archivo', sans-serif;
  --f-head:    'Archivo', sans-serif;
  --f-body:    'Inter', sans-serif;
  --f-mono:    'IBM Plex Mono', monospace;

  /* ---- Layout ---- */
  --container: 1200px;
  --container-wide: 1360px;
  --radius: 3px;         /* deliberately near-square — this is a trade, not an app */
  --shadow-sm: 0 1px 2px rgba(23,29,36,0.06), 0 1px 1px rgba(23,29,36,0.04);
  --shadow-md: 0 8px 24px rgba(23,29,36,0.10), 0 2px 6px rgba(23,29,36,0.06);
  --shadow-lg: 0 20px 48px rgba(23,29,36,0.18), 0 6px 16px rgba(23,29,36,0.08);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.22s;
}

/* =========================================================================
   Reset
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }

body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
}

/* =========================================================================
   Typography
   ========================================================================= */
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }

.h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 5vw + 1rem, 4.6rem); line-height: 1.02; letter-spacing: -0.015em; }
.h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem); }
.h3 { font-size: clamp(1.3rem, 1.2vw + 1rem, 1.7rem); }
.h4 { font-size: 1.125rem; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--light { color: var(--paper); }
.eyebrow--light::before { background: var(--accent); }

.lede { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem); color: var(--ink-60); max-width: 54ch; }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 0.7rem; }
.section-head p { margin-top: 1rem; }

.num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   Layout
   ========================================================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

.section { padding: 6.5rem 0; }
.section--tight { padding: 4.5rem 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .section-head p { color: rgba(243,241,235,0.68); }
.section--panel { background: var(--paper-dim); }

@media (max-width: 720px) {
  .section { padding: 4rem 0; }
  .section--tight { padding: 3rem 0; }
}

.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Roofline signature: a crisp pitched-edge clip used at deliberate seams only */
.pitch-edge-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 52% 100%, 0 92%);
}
.pitch-edge-top {
  clip-path: polygon(0 8%, 48% 0, 100% 8%, 100% 100%, 0 100%);
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: var(--ink-soft); transform: translateY(-1px); }

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

.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-on-dark);
}
.btn-outline-light:hover { background: rgba(243,241,235,0.1); border-color: var(--paper); }

.btn-ghost { color: var(--accent); padding: 0.5rem 0; gap: 0.5em; }
.btn-ghost::after { content: "→"; transition: transform var(--dur) var(--ease); }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-lg { padding: 1.15rem 2.1rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23,29,36,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-on-dark);
  transition: background var(--dur) var(--ease);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--paper); }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand__tag { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); margin-top: 0.2rem; }

.nav-desktop { display: flex; align-items: center; gap: 2.1rem; }
.nav-desktop a {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.94rem;
  color: rgba(243,241,235,0.86);
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--dur) var(--ease);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-desktop a:hover { color: var(--paper); }
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
.nav-desktop a[aria-current="page"] { color: var(--paper); }

.header-actions { display: flex; align-items: center; gap: 1.3rem; }
.header-phone {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-mono); font-weight: 600; font-size: 0.92rem;
  color: var(--paper);
}
.header-phone svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--paper);
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h, 68px);
  background: var(--ink);
  z-index: 99;
  padding: 1.5rem 24px 2.5rem;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--paper);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.mobile-nav__cta { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; }
.mobile-nav__phone { display:flex; align-items:center; gap:0.6rem; font-family: var(--f-mono); color: var(--paper); font-size: 1.05rem; margin-top: 1.25rem; }
.mobile-nav__phone svg { width: 18px; height: 18px; color: var(--accent); }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .header-phone { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
}
body.nav-open { overflow: hidden; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  color: var(--white);
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(15,19,24,0.94) 0%, rgba(15,19,24,0.62) 42%, rgba(15,19,24,0.28) 68%, rgba(15,19,24,0.42) 100%);
}
.hero__content { position: relative; z-index: 1; width: 100%; padding: 8rem 0 4.5rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(243,241,235,0.1);
  border: 1px solid rgba(243,241,235,0.28);
  padding: 0.45rem 0.9rem;
  border-radius: 40px;
  margin-bottom: 1.6rem;
}
.hero__badge span.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero__sub { margin-top: 1.4rem; max-width: 56ch; font-size: clamp(1.05rem, 0.4vw + 1rem, 1.22rem); color: rgba(243,241,235,0.86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.trust-strip {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 2rem 2.6rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(243,241,235,0.2);
}
.trust-strip__item { display: flex; align-items: center; gap: 0.65rem; font-family: var(--f-head); font-weight: 600; font-size: 0.92rem; color: rgba(243,241,235,0.92); }
.trust-strip__item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* Page header (non-home hero for interior pages) */
.page-hero {
  position: relative;
  color: var(--white);
  padding: 10.5rem 0 5rem;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,19,24,0.93) 20%, rgba(15,19,24,0.62) 100%); }
.page-hero__content { position: relative; z-index: 1; max-width: 640px; }
.page-hero h1 { color: var(--white); margin-top: 0.8rem; }
.page-hero p { margin-top: 1.1rem; color: rgba(243,241,235,0.82); max-width: 52ch; }
.breadcrumb { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: rgba(243,241,235,0.6); }
.breadcrumb a:hover { color: var(--paper); }

/* =========================================================================
   Stat / trust bar (below hero)
   ========================================================================= */
.stat-bar { background: var(--ink); color: var(--paper); padding: 3.25rem 0; }
.stat-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-bar__item { text-align: left; border-left: 2px solid var(--accent); padding-left: 1.1rem; }
.stat-bar__num { font-family: var(--f-display); font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem); font-variant-numeric: tabular-nums; }
.stat-bar__label { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.06em; color: rgba(243,241,235,0.65); margin-top: 0.35rem; }
.stat-bar__note { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 0.7rem; color: rgba(243,241,235,0.4); margin-top: 0.5rem; letter-spacing: 0.02em; }
@media (max-width: 720px) { .stat-bar__grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   Cards — services
   ========================================================================= */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(23,29,36,0.22); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__num {
  position: absolute; top: 0.9rem; left: 0.9rem;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  background: rgba(23,29,36,0.78); color: var(--paper);
  padding: 0.3rem 0.6rem; border-radius: 2px;
}
.service-card__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex-grow: 1; }
.service-card__body h3 { font-size: 1.2rem; }
.service-card__body p { color: var(--ink-60); font-size: 0.95rem; flex-grow: 1; }
.service-card__link { margin-top: 0.4rem; font-family: var(--f-head); font-weight: 700; font-size: 0.9rem; color: var(--accent); display: inline-flex; align-items: center; gap: 0.5em; }
.service-card__link::after { content: "→"; transition: transform var(--dur) var(--ease); }
.service-card:hover .service-card__link::after { transform: translateX(4px); }

/* =========================================================================
   Why choose us
   ========================================================================= */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-grid__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-grid__media img { aspect-ratio: 4/5; object-fit: cover; }
.why-grid__badge {
  position: absolute; bottom: -1px; right: -1px;
  background: var(--accent); color: var(--white);
  padding: 1.3rem 1.6rem;
  font-family: var(--f-display); font-size: 1.6rem;
  border-top-left-radius: var(--radius);
  line-height: 1;
}
.why-grid__badge small { display: block; font-family: var(--f-mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.4rem; }

.why-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1.1rem; }
.why-item__icon {
  flex-shrink: 0; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent);
  border-radius: var(--radius);
}
.why-item__icon svg { width: 22px; height: 22px; }
.why-item h4 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.why-item p { color: var(--ink-60); font-size: 0.93rem; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* =========================================================================
   Process
   ========================================================================= */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-on-dark); border-left: 1px solid var(--line-on-dark); }
.process-step { padding: 2.4rem 1.9rem; border-right: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); position: relative; }
.process-step__num { font-family: var(--f-display); font-size: 2.1rem; color: var(--accent); line-height: 1; }
.process-step h3 { color: var(--paper); font-size: 1.05rem; margin-top: 1.1rem; }
.process-step p { color: rgba(243,241,235,0.66); font-size: 0.92rem; margin-top: 0.6rem; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Projects
   ========================================================================= */
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover img { transform: scale(1.06); }
.project-card__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,19,24,0.88) 0%, rgba(15,19,24,0.1) 55%, transparent 75%); }
.project-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.5rem; color: var(--white); }
.project-card__tag { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.35rem; }
.project-card__body h3 { font-size: 1.1rem; color: var(--white); }
.project-card__loc { font-family: var(--f-mono); font-size: 0.78rem; color: rgba(243,241,235,0.7); margin-top: 0.3rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2.5rem; }
.filter-btn {
  font-family: var(--f-head); font-weight: 700; font-size: 0.85rem;
  padding: 0.55rem 1.1rem; border: 1.5px solid var(--line); border-radius: 30px;
  color: var(--ink-60);
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* =========================================================================
   Reviews
   ========================================================================= */
.review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.9rem 1.7rem; display: flex; flex-direction: column; gap: 1rem;
  height: 100%;
}
.stars { display: flex; gap: 0.2rem; }
.stars svg { width: 16px; height: 16px; color: var(--gold); }
.review-card__quote { font-size: 0.98rem; color: var(--ink); flex-grow: 1; }
.review-card__foot { display: flex; align-items: center; gap: 0.8rem; padding-top: 0.6rem; border-top: 1px solid var(--line-soft); }
.review-card__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--steel); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}
.review-card__name { font-family: var(--f-head); font-weight: 700; font-size: 0.92rem; }
.review-card__loc { font-family: var(--f-mono); font-size: 0.75rem; color: var(--ink-40); margin-top: 0.1rem; }

.review-summary {
  display: flex; align-items: center; gap: 1.3rem;
  padding: 1.6rem 1.8rem; background: var(--paper-dim); border-radius: var(--radius);
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.review-summary__score { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; }
.review-summary__meta { font-family: var(--f-mono); font-size: 0.82rem; color: var(--ink-60); }

/* =========================================================================
   Service area
   ========================================================================= */
.area-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 1.5rem; }
.area-list li { display: flex; align-items: center; gap: 0.65rem; font-family: var(--f-head); font-weight: 600; font-size: 1.02rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); }
.area-list li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.area-map { position: relative; }
@media (max-width: 900px) { .area-panel { grid-template-columns: 1fr; } .area-map { order: -1; } }

/* Simple, tasteful location motif (no broken embeds) */
.area-map__frame {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.area-map__frame svg { width: 100%; height: 100%; }
.area-map__caption { position:absolute; left:1.4rem; bottom:1.4rem; color: var(--paper); font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* =========================================================================
   FAQ Accordion
   ========================================================================= */
.faq-list { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0.2rem; text-align: left;
  font-family: var(--f-head); font-weight: 700; font-size: 1.03rem;
}
.faq-q__icon { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.faq-q__icon::before, .faq-q__icon::after {
  content: ""; position: absolute; background: var(--ink); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq-q__icon::before { left: 4px; right: 4px; top: 50%; height: 2px; transform: translateY(-50%); }
.faq-q__icon::after { top: 4px; bottom: 4px; left: 50%; width: 2px; transform: translateX(-50%); }
.faq-item.is-open .faq-q__icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.faq-item.is-open .faq-q__icon::before { background: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s var(--ease); }
.faq-a__in { padding: 0 1.6rem 1.6rem 0.2rem; color: var(--ink-60); font-size: 0.96rem; max-width: 64ch; }

/* =========================================================================
   Final CTA
   ========================================================================= */
.final-cta {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.final-cta__media { position: absolute; inset: 0; z-index: 0; }
.final-cta__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.final-cta__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,19,24,0.97) 30%, rgba(15,19,24,0.72) 100%); }
.final-cta__content { position: relative; z-index: 1; max-width: 640px; padding: 5.5rem 0; }
.final-cta h2 { color: var(--white); margin-top: 0.8rem; }
.final-cta p { margin-top: 1.1rem; color: rgba(243,241,235,0.78); max-width: 46ch; }
.final-cta__row { display: flex; align-items: center; gap: 1.6rem; margin-top: 2.1rem; flex-wrap: wrap; }
.final-cta__phone { display: flex; align-items: center; gap: 0.6rem; font-family: var(--f-mono); font-size: 1.05rem; color: var(--paper); }
.final-cta__phone svg { width: 18px; height: 18px; color: var(--accent); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: rgba(243,241,235,0.72); padding: 4.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-on-dark); }
.footer-brand .brand__name, .footer-brand .brand__tag { color: var(--paper); }
.footer-brand p { margin-top: 1.1rem; font-size: 0.92rem; max-width: 34ch; color: rgba(243,241,235,0.62); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-on-dark);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.footer-social a:hover { border-color: var(--accent); background: rgba(193,80,31,0.14); }
.footer-social svg { width: 16px; height: 16px; color: var(--paper); }

.footer-col h4 { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243,241,235,0.45); font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.94rem; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--accent); margin-top: 0.2rem; flex-shrink: 0; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.6rem 0; flex-wrap: wrap; font-size: 0.83rem; color: rgba(243,241,235,0.45); }
.footer-bottom__links { display: flex; gap: 1.4rem; }
.footer-bottom__links a:hover { color: var(--paper); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* =========================================================================
   Forms
   ========================================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-head); font-weight: 700; font-size: 0.86rem; }
.field label .opt { font-family: var(--f-body); font-weight: 400; color: var(--ink-40); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  background: var(--white);
  font-size: 0.96rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(193,80,31,0.14);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } .field--full { grid-column: 1; } }

.form-success {
  display: none;
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem;
}
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 0.7rem; }
.form-success p { color: var(--ink-60); max-width: 40ch; margin: 0 auto; }

/* =========================================================================
   Misc components
   ========================================================================= */
.card-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.badge {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.4rem 0.75rem; border-radius: 30px; border: 1px solid var(--line); color: var(--ink-60);
}

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: flex-start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.two-col--reverse .two-col__media { order: 2; }
@media (max-width: 900px) { .two-col--reverse .two-col__media { order: -1; } }
.two-col__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.1; object-fit: cover; }

.list-check { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.5rem; }
.list-check li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.98rem; }
.list-check svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 0.15rem; }

.team-card { text-align: left; }
.team-card__media { position: relative; aspect-ratio: 4/4.6; border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 1.02rem; }
.team-card__role { font-family: var(--f-mono); font-size: 0.78rem; color: var(--accent); margin-top: 0.2rem; }

.value-card { padding: 2rem 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.value-card__icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.value-card__icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.08rem; }
.value-card p { color: var(--ink-60); font-size: 0.93rem; margin-top: 0.6rem; }

.timeline { border-left: 2px solid var(--line); margin-left: 0.4rem; }
.timeline__item { position: relative; padding: 0 0 2.4rem 2rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content:""; position: absolute; left: -6.5px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2px solid var(--paper); }
.timeline__year { font-family: var(--f-mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.06em; }
.timeline__item h4 { margin-top: 0.4rem; font-size: 1.02rem; }
.timeline__item p { margin-top: 0.4rem; color: var(--ink-60); font-size: 0.92rem; }

/* Reveal-on-scroll (very restrained) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--white); padding: 0.8rem 1.2rem; font-family: var(--f-head); font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }
