/* Kiriaki Fiduciary Services — site styles */
:root {
  --ink: #1d2b27;
  --ink-soft: #3f4f4a;
  --muted: #5f6d68;
  --green: #234a3f;
  --green-deep: #17332b;
  --green-tint: #e7efeb;
  --brass: #a8742f;
  --brass-soft: #f3e7d4;
  --paper: #faf7f1;
  --paper-2: #f2ede3;
  --white: #ffffff;
  --line: #ddd5c6;
  --danger: #9b2c2c;
  --ok: #2f6b4f;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(23, 51, 43, .06), 0 8px 24px rgba(23, 51, 43, .07);
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--green-deep);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 42em; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .9rem;
}
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tint { background: var(--paper-2); }
.section--green { background: var(--green-deep); color: #e9efe9; }
.section--green h2, .section--green h3 { color: #fff; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green-deep); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Top bar */
.topbar {
  background: var(--green-deep);
  color: #d9e3de;
  font-size: .92rem;
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: .25rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding: .45rem 0;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--brass-soft); }
.topbar .sep { opacity: .4; margin: 0 .5rem; }

/* Header */
.site-header {
  background: rgba(250, 247, 241, .96);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--green-deep); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.05; font-weight: 600; }
.brand-sub { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: .2rem; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem;
  padding: .55rem .75rem; border-radius: 8px;
}
.nav a:hover { background: var(--green-tint); color: var(--green-deep); }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.nav .btn { margin-left: .5rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: .5rem .7rem; font: inherit; font-weight: 600; color: var(--green-deep); cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--brass); }
  .nav .btn { margin: 1rem 0 0; text-align: center; border-bottom: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: #8f6125; color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-light:hover { background: var(--brass-soft); color: var(--green-deep); }
.nav .btn-primary { color: #fff; }
.nav .btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(168,116,47,.14), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(35,74,63,.12), transparent 60%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow); position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--brass-soft); border-radius: 12px; pointer-events: none;
}
.credential-name { font-family: var(--serif); font-size: 1.6rem; color: var(--green-deep); margin: 0; }
.credential-title { color: var(--muted); font-size: .98rem; margin: .25rem 0 1.25rem; }
.badge-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.badge-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: 1rem; }
.badge-list svg { flex: none; width: 22px; height: 22px; color: var(--brass); margin-top: .15rem; }
.hero-card .phone-big { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; color: var(--green); }

@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(168,116,47,.12), transparent 60%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .35em; }

