/* =========================================================
   Northbound — Amazon Growth Agency
   Design system: 2 fonts (Fraunces + Inter), 1 accent color.
   To rebrand: find-and-replace "Northbound" across all .html files,
   and change --accent below.
   ========================================================= */

:root {
  --accent:        #16BFAD;   /* single accent color — Primus teal */
  --accent-dark:   #0F9C8D;
  --accent-soft:   #E6F8F5;
  --ink:           #16233F;   /* headings / primary text — Primus navy */
  --body:          #4A5468;   /* body text */
  --muted:         #707A8C;   /* secondary text */
  --line:          #E6E9EF;   /* borders */
  --bg:            #FFFFFF;
  --bg-alt:        #F5F7FA;   /* alternating section bg */
  --bg-ink:        #16233F;   /* dark sections — Primus navy */
  --radius:        14px;
  --radius-lg:     22px;
  --maxw:          1180px;
  --shadow:        0 1px 2px rgba(18,33,28,.04), 0 12px 32px rgba(18,33,28,.06);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.28rem; line-height: 1.3; }
p  { color: var(--body); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-ink { background: var(--bg-ink); }
.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  display: inline-block; margin-bottom: 18px;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin: 0 auto 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.4rem; color: var(--ink); letter-spacing: -.02em; }
.brand-mark { height: 30px; width: auto; display: block; }
.brand-name { display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: .96rem; font-weight: 500; color: var(--body); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 96px; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 24px; }
.hero .btn-row { margin-top: 36px; }
.hero-note { margin-top: 22px; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-grid .hero-copy h1 { max-width: 18ch; }
.hero-visual img { width: 100%; height: auto; display: block; }
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.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(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7e0dc; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

/* numbered steps */
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: "Fraunces", serif; font-size: 1.05rem; font-weight: 600;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}

/* feature list */
.feature-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--body); }
.feature-list li::before {
  content: ""; flex: none; margin-top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2316BFAD' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

/* badges row (markets) */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink); background: #fff; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* dark section text */
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: #c4d1cb; }
.section-ink .eyebrow { color: #5FDCCD; }
.section-ink .card { background: #1E2C49; border-color: #32436A; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; text-align: left;
  font-family: "Inter", sans-serif; font-size: 1.08rem; font-weight: 600; color: var(--ink);
}
.faq-q .chev { flex: none; transition: transform .25s; color: var(--accent); }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 26px; max-width: 65ch; }

