/* =========================================================
   Peter Urminský — Mental Game Coach
   Palette: dark blue · baby blue · white
   ========================================================= */

:root {
  /* Brand colours */
  --navy-950: #061227;
  --navy-900: #0a1d3d;
  --navy-800: #112c57;
  --navy-700: #1a3f78;
  --baby-400: #7cc4ee;
  --baby-300: #a5d8f6;
  --baby-100: #e2f2fc;
  --baby-50:  #f3f9fe;
  --white:    #ffffff;

  /* Semantic tokens */
  --bg:            var(--white);
  --surface-alt:   var(--baby-50);
  --ink:           var(--navy-900);
  --ink-muted:     #46597a;
  --on-dark:       var(--white);
  --on-dark-muted: #b8cbe6;
  --accent:        var(--baby-400);
  --border:        #d5e5f3;
  --focus:         var(--baby-400);
  --error:         #b42318;
  --placeholder-bg: #fff1b8;
  --placeholder-ink: #6b4e00;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(10, 29, 61, .06), 0 8px 24px rgba(10, 29, 61, .06);
  --shadow-lg: 0 24px 60px rgba(6, 18, 39, .28);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 700ms;

  --header-h: 88px;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 768px) { .container { padding-inline: var(--s-6); } }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 1000;
  background: var(--white); color: var(--navy-900); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: var(--s-4); }

/* Placeholders — remove the class once real content is filled in */
.ph {
  background: var(--placeholder-bg);
  color: var(--placeholder-ink);
  outline: 1.5px dashed #d4a017;
  outline-offset: 1px;
  border-radius: 4px;
  padding: 0 .3em;
  font-style: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: var(--s-4);
}
.eyebrow--light { color: var(--baby-300); }

.section { padding-block: var(--s-9); }
@media (max-width: 767px) { .section { padding-block: var(--s-8); } }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 105%;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  letter-spacing: -.02em;
  margin-bottom: var(--s-5);
}
.section-head { text-align: center; max-width: 620px; margin: 0 auto var(--s-8); }
.section-head p { color: var(--ink-muted); font-size: 1.0625rem; }
.lead { font-size: 1.125rem; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-3);
  min-height: 48px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn-icon {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  transition: transform var(--dur) var(--ease-out);
}
.btn-icon svg { width: 18px; height: 18px; stroke-width: 2.2; }
.btn:hover .btn-icon { transform: rotate(45deg); }
.btn:active { transform: scale(.98); }

.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light .btn-icon { background: var(--navy-900); color: var(--white); }
.btn--light:hover { background: var(--baby-100); }

.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark .btn-icon { background: var(--baby-400); color: var(--navy-900); }
.btn--dark:hover { background: var(--navy-700); }

.btn--block { width: 100%; justify-content: space-between; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(10, 29, 61, 0);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(10, 29, 61, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(165, 216, 246, .14);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s-5); }

.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--white); line-height: 1.15; }
.brand-logo { width: 68px; height: 68px; flex: none; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; }
.brand-tag { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--baby-300); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: var(--s-2); }
.main-nav a {
  display: block; padding: 10px 12px; border-radius: 999px;
  color: var(--on-dark-muted); text-decoration: none; font-weight: 600; font-size: .9375rem;
  transition: color var(--dur-fast), background-color var(--dur-fast);
}
.main-nav a:hover { color: var(--white); background: rgba(165, 216, 246, .1); }
.main-nav a.is-active { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: var(--s-3); }

.lang-switch { display: flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(165, 216, 246, .35); }
.lang-switch button {
  min-width: 40px; min-height: 34px; border: 0; border-radius: 999px;
  background: transparent; color: var(--on-dark-muted);
  font-weight: 700; font-size: .8125rem; letter-spacing: .06em; cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.lang-switch button[aria-pressed="true"] { background: var(--baby-400); color: var(--navy-900); }
.lang-switch button:hover:not([aria-pressed="true"]) { color: var(--white); }


.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(165, 216, 246, .12); cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: rgba(10, 29, 61, .98);
    padding: var(--s-4) var(--s-4) var(--s-6);
    border-top: 1px solid rgba(165, 216, 246, .14);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .site-header.is-open .main-nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 8px; font-size: 1.125rem; border-radius: var(--radius-sm); }
}
@media (max-width: 479px) {
  .brand-tag { display: none; }
  .brand-logo { width: 54px; height: 54px; }
  .brand { gap: var(--s-2); }
  .header-actions { gap: var(--s-2); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--s-8));
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; z-index: -2;
  height: calc(100% - clamp(80px, 14vw, 200px));
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(124, 196, 238, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero-circle {
  position: absolute; z-index: -1;
  width: clamp(420px, 55vw, 760px); aspect-ratio: 1;
  right: max(-12vw, -180px); top: calc(var(--header-h) - 40px);
  border: 1.5px solid rgba(165, 216, 246, .22); border-radius: 50%;
  pointer-events: none;
}
.hero-circle::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  border: 1px solid rgba(165, 216, 246, .12);
}

