:root {
    --bg: #f5f0e8;
    --bg-soft: #fbf8f3;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #fffdf8;
    --text: #183332;
    --muted: #5c716f;
    --line: rgba(24, 51, 50, 0.12);
    --accent: #0d6863;
    --accent-deep: #102d2c;
    --accent-soft: #d8ebe8;
    --warm: #c79d67;
    --shadow: 0 24px 80px rgba(20, 42, 40, 0.12);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --wrap: min(1200px, calc(100vw - 40px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(199, 157, 103, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(13, 104, 99, 0.14), transparent 30%),
        linear-gradient(180deg, #fbf8f3 0%, #f3ede2 54%, #f8f3ea 100%);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
ul,
ol {
    margin-top: 0;
}

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 100;
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(20px);
    background: rgba(251, 248, 243, 0.82);
    border-bottom: 1px solid rgba(24, 51, 50, 0.06);
}

.header-shell {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 26px;
    align-items: center;
    min-height: 84px;
}

.brand-mark {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
}

.brand-kicker,
.eyebrow,
.trust-label,
.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand-name {
    font-family: "Instrument Serif", serif;
    font-size: 2rem;
    line-height: 1;
}

.header-nav {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    font-weight: 600;
    color: var(--muted);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    font-weight: 800;
    color: var(--accent-deep);
}

.menu-toggle {
    display: none;
    appearance: none;
    border: 0;
    background: rgba(255, 255, 255, 0.72);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--accent-deep);
    font-size: 1.2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 16px 42px rgba(13, 104, 99, 0.24);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.58);
    color: var(--accent-deep);
    border-color: rgba(16, 45, 44, 0.12);
}

.button-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.button-block {
    width: 100%;
}

.hero {
    position: relative;
    overflow: clip;
    padding: 82px 0 42px;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    pointer-events: none;
}

.hero::before {
    width: 260px;
    height: 260px;
    left: -80px;
    top: 40px;
    background: rgba(199, 157, 103, 0.18);
}

.hero::after {
    width: 320px;
    height: 320px;
    right: -90px;
    top: 120px;
    background: rgba(13, 104, 99, 0.14);
}

.hero-grid,
.intro-grid,
.showcase-grid,
.team-grid,
.cta-grid,
.service-page-grid,
.contact-grid,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: center;
}

.hero h1,
.section-heading h2,
.intro-copy h2,
.showcase-copy h2,
.team-copy h2,
.cta-copy h2,
.page-hero h1,
.content-card h2,
.site-footer h2,
.contact-copy h1 {
    margin: 0 0 18px;
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.hero h1 {
    font-size: clamp(3.8rem, 8vw, 6.6rem);
    max-width: 11ch;
}

.hero-copy p,
.section-heading p,
.intro-copy p,
.showcase-copy p,
.team-copy p,
.cta-copy p,
.page-hero p,
.content-card p,
.content-card li,
.contact-copy p,
.contact-card p,
.footer-meta {
    color: var(--muted);
    font-size: 1.02rem;
}

.hero-actions,
.stack-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0;
}

.hero-badges,
.tag-list,
.detail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.hero-badges li,
.tag-list li,
.detail-list li {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(16, 45, 44, 0.08);
}

.media-card,
.stack-card,
.floating-card,
.intro-panel,
.service-card,
.benefit-card,
.image-card,
.content-card,
.sidebar-card,
.contact-card,
.footer-card {
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.media-card {
    padding: 18px;
}

.media-card figcaption {
    padding: 16px 6px 4px;
    color: var(--muted);
}

.media-card img,
.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media {
    position: relative;
}

.floating-card {
    position: absolute;
    right: -16px;
    bottom: 24px;
    width: min(320px, 78%);
    padding: 22px;
    border-radius: 26px;
    background: var(--accent-deep);
    color: #fff;
    box-shadow: 0 22px 55px rgba(16, 45, 44, 0.34);
}

.floating-card p {
    color: rgba(255, 255, 255, 0.8);
}

.floating-card strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Instrument Serif", serif;
    font-size: 2rem;
    font-weight: 400;
}

