:root {
  --navy: #122b3b;
  --navy-2: #1b4051;
  --teal: #2d6d68;
  --teal-soft: #dcebe7;
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --terracotta: #c86f4a;
  --ink: #263238;
  --muted: #627078;
  --line: #d9dfdc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 43, 59, 0.12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--navy); color: white; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(217,223,220,.9); background: rgba(255,253,249,.94); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px 12px 12px 3px; color: white; background: var(--teal); font-family: Georgia, serif; font-size: 21px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--navy); text-decoration: none; font-size: .94rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--terracotta); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-size: 1.6rem; cursor: pointer; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid var(--teal); border-radius: 999px; background: var(--teal); color: white; text-decoration: none; font-weight: 750; cursor: pointer; transition: .2s ease; }
.button:hover { transform: translateY(-2px); background: #245c58; }
.button-outline { background: transparent; color: var(--teal); }
.button-outline:hover { background: var(--teal-soft); }
.eyebrow { margin: 0 0 14px; color: var(--terracotta); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.6rem, 5vw, 5.3rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
h3 { font-size: 1.42rem; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.section { padding: 96px 0; }
.section-soft { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 44px; }

.hero { min-height: 690px; display: grid; align-items: center; background: linear-gradient(90deg, rgba(18,43,59,.93) 0%, rgba(18,43,59,.85) 35%, rgba(18,43,59,.12) 72%), url('../images/hero-team.webp') center/cover; color: white; }
.hero-content { max-width: 710px; padding: 90px 0; }
.hero h1, .hero .lead { color: white; }
.hero h1 { margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .button-outline { border-color: white; color: white; }
.hero .button-outline:hover { background: rgba(255,255,255,.12); }

.trust-strip { padding: 25px 0; background: var(--navy); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 13px; font-weight: 650; }
.trust-icon { color: #9bd0c7; font-size: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-image { min-height: 460px; width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-weight: 850; }
.card p:last-child { margin-bottom: 0; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 31px; margin: 13px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.quote { margin: 0; }
.quote p { font-size: 1.04rem; }
.quote footer { margin-top: 20px; color: var(--navy); font-weight: 800; }
.quote span { display: block; color: var(--muted); font-weight: 500; font-size: .88rem; }

.contact-panel { padding: 48px; border-radius: 30px; background: var(--navy); color: white; }
.contact-panel h2, .contact-panel h3 { color: white; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .9rem; }
input, textarea { width: 100%; min-height: 51px; padding: 12px 14px; border: 1px solid #bac5c4; border-radius: 11px; background: white; color: var(--ink); }
input:focus, textarea:focus { outline: 3px solid rgba(155,208,199,.45); border-color: var(--teal); }
textarea { min-height: 122px; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; font-weight: 400; color: #dae4e3; }
.consent input { width: 18px; min-height: 18px; margin-top: 3px; }
.consent a { color: white; }
.form-note { margin: 13px 0 0; color: #cbd7d7; font-size: .81rem; }

.page-hero { padding: 92px 0 70px; background: var(--cream); }
.page-hero h1 { max-width: 900px; margin-bottom: 20px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { width: 100%; height: 220px; object-fit: cover; }
.post-card-content { padding: 27px; }
.post-card a { color: var(--teal); font-weight: 800; text-decoration: none; }
.meta { color: var(--muted); font-size: .85rem; }
.article { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 80px 0 100px; }
.breadcrumbs { margin: 0 0 28px; color: var(--muted); font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #9aa6aa; }
.breadcrumbs a { color: var(--teal); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.article img { width: 100%; max-height: 460px; object-fit: cover; margin: 32px 0 42px; border-radius: var(--radius); }
.article h2 { margin-top: 48px; font-size: 2rem; }
.article h3 { margin-top: 34px; }
.article-note { margin: 38px 0; padding: 24px; border-left: 4px solid var(--terracotta); background: var(--cream); }
.related-content { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.related-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related-links a { padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--navy); background: var(--cream); text-decoration: none; font-weight: 750; }
.related-links a:hover { border-color: var(--teal); }
.faq-list { display: grid; gap: 14px; max-width: 900px; }
.faq-list details { padding: 22px 24px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.faq-list summary { color: var(--navy); font-weight: 800; cursor: pointer; }
.faq-list details p { margin: 15px 0 0; color: var(--muted); }
.legal { width: min(calc(100% - 40px), 900px); margin: 0 auto; padding: 70px 0 100px; }
.legal h2 { margin-top: 45px; font-size: 1.8rem; }
.contact-list { padding: 0; list-style: none; }
.contact-list li { margin: 16px 0; }
.map { width: 100%; min-height: 430px; border: 0; border-radius: var(--radius); }
.thanks { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.thanks-card { max-width: 700px; padding: 54px; border: 1px solid var(--line); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.thanks-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 25px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 2rem; }

.site-footer { padding: 65px 0 24px; background: #0e2532; color: #c8d3d6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 50px; }
.site-footer h3 { color: white; font-family: inherit; font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #c8d3d6; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.cookie-banner { position: fixed; z-index: 60; left: 18px; right: 18px; bottom: 18px; display: none; align-items: center; justify-content: space-between; gap: 25px; max-width: 1000px; margin: auto; padding: 20px 22px; border-radius: 16px; background: var(--navy); color: white; box-shadow: var(--shadow); }
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; font-size: .88rem; }
.cookie-actions { display: flex; flex-shrink: 0; gap: 10px; }
.cookie-actions button { min-height: 40px; padding: 7px 14px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; left: 0; right: 0; top: 78px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { background-position: 62% center; }
  .hero-content { max-width: 610px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 68px 0; }
  .hero { min-height: 620px; background: linear-gradient(90deg, rgba(18,43,59,.96), rgba(18,43,59,.72)), url('../images/hero-team.webp') 65% center/cover; }
  .hero-actions, .trust-grid, .grid-3, .grid-4, .blog-grid, .form-grid { grid-template-columns: 1fr; }
  .trust-grid { display: grid; }
  .field-full { grid-column: auto; }
  .contact-panel { padding: 30px 22px; }
  .related-links { grid-template-columns: 1fr; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-actions .button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
