:root {
    --ink: #173036;
    --muted: #60747a;
    --line: #d7e6e6;
    --paper: #fbfdfc;
    --soft: #eef7f7;
    --white: #ffffff;
    --teal: #168b8f;
    --teal-dark: #0d6367;
    --sand: #f7efe3;
    --gold: #c99543;
    --shadow: 0 18px 46px rgba(23, 48, 54, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 800;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(251, 253, 252, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav,
.container,
.hero-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 850;
    font-size: 1.05rem;
}

.brand-mark {
    position: relative;
    width: 42px;
    height: 26px;
    border: 3px solid var(--teal);
    border-radius: 999px;
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 19px;
    height: 19px;
    border: 2px solid var(--teal-dark);
    border-radius: 999px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
}

.brand-mark::before {
    left: -2px;
}

.brand-mark::after {
    right: -2px;
}

.nav-links {
    display: flex;
    gap: 6px;
}

.nav-links a {
    padding: 9px 11px;
    border-radius: 8px;
    color: #38565c;
    text-decoration: none;
    font-weight: 750;
}

.nav-links a:hover,
.nav-links a:focus {
    background: var(--soft);
    color: var(--teal-dark);
}

.hero {
    min-height: calc(100vh - 72px);
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 88% 18%, rgba(22, 139, 143, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f3fbfa 100%);
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
    gap: 56px;
    align-items: center;
    padding: 72px 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
}

h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 1.14rem;
}

.hero-actions,
.contact-actions,
.footer-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-actions {
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 850;
}

.button.primary {
    background: var(--teal);
    color: var(--white);
}

.button.primary:hover,
.button.primary:focus {
    background: var(--teal-dark);
}

.button.secondary {
    background: var(--white);
    border-color: var(--line);
    color: var(--teal-dark);
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 34px 0 0;
}

.quick-info div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.quick-info dt {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 900;
}

.quick-info dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.hero-media {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-media picture,
.hero-media img {
    display: block;
}

.hero-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.section {
    padding: 86px 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading p,
.visit-card p,
.contact-card,
.fine-print {
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-height: 235px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(23, 48, 54, 0.06);
}

.service-card span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 34px;
    margin-bottom: 22px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--teal-dark);
    font-weight: 900;
}

.service-card p {
    color: var(--muted);
}

.soft {
    background: var(--soft);
    border-block: 1px solid var(--line);
}

.visit-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 56px;
    align-items: start;
}

.visit-card,
.contact-card {
    padding: 28px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(23, 48, 54, 0.08);
}

.hours-list {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

.hours-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.hours-list dt {
    color: var(--ink);
    font-weight: 850;
}

.hours-list dd {
    margin: 0;
    color: var(--teal-dark);
    font-weight: 900;
    white-space: nowrap;
}

.contact-section {
    background: #fefefe;
}

.location-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: stretch;
}

address {
    font-style: normal;
    color: var(--ink);
}

.contact-card a {
    color: var(--teal-dark);
    font-weight: 900;
}

.contact-actions {
    margin-top: 22px;
}

.map-preview {
    min-height: 230px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
}

.map-preview iframe {
    display: block;
    width: 100%;
    height: 230px;
    border: 0;
}

.form-section {
    background: var(--soft);
    border-top: 1px solid var(--line);
}

.form-grid-section {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 56px;
    align-items: start;
}

.form-grid-section p {
    color: var(--muted);
}

.contact-form {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(23, 48, 54, 0.08);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--ink);
    font-weight: 850;
}

input,
textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #c8dcdd;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fbfdfc;
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(22, 139, 143, 0.18);
    border-color: var(--teal);
}

.form-button {
    width: 100%;
}

.form-status {
    min-height: 24px;
    margin: 12px 0 0;
    color: var(--muted);
    font-weight: 800;
}

.form-status.ok {
    color: var(--teal-dark);
}

.fine-print {
    margin-top: 18px;
    font-size: 0.9rem;
}

.footer {
    padding: 28px 0;
    background: var(--ink);
    color: #d7e6e6;
}

.footer-inner {
    justify-content: space-between;
}

.footer p {
    margin: 0;
}

@media (max-width: 900px) {
    .hero-inner,
    .visit-grid,
    .contact-grid,
    .form-grid-section {
        grid-template-columns: 1fr;
    }

    .location-layout {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding: 54px 0;
    }

    .hero-actions,
    .contact-actions,
    .footer-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    .hours-list div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .section {
        padding: 66px 0;
    }
}
