/* ============================================================
   CGFI — Czech Green Finance Institute
   Shared stylesheet
   Type: Playfair Display (headings) + Hanken Grotesk (body)
   Fonts are loaded via <link> in each page's <head> (perf).
   ============================================================ */

:root {
  /* palette */
  --ink:        #0E141A;   /* dark base: topbar, mission, footer */
  --ink-2:      #131b23;   /* slightly raised dark surface */
  --ink-line:   #25313c;   /* hairlines on dark */
  --gold:       #C2A468;   /* champagne accent — sparing */
  --gold-soft:  #d8c293;
  --gold-deep:  #9c7f43;   /* gold for small text on light (contrast) */
  --green:      #3E9B7C;   /* digital / eco accent */
  --green-deep: #2f7a61;
  --bg:         #F7F8FA;   /* cool light body bg */
  --surface:    #ffffff;   /* cards / raised on light */
  --line:       #E9ECF0;   /* soft cool gray separators */
  --line-2:     #dde2e9;
  --text:       #15191E;   /* soft black */
  --muted:      #565f6b;   /* secondary text on light */
  --muted-2:    #7a828d;
  --on-ink:     #eef1f4;   /* primary text on dark */
  --on-ink-mut: #9aa6b2;   /* muted text on dark */

  /* type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* z-index vrstvy */
  --z-nav: 99;
  --z-topbar: 100;
  --z-loader: 2000;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  color: var(--text);
}

p { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0;
}
.eyebrow.green { color: var(--green-deep); }
.on-ink .eyebrow { color: var(--gold); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section-tight { padding-block: clamp(48px, 6vw, 84px); }

.ink { background: var(--ink); color: var(--on-ink); }
.ink h1, .ink h2, .ink h3, .ink h4 { color: #fff; }
.ink .lead { color: var(--on-ink-mut); }

.section-head { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head p { margin-top: 20px; }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-ink .hairline, .ink .hairline { background: var(--ink-line); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  padding: 15px 26px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: #1c1505; }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1c2731; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.on-ink .btn-outline, .ink .btn-outline, .cta-band .btn-outline { color: #fff; border-color: var(--ink-line); }
.on-ink .btn-outline:hover, .ink .btn-outline:hover, .cta-band .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  color: var(--text); transition: gap .25s var(--ease), color .25s var(--ease);
}
.textlink svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.textlink:hover { color: var(--green-deep); }
.textlink:hover svg { transform: translateX(4px); }
.ink .textlink, .on-ink .textlink { color: var(--gold); }
.ink .textlink:hover, .on-ink .textlink:hover { color: var(--gold-soft); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: var(--z-topbar);
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 62px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: #fff; letter-spacing: .01em; }
.brand-text .sub { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-mut); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--on-ink); text-decoration: none; font-size: 0.93rem; font-weight: 500;
  position: relative; padding: 4px 0; transition: color .2s var(--ease); white-space: nowrap;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold); transition: width .25s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.nav .nav-cta { display: none; }
.topbar-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .25s var(--ease); }

/* language switch */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--ink-line); border-radius: 999px; overflow: hidden; }
.lang-switch button { appearance: none; -webkit-appearance: none; background: transparent; border: 0; cursor: pointer; font-family: var(--sans); font-size: 0.76rem; font-weight: 600; letter-spacing: .04em; color: var(--on-ink-mut); padding: 7px 12px; line-height: 1; transition: color .2s var(--ease), background .2s var(--ease); }
.lang-switch button + button { border-left: 1px solid var(--ink-line); }
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { background: var(--gold); color: var(--ink); }
@media (max-width: 1040px) { .lang-switch button { padding: 7px 10px; font-size: 0.72rem; } }

