:root {
    --bg-main: #f7f4ec;
    --bg-soft: #efe7d4;
    --paper: #fffdf7;
    --ink: #102331;
    --ink-soft: #3c4d59;
    --teal: #0f766e;
    --teal-deep: #0b4f4a;
    --gold: #c99a2d;
    --line: #d9d1c2;
    --shadow: 0 18px 45px rgba(14, 31, 43, 0.14);
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top right, #fcf7ea 0%, var(--bg-main) 45%, #f0ebdf 100%);
    line-height: 1.65;
}

h1,
h2,
h3,
h4 {
    font-family: 'Source Serif 4', serif;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: var(--ink);
}

p {
    margin: 0 0 1rem;
    color: var(--ink-soft);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding-left: 1.2rem;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.top-strip {
    background: linear-gradient(90deg, #13212d 0%, #1b3647 55%, #164860 100%);
    color: #ecf8ff;
    font-size: 0.86rem;
}

.top-strip-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-strip p {
    margin: 0;
    color: #ecf8ff;
}

.top-strip a {
    color: #f7d88d;
    font-weight: 600;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: color-mix(in srgb, var(--paper) 95%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(31, 51, 64, 0.08);
}

.nav-shell {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.brand-mark {
    font-family: 'Source Serif 4', serif;
    font-size: clamp(1.4rem, 2.7vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.brand-mark span {
    color: var(--teal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    color: #304251;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.22s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--ink);
    font-weight: 600;
}

.nav-cta {
    background: linear-gradient(135deg, var(--teal) 0%, #158a80 100%);
    color: white;
    padding: 0.62rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}

.nav-cta:hover,
.nav-cta.active {
    background: linear-gradient(135deg, #0f5f58 0%, #11736b 100%);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    padding: 0.55rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 3px;
    background: var(--ink);
}

.nav-toggle span+span {
    margin-top: 6px;
}

main {
    overflow: hidden;
}

.eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1f6f87;
    font-weight: 600;
}

.hero {
    padding: clamp(3.5rem, 8vw, 6.2rem) 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: stretch;
}

.hero-copy h1 {
    font-size: clamp(2rem, 5vw, 3.7rem);
    margin-bottom: 1rem;
}

.hero-copy p {
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.6rem 0;
}

.hero-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #d9d4c8;
    border-radius: 999px;
    padding: 0.35rem 0.72rem;
    font-size: 0.84rem;
    color: #3f5361;
}

.hero-panel {
    background: linear-gradient(165deg, #fffaf0 0%, #fff 52%, #f5f0e3 100%);
    border: 1px solid #dfd5bf;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.8rem;
}

.hero-panel h3 {
    font-size: 1.45rem;
    margin-bottom: 0.7rem;
}

.hero-panel ul {
    display: grid;
    gap: 0.7rem;
    color: #334857;
    padding-left: 1.15rem;
    margin-bottom: 1.25rem;
}

.hero-panel a {
    color: var(--teal);
    font-weight: 700;
}

.section {
    padding: clamp(3.2rem, 7vw, 5.2rem) 0;
}

.section-alt {
    background: linear-gradient(180deg, #f1e9d7 0%, #f8f4e9 100%);
    border-top: 1px solid #e0d7c4;
    border-bottom: 1px solid #e0d7c4;
}

.section-head {
    margin-bottom: 1.5rem;
    max-width: 760px;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3.7vw, 2.6rem);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card {
    background: var(--paper);
    border: 1px solid #dfd5bf;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: 0 8px 18px rgba(21, 37, 52, 0.06);
}

.feature-card h3,
.service-card h3 {
    font-size: 1.2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.process-step {
    background: #fff;
    border: 1px solid #e1d9c8;
    border-radius: var(--radius-md);
    padding: 1.15rem;
}

.process-step span {
    display: inline-block;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.cta-band .cta-shell,
.section-alt .cta-shell {
    background: linear-gradient(135deg, #16303f 0%, #194960 100%);
    border-radius: 18px;
    color: #f4fbff;
    padding: clamp(1.2rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.cta-shell h2,
.cta-shell p {
    color: #f4fbff;
}

.page-hero {
    background: linear-gradient(130deg, #f2e8d2 0%, #f8f4e8 55%, #e9deca 100%);
    border-bottom: 1px solid #ddd1ba;
    padding: clamp(2.8rem, 6vw, 4.2rem) 0;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 4.8vw, 3.2rem);
    margin-bottom: 0.8rem;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.content-card {
    background: #fff;
    border: 1px solid #e0d7c6;
    border-radius: var(--radius-md);
    padding: 1.3rem;
}

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

.service-card {
    background: #fff;
    border: 1px solid #e0d7c6;
    border-radius: var(--radius-md);
    padding: 1.35rem;
    box-shadow: 0 6px 14px rgba(13, 29, 41, 0.05);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
}

.contact-card,
.form-panel {
    background: var(--paper);
    border: 1px solid #e0d7c6;
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.contact-card h3 {
    margin-top: 0.95rem;
    margin-bottom: 0.35rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #334857;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cabfa9;
    background: #fff;
    border-radius: 10px;
    padding: 0.72rem 0.85rem;
    font: inherit;
    color: #1f2e3c;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(15, 118, 110, 0.25);
    border-color: var(--teal);
}

.notice {
    border-radius: 12px;
    padding: 0.72rem 0.9rem;
    margin-bottom: 0.9rem;
    font-weight: 500;
}

.notice.success {
    background: #e8faf4;
    border: 1px solid #8ed8bd;
    color: #1a5c45;
}

.quote-panel {
    max-width: 900px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.72rem 1.12rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--teal) 0%, #16897f 100%);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5f58 0%, #0f756d 100%);
}

.btn-ghost {
    color: var(--ink);
    border-color: #cabfa9;
    background: rgba(255, 255, 255, 0.55);
}

.site-footer {
    margin-top: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(155deg, #0f2837 0%, #183f53 100%);
    color: #dde9f0;
    padding: 3rem 0 1.4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.5rem;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
}

.site-footer p,
.site-footer li {
    color: #d8e6ee;
}

.site-footer ul {
    display: grid;
    gap: 0.45rem;
    padding-left: 1rem;
}

.footer-bottom {
    margin-top: 1.3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
}

@media (max-width: 1080px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 4%;
        width: min(340px, 92vw);
        background: #fff;
        border: 1px solid #ded4bf;
        border-radius: 14px;
        padding: 0.85rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 16px 30px rgba(15, 34, 48, 0.18);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link,
    .nav-cta {
        width: 100%;
        text-align: left;
    }

    .hero-grid,
    .two-col,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-band .cta-shell,
    .section-alt .cta-shell {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .feature-grid,
    .process-grid,
    .service-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .top-strip-inner {
        min-height: auto;
        padding: 0.55rem 0;
        align-items: flex-start;
        flex-direction: column;
    }
}