.trust-bar {
    padding-top: 12px;
}

.trust-grid,
.service-grid,
.benefit-grid {
    display: grid;
    gap: 18px;
}

.trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid > div {
    padding: 20px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(24, 51, 50, 0.08);
}

.section {
    padding: 96px 0;
}

.section-heading {
    display: grid;
    gap: 14px;
    margin-bottom: 34px;
}

.section-heading h2,
.intro-copy h2,
.showcase-copy h2,
.team-copy h2,
.cta-copy h2,
.page-hero h1,
.content-card h2,
.site-footer h2,
.contact-copy h1 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.service-grid,
.benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.benefit-card {
    padding: 28px;
    min-height: 260px;
}

.service-index {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--warm);
    font-weight: 800;
}

.service-card h3,
.benefit-card h3,
.sidebar-card h3,
.content-card h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.service-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 700;
}

.intro-panel,
.content-card,
.sidebar-card,
.contact-card,
.footer-card {
    padding: 32px;
}

.intro-panel {
    background: linear-gradient(180deg, rgba(16, 45, 44, 0.96), rgba(13, 104, 99, 0.9));
}

.intro-panel,
.intro-panel p,
.intro-panel li,
.intro-panel .section-label {
    color: rgba(255, 255, 255, 0.82);
}

.intro-panel h2 {
    color: #fff;
}

.showcase-grid .image-card,
.team-grid .image-card {
    min-height: 520px;
}

.benefit-grid {
    margin-top: 10px;
}

.page-hero {
    padding: 84px 0 36px;
}

.page-hero-shell {
    padding: 36px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(24, 51, 50, 0.08);
    box-shadow: var(--shadow);
}

.service-page-grid {
    align-items: start;
}

.content-card h2,
.content-card h3 {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
}

.content-card ul,
.content-card ol,
.sidebar-card ul {
    padding-left: 18px;
}

.content-card + .content-card,
.sidebar-card + .sidebar-card {
    margin-top: 22px;
}

.stack-card {
    padding: 22px;
}

.stack-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-deep);
}

.stack-card p:last-child {
    margin-bottom: 0;
}

.sidebar-stack {
    display: grid;
    gap: 22px;
}

.cta-band {
    padding: 36px;
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(16, 45, 44, 0.96), rgba(13, 104, 99, 0.9)),
        linear-gradient(180deg, #112f2f, #0c4340);
    color: #fff;
    box-shadow: var(--shadow);
}

.cta-band p,
.cta-band .eyebrow {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer {
    padding: 60px 0 28px;
    background: #102928;
    color: #f6efe4;
}

.footer-grid {
    align-items: start;
}

.footer-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.footer-card p,
.footer-meta,
.footer-card a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.contact-grid {
    align-items: start;
}

.contact-map {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: var(--radius-lg);
}

.small-note {
    font-size: 0.92rem;
    color: var(--muted);
}

@media (max-width: 1060px) {
    .header-shell,
    .hero-grid,
    .intro-grid,
    .showcase-grid,
    .team-grid,
    .cta-grid,
    .service-page-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid,
    .service-grid,
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-nav,
    .header-actions .button {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .header-actions {
        justify-content: end;
    }

    .header-shell.is-open {
        grid-template-columns: 1fr auto;
    }

    .header-shell.is-open .header-nav {
        display: grid;
        grid-column: 1 / -1;
        padding: 0 0 20px;
        gap: 14px;
    }

    .header-shell.is-open .header-actions .button {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    .hero h1 {
        max-width: none;
        font-size: clamp(3rem, 12vw, 4.6rem);
    }

    .section,
    .hero,
    .page-hero {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .trust-grid,
    .service-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .header-phone {
        display: none;
    }

    .page-hero-shell,
    .intro-panel,
    .content-card,
    .sidebar-card,
    .contact-card,
    .cta-band {
        padding: 24px;
    }

    .floating-card {
        position: static;
        width: auto;
        margin-top: 18px;
    }

    .footer-meta {
        flex-direction: column;
    }
}
