:root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-alt: #eef3f5;
    --text: #172126;
    --muted: #596970;
    --brand: #0b5966;
    --brand-strong: #073f49;
    --accent: #c56b24;
    --border: #d9e1e4;
    --focus: #92500f;
    --shadow: 0 12px 32px rgba(20, 42, 50, .09);
    --radius: 18px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-strong); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 9999;
    transform: translateY(-160%);
    padding: 10px 14px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

.topbar { background: var(--brand-strong); color: #fff; }
.topbar__inner { min-height: 42px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: flex-end; }
.topbar__link { color: #fff; text-decoration: none; font-size: .93rem; font-weight: 650; }
.topbar__link:hover { color: #fff; text-decoration: underline; }

.site-header { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-main { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 227px; max-width: min(58vw, 227px); }
.nav-toggle { min-width: 48px; min-height: 48px; border: 1px solid var(--border); background: #fff; border-radius: 12px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; }
.nav-toggle__icon { width: 22px; display: grid; gap: 4px; }
.nav-toggle__icon span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); max-height: calc(100vh - 124px); overflow: auto; }
.nav-open .primary-nav { display: block; }
.primary-nav__list, .submenu { list-style: none; padding: 0; margin: 0; }
.primary-nav__list { padding: 12px 16px 20px; }
.primary-nav a { display: flex; align-items: center; min-height: 46px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 650; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--surface-alt); color: var(--brand-strong); }
.submenu { margin-left: 14px; padding-left: 10px; border-left: 2px solid var(--border); }
.submenu a { font-weight: 560; font-size: .95rem; }

main { display: block; }
.hero { background: linear-gradient(120deg, rgba(7,63,73,.96), rgba(11,89,102,.90)); color: #fff; overflow: hidden; }
.hero__grid { display: grid; gap: 28px; align-items: center; padding-block: clamp(42px, 8vw, 90px); }
.hero__content { max-width: 700px; }
.hero__eyebrow { margin: 0 0 10px; font-size: .86rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #d5ecf0; }
.hero h1, .page-hero h1 { margin: 0; line-height: 1.08; letter-spacing: -.035em; font-size: clamp(2.1rem, 6.5vw, 4.65rem); }
.hero__lead { margin: 20px 0 0; max-width: 65ch; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: #e8f2f4; }
.hero__actions, .cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__media { margin: 0; }
.hero__media img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 55px rgba(0,0,0,.25); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border-radius: 999px; font-weight: 760; text-decoration: none; border: 2px solid transparent; }
.button--primary { background: var(--accent); color: #fff; }
.button--primary:hover { color: #fff; background: #a95618; }
.button--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.button--ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.button--outline { border-color: var(--brand); color: var(--brand); }
.button--outline:hover { color: #fff; background: var(--brand); }

.section { padding-block: clamp(48px, 8vw, 88px); }
.section--surface { background: var(--surface); }
.section--alt { background: var(--surface-alt); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading h2, .content h2 { margin: 0 0 12px; font-size: clamp(1.65rem, 4vw, 2.45rem); line-height: 1.15; letter-spacing: -.025em; }
.section-heading p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 22px rgba(20,42,50,.045); }
.card__image { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; display: block; }
.card__body { padding: 22px; }
.card h3 { margin: 0 0 8px; line-height: 1.25; font-size: 1.18rem; }
.card p { margin: 0 0 16px; color: var(--muted); }
.card__link { font-weight: 760; }

.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature__number { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-alt); color: var(--brand); font-weight: 850; }
.feature h3 { margin: 14px 0 6px; }
.feature p { margin: 0; color: var(--muted); }

.page-hero { background: var(--brand-strong); color: #fff; }
.page-hero__inner { padding-block: clamp(42px, 7vw, 72px); }
.page-hero__inner p { max-width: 68ch; margin: 18px 0 0; font-size: 1.1rem; color: #dfecee; }
.content-grid { display: grid; gap: 36px; }
.content { min-width: 0; }
.content--spaced { margin-top: 36px; }
.content h2 { margin-top: 42px; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin: 28px 0 8px; font-size: 1.22rem; line-height: 1.3; }
.content p, .content li { color: #33444b; }
.content ul, .content ol { padding-left: 1.4rem; }
.content li + li { margin-top: 7px; }
.content figure { margin: 30px 0; }
.content figure img { display: block; width: 100%; border-radius: var(--radius); }
.side-card { align-self: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card h2 { margin: 0 0 12px; font-size: 1.32rem; }
.side-card p { color: var(--muted); }
.side-card address { font-style: normal; }
.side-card a { overflow-wrap: anywhere; }

.notice { padding: 18px 20px; border-left: 4px solid var(--accent); background: #fff7ef; border-radius: 10px; }
.notice p { margin: 0; color: #473627; }

.price-sections { display: grid; gap: 22px; }
.price-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 4vw, 30px); }
.price-group h2 { margin: 0 0 18px; font-size: 1.48rem; }
.price-list { margin: 0; }
.price-row { display: grid; gap: 4px; padding: 13px 0; border-top: 1px solid var(--border); }
.price-row:first-child { border-top: 0; padding-top: 0; }
.price-row dt { font-weight: 720; }
.price-row dd { margin: 0; color: var(--brand-strong); font-weight: 800; }

.contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.contact-card h2 { margin: 0 0 10px; font-size: 1.25rem; }
.contact-card address { font-style: normal; }
.contact-card a { overflow-wrap: anywhere; }

.cta { background: linear-gradient(120deg, var(--brand-strong), var(--brand)); color: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(26px, 5vw, 48px); }
.cta h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15; }
.cta p { max-width: 65ch; color: #dfecee; }

.site-footer { background: #10272e; color: #d8e4e7; padding-top: 50px; }
.footer-grid { display: grid; gap: 30px; }
.footer-logo { filter: brightness(0) invert(1); max-width: 210px; }
.site-footer a { color: #fff; }
.footer-title { color: #fff; font-size: 1.1rem; margin: 0 0 10px; }
.site-footer address { font-style: normal; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-block: 18px; font-size: .9rem; color: #b7c8cd; }
.footer-bottom p { margin: 0; }

@media (min-width: 760px) {
    .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); }
    .content-grid { grid-template-columns: minmax(0, 1fr) 310px; }
    .footer-grid { grid-template-columns: 1.3fr 1fr .7fr; }
    .price-row { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: baseline; }
}

@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .primary-nav { display: block; position: static; box-shadow: none; border: 0; background: transparent; overflow: visible; max-height: none; }
    .primary-nav__list { display: flex; align-items: center; gap: 2px; padding: 0; }
    .primary-nav__item { position: relative; }
    .primary-nav a { min-height: 44px; padding-inline: 11px; font-size: .94rem; }
    .submenu { position: absolute; visibility: hidden; opacity: 0; transform: translateY(7px); top: calc(100% - 2px); left: 0; width: 300px; margin: 0; padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow); transition: opacity .14s ease, transform .14s ease, visibility .14s; }
    .has-submenu:hover .submenu, .has-submenu:focus-within .submenu { visibility: visible; opacity: 1; transform: translateY(0); }
    .submenu a { padding: 9px 10px; min-height: 42px; }
}

@media (max-width: 460px) {
    .topbar__inner { justify-content: flex-start; padding-block: 6px; }
    .topbar__link { font-size: .86rem; }
    .header-main { min-height: 70px; }
    .nav-toggle__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}

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