/* =====================================================================
   v3 refinement layer — loaded AFTER css/v2.css (only on index-v3.html).
   Goal: more premium, still approachable — warmer palette, more breathing
   room, softer detailing. Keeps the green + gold premium system intact.
   ===================================================================== */

:root {
  --ivory:      #f7f3ea;   /* warmer cream */
  --ivory-soft: #eef4ef;
  --muted:      #586860;   /* a touch softer */
  --line:       #e7e0d2;

  /* Legacy aliases — migrated inner pages still reference these old token
     names in inline styles; map them onto the premium palette. */
  --color-navy:      var(--green-deep);
  --color-navy-deep: var(--green-deep);
  --color-accent:    var(--green);
  --color-accent-dk: var(--green-deep);
  --color-teal:      var(--green);
  --color-muted:     var(--muted);
  --color-text:      var(--ink);
  --color-bg:        #ffffff;
  --color-bg-alt:    var(--ivory);
  --color-line:      var(--line);
  --shadow:          0 14px 34px rgba(18, 60, 51, .10);
}

body { line-height: 1.8; }

/* more breathing room = more premium */
.section { padding: 6rem 0; }
.hero { padding: 6.5rem 0 7rem; }
.hero p { font-size: 1.2rem; }

/* refined type */
.hero h1 { letter-spacing: -.015em; }
h2 { letter-spacing: -.01em; }
.lead { font-size: 1.18rem; }

/* softer, friendlier cards with a gentle lift */
.card { border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18, 60, 51, .10); }
.ind { border-radius: 12px; }

/* warmer buttons + subtle depth on the avatars */
.btn { border-radius: 7px; }
.avatar__circle { box-shadow: 0 6px 18px rgba(18, 60, 51, .14); }

/* hero brand motif */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero__motif { position: absolute; right: -70px; top: 50%; transform: translateY(-50%); width: 540px; max-width: 60%; opacity: .55; pointer-events: none; }
@media (max-width: 820px) { .hero__motif { display: none; } }

/* =======================================================================
   Inner-page components (ported to the premium system so every page can
   share css/v2.css + css/v3.css).
   ======================================================================= */

/* inner page hero band */
.page-hero { background: var(--green-deep); color: #fff; padding: 4rem 0; }
.page-hero h1 { color: #fff; margin-bottom: .25rem; }
.page-hero p { color: #cdded7; margin: 0; }
.page-hero .eyebrow { color: var(--green-bright); }

/* two-column tag/feature list */
.taglist { columns: 2; gap: 2.5rem; list-style: none; padding: 0; margin: 0; }
.taglist li { padding: .4rem 0 .4rem 1.5rem; position: relative; break-inside: avoid; }
.taglist li::before { content: "›"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.taglist a { color: var(--ink); } .taglist a:hover { color: var(--green); }

/* contact office card */
.office { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.office h3 { margin-bottom: .5rem; } .office p { margin: .15rem 0; color: var(--muted); }
.office strong { color: var(--ink); }

/* forms */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: .35rem; color: var(--ink); }
input, select, textarea { width: 100%; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; color: var(--ink); background: var(--white); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); border-color: transparent; }
.form-note { font-size: .9rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* document link list */
.doc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.doc-links a { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; transition: transform .15s ease, border-color .15s ease; }
.doc-links a:hover { transform: translateY(-2px); text-decoration: none; border-color: var(--green); }
.doc-links a::before { content: "\1F4C4"; font-size: 1.2rem; }

/* responsive video embed (Loom) */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; box-shadow: 0 14px 34px rgba(18,60,51,.12); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* long-form article */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.5rem; margin-top: 2rem; }
.article h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.article ul, .article ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.article li { margin-bottom: .4rem; }
.article__meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.article .callout { background: var(--ivory-soft); border-left: 4px solid var(--gold); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.25rem 0; }

/* blog list */
.post { border-top: 1px solid var(--line); padding: 1.75rem 0; }
.post:first-of-type { border-top: none; }
.post__meta { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: .35rem; }
.post h3 a { color: var(--green-deep); }

/* professional bios */
.bio { display: flex; gap: 1.75rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.bio:last-child { border-bottom: none; }
.bio__avatar { flex: 0 0 96px; height: 96px; border-radius: 50%; background: var(--green-deep); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.7rem; box-shadow: 0 6px 18px rgba(18,60,51,.14); }
.bio__body { flex: 1; }
.bio__name { margin-bottom: .1rem; }
.bio__creds { color: var(--green); font-weight: 600; font-size: .92rem; margin: 0 0 .1rem; }
.bio__meta { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
@media (max-width: 560px) { .bio { flex-direction: column; gap: 1rem; } }

/* credentials strip */
.creds { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; align-items: center; }
.creds span { font-family: var(--serif); font-size: 1.2rem; color: var(--green-deep); opacity: .7; }

/* =======================================================================
   Conversion elements: FAQ accordion, CTA reassurance, sticky mobile CTA
   ======================================================================= */

/* FAQ accordion (native details/summary, no JS) */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; color: var(--green-deep); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin: 0 0 1.1rem; }

/* reassurance bullets in the CTA band */
.cta-reassure { list-style: none; padding: 0; margin: 0 auto 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; justify-content: center; max-width: 660px; }
.cta-reassure li { color: #06352b; font-size: .92rem; font-weight: 600; display: flex; align-items: center; gap: .4rem; }

/* sticky mobile booking bar (injected by main.js) */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: var(--green-deep); padding: .6rem .9rem; gap: .75rem; align-items: center; justify-content: space-between; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
  .sticky-cta span { color: #eaf3ef; font-size: .85rem; font-weight: 600; }
  .sticky-cta a { background: var(--gold); color: var(--gold-ink); padding: .55rem 1.1rem; border-radius: 6px; font-weight: 600; font-size: .85rem; white-space: nowrap; }
  body { padding-bottom: 62px; }
}

/* legacy alternating-section class → ivory */
.section--alt { background: var(--ivory); }
