/* ==========================================================
   EDIT ME: your colors and fonts.
   Change a color by replacing the code after the colon,
   for example #13294B. Any hex color works.
   ========================================================== */
:root {
  --background: #F7F8FA;   /* page background */
  --panel: #EDF0F4;        /* background of shaded sections */
  --text: #16202E;         /* main text */
  --muted: #5A6577;        /* smaller, quieter text */
  --line: #D8DDE5;         /* thin divider lines */
  --brand: #13294B;        /* header text, the call band, headings */
  --accent: #E8A33D;       /* buttons */
  --accent-text: #13294B;  /* text on buttons */

  --font-display: 'Barlow', Arial, sans-serif;             /* headings */
  --font-body: 'Source Sans 3', system-ui, sans-serif;     /* everything else */
}

/* ---------- You should not need to change anything below this line ---------- */

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; margin: 0; color: var(--brand); letter-spacing: -0.01em; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 70px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--brand); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 120ms ease; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--brand); }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-text); font: 700 16px/1 var(--font-display); letter-spacing: 0.01em; padding: 16px 24px; border: 2px solid var(--accent); border-radius: 6px; text-decoration: none; cursor: pointer; transition: filter 120ms ease, transform 120ms ease; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:focus-visible, .nav a:focus-visible, .brand:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.btn-small { padding: 11px 16px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-light { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }

/* home hero: photo behind, text on a dark overlay */
.hero { position: relative; color: #FFFFFF; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.62) 55%, rgba(10, 22, 40, 0.25) 100%); }
.hero-inner { position: relative; padding-top: 110px; padding-bottom: 110px; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; margin: 0 0 16px; }
.hero h1 { color: #FFFFFF; font-size: clamp(40px, 6vw, 68px); max-width: 16ch; }
.lede { font-size: clamp(18px, 2vw, 21px); margin: 20px 0 32px; max-width: 46ch; }
.hero .lede { opacity: 0.9; }
.hero-actions, .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* trust strip */
.trust { background: var(--brand); color: #FFFFFF; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.trust p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; display: flex; gap: 12px; align-items: center; }
.trust p::before { content: ""; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; flex: none; }

/* sections */
.section { padding: 88px 0; }
.section-alt { background: var(--panel); }
.section h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.more { font-weight: 700; color: var(--brand); text-decoration: none; border-bottom: 2px solid var(--accent); }
.more:hover { border-bottom-color: var(--brand); }
.page-head { background: var(--panel); border-bottom: 1px solid var(--line); padding: 64px 0 48px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); }
.page-head .lede { color: var(--muted); margin-bottom: 0; }

/* services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #FFFFFF; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 6px; padding: 24px; }
.service h3 { font-size: 21px; margin-bottom: 8px; }
.service p { margin: 0; color: var(--muted); font-size: 16px; }
.service-grid-full { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-grid-full .service { padding: 0; overflow: hidden; }
.service-grid-full .service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-grid-full .service h3 { margin: 22px 24px 8px; }
.service-grid-full .service p { margin: 0 24px 26px; }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-top { align-items: start; }
.split > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.big { font-size: 20px; margin: 18px 0 22px; }
.prose p { margin: 0 0 18px; font-size: 18px; }
.sign { font-family: var(--font-display); font-weight: 700; color: var(--brand); }

/* call band */
.cta-band { background: var(--accent); }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; }
.cta-text { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3vw, 30px); color: var(--brand); max-width: 26ch; line-height: 1.15; }
.cta-band .btn { background: var(--brand); color: #FFFFFF; border-color: var(--brand); }
.cta-band .btn-ghost { background: transparent; color: var(--brand); }

/* contact */
.details .foot-label { margin-top: 22px; }
.details .foot-label:first-child { margin-top: 0; }
.details p { margin: 0 0 4px; }
.detail-big { font-family: var(--font-display); font-weight: 800; font-size: 32px; }
.detail-big a { text-decoration: none; }
.form { display: flex; flex-direction: column; gap: 8px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.form label { font-weight: 600; font-size: 15px; margin-top: 8px; }
.form input, .form textarea { font: 400 16px/1.5 var(--font-body); color: var(--text); background: var(--background); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); }
.form textarea { resize: vertical; }
.form .btn { align-self: flex-start; margin-top: 14px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* footer */
.foot { background: #0E1E38; color: #C9D2E0; font-size: 15px; }
.foot a { color: #FFFFFF; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 36px; }
.foot p { margin: 0 0 6px; }
.foot-name { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #FFFFFF; }
.foot-label { font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot .foot-label { color: #8FA0BA; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; padding-bottom: 24px; font-size: 14px; }

/* thank-you page */
.thanks { min-height: 80vh; display: flex; align-items: center; }
.thanks h1 { font-size: clamp(38px, 6vw, 64px); margin-bottom: 18px; }
.thanks p { font-size: 19px; color: var(--muted); margin: 0 0 12px; }
.thanks .btn { margin-top: 20px; }

/* phones and small tablets */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .split, .foot-grid, .trust-grid, .service-grid-full { grid-template-columns: 1fr; gap: 28px; }
  .trust-grid { gap: 12px; }
  .hero-inner { padding-top: 72px; padding-bottom: 72px; }
  .section { padding: 64px 0; }
  .nav { gap: 16px; }
}
@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
  .nav .btn-small { width: 100%; text-align: center; }
}
