/* =====================================================================
   WORDSMITH — Copywriting & Content Studio Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the studio look by editing the CSS variables in
   :root below. Swap --accent for your primary color, adjust --ink /
   --bg / --surface to match, and update --font-head / --font-body plus
   the Google Fonts <link> in each HTML file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:        #fffdf8;   /* warm white page background                */
  --ink:       #1c1a17;   /* near-black for headings & text            */
  --accent:    #c0392b;   /* editorial red for highlights & links      */
  --accent-2:  #9e2c20;   /* darker red for hovers                     */
  --accent2:   #2c5d63;   /* teal secondary accent                     */
  --accent2-d: #21474c;   /* darker teal for hovers                    */
  --muted:     #7a7268;   /* muted secondary text                      */
  --surface:   #ffffff;   /* card / panel surface                      */
  --line:      #ece6dc;   /* hairline borders / dividers               */

  /* --- Fonts --- */
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 12px 34px rgba(28, 26, 23, .06);
  --shadow-lg: 0 28px 64px rgba(28, 26, 23, .12);
  --ease:      .4s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1200px;
  --gutter: 26px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.06;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.018em;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-2); }

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

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

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 104px 0; }
.section--soft { background: var(--surface); }
.section--tight { padding: 72px 0; }

.section-head {
  max-width: 760px;
  margin: 0 0 60px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lead { font-size: 1.18rem; color: var(--muted); line-height: 1.6; }

.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .96rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(192, 57, 43, .30);
}
.btn-primary:hover { background: var(--accent-2); color: #fff; box-shadow: 0 14px 32px rgba(192, 57, 43, .40); }

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

.btn-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-light:hover { background: #fff; color: var(--ink); }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(192, 57, 43, .35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .96rem;
  color: var(--muted);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin: 2px auto 0;
}

.nav-cta { margin-left: 10px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home) — editorial, type-driven
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 104px;
  background:
    radial-gradient(740px 540px at 92% -8%, rgba(192,57,43,.07), transparent 60%),
    radial-gradient(620px 480px at -5% 110%, rgba(44,93,99,.08), transparent 60%),
    var(--bg);
}
.hero-inner { max-width: 980px; }
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 26px;
}
.hero .kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent2); display: inline-block; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero h1 .ul { background: linear-gradient(transparent 70%, rgba(44,93,99,.22) 0); }
.hero .lead { max-width: 620px; margin-bottom: 36px; font-size: 1.28rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-meta {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CLIENT STRIP
   --------------------------------------------------------------------- */
.trusted { padding: 46px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trusted p { text-align: center; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 52px;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 500;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink);
  opacity: .42;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--ease), color var(--ease);
}
.logo-strip span:hover { opacity: 1; color: var(--accent); }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(192,57,43,.35); }

.card .icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}
.card .num-mark {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.card-link:hover { color: var(--accent); }
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Feature list */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature .tick {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent2);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
}
.feature h3 { font-size: 1.18rem; margin-bottom: 5px; }
.feature p { margin-bottom: 0; font-size: .98rem; color: var(--muted); }

/* Split section (visual block + content) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius);
  min-height: 440px;
  background: linear-gradient(155deg, var(--accent2), var(--accent2-d));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 40px;
}
.split-media::after {
  content: "";
  position: absolute;
  width: 60%; aspect-ratio: 1;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 50%;
  top: -16%; right: -12%;
}
.split-quote {
  position: relative; z-index: 1;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.3;
  text-align: center;
  color: #fff;
}
.split-quote .mark { font-size: 3rem; display: block; line-height: .6; opacity: .6; margin-bottom: 10px; }
.split-cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.75); margin-top: 18px; }

/* ---------------------------------------------------------------------
   STATS BAND (dark)
   --------------------------------------------------------------------- */
