/* Open Sans static weights, self-hosted. Includes Greek and Latin. */
@font-face {
  font-family: "Open Sans";
  src: url("/font/Open_Sans/static/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/font/Open_Sans/static/OpenSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/font/Open_Sans/static/OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/font/Open_Sans/static/OpenSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
:root {
  --navy: #17324f;
  --navy-dark: #0f2337;
  --blue: #1b5fa8;
  --ink: #2e2e2e;
  --ink-light: #454545;
  --muted: #4b5563;
  --grey-bg: #f2f5f8;
  --white: #ffffff;
  --star: #f5a623;
  --focus: var(--star);
  --check: #6fcf97;
  --border: #e5e9ee;
  --field-border: #cfd4da;
  --danger: #a33a3a;
  --footer-rule: rgba(255,255,255,0.15);
  --hero-overlay: rgba(15,35,55,0.72);
  --radius: 8px;
  --control-height: 44px;
  --max-width: 1140px;
  --reading-width: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
  overflow-wrap: anywhere;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}

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

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  min-width: 0;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 26px;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); letter-spacing: -0.03em; }
h2 { font-size: 1.7rem; text-align: center; }
h3 { font-size: 1.15rem; }

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

section { padding: 60px 0; }
section[id] { scroll-margin-top: 84px; }

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--navy-dark); }
.btn:active,
.header-cta:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.72; cursor: wait; }
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.btn-center { text-align: center; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--navy-dark);
  color: var(--white);
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand,
.site-header nav { display: flex; align-items: center; }
.brand { gap: 12px; color: var(--navy); text-decoration: none; font-size: 0.72rem; line-height: 1.35; }
.brand img { width: 108px; height: 108px; object-fit: contain; }
.brand strong { font-size: 0.8rem; }
.site-header nav { gap: 22px; }
.header-phone,
.header-cta { min-height: var(--control-height); display: inline-flex; align-items: center; }
.header-phone { color: var(--navy); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.header-phone:hover { color: var(--blue); }
/* Transparent hero variant — white text on the hero image */
.hero-header .brand { color: var(--white); }
.hero-header .header-phone { color: var(--white); }
.header-cta {
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.header-cta:hover { background: var(--navy-dark); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-dark);
  color: var(--white);
  min-height: min(560px, 70vh);
  display: grid;
  align-items: center;
  padding: clamp(140px, 18vw, 200px) 0 clamp(64px, 10vw, 120px);
}
.hero-media,
.hero::after {
  position: absolute;
  inset: 0;
}
.hero-media { z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; z-index: 1; background: var(--hero-overlay); }
.hero .container { position: relative; z-index: 2; max-width: 760px; margin-inline-start: max(20px, calc((100vw - var(--max-width)) / 2)); margin-inline-end: auto; }
.hero h1 { color: var(--white); }
.hero .subtitle { font-size: 1.1rem; margin-bottom: 20px; }
.hero ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.hero ul li {
  padding-inline-start: 26px;
  position: relative;
  margin-bottom: 8px;
  font-weight: 600;
}
.hero ul li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--check);
  font-weight: 700;
}

.trust-strip {
  padding: 22px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 2px solid var(--blue);
}
.trust-item strong { color: var(--navy); font-size: 0.95rem; }
.trust-item span { color: var(--ink-light); font-size: 0.82rem; }

/* ==========================================================================
   Steps + Form section
   ========================================================================== */
.steps-form {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}
.step { display: flex; gap: 16px; margin-bottom: 34px; }
.step .num {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.step h3 { margin-bottom: 6px; color: var(--navy); text-transform: none; font-size: 1rem; }

.form-card {
  background: var(--grey-bg);
  border-radius: var(--radius);
  padding: 30px;
}
.form-card p.form-intro { text-align: center; font-weight: 600; }
.form-assurance { color: var(--ink-light); font-size: 0.8rem; text-align: center; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.field label span { font-weight: 400; color: var(--ink-light); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 90px; resize: vertical; }
.field-help { display: block; margin-top: 4px; color: var(--ink-light); font-size: 0.75rem; }
.field input:focus:invalid,
.field select:focus:invalid,
.field textarea:focus:invalid { border-color: var(--danger); }

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.checkbox-field input { margin-top: 3px; }
.checkbox-field a { text-decoration: underline; }

/* honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-note { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   Two-column text/image sections
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split picture { display: block; }
.split img { border-radius: var(--radius); }

.text-block { max-width: 760px; margin: 0 auto; text-align: center; }

.zoom-logo { width: 130px; margin: 0 auto 20px; }

.bg-grey { background: var(--grey-bg); }

/* ==========================================================================
   About / checklist section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: justify;
}
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  padding-inline-start: 28px;
  position: relative;
  margin-bottom: 10px;
  font-weight: 600;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ==========================================================================
   Mediators
   ========================================================================== */
.mediators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.mediator-card { text-align: center; }
.mediator-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}
.mediator-card h3 { color: var(--navy); }
.mediator-card .role { font-style: italic; color: var(--ink-light); margin-bottom: 12px; }
.mediator-card .bio { text-align: left; font-size: 0.92rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
}
.testimonial .stars { color: var(--star); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial .author { font-weight: 700; margin-top: 10px; }
.testimonial .category { font-size: 0.85rem; color: var(--ink-light); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 50px 0 max(30px, env(safe-area-inset-bottom));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.site-footer a { text-decoration: none; opacity: 0.85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .footer-links { display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.site-footer .footer-contact p { margin: 0 0 6px; }
.site-footer .footer-logos { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.site-footer .footer-logos img { width: 110px; }
.site-footer .tagline {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-top: 1px solid var(--footer-rule);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Thank-you / privacy pages
   ========================================================================== */
.simple-page {
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}
.simple-page.legal { text-align: left; }
.simple-page.legal h1,
.simple-page.legal h2 { text-align: center; margin-top: 34px; }
.simple-page.legal h3 { margin-top: 28px; margin-bottom: 12px; }
.simple-page.legal h4 { margin-top: 20px; margin-bottom: 8px; }
.simple-page.legal ul { padding-inline-start: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .steps-form,
  .split,
  .about-grid,
  .mediators,
  .testimonials,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  section { padding: 40px 0; }
  .split .split-img { order: -1; }
  .hero .container { margin-inline: auto; }
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-strip { padding: 20px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  section { padding: 34px 0; }
  .hero { min-height: auto; padding: 130px 0 64px; }
  .hero .subtitle { font-size: 1rem; }
  .form-card { padding: 22px 18px; }
  .about-grid { padding: 24px 20px; text-align: left; }
  .step { gap: 12px; margin-bottom: 26px; }
  .step .num { width: 36px; height: 36px; }
  .btn { width: 100%; text-align: center; }
  .footer-logos { justify-content: center; }
  .site-header nav { gap: 0; }
  .header-phone { display: none; }
  .header-cta { padding: 9px 12px; font-size: 0.78rem; }
  .brand { font-size: 0.66rem; }
  .brand img { width: 92px; height: 92px; }
}

@media (max-width: 420px) {
  .site-header .container { gap: 12px; }
  .brand span { display: none; }
  .brand img { width: 88px; height: 88px; }
  .header-cta { padding-inline: 10px; font-size: 0.75rem; }
  .hero { padding-block: 120px 52px; }
  h1 { font-size: clamp(2rem, 10vw, 2.25rem); }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding-block: 48px; }
  .hero ul { margin-bottom: 20px; }
}

@media (pointer: coarse) {
  .btn,
  .header-cta,
  .header-phone { min-height: 48px; }
  .checkbox-field label { padding-block: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