/* ---------- Calendly placeholder ---------- */
.calendly-embed {
  border: 2px dashed #c9d6d0; border-radius: var(--radius-lg);
  background: var(--accent-soft);
  min-height: 460px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 40px;
}
.calendly-embed .tag { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.calendly-embed h3 { color: var(--ink); }
.calendly-embed p { max-width: 46ch; font-size: .95rem; }
.calendly-embed code { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: .85rem; color: var(--accent-dark); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 84px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 20px; }

/* ---------- Placeholder note blocks ---------- */
.placeholder {
  border: 2px dashed #d3ddd8; border-radius: var(--radius);
  background: var(--bg-alt); padding: 34px; text-align: center;
}
.placeholder .tag { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.placeholder h3 { margin: 10px 0 8px; color: var(--ink); }
.placeholder p { max-width: 52ch; margin: 0 auto; font-size: .96rem; }

/* logo placeholder tile */
.logo-tile {
  border: 1px solid var(--line); border-radius: var(--radius);
  height: 96px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 600; font-size: .9rem; background: #fff;
}

/* blog */
.post-card { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
a.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--accent-soft), #eef4f1); display: flex; align-items: center; justify-content: center; color: var(--accent-dark); font-weight: 600; }
.post-thumb span { font-family: "Fraunces", serif; font-size: 1.25rem; letter-spacing: .01em; opacity: .9; }
.post-body { padding: 24px; }
.post-body .meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.post-body h3 { margin-bottom: 8px; }
.post-body .cc-link { display: inline-block; margin-top: 14px; color: var(--accent-dark); font-weight: 600; font-size: .9rem; }

/* Article (blog post) layout */
.article { max-width: 760px; }
.article h2 { font-family: "Fraunces", serif; font-size: 1.5rem; margin-top: 38px; color: var(--ink); }
.article p { margin-top: 14px; color: var(--ink-soft, #2c3a52); line-height: 1.75; }
.article-takeaway { margin-top: 44px; padding: 24px 26px; background: var(--accent-soft); border: 1px solid #cfe9e3; border-radius: 14px; }
.article-takeaway h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-dark); margin-bottom: 8px; }
.article-takeaway p { margin: 0; font-size: 1.08rem; }

/* services */
.svc-head { max-width: 640px; }
.logo-block { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.logo-label { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logo-label.center { text-align: center; }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; }
.mp-logo { height: 54px; width: 128px; object-fit: contain; display: block;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; }
.mp-more { font-size: 1rem; font-weight: 600; color: var(--muted); }

/* Home marketplace strip */
.mp-strip-section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.mp-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 16px; }
.mp-strip-section .mp-logo { height: 50px; width: 120px; }
@media (max-width: 640px) {
  .mp-logo { height: 46px; width: 96px; padding: 9px 12px; }
}

/* case studies */
.cs-card { display: flex; flex-direction: column; }
.cs-top { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.cs-mark {
  flex: none; width: 50px; height: 50px; border-radius: 13px;
  background: var(--m, var(--accent));
  background-image: linear-gradient(140deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif; font-weight: 700; font-size: 1.1rem; letter-spacing: .01em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 14px rgba(18,33,28,.14);
}
.cs-name { display: block; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.cs-cat { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.cs-stats { display: flex; gap: 14px; padding: 16px 0 18px; margin-bottom: 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-stat { flex: 1; }
.cs-num { display: block; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.7rem; color: var(--accent); line-height: 1.1; }
.cs-lbl { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; }
.cs-card > p { margin-top: 14px; font-size: .96rem; }

/* case-study teardowns */
.teardown { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 34px; margin-bottom: 24px; box-shadow: var(--shadow); }
.td-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.td-id { flex: 1 1 280px; }
.td-name { display: block; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.td-cat { display: block; font-size: .85rem; color: var(--muted); margin-top: 5px; }
.td-badge { align-self: center; background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: .8rem; padding: 8px 15px; border-radius: 999px; white-space: nowrap; }
.td-stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.td-stats .cs-stat { flex: 1 1 130px; }
.td-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; }
.td-body h4 { font-family: "Inter", sans-serif; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.td-body > div > p { font-size: .98rem; }
.td-body .feature-list li { font-size: .95rem; }
.td-lessons { margin-top: 18px; padding: 16px 18px; background: var(--bg-alt); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; font-size: .94rem; }
@media (max-width: 820px) {
  .teardown { padding: 26px; }
  .td-body { grid-template-columns: 1fr; gap: 24px; }
  .td-badge { order: 3; }
}

/* case study index cards */
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; color: inherit; }
a.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7e0dc; }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.case-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.cc-pos { font-size: .98rem; color: var(--body); }
.cc-stats { display: flex; gap: 20px; margin: 18px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.cc-stats > div { display: flex; flex-direction: column; }
.cc-stats .cs-num { font-size: 1.45rem; }
.cc-stats .cs-lbl { font-size: .78rem; }
.cc-link { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--accent); font-size: .96rem; }
.case-card--cta { background: var(--accent-soft); border-color: #cfe3da; }
@media (max-width: 760px) { .cs-grid { grid-template-columns: 1fr; } }

/* brand logo chip (real logos) */
.cs-logo { flex: none; width: 54px; height: 54px; border-radius: 13px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 4px; }
.cs-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* case study detail page */
.back-link { display: inline-block; margin-bottom: 22px; font-weight: 600; color: var(--accent); font-size: .95rem; }
.cs-detail-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cs-detail-head .cs-mark { width: 64px; height: 64px; font-size: 1.4rem; border-radius: 16px; }
.cs-detail-head .cs-logo { width: 76px; height: 76px; border-radius: 16px; padding: 6px; }

/* case study "what we did" table */
.cs-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.cs-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .96rem; color: var(--body); }
.cs-table tr:first-child td { border-top: 1px solid var(--line); }
.cs-table .cs-lever { width: 32%; font-family: "Fraunces", serif; font-weight: 600; color: var(--ink); }
@media (max-width: 620px) {
  .cs-table, .cs-table tbody, .cs-table tr, .cs-table td { display: block; }
  .cs-table td { border-bottom: none; padding: 2px 0; }
  .cs-table .cs-lever { width: auto; padding-top: 14px; }
  .cs-table tr { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 4px; }
  .cs-table tr:first-child td { border-top: none; }
}
.cs-detail-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.cs-h { font-size: 1.5rem; margin: 40px 0 14px; }
.aplus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 14px; }
.aplus-slot { border: 2px dashed #c9d6d0; border-radius: 14px; background: var(--accent-soft); min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 22px; }
.aplus-slot .tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.aplus-slot .lbl { font-family: "Fraunces", serif; color: var(--ink); font-weight: 600; }
.aplus-slot .hint { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .aplus-grid { grid-template-columns: 1fr; } }
.aplus-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }
.aplus-stack img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; }

/* careers */
.role { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.role:hover { border-color: var(--accent); }
.role > div { max-width: 70ch; }
.role .meta { font-size: .9rem; color: var(--muted); }
.role .btn { flex: none; }
@media (max-width: 640px) {
  .role { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 0 auto; }
.cta-band .lead { margin: 18px auto 0; }
.cta-band .btn-row { margin-top: 30px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-ink); color: #b9c7c1; padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #2C3A5A; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand .brand-name { color: #fff; }
.footer-tag { max-width: 30ch; color: #9AA6BD; font-size: .96rem; }
.footer-col h4 { font-family: "Inter", sans-serif; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #5FDCCD; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: #b9c7c1; font-size: .96rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: .88rem; color: #7f928b; }
.footer-bottom a { color: #7f928b; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  section { padding: 72px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    transform: translateY(-130%); transition: transform .28s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { padding: 16px 0; }
  .nav-links .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero .btn-row .btn { width: 100%; }
}

/* ===== Floating email widget ===== */
.mail-widget { position: fixed; right: 24px; bottom: 24px; z-index: 1000; }
.mail-fab {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(22,191,173,.38);
  display: grid; place-items: center; transition: transform .18s ease, background .18s ease;
}
.mail-fab:hover { transform: translateY(-2px); background: var(--accent-dark); }
.mail-fab svg { width: 26px; height: 26px; }
.mail-fab .ic-close { display: none; }
.mail-widget.open .mail-fab .ic-mail { display: none; }
.mail-widget.open .mail-fab .ic-close { display: block; }

.mail-pop {
  position: absolute; right: 0; bottom: 74px; width: 300px; max-width: 78vw;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px 22px;
  box-shadow: 0 18px 50px rgba(22,35,63,.20); text-align: left;
  opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.mail-widget.open .mail-pop { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.mail-pop-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 14px; }
.mail-pop-icon svg { width: 24px; height: 24px; }
.mail-pop h4 { font-family: "Fraunces", serif; font-size: 1.25rem; margin: 0 0 6px; color: var(--ink); }
.mail-pop p { font-size: .92rem; color: var(--muted); margin: 0 0 16px; line-height: 1.5; }
.mail-pop-btn { width: 100%; justify-content: center; }
.mail-copy {
  display: block; width: 100%; margin-top: 12px; padding: 9px; border: 1px dashed var(--line);
  background: transparent; border-radius: 9px; color: var(--accent-dark); font-size: .86rem;
  font-weight: 600; cursor: pointer; font-family: inherit;
}
.mail-copy:hover { background: var(--accent-soft); }
.mail-pop-close {
  position: absolute; top: 10px; right: 12px; border: none; background: transparent;
  font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer;
}
@media (max-width: 560px) {
  .mail-widget { right: 16px; bottom: 16px; }
  .mail-pop-btn { width: 100%; }
}