/* Cards & grids */
.grid { display: grid; gap: 1.5rem; }
.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: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: 0 1px 2px rgba(23,51,43,.04);
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--green-tint); color: var(--green);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card-link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; display: block; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.card-link .more { color: var(--green); font-weight: 700; font-size: .98rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--serif); font-size: 1.25rem; color: #fff; background: var(--brass);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem;
}
.section--green .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.section--green .step p { color: #cfdcd5; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23234a3f' 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/70% no-repeat;
}
.cols-2 { columns: 2; column-gap: 2.5rem; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 640px) { .cols-2 { columns: 1; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split--wide-left { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  display: grid; place-items: center; color: rgba(255,255,255,.9); position: relative;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .monogram { font-family: var(--serif); font-size: 5rem; letter-spacing: .02em; }
.portrait .caption { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; font-size: .85rem; opacity: .75; }

.memberships { display: flex; flex-wrap: wrap; gap: .75rem; }
.pill {
  display: inline-block; padding: .5rem 1rem; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); font-size: .95rem; font-weight: 600; color: var(--ink-soft);
}

/* Fees */
.fee-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.fee-table th, .fee-table td { text-align: left; padding: 1.25rem 1.5rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-table thead th { background: var(--green-deep); color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.fee-table .rate { font-family: var(--serif); font-size: 1.5rem; color: var(--green); white-space: nowrap; text-align: right; }
.fee-table h3 { font-size: 1.2rem; margin: 0 0 .35rem; }
.fee-table p, .fee-table ul { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.fee-table ul { padding-left: 1.2rem; margin-top: .4rem; }
@media (max-width: 640px) {
  .fee-table thead { display: none; }
  .fee-table tr { display: grid; }
  .fee-table td { border-bottom: 0; }
  .fee-table td.rate { text-align: left; padding-top: 0; }
  .fee-table tr { border-bottom: 1px solid var(--line); }
}
.note {
  background: var(--brass-soft); border-left: 4px solid var(--brass); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.35rem; font-size: 1rem;
}
.note p:last-child { margin: 0; }

/* FAQ */
.faq { display: grid; gap: .85rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.35rem; position: relative;
  font-family: var(--serif); font-size: 1.2rem; color: var(--green-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.6rem; color: var(--brass); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); }

/* CTA band */
.cta-band { background: var(--green-deep); color: #e3ebe6; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.25rem); display: grid; grid-template-columns: 1.5fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #cad8d0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
label, .label { display: block; font-weight: 700; margin-bottom: .4rem; font-size: 1rem; color: var(--ink); }
.req { color: var(--danger); margin-left: .15rem; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; margin-top: .1rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid #cbc2b2; border-radius: var(--radius); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(35,74,63,.15); }
.was-validated input:invalid, .was-validated select:invalid, .was-validated textarea:invalid { border-color: var(--danger); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
.choices { display: grid; gap: .55rem; }
.choices.two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .choices.two-col { grid-template-columns: 1fr; } }
.choice {
  display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; margin: 0;
  padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.choice:hover { border-color: #b9ae99; }
.choice input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--green); flex: none; }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.group-error { color: var(--danger); font-size: .95rem; margin-top: .4rem; display: none; }
.group-error.show { display: block; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.privacy-note { display: flex; gap: .75rem; align-items: flex-start; background: var(--green-tint); border-radius: var(--radius); padding: 1rem 1.15rem; font-size: .98rem; color: var(--ink-soft); margin-bottom: 1.75rem; }
.privacy-note svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: .15rem; }

/* Intake stepper */
.stepper { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: s; }
.stepper li {
  flex: 1; font-size: .88rem; font-weight: 700; color: var(--muted); padding-top: .75rem;
  border-top: 4px solid var(--line); counter-increment: s;
}
.stepper li::before { content: "Step " counter(s) " · "; font-weight: 600; }
.stepper li.is-active { color: var(--green-deep); border-color: var(--brass); }
.stepper li.is-done { color: var(--green); border-color: var(--green); }
@media (max-width: 640px) {
  .stepper li { font-size: 0; }
  .stepper li::before { font-size: .8rem; content: counter(s); }
}
.form-step[hidden] { display: none; }
.form-step h2 { font-size: 1.6rem; }
.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-nav .spacer { flex: 1; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.error { color: var(--danger); }

.success-panel { text-align: left; }
.success-panel .check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin-bottom: 1rem;
}
.success-panel .check svg { width: 30px; height: 30px; }

.booking-frame {
  width: 100%; min-height: 720px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
}
.booking-placeholder {
  border: 2px dashed #c8bda9; border-radius: var(--radius-lg); padding: 2.25rem; text-align: center; background: #fff; color: var(--ink-soft);
}
.booking-placeholder h3 { margin-bottom: .35rem; }
.demo-banner {
  background: #fff7e6; border: 1px solid #f0d6a8; color: #7a4f12; border-radius: var(--radius);
  padding: .75rem 1rem; font-size: .95rem; margin-bottom: 1.5rem;
}

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-list a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours td { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--green-deep); color: #c3d2ca; padding: 4rem 0 2rem; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--brass-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand-sub { color: #9fb3a9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; color: #9fb3a9; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.prose ul { padding-left: 1.25rem; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mb-0 { margin-bottom: 0; }
#intake-top, #intake-success, section[id], .card[id] { scroll-margin-top: 110px; }