.hero-grid { display: grid; gap: var(--s-6); align-items: end; color: var(--on-dark); margin-bottom: var(--s-7); }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 340px; gap: var(--s-8); } }

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 100%;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 1rem + 5.4vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.025em;
}
.hero-title span { display: block; }
.hero-title-accent { color: var(--baby-300); }

.hero-side { max-width: 440px; }
.hero-side p { color: var(--on-dark-muted); font-size: 1.0625rem; margin-bottom: var(--s-5); }

.hero-media {
  position: relative; margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), calc(100% - 72px) 100%, 0 100%);
  box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
@media (max-width: 767px) {
  .hero-media { aspect-ratio: 4 / 3.4; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%); }
  .hero-media img { object-position: 50% 20%; }
}
/* Vertical photo: show it whole and extend its grey wall across the banner */
.hero-media--portrait { background: linear-gradient(90deg, #acaba6, #a9a8a3 50%, #a3a29d); }
.hero-media--portrait img {
  width: auto; max-width: 100%; margin-inline: auto;
  object-fit: contain; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
@media (max-width: 767px) { .hero-media--portrait img { object-position: 50% 100%; } }

.hero-badge {
  position: absolute; left: var(--s-4); bottom: var(--s-4);
  display: flex; align-items: center; gap: var(--s-3);
  max-width: calc(100% - 96px);
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--navy-900);
  font-size: .8125rem; font-weight: 600; line-height: 1.3;
  box-shadow: var(--shadow);
}
.hero-badge strong { font-weight: 800; }
.hero-badge-ring {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--navy-900); position: relative;
}
.hero-badge-ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--baby-400); }

/* ---------- Trust strip ---------- */
.trust { padding-block: var(--s-8) var(--s-6); text-align: center; }
.trust-title { font-weight: 600; color: var(--ink-muted); font-size: .9375rem; margin-bottom: var(--s-5); }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-4) var(--s-7); }
.trust-list li { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--navy-700); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.05fr .95fr; gap: var(--s-9); } }
.about-copy > p { color: var(--ink-muted); max-width: 560px; }
.about-copy > .lead { color: var(--ink); }

.feature-list { display: grid; gap: var(--s-5); margin: var(--s-6) 0 var(--s-7); }
.feature-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.feature-icon {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--baby-100); color: var(--navy-800);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-list h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; margin-bottom: 2px; }
.feature-list p { color: var(--ink-muted); font-size: .9375rem; }

.about-photo { position: relative; margin: 0; max-width: 480px; justify-self: center; width: 100%; }
.about-photo img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 47% 30%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-photo-ring {
  position: absolute; z-index: 0; width: 70%; aspect-ratio: 1; right: -14%; top: -10%;
  border-radius: 50%; background: var(--baby-100);
}
@media (max-width: 899px) { .about-photo-ring { right: -6%; } }

.stats { display: grid; gap: var(--s-4); margin-top: var(--s-8); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.stat {
  padding: var(--s-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.stat:hover { border-color: var(--baby-300); box-shadow: var(--shadow); }
.stat-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); margin-bottom: var(--s-3); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.stat-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--baby-100); color: var(--navy-800); flex: none; }
.stat-icon svg { width: 20px; height: 20px; }
.stat p { color: var(--ink-muted); font-size: .9375rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: var(--s-5); border-block: 1px solid var(--border); background: var(--white); }
.marquee-track {
  display: flex; align-items: center; gap: var(--s-7); width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span:not(.marquee-dot) {
  font-family: var(--font-display); font-weight: 600; font-stretch: 105%;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1; letter-spacing: -.02em;
  color: var(--baby-400); white-space: nowrap;
}
.marquee-dot { width: clamp(28px, 4vw, 48px); aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--navy-900); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { background: var(--surface-alt); }
.service-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.service-card {
  display: flex; flex-direction: column; gap: var(--s-6);
  padding: var(--s-5);
  min-height: 210px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--baby-300); }
.service-head { display: flex; align-items: center; gap: var(--s-3); }
.service-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-900); color: var(--baby-300);
}
.service-icon svg { width: 20px; height: 20px; }
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; }
.service-card p { color: var(--ink-muted); font-size: .9375rem; margin-top: auto; }

