:root {
    --bg: #f3f4f2;
    --surface: rgba(255, 255, 255, 0.86);
    --text: #1f272b;
    --muted: #5c666b;
    --line: rgba(31, 39, 43, 0.1);
    --accent: #5f938d;
    --accent-dark: #4a7772;
    --accent-soft: rgba(95, 147, 141, 0.14);
    --neutral-dark: #5d5c5c;
    --shadow-soft: 0 18px 40px rgba(33, 28, 23, 0.08);
    --shadow-card: 0 22px 60px rgba(33, 28, 23, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(95, 147, 141, 0.15), transparent 34%),
        radial-gradient(circle at top right, rgba(93, 92, 92, 0.08), transparent 30%),
        var(--bg);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 26%),
        radial-gradient(circle at 20% 12%, rgba(95, 147, 141, 0.08), transparent 18%);
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    inset: auto -10% -12rem auto;
    width: 34rem;
    height: 34rem;
    border-radius: 44% 56% 51% 49% / 43% 35% 65% 57%;
    background: radial-gradient(circle at 35% 35%, rgba(95, 147, 141, 0.14), rgba(95, 147, 141, 0.03) 60%, transparent 72%);
    filter: blur(18px);
    pointer-events: none;
    z-index: -1;
    animation: driftBlob 18s ease-in-out infinite;
}

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

img {
    max-width: 100%;
    display: block;
}

.shell {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(243, 244, 242, 0.84);
    border-bottom: 1px solid var(--line);
}

.header-shell,
.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-logo {
    width: 13.6rem;
    max-width: 44vw;
    height: auto;
}

.brand-copy {
    display: none;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.96rem;
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    position: relative;
    color: var(--muted);
    padding-bottom: 0.2rem;
}

.site-nav a.is-active,
.site-nav a:hover {
    color: var(--text);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 100%;
    height: 1px;
    background: rgba(95, 147, 141, 0.45);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.85rem 1.3rem;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.btn-accent {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
}

.hero,
.section {
    padding: 5rem 0;
}

.hero {
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    right: 4%;
    top: 1.5rem;
    width: 24rem;
    height: 24rem;
    border-radius: 42% 58% 64% 36% / 40% 35% 65% 60%;
    background: radial-gradient(circle at 30% 30%, rgba(95, 147, 141, 0.22), transparent 62%);
    filter: blur(10px);
    pointer-events: none;
}

.section-alt {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.2)),
        rgba(255, 255, 255, 0.24);
}

.hero-shell,
.split-layout,
.grid-three {
    display: grid;
    gap: 1.5rem;
}

.hero-shell,
.split-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

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

.panel {
    position: relative;
    overflow: hidden;
    padding: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: var(--surface);
    border-radius: 30px;
    box-shadow: var(--shadow-card);
}

.panel::before {
    content: "";
    position: absolute;
    inset: auto auto -2.8rem -1.8rem;
    width: 11rem;
    height: 11rem;
    border-radius: 42% 58% 64% 36% / 54% 44% 56% 46%;
    background: var(--accent-soft);
    filter: blur(10px);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: var(--accent-dark);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.98;
    margin-bottom: 1rem;
    font-family: Georgia, "Times New Roman", serif;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    margin-bottom: 1rem;
    font-family: Georgia, "Times New Roman", serif;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

p,
li,
span {
    color: var(--muted);
}

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

.hero-panel {
    padding-right: 2.7rem;
    animation: riseIn 0.8s ease both;
}

.hero-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: 1fr auto;
    gap: 1.1rem;
    align-items: end;
    animation: riseIn 1s ease 0.12s both;
}

.media-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.media-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(31, 39, 43, 0.06));
    pointer-events: none;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(33, 28, 23, 0.14);
}

.media-card:hover img {
    transform: scale(1.03);
}

.media-tall {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 34rem;
}

.media-wide {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    min-height: 15rem;
    margin-left: -3rem;
    border: 8px solid rgba(255, 255, 255, 0.8);
}