@media (max-width: 1040px) {
  .nav { gap: 18px; }
  .nav a { font-size: 0.88rem; }
}
@media (max-width: 900px) {
  .brand-text .sub { display: none; }
  .nav {
    position: fixed; inset: 92px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--ink); border-bottom: 1px solid var(--ink-line);
    padding: 12px var(--gutter) 28px; gap: 0;
    transform: translateY(-130%); transition: transform .35s var(--ease); z-index: var(--z-nav);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .topbar-cta .btn { display: none; }
  .nav .nav-cta { display: inline-flex; margin-top: 18px; border-bottom: 0; justify-content: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-eyebrow { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.02em; font-weight: 800;
}
.hero h1 .gold { color: var(--gold-deep); font-style: italic; font-weight: 600; }
.hero p.lead { margin-top: 28px; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }
.hero-micro { margin-top: 16px; font-size: 0.86rem; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.hero-media { position: relative; }
.hero-media image-slot, .hero-media img.photo { width: 100%; height: clamp(380px, 52vw, 600px); }
.hero-media img.photo, .svc-hero-media img.photo, .mission-media img.photo { display: block; object-fit: cover; border-radius: 6px; }
.hero-media .badge {
  position: absolute; left: -22px; bottom: 28px; background: var(--ink); color: #fff;
  padding: 18px 22px; border-radius: var(--radius); max-width: 210px;
}
.hero-media .badge .num { font-family: var(--serif); font-size: 1.9rem; color: var(--gold); line-height: 1; }
.hero-media .badge .lbl { font-size: 0.8rem; color: var(--on-ink-mut); margin-top: 6px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
  .hero-media image-slot, .hero-media img.photo { height: clamp(280px, 60vw, 420px); }
  .hero-media .badge { left: auto; right: 16px; }
}

/* ============================================================
   PROOF STRIP
   ============================================================ */
.proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.proof-item { padding: 32px clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; }
.proof-item .big { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: var(--gold-deep); line-height: 1; font-weight: 700; }
.proof-item .lbl { margin-top: 10px; font-size: 0.92rem; color: var(--muted); line-height: 1.4; }
.proof-item .lbl strong { color: var(--text); font-weight: 600; }
@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(odd) { border-left: 0; }
  .proof-item:nth-child(3), .proof-item:nth-child(4) { border-top: 1px solid var(--line); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin-top: 56px;
}
.svc {
  background: var(--surface); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; min-height: 340px;
  text-decoration: none; color: inherit; position: relative;
  transition: background .3s var(--ease);
}
.svc:hover { background: #fcfcfd; }
.svc-icon { width: 46px; height: 46px; color: var(--green-deep); margin-bottom: 24px; }
.svc-icon svg { width: 100%; height: 100%; }
.svc h3 { font-size: 1.45rem; line-height: 1.12; }
.svc .one { margin-top: 14px; color: var(--muted); font-size: 0.98rem; line-height: 1.5; flex-grow: 1; }
.svc .more {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem; color: var(--text);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.svc .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc:hover .more { color: var(--green-deep); }
.svc:hover .more svg { transform: translateX(4px); }
.svc .idx { position: absolute; top: 28px; right: 30px; font-family: var(--serif); font-size: 0.95rem; color: var(--line-2); }
@media (max-width: 940px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .svc { min-height: 0; } }

/* ============================================================
   MISSION (dark)
   ============================================================ */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.mission h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.mission .lead { margin-top: 24px; }
.mission .pts { margin-top: 32px; display: grid; gap: 22px; }
.mission .pt { display: flex; gap: 16px; }
.mission .pt .ic { flex-shrink: 0; width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.mission .pt .ic svg { width: 100%; height: 100%; }
.mission .pt h4 { color: #fff; font-family: var(--sans); font-size: 1.05rem; font-weight: 600; }
.mission .pt p { color: var(--on-ink-mut); font-size: 0.96rem; margin-top: 4px; }
.mission-media image-slot, .mission-media img.photo { width: 100%; height: clamp(360px, 46vw, 540px); }
@media (max-width: 860px) { .mission-grid { grid-template-columns: 1fr; } .mission-media { order: -1; } .mission-media image-slot, .mission-media img.photo { height: clamp(260px, 60vw, 400px); } }

/* ============================================================
   GENERIC TWO-COL + FEATURE LISTS
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
.checklist li .tick {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; color: var(--green-deep);
}
.checklist li .tick svg { width: 100%; height: 100%; }
.on-ink .checklist li .tick { color: var(--gold); }

/* ============================================================
   WHY / FEATURE CARDS
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); margin-top: 56px; }
.why-card { padding-top: 28px; border-top: 2px solid var(--gold); }
.why-card .ic { display: block; width: 40px; height: 40px; color: var(--green-deep); margin-bottom: 18px; }
.why-card .ic svg { width: 100%; height: 100%; }
.why-card h3 { font-size: 1.3rem; }
.why-card p { margin-top: 12px; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; gap: 0; } .why-card { padding-block: 28px; } }

/* ============================================================
   PROCESS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); margin-top: 56px; }
.step { background: var(--bg); padding: clamp(26px, 3vw, 38px); position: relative; }
.step .n { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.step h4 { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; margin-top: 18px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 0.94rem; }
.step .risk { margin-top: 16px; display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--green-deep); background: rgba(62,155,124,0.1); padding: 4px 10px; border-radius: 100px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   EXPERTISE
   ============================================================ */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
.exp-articles { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.exp-article { background: var(--surface); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none; color: inherit; transition: background .25s var(--ease); }
.exp-article:hover { background: #fcfcfd; }
.exp-article .src { font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.exp-article h4 { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; margin-top: 6px; line-height: 1.35; }
.exp-article .arrow { flex-shrink: 0; width: 18px; height: 18px; color: var(--muted-2); transition: transform .25s var(--ease); }
.exp-article:hover .arrow { transform: translate(3px,-3px); color: var(--green-deep); }
@media (max-width: 860px) { .exp-grid { grid-template-columns: 1fr; gap: 40px; } }

.exp-feature { display: block; border: 1px solid var(--line); background: var(--surface); padding: clamp(28px,3vw,36px); text-decoration: none; color: inherit; transition: background .25s var(--ease), border-color .25s var(--ease); }
.exp-feature:hover { background: #fcfcfd; border-color: var(--line-2); }
.exp-feature .src { font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.exp-feature h3 { font-size: clamp(1.4rem,2.4vw,1.7rem); margin-top: 10px; }
.exp-feature p { margin-top: 14px; color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.exp-feature .more { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--green-deep); }
.exp-feature .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.exp-feature:hover .more svg { transform: translate(3px,-3px); }

/* experts list */
.experts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.expert { background: var(--surface); padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: background .25s var(--ease); }
.expert .nm { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; line-height: 1.25; color: var(--text); }
.expert .li { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.85rem; color: var(--gold-deep); text-decoration: none; transition: color .2s var(--ease); }
.expert .li svg { width: 19px; height: 19px; }
.expert .li:hover { color: var(--gold); }
.expert.join { background: var(--surface-2, #fbfaf6); flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 24px; }
.expert.join .jt { font-family: var(--sans); font-weight: 600; font-size: 0.98rem; color: var(--text); }
.expert.join .textlink { font-size: 0.9rem; }
.expert.more-experts { padding-block: 14px; }
.expert.more-experts .nm { font-family: var(--sans); font-weight: 500; font-size: 0.98rem; color: var(--muted); }

/* ============================================================
   REFERENCES / NUMBERS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,3vw,40px); margin-top: 48px; }
.stat .num { font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--gold); line-height: 1; font-weight: 700; }
.on-ink .stat .num { color: var(--gold); }
.stat .lbl { margin-top: 12px; font-size: 0.95rem; color: var(--on-ink-mut); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600; color: var(--text);
}
.faq-q .pm { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ''; position: absolute; background: var(--gold-deep); transition: transform .3s var(--ease); }
.faq-q .pm::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .pm::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.open .faq-q .pm::after { transform: translateX(-50%) scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 0 26px; color: var(--muted); max-width: 60ch; font-size: 1rem; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.row2 { grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 480px) { .field.row2 { grid-template-columns: 1fr; } }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 13px 15px; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,164,104,0.15);
}

/* focus-visible pro klávesnici (tlačítka + odkazy) */
a:focus-visible, button:focus-visible, .btn:focus-visible, .nav a:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px;
}
.topbar a:focus-visible, .footer a:focus-visible, .nav a:focus-visible { outline-color: var(--gold-soft); }

/* přechodový loader při prokliku */
.page-loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.page-loader.show { opacity: 1; visibility: visible; }
.page-loader img { width: 64px; height: auto; animation: loaderPulse 1.1s var(--ease) infinite; }
@keyframes loaderPulse { 0%,100% { opacity: .35; transform: scale(.94); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .page-loader img { animation: none; } .page-loader { transition: none; } }
.field textarea { resize: vertical; min-height: 110px; }
.form .submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: 0.84rem; color: var(--muted-2); }

.contact-aside { }
.contact-card { background: var(--ink); color: var(--on-ink); padding: clamp(28px,3.5vw,40px); border-radius: var(--radius); }
.contact-card h3 { color: #fff; font-size: 1.5rem; }
.contact-card p { color: var(--on-ink-mut); margin-top: 12px; font-size: 0.98rem; }
.contact-card .booking { margin-top: 24px; }
.contact-lines { margin-top: 28px; display: grid; gap: 16px; }
.contact-line { display: flex; gap: 14px; align-items: center; }
.contact-line .ic { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.contact-line .ic svg { width: 100%; height: 100%; }
.contact-line a, .contact-line span { color: var(--on-ink); text-decoration: none; font-size: 1.02rem; }
.contact-line a:hover { color: var(--gold); }
.contact-line .small { font-size: 0.8rem; color: var(--on-ink-mut); display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--on-ink-mut); padding-block: clamp(56px, 7vw, 88px) 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px,4vw,56px); }
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-brand .name { font-family: var(--serif); color: #fff; font-size: 1.3rem; font-weight: 700; }
.footer-brand p { margin-top: 14px; font-size: 0.92rem; line-height: 1.55; max-width: 30ch; }
.footer-brand .accred { margin-top: 16px; font-size: 0.82rem; color: var(--on-ink-mut); }
.footer-brand .accred strong { color: var(--gold); }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-mut); font-weight: 600; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--on-ink); text-decoration: none; font-size: 0.95rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-col .addr { font-size: 0.92rem; line-height: 1.55; color: var(--on-ink); }
.footer-col .addr strong { color: #fff; display: block; margin-bottom: 4px; font-weight: 600; }
.footer-cta { margin-top: 14px; }
.footer-mission {
  margin-top: clamp(40px,5vw,64px); padding-top: 32px; border-top: 1px solid var(--ink-line);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem,2vw,1.5rem); color: #fff;
}
.footer-bottom { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--on-ink-mut); }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { color: var(--on-ink-mut); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICE SUBPAGE SPECIFIC
   ============================================================ */
.breadcrumb { padding-top: 28px; font-size: 0.86rem; color: var(--muted-2); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-deep); }

.svc-hero { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 80px); }
.svc-hero .eyebrow { margin-bottom: 18px; }
.svc-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 16ch; }
.svc-hero .lead { margin-top: 26px; max-width: 44ch; }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px,5vw,72px); align-items: center; }
.svc-hero-media image-slot, .svc-hero-media img.photo { width: 100%; height: clamp(340px, 44vw, 500px); }
@media (max-width: 860px) { .svc-hero-grid { grid-template-columns: 1fr; } .svc-hero-media { order: -1; } .svc-hero-media image-slot, .svc-hero-media img.photo { height: clamp(260px,56vw,380px); } }

.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.related-card { background: var(--surface); padding: 30px; text-decoration: none; color: inherit; transition: background .25s var(--ease); display: flex; flex-direction: column; gap: 10px; }
.related-card:hover { background: #fcfcfd; }
.related-card .ic { width: 36px; height: 36px; color: var(--green-deep); }
.related-card .ic svg { width: 100%; height: 100%; }
.related-card h4 { font-size: 1.2rem; }
.related-card p { color: var(--muted); font-size: 0.94rem; }
.related-card .more { margin-top: 6px; color: var(--green-deep); font-weight: 600; font-size: 0.9rem; }
@media (max-width: 640px) { .related { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.6rem); max-width: 18ch; }
.cta-band .lead { color: var(--on-ink-mut); margin-top: 14px; max-width: 40ch; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* utility */
.center { text-align: center; margin-inline: auto; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.maxw-prose { max-width: 60ch; }
