/* Good Mark Studio — shared styles. Plain CSS, no build step. */

:root {
  /* Brand colors taken from the Good Mark Studio logo */
  --ink: #16222a;
  --ink-soft: #4a5761;
  --cream: #f7f8f5;
  --paper: #ffffff;
  --sand: #e9f2ee;
  --line: #dde6e1;
  --gold: #0b6e55;      /* brand green (primary accent) */
  --gold-deep: #0b6e55;
  --mint: #bfe5d5;      /* light green highlight */
  --mint-on-dark: #7fd3b0;
  --green: #0b6e55;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(28, 34, 48, .06), 0 8px 24px rgba(28, 34, 48, .06);
  --max: 1140px;
  --serif: "Poppins", "Segoe UI", system-ui, sans-serif; /* heading font, matches the logo wordmark */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; }
h3 { font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-family: var(--serif); }
.brand .logo-icon { width: 44px; height: 44px; flex: none; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-top { font-weight: 700; font-size: 1.35rem; letter-spacing: -.03em; }
.wm-sub { font-weight: 600; font-size: .6rem; letter-spacing: .5em; text-transform: uppercase; margin-top: .3rem; }
.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--ink-soft); padding: .45rem .8rem; border-radius: 999px; }
.nav-links a:hover { color: var(--ink); background: var(--sand); }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--ink); background: var(--sand); }
.nav-links .btn { color: #fff; margin-left: .4rem; }
.nav-links .nav-phone { font-weight: 600; color: var(--green); white-space: nowrap; }
.nav-links .btn:hover { color: #fff; background: #095c47; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(11, 110, 85, .28); }
.btn-primary:hover { background: #095c47; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.nav-links .btn-primary { padding: .55rem 1.1rem; font-size: .95rem; }

/* ---------- Sections ---------- */
section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .9rem; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 40rem; }
/* H1 carries the keyword (override rule #8); the headline line sits under it */
.subhead { font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); max-width: 38rem; margin: -.1em 0 .9em; }
.subhead .mark { position: relative; white-space: nowrap; z-index: 0; }
.subhead .mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .05em; height: .35em; background: var(--mint); border-radius: 3px; z-index: -1; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero h1 .mark { position: relative; white-space: nowrap; }
.hero h1 .mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em;
  background: var(--mint); border-radius: 4px; z-index: -1;
}
.hero h1 { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-note { display: flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-size: .95rem; color: var(--ink-soft); }
.hero-note svg { width: 18px; height: 18px; color: var(--green); }

.hero-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 1.8rem; position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px;
  background: var(--gold); border-radius: 50%; opacity: .18; z-index: -1;
}
.hero-card h2 { font-size: 1.2rem; font-family: var(--sans); font-weight: 700; margin-bottom: 1.1rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(47, 143, 104, .12); color: var(--green);
  display: grid; place-items: center; margin-top: .1rem;
}
.checklist .tick svg { width: 14px; height: 14px; }
.checklist strong { display: block; }
.checklist span.sub { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Audience strip ---------- */
.strip { padding: 1.6rem 0; border-block: 1px solid var(--line); background: var(--paper); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.6rem; color: var(--ink-soft); font-weight: 500; }
.strip-inner .label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.strip-inner .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card p { color: var(--ink-soft); }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--ink); display: inline-flex; gap: .35rem; align-items: center; }
.card .more:hover { color: var(--gold-deep); }
.card-wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center;
  border-color: var(--green); background: linear-gradient(135deg, #fff 55%, var(--sand));
}
.card-wide .icon { margin: 0; width: 60px; height: 60px; background: var(--green); color: #fff; }
.card-wide .icon svg { width: 30px; height: 30px; }
.card-wide h3 { display: inline-block; margin-right: .5rem; }
.card-wide p { margin-bottom: .5rem; }
.card-wide .more { margin-top: 0; white-space: nowrap; }
.badge { display: inline-block; vertical-align: middle; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--green); color: #fff; padding: .2rem .55rem; border-radius: 999px; margin: 0 .4rem .5rem 0; }
.note { font-size: .95rem; background: var(--sand); border-left: 3px solid var(--green); border-radius: 8px; padding: .65rem .9rem; margin: .4rem 0 1.4rem; color: var(--ink) !important; }
.card-wide .note { margin-bottom: 0; }
@media (max-width: 720px) { .card-wide { grid-template-columns: 1fr; } }
.icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sand); color: var(--ink); margin-bottom: 1.2rem;
}
.icon svg { width: 24px; height: 24px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 3.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--gold);
}
.step p { color: var(--ink-soft); }

