/* Acalution marketing site. Shared brand styles.
 * Self-hosted (no Wix/CDN dependency). Brand: Comfortaa display, Arial body,
 * Acalution green, off-white bg, network-dot motif. */

@font-face { font-family: 'Comfortaa'; font-weight: 300; font-display: swap; src: url('/assets/fonts/comfortaa-300.woff2') format('woff2'); }
@font-face { font-family: 'Comfortaa'; font-weight: 400; font-display: swap; src: url('/assets/fonts/comfortaa-400.woff2') format('woff2'); }
@font-face { font-family: 'Comfortaa'; font-weight: 700; font-display: swap; src: url('/assets/fonts/comfortaa-700.woff2') format('woff2'); }

:root {
  --green: #93BA2F;          /* primary brand green: accents, CTAs */
  --green-overlay: #A8D048;  /* photo circle overlay + network dot nodes */
  --green-icon: #B8E848;     /* icon circle backgrounds */
  --charcoal: #413F42;
  --muted: #6c6a6e;
  --bg: #F2F2F0;
  --surface: #FFFFFF;
  --border: #E2E2DE;
  --accent-line: #C8C86A;    /* dotted connectors */
  --font-display: 'Comfortaa', Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(65,63,66,.07);
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Always reserve the scrollbar gutter so pages of different heights (e.g. the
   long homepage vs a shorter sub-page) keep the centred content aligned. */
html { scroll-behavior: smooth; scrollbar-gutter: stable; overflow-y: scroll; }
body { background: var(--bg); color: var(--charcoal); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--charcoal); line-height: 1.2; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.accent { color: var(--green); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header .logo img { height: 30px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: var(--font-display); font-size: .82rem; letter-spacing: .03em; text-transform: uppercase;
  color: var(--charcoal); position: relative; padding: .3rem 0; transition: color .15s;
}
.nav a:hover, .nav a.active { color: var(--green); }
.nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--green); }
.nav .nav-cta {
  background: var(--green); color: #fff; padding: .5rem 1.1rem; border-radius: 20px; text-transform: uppercase;
  font-size: .78rem; transition: background .15s, transform .15s;
}
.nav .nav-cta:hover { background: #7ea026; color: #fff; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ── Network-dot motif (decorative, pure CSS) ── */
.netdots { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle, var(--green-overlay) 2.5px, transparent 3px),
    radial-gradient(circle, var(--accent-line) 1.5px, transparent 2px);
  background-size: 96px 96px, 60px 60px; background-position: 0 0, 34px 28px; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0; border-bottom: 1px solid var(--border); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.hero-copy { max-width: 34rem; }
.hero-pic { display: flex; justify-content: flex-end; }
.hero-pic img { width: 116%; max-width: none; height: auto; display: block; }
.hero .kicker { font-family: var(--font-display); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.hero h1 { font-size: 2.9rem; font-weight: 300; margin: .7rem 0 1rem; }
.hero h1 b { font-weight: 700; color: var(--green); }
/* Homepage hero: intro lead + the two practice cards merged in */
.hero-home { padding: 4rem 0 4.5rem; }
.hero-home .wrap { display: block; }
.hero-home .hero-lead { max-width: none; margin-bottom: 2.2rem; }
.hero-home .hero-lead h1 { font-size: 2.7rem; }
/* Higher specificity than '.hero p.lead' below so the homepage intro spans full width */
.hero.hero-home p.lead { font-size: 1.08rem; color: var(--muted); max-width: none; margin-top: .5rem; }
/* Homepage hero uses a clean off-white background (no texture). */
.hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 34rem; }
.hero .cta-row { margin-top: 1.8rem; display: flex; gap: .9rem; flex-wrap: wrap; }

/* hero / about art: official brand section compositions (self-hosted) */
.hero-pic img { width: 100%; height: auto; display: block; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: .9rem; padding: .75rem 1.5rem; border-radius: 26px; cursor: pointer; border: 1.5px solid transparent; transition: all .15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #7ea026; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(147,186,47,.3); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--charcoal); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* ── Section scaffolding ── */
/* Sections are white by default; .alt is the off-white breather used for card
   grids (so the white cards stand out) and the flagship section. Differentiation
   comes from the background change and generous spacing, not borders. */
.section { padding: 4.5rem 0; position: relative; background: var(--surface); }
.section.alt { background: var(--bg); }
/* Two white sections in a row: drop the second one's top padding so the gap
   is one section's worth, not two (a colour change already breaks .alt pairs). */
.section:not(.alt) + .section:not(.alt) { padding-top: 0; }
.section-head { max-width: none; margin-bottom: 2.5rem; }
.section-head .eyebrow { font-family: var(--font-display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.section-head h2 { font-size: 2rem; font-weight: 300; margin-top: .5rem; }
.section-head h2 b { font-weight: 700; }
.section-head p { color: var(--muted); margin-top: .8rem; }

/* ── Cards grid ── */
.grid { display: grid; gap: 1.4rem; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--green); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(65,63,66,.12); }
.card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.card.flag { background: #FBFDF6; border-top-width: 4px; }
.card-flag { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: #5f7d18; background: #EDF3DE; padding: .2rem .55rem; border-radius: 20px; margin-bottom: .7rem; }
.card p { font-size: .92rem; color: var(--muted); }

/* ── Service split rows ── */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.service + .service { margin-top: 3.5rem; }
.service .svc-pic img { width: 100%; height: auto; display: block; }
.service h3 { font-size: 1.5rem; font-weight: 300; }
.service h3 b { font-weight: 700; }
.service ul { list-style: none; margin: 1rem 0 1.3rem; }
.service li { padding-left: 1.5rem; position: relative; color: var(--muted); margin: .4rem 0; }
.service li::before { content: '→'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── Contact / offices ── */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 2rem; }
.office { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.office .city { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.office p { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.office a { color: var(--charcoal); }
.office a:hover { color: var(--green); }

.form { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--green); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-l { display: block; margin-bottom: 1rem; }
.field-l span { display: block; font-family: var(--font-display); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .35rem; }
.field-l input, .field-l textarea { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: .65rem .8rem; font-family: var(--font-body); font-size: .95rem; background: #fff; color: var(--charcoal); }
.field-l input:focus, .field-l textarea:focus { outline: none; border-color: var(--green); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
.form-status { font-size: .9rem; margin-top: .8rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #5f7d18; }
.form-status.err { color: #c0392b; }

/* ── Orientation strip ── */
.strip { text-align: center; padding: 1.6rem 0; border-bottom: 1px solid var(--border); background: var(--surface); }
.strip p { max-width: 50rem; margin: 0 auto; color: var(--muted); font-size: .98rem; }
.strip .rule { width: 60px; height: 2px; background: var(--green); margin: .9rem auto 0; }

/* ── Pillar cards (two ways we work) ── */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.pillar { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--green); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.pillar:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(65,63,66,.13); }
.pillar .tag { font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.pillar h3 { font-size: 1.45rem; font-weight: 300; margin: .5rem 0 .7rem; }
.pillar h3 b { font-weight: 700; }
.pillar > p { color: var(--muted); }
.pillar ul { list-style: none; margin: 1rem 0 1.4rem; }
.pillar li { padding-left: 1.4rem; position: relative; color: var(--charcoal); font-size: .92rem; margin: .35rem 0; }
.pillar li::before { content: '→'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.pillar .btn { align-self: flex-start; margin-top: auto; }

/* ── Dark credibility band ── */
.band-dark { background: #2F3139; color: #e7e7ea; padding: 4rem 0; }
.band-dark h2 { color: #fff; font-weight: 300; }
.band-dark h2 b { font-weight: 700; color: var(--green-icon); }
.band-dark .eyebrow { color: var(--green-icon); }
.band-dark p { color: #b7b8bc; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2rem; }
.stat { border-left: 2px solid var(--green); padding: .3rem 0 .3rem 1rem; }
.stat .big { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem; }
.stat p { font-size: .88rem; margin-top: .3rem; }

/* ── Process steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1rem; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; }
.step h4 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* ── Tier cards ── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.tier.featured { border-top: 3px solid var(--green); }
.tier h4 { font-size: 1.15rem; }
.tier .lead-line { color: var(--muted); font-size: .9rem; margin: .4rem 0 1rem; }
.tier ul { list-style: none; }
.tier li { padding-left: 1.3rem; position: relative; font-size: .9rem; color: var(--charcoal); margin: .45rem 0; }
.tier li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── Generic content + arrow lists (inner pages) ── */
.prose { max-width: none; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.arrow-list { list-style: none; margin: 1rem 0; }
.arrow-list li { padding-left: 1.6rem; position: relative; color: var(--charcoal); margin: .55rem 0; }
.arrow-list li::before { content: '→'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
/* Flagship marker: a green rule running down the left of the whole header */
.flagship { border-left: 2px solid var(--green); padding-left: 1.5rem; }
.page-hero { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--border); }
.page-hero .kicker { font-family: var(--font-display); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.page-hero h1 { font-size: 2.4rem; font-weight: 300; margin: .6rem 0 1rem; }
.page-hero h1 b { font-weight: 700; }
.page-hero p { color: var(--muted); max-width: 46rem; font-size: 1.05rem; }

/* ── Proof / credibility callout ── */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.8rem 0; }
.proof .item { background: #EDF3DE; border-radius: var(--radius); padding: 1.3rem 1.5rem; border-left: 3px solid var(--green); }
.proof .label { font-family: var(--font-display); font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #5f7d18; }
.proof p { color: var(--charcoal); margin-top: .4rem; font-size: .95rem; }
.exp-heading { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 2.4rem 0 1.1rem; }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; } }

/* ── Draft banner ── */
.draft-flag { background: #FFF1D6; color: #8a5a00; font-size: .82rem; text-align: center; padding: .5rem 1rem; }

/* ── Footer ── */
.site-footer { background: var(--charcoal); color: #d9d8da; padding: 3rem 0 1.6rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .brandcol .tag { font-family: var(--font-display); color: var(--green); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .8rem; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer a, .site-footer p { color: #b9b8bb; font-size: .9rem; line-height: 1.8; }
.site-footer a:hover { color: var(--green); }
.site-footer .logo-foot { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; }
.site-footer .copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.2rem; padding-top: 1.2rem; font-size: .8rem; color: #8d8c8f; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.site-footer .foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)) 1.2fr; gap: 2rem 1.6rem; }
.site-footer .foot-col { display: flex; flex-direction: column; gap: .25rem; }
.site-footer .foot-col a { display: block; }
.site-footer .foot-contact .foot-loc { margin-bottom: .65rem; line-height: 1.45; }
.site-footer .foot-city { display: block; font-family: var(--font-display); color: #fff; font-size: .9rem; }
.site-footer .foot-loc { color: #b9b8bb; }
.site-footer .foot-mail { display: inline-block; color: var(--green); margin-top: .15rem; }

/* ── Legal pages ── */
.legal-section .eyebrow { font-family: var(--font-display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.legal-title { font-size: 2.4rem; font-weight: 300; margin: .5rem 0 .3rem; }
.legal-updated { color: var(--muted); font-size: .9rem; margin-bottom: 2.6rem; }
.legal { max-width: 60rem; }
.legal h2 { font-size: 1.25rem; font-weight: 700; margin: 2.4rem 0 .8rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.legal p { color: var(--muted); margin-bottom: .9rem; }
.legal ul { margin: 0 0 1.1rem 1.2rem; padding: 0; }
.legal li { color: var(--muted); margin-bottom: .4rem; }
.legal a { color: var(--green); }
.legal address { font-style: normal; color: var(--muted); line-height: 1.7; margin-bottom: .6rem; }
.legal hr { border: none; border-top: 1px solid var(--border); margin: 1.6rem 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .hero-pic { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .service, .grid.cols-2, .offices, .site-footer .cols, .form .row,
  .pillars, .steps, .steps.four, .tiers { grid-template-columns: 1fr; }
  .site-footer .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 2rem; gap: 1rem; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) { .grid.cols-4 { grid-template-columns: 1fr; } }