.hero-points {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.hero-point {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(95, 147, 141, 0.08);
    border: 1px solid rgba(95, 147, 141, 0.1);
    animation: riseIn 0.9s ease both;
}

.hero-point strong,
.process-step strong,
.contact-list strong {
    color: var(--neutral-dark);
}

.section-title {
    margin-bottom: 1.8rem;
}

.section-title h2,
.section-title p {
    max-width: 42rem;
}

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

.service-detail-card {
    min-height: 100%;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-detail-card:hover,
.team-card:hover,
.process-step:hover,
.contact-list div:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(33, 28, 23, 0.13);
}

.service-list {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.service-list li + li {
    margin-top: 0.45rem;
}

.service-story {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-photo {
    padding: 0;
}

.service-photo img {
    min-height: 100%;
}

.process-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.process-step {
    display: grid;
    gap: 0.4rem;
    padding: 1.3rem 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(31, 39, 43, 0.08);
    box-shadow: var(--shadow-soft);
}

.section-title-team {
    display: block;
    margin-bottom: 2rem;
    max-width: 48rem;
}

.team-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.6rem;
}

.team-card {
    display: grid;
    gap: 1.1rem;
    padding: 0;
    animation: riseIn 0.8s ease both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card img {
    width: 100%;
    aspect-ratio: 4 / 3.4;
    object-fit: cover;
}

.team-copy {
    padding: 0 1.5rem 1.6rem;
}

.team-copy span {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--accent-dark);
    font-size: 0.92rem;
    font-weight: 600;
}

.team-card-feature {
    grid-column: span 2;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
}

.team-card-feature img {
    height: 100%;
    aspect-ratio: 4 / 4.2;
}

.team-card-feature .team-copy {
    padding: 1.8rem 1.8rem 1.8rem 0;
    align-self: center;
}

.team-card-cats img {
    aspect-ratio: 4 / 3.1;
}

.split-layout-tight {
    align-items: stretch;
}

.panel-quote {
    display: grid;
    align-content: center;
}

.media-side {
    min-height: 25rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 1.5rem;
    align-items: stretch;
}

.contact-panel {
    text-align: left;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-list div {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(31, 39, 43, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.media-contact {
    min-height: 100%;
}

.preview-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(95, 147, 141, 0.14);
    color: var(--accent-dark);
    font-size: 0.86rem;
    font-weight: 600;
}

.page-maintenance .hero,
.page-maintenance .section {
    padding: 4.5rem 0;
}

.maintenance-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 1.5rem;
    align-items: stretch;
}

.maintenance-panel,
.countdown-panel {
    animation: riseIn 0.8s ease both;
}

.maintenance-lead {
    font-size: 1.2rem;
    color: var(--neutral-dark);
    font-weight: 600;
}

.maintenance-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.maintenance-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 39, 43, 0.08);
    background: rgba(255, 255, 255, 0.66);
    color: var(--neutral-dark);
    box-shadow: var(--shadow-soft);
}

.countdown-panel {
    display: grid;
    align-content: start;
}

.countdown-copy,
.countdown-note {
    margin-bottom: 0;
}

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

.countdown-card {
    display: grid;
    gap: 0.35rem;
    padding: 1.15rem;
    border-radius: 24px;
    background: rgba(95, 147, 141, 0.1);
    border: 1px solid rgba(95, 147, 141, 0.16);
    text-align: center;
}

.countdown-card strong {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    line-height: 1;
    color: var(--neutral-dark);
    font-family: Georgia, "Times New Roman", serif;
}

.countdown-card span {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-message {
    margin: 1.25rem 0 0;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid transparent;
}

.form-message-error {
    background: rgba(141, 60, 60, 0.08);
    border-color: rgba(141, 60, 60, 0.16);
    color: #8d3c3c;
}

.contact-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-field span {
    color: var(--neutral-dark);
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(31, 39, 43, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--text);
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid rgba(95, 147, 141, 0.24);
    outline-offset: 1px;
    border-color: rgba(95, 147, 141, 0.32);
}

.form-actions {
    margin-top: 0.2rem;
}

.preview-wrap {
    padding-top: 4rem;
}

.preview-panel {
    max-width: 42rem;
}

.preview-form {
    max-width: 26rem;
}

.legal-page .site-header {
    position: relative;
}

.legal-wrap {
    padding: 5rem 0 4rem;
}

.legal-hero {
    margin-bottom: 2rem;
}

.legal-content {
    display: grid;
    gap: 1.2rem;
}

.legal-content .panel h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.legal-content .panel p:last-child,
.legal-content .panel ul:last-child {
    margin-bottom: 0;
}

.site-footer {
    padding: 1.2rem 0 2rem;
}

.footer-shell {
    align-items: flex-start;
    border-top: 1px solid var(--line);
}

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
}

.service-detail-grid .service-detail-card:nth-child(1),
.team-grid .team-card:nth-child(1) {
    animation-delay: 0.04s;
}

.service-detail-grid .service-detail-card:nth-child(2),
.team-grid .team-card:nth-child(2) {
    animation-delay: 0.12s;
}

.service-detail-grid .service-detail-card:nth-child(3),
.team-grid .team-card:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes driftBlob {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(-18px, -22px, 0) rotate(6deg);
    }
}

@media (max-width: 960px) {
    .header-shell,
    .footer-shell {
        flex-wrap: wrap;
    }

    .hero-shell,
    .split-layout,
    .grid-three,
    .service-detail-grid,
    .service-story,
    .team-grid,
    .contact-layout,
    .process-strip,
    .maintenance-shell {
        grid-template-columns: 1fr;
    }

    .header-shell {
        justify-content: center;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .hero-stage {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .media-tall,
    .media-wide {
        grid-column: auto;
        grid-row: auto;
        min-height: auto;
        margin-left: 0;
    }

    .media-tall img,
    .media-wide img,
    .media-side img,
    .media-contact img,
    .service-photo img {
        aspect-ratio: 4 / 3;
    }

    .team-card-feature {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .team-card-feature .team-copy {
        padding: 0 1.5rem 1.6rem;
    }

    .team-card img,
    .team-card-feature img,
    .team-card-cats img {
        aspect-ratio: 4 / 3;
    }

    .contact-list {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .hero,
    .section {
        padding: 4rem 0;
    }

    .panel {
        padding: 1.5rem;
    }

    .shell {
        width: min(100% - 1.25rem, 100%);
    }

    .brand-logo {
        width: 11rem;
        max-width: 60vw;
    }

    .hero-panel {
        padding-right: 1.5rem;
    }

    .footer-links {
        width: 100%;
    }

    .hero::before,
    body::after {
        display: none;
    }

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

    .maintenance-contact-links {
        flex-direction: column;
    }
}