/* ---------- Split / features ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-list { display: grid; gap: 1.5rem; }
.feature { display: flex; gap: 1rem; }
.feature .icon { margin: 0; flex: none; width: 44px; height: 44px; }
.feature h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.feature p { color: var(--ink-soft); margin: 0; }
.quote-panel {
  background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem);
}
.quote-panel p.big { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; margin-bottom: 1.2rem; }
.quote-panel p { color: #cfd3dd; }

/* ---------- Service detail ---------- */
.service { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; padding: 3rem 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service .icon { width: 56px; height: 56px; }
.service ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .6rem; }
.service ul li { display: flex; gap: .65rem; }
.service ul li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .25rem; border-radius: 50%;
  background: rgba(47, 143, 104, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8f68' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ideal a { color: var(--green); font-weight: 600; }
.ideal, .service .ideal { font-size: .95rem; color: var(--ink-soft); background: var(--sand); border-radius: 10px; padding: .8rem 1rem; }

/* ---------- FAQ ---------- */
/* FAQ: always expanded in static HTML (Blueprint override rules #3 and #7) */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .9rem; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.faq__item h3 { font-family: var(--sans); font-size: 1.07rem; font-weight: 700; letter-spacing: 0; margin-bottom: .45rem; }
.faq__item p { color: var(--ink-soft); margin: 0; }
.faq__item a { color: var(--green); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* Prose + area lists */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.2rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { color: var(--green); font-weight: 600; }
.area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .7rem; }
.area-list a, .area-list span { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .75rem 1rem; text-decoration: none; font-weight: 600; }
.area-list a:hover { border-color: var(--green); color: var(--green); }
.area-list span { color: var(--ink-soft); font-weight: 500; }
.area-list small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.region { margin-bottom: 2.6rem; }
.region > p { color: var(--ink-soft); max-width: 46rem; }
.breadcrumb { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(3.5rem, 7vw, 5rem) 0; }
.cta-box {
  background: var(--ink); color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
  position: relative; overflow: hidden;
}
.cta-box::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: var(--gold); opacity: .16;
}
.cta-box h2 { margin-bottom: .4rem; }
.cta-box p { color: #cfd3dd; margin: 0; }
.cta-box .btn { position: relative; z-index: 1; }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-hero .lead { font-size: 1.2rem; }

/* ---------- Contact ---------- */
.booking-section { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.booking-embed { min-width: 320px; height: 720px; }
@media (max-width: 640px) { .booking-embed { height: 1000px; } }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(11, 110, 85, .2); }
.form textarea { min-height: 130px; resize: vertical; }
.form .fine { font-size: .87rem; color: var(--ink-soft); margin: 0; }
.form button:disabled { opacity: .7; cursor: wait; transform: none; }
.form-error { margin: 0; padding: .75rem 1rem; border-radius: 10px; background: #fdecea; color: #8a1c12; font-size: .95rem; }
.form-success { background: var(--paper); border: 1px solid var(--green); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.form-success h2 { color: var(--green); }
.form-success p { color: var(--ink-soft); margin: 0; }
[hidden] { display: none !important; }
.aside-card { background: var(--sand); border-radius: var(--radius-lg); padding: 2rem; }
.aside-card h2 { font-size: 1.4rem; }
.aside-card ol { padding-left: 1.2rem; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.aside-card ol li::marker { font-weight: 700; color: var(--gold-deep); }
.aside-card .contact-line { display: flex; gap: .6rem; align-items: center; font-weight: 600; text-decoration: none; margin-bottom: .5rem; }
.aside-card .contact-line svg { width: 20px; height: 20px; color: var(--gold-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfd3dd; padding: 4rem 0 2rem; font-size: .95rem; }
.footer-grid--4 { grid-template-columns: 1.5fr 1fr 1fr 1fr !important; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand { color: var(--cream); margin-bottom: 1rem; }
.site-footer h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--mint-on-dark); }
.site-footer .logo-icon { background: #fff; border-radius: 12px; padding: 3px; }
.footer-address, .contact-address { font-style: normal; line-height: 1.6; }
.footer-address { margin-top: 1rem; color: #cfd3dd; }
.contact-address { font-weight: 600; }
.footer-bottom { padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .87rem; color: #9aa1b2; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid, .service { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .footer-grid, .footer-grid--4 { grid-template-columns: 1fr 1fr !important; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { padding: .7rem 0; }
  .nav-links { width: 100%; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: .45rem .6rem; white-space: nowrap; }
  .nav-links li:last-child { margin-left: auto; }
  .nav-links .btn-primary { padding: .5rem .9rem; font-size: .9rem; }
  .nav-links .hide-sm { display: none; }
  .strip-inner { gap: .4rem 1rem; }
  .strip-inner .dot { display: none; }
  .strip-inner .label { width: 100%; text-align: center; }
  .grid-2, .grid-4, .form .row { grid-template-columns: 1fr; }
  .hero h1 .mark { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