.stats-band {
  background: var(--ink);
  color: var(--bg);
}
.stats-band .section-head h2 { color: var(--bg); }
.stats-band .eyebrow { color: var(--accent); }
.stats-band .section-head .lead { color: rgba(255,253,248,.7); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat {
  border-top: 1px solid rgba(255,253,248,.18);
  padding-top: 22px;
}
.stat strong {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  display: block;
  line-height: 1;
  color: var(--accent);
}
.stat span { color: rgba(255,253,248,.72); font-size: .95rem; }

/* ---------------------------------------------------------------------
   WORK / CASE-STUDY GRID
   --------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-bar button {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .92rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--ease);
}
.filter-bar button:hover { color: var(--ink); border-color: var(--ink); }
.filter-bar button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(192,57,43,.3); }
.case-thumb {
  aspect-ratio: 5 / 3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
}
.case-thumb .glyph {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 2.4rem;
  color: rgba(255,255,255,.92);
}
.case-thumb .ctag {
  position: relative; z-index: 1;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  padding: 6px 13px;
  border-radius: 999px;
}
.case-g1 { background: linear-gradient(150deg, #c0392b, #7e241a); }
.case-g2 { background: linear-gradient(150deg, #2c5d63, #1a3c40); }
.case-g3 { background: linear-gradient(150deg, #d98b6a, #b35c3e); }
.case-g4 { background: linear-gradient(150deg, #3a3631, #1c1916); }
.case-g5 { background: linear-gradient(150deg, #e07a5f, #c0392b); }
.case-g6 { background: linear-gradient(150deg, #4d8086, #2c5d63); }
.case-g7 { background: linear-gradient(150deg, #b9a78f, #8a7559); }
.case-g8 { background: linear-gradient(150deg, #5a544c, #2a2722); }
.case-g9 { background: linear-gradient(150deg, #cf6a52, #9e2c20); }
.case-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.case-body .client { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.case-body h3 { font-size: 1.32rem; margin-bottom: 10px; }
.case-body p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; flex: 1; }
.case-result {
  display: flex; align-items: baseline; gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.case-result strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--accent2);
  line-height: 1;
}
.case-result span { font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   PROCESS (timeline-style on home)
   --------------------------------------------------------------------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
}
.quote-card .result-chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  color: var(--accent2);
  background: rgba(44,93,99,.08);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.quote-card blockquote {
  margin: 0 0 24px;
  font-size: 1.18rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  flex: 1;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.avatar.a2 { background: linear-gradient(135deg, var(--accent2), var(--accent2-d)); }
.avatar.a3 { background: linear-gradient(135deg, #8a7559, #5a4d3a); }
.quote-author b { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND (dark)
   --------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(560px 380px at 88% 14%, rgba(192,57,43,.4), transparent 60%),
    var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 72px 56px;
  text-align: center;
}
.cta-band h2 { color: var(--bg); }
.cta-band p { color: rgba(255,253,248,.82); max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(620px 360px at 88% -30%, rgba(192,57,43,.08), transparent 60%),
    radial-gradient(520px 340px at 0% 130%, rgba(44,93,99,.08), transparent 60%),
    var(--bg);
  padding: 76px 0 66px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 16px; }
.page-banner h1 em { font-style: italic; color: var(--accent); }
.page-banner p { max-width: 620px; color: var(--muted); font-size: 1.14rem; margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

/* ---------------------------------------------------------------------
   SERVICES PAGE — detailed blocks
   --------------------------------------------------------------------- */
.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-block .s-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1.9rem;
}
.service-block h3 { font-size: 1.6rem; margin-bottom: 10px; }
.service-block p { color: var(--muted); }
.deliverables {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 18px;
}
.deliverables li {
  font-size: .84rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 7px 15px;
  border-radius: 999px;
}

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
}
.step .num {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { margin-bottom: 0; font-size: .95rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; margin: 0; max-width: 90%; }

/* ---------------------------------------------------------------------
   ABOUT — values + team
   --------------------------------------------------------------------- */
.team-card { text-align: center; }
.team-card .team-photo {
  width: 116px; height: 116px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2rem;
  color: #fff;
}
.team-card .tp1 { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.team-card .tp2 { background: linear-gradient(135deg, var(--accent2), var(--accent2-d)); }
.team-card .tp3 { background: linear-gradient(135deg, #d98b6a, #b35c3e); }
.team-card .tp4 { background: linear-gradient(135deg, #8a7559, #5a4d3a); }
.team-card h3 { font-size: 1.25rem; margin-bottom: 2px; }
.team-card .role { color: var(--accent); font-family: var(--font-body); font-weight: 600; font-size: .88rem; margin-bottom: 12px; }
.team-card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(192,57,43,.13);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #c0392b; font-size: .82rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.form-status {
  display: none;
  margin-top: 20px;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  background: #eef7ee;
  border: 1px solid #9fd4a0;
  color: #2c6e2f;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 24px;
}
.info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 12px; background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.3rem;
}
.info-row b { font-family: var(--font-head); font-weight: 600; color: var(--ink); display: block; }
.info-row span { font-size: .94rem; color: var(--muted); }
.info-row a { color: var(--accent); }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 250px;
  background:
    linear-gradient(rgba(44,93,99,.05), rgba(44,93,99,.05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 44px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,253,248,.72);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
}
.site-footer .brand { color: var(--bg); margin-bottom: 16px; }
.site-footer .brand:hover { color: var(--bg); }
.footer-about p { font-size: .95rem; color: rgba(255,253,248,.62); max-width: 320px; }
.footer-col h4 {
  color: var(--bg); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 600;
  margin-bottom: 18px;
}
.footer-col a { display: block; color: rgba(255,253,248,.62); padding: 6px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--bg); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,253,248,.08);
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--bg);
}
.social a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,253,248,.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255,253,248,.5);
}
.footer-bottom a { color: rgba(255,253,248,.68); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 16px var(--gutter) 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-media { order: 0; }
  .service-block { grid-template-columns: 1fr; gap: 18px; }
  .stats-grid, .steps, .process-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 52px 28px; }
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .stats-grid, .steps, .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
