/* ============ Tokens ============ */
:root {
  --paper: #F6F7F4;
  --surface: #FFFFFF;
  --ink: #1C2230;
  --muted: #586070;
  --line: #DCE0E2;
  --brand: #2F5D50;          /* overridden from Admin > Site content */
  --on-brand: #FFFFFF;
  --brand-soft: color-mix(in srgb, var(--brand) 12%, var(--paper));
  --wrap: 1160px;
  --header: 72px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.06; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 1rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { left: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 1.5rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 42px; padding: 0 1.15rem; font-size: .95rem; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 84%, #000); }
.btn-ghost { border-color: color-mix(in srgb, var(--ink) 35%, transparent); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header); }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { font-weight: 500; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: var(--on-brand); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    display: none; position: absolute; top: var(--header); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .25rem 1.25rem 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: .9rem 0; font-size: 1.1rem; }
  .nav-links li .btn { display: flex; margin-top: .5rem; }
}

/* ============ Hero ============ */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero--solo .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 14ch; }
.hero--solo h1 { font-size: clamp(2.8rem, 7.5vw, 6.4rem); max-width: 17ch; }
.hero-text { max-width: 44ch; margin: 1.5rem 0 2.25rem; color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* The arch: the one bold shape on the page, framed by the brand color */
.hero-media { position: relative; padding: 0 0 7% 9%; }
.hero-media::before {
  content: ""; position: absolute; inset: 9% 0 0 0;
  background: var(--brand);
  border-radius: 999px 999px 28px 28px;
  animation: arch-rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-media img {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px 28px 28px;
}
@keyframes arch-rise { from { transform: translateY(10%); opacity: 0; } }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { width: min(100%, 380px); }
}

/* ============ Info strip ============ */
.facts { border-block: 1px solid var(--line); }
.facts .wrap { display: flex; flex-wrap: wrap; gap: .5rem 2.75rem; padding-block: 1.2rem; color: var(--muted); font-size: .97rem; }
.facts p { margin: 0; }
.facts strong { margin-right: .5rem; color: var(--ink); font-weight: 600; }
.facts a { color: inherit; }

/* ============ Sections ============ */
.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 6.5rem); }
.section h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.section-head p, .lead { max-width: 38ch; margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; }
.sticky { position: sticky; top: calc(var(--header) + 2rem); align-self: start; }

@media (max-width: 820px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
}

/* Services: a ruled list, not a card grid */
.service-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.service {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1.5rem;
  padding: 1.8rem 0; border-bottom: 1px solid var(--line);
}
.service h3 { font-size: 1.45rem; letter-spacing: -.015em; }
.service p { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .service { grid-template-columns: minmax(0, 1fr); gap: .5rem; } }

/* About: full brand-color band */
.about { background: var(--brand); color: var(--on-brand); }
.about-body { max-width: 60ch; font-size: 1.15rem; line-height: 1.7; }
.about-body p:last-child { margin-bottom: 0; }

/* Reviews */
.section-title { max-width: 20ch; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(2.5rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.quote { margin: 0; padding-left: 1.5rem; border-left: 3px solid var(--brand); }
.quote blockquote { margin: 0 0 1.25rem; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 500; line-height: 1.35; letter-spacing: -.012em; }
.quote blockquote p { margin: 0; }
.quote figcaption { color: var(--muted); font-size: .95rem; }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* ============ Contact ============ */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-details { display: grid; gap: 1.25rem; margin: 2.25rem 0 0; }
.contact-details dt { font-weight: 600; }
.contact-details dd { margin: .15rem 0 0; color: var(--muted); }
.contact-details dd a { color: var(--ink); }

.form { display: grid; gap: 1.15rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: .4rem; font-size: .95rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem;
  font: inherit; color: inherit;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { margin: .4rem 0 0; color: #B3261E; font-size: .9rem; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 500; }
.notice-success { background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.notice-error { background: #FCEDEC; color: #7F1D16; border: 1px solid #F0C3BF; }

/* ============ Footer ============ */
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.site-footer p { margin: 0; }
.social { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.social a { text-decoration: none; }
.social a:hover { color: var(--ink); text-decoration: underline; }

/* WhatsApp button */
.wa-float {
  position: fixed; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.wa-float:hover { background: #1EBE5A; }