.service-card--featured { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.service-card--featured .service-icon { background: var(--baby-400); color: var(--navy-900); }
.service-card--featured p { color: var(--on-dark-muted); }
.service-card--featured:hover { border-color: var(--navy-700); }

.services-note { text-align: center; margin-top: var(--s-6); color: var(--ink-muted); }

/* ---------- Process ---------- */
.steps { display: grid; gap: var(--s-4); counter-reset: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.step {
  position: relative; overflow: hidden;
  padding: var(--s-6) var(--s-5) var(--s-7);
  border-radius: var(--radius-lg);
  background: var(--baby-100);
  min-height: 280px;
  display: flex; flex-direction: column;
}
.step::after {
  content: ""; position: absolute; width: 220px; aspect-ratio: 1; right: -70px; bottom: -90px;
  border-radius: 50%; border: 1.5px solid rgba(26, 63, 120, .18);
}
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .08em;
  color: var(--navy-700); margin-bottom: auto; padding-bottom: var(--s-7);
}
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); letter-spacing: -.015em; margin-bottom: var(--s-3); }
.step p { color: var(--ink-muted); max-width: 34ch; }
.step--accent { background: var(--navy-900); color: var(--white); }
.step--accent .step-num { color: var(--baby-300); }
.step--accent p { color: var(--on-dark-muted); }
.step--accent::after { border-color: rgba(165, 216, 246, .22); }

/* ---------- Certification ---------- */
.certification {
  background:
    radial-gradient(800px 400px at 0% 100%, rgba(124, 196, 238, .16), transparent 60%),
    var(--navy-900);
  color: var(--on-dark);
}
.cert-grid { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 960px) { .cert-grid { grid-template-columns: .95fr 1.05fr; gap: var(--s-9); } }
.cert-copy > p { color: var(--on-dark-muted); max-width: 520px; }
.cert-facts { margin: var(--s-6) 0 var(--s-7); display: grid; gap: 0; }
.cert-facts div {
  display: grid; grid-template-columns: 130px 1fr; gap: var(--s-4);
  padding-block: var(--s-3); border-bottom: 1px solid rgba(165, 216, 246, .16);
}
.cert-facts div:first-child { border-top: 1px solid rgba(165, 216, 246, .16); }
.cert-facts dt { color: var(--baby-300); font-size: .875rem; font-weight: 600; }
.cert-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 479px) { .cert-facts div { grid-template-columns: 1fr; gap: 2px; } }

.cert-card {
  display: block; position: relative;
  padding: clamp(10px, 1.6vw, 18px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(165, 216, 246, .2);
  transform: rotate(-1.5deg);
  transition: transform var(--dur-slow) var(--ease-out);
}
.cert-card:hover { transform: rotate(0deg) scale(1.01); }
.cert-card img { width: 100%; border-radius: 6px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--surface-alt); }
.testimonials-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); margin-bottom: var(--s-6); }
.testimonials-head .section-title { margin: 0; }
.slider-controls { display: flex; gap: var(--s-2); }
.slider-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--navy-900); background: transparent; color: var(--navy-900); cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.slider-btn svg { width: 20px; height: 20px; stroke-width: 2.2; }
.slider-btn:hover { background: var(--baby-100); }
.slider-btn--filled { background: var(--navy-900); color: var(--white); }
.slider-btn--filled:hover { background: var(--navy-700); }

.testimonial-grid { display: grid; gap: var(--s-6); align-items: stretch; }
@media (min-width: 900px) { .testimonial-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s-8); } }
.testimonial-photo { width: 100%; height: 100%; min-height: 280px; max-height: 440px; object-fit: cover; object-position: 55% 25%; border-radius: var(--radius-lg); }

.testimonial-slides { display: grid; }
.testimonial {
  grid-area: 1 / 1; margin: 0; align-self: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.testimonial.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.quote-mark { width: 64px; height: 48px; fill: var(--navy-900); stroke: none; margin-bottom: var(--s-5); }
.testimonial p { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.55; font-weight: 500; margin-bottom: var(--s-6); }
.testimonial footer { display: flex; flex-direction: column; gap: 2px; }
.testimonial cite { font-style: normal; font-weight: 800; font-family: var(--font-display); font-size: 1.0625rem; }
.testimonial footer > span { color: var(--ink-muted); font-size: .9375rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s-8); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }
.contact-copy > p { color: var(--ink-muted); max-width: 460px; }
.contact-list { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.contact-list li { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--navy-700); }

.contact-form {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.field { margin-bottom: var(--s-5); }
.field label { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: var(--s-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font-size: 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--baby-50);
  transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); background: var(--white);
  box-shadow: 0 0 0 3px rgba(124, 196, 238, .45);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .875rem; font-weight: 600; margin: 6px 0 0; }
.field-error:empty { display: none; }
.form-note { color: var(--ink-muted); font-size: .8125rem; }
.form-status { margin: var(--s-4) 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: #106a3a; }
.form-status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-top: var(--s-9); }
.footer-grid { display: grid; gap: var(--s-7); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 128px; margin-bottom: var(--s-5); }
.footer-brand p { max-width: 300px; margin-bottom: var(--s-5); }
.site-footer h3 { color: var(--white); font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: var(--s-4); }
.site-footer ul { display: grid; gap: var(--s-2); font-size: .9375rem; }
.site-footer ul a { text-decoration: none; transition: color var(--dur-fast); }
.site-footer ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3);
  margin-top: var(--s-8); padding-block: var(--s-5);
  border-top: 1px solid rgba(165, 216, 246, .14);
  font-size: .875rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .cert-card { transform: none; }
}
