@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f7f2eb;
    --bg-strong: #efe5d8;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #fffaf4;
    --surface-dark: #142233;
    --ink: #132033;
    --muted: #5f6875;
    --line: rgba(19, 32, 51, 0.12);
    --accent: #d95d39;
    --accent-deep: #a73f21;
    --accent-soft: rgba(217, 93, 57, 0.12);
    --teal: #2b708a;
    --shadow: 0 24px 60px rgba(19, 32, 51, 0.12);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 14px;
    --shell: min(1160px, calc(100vw - 32px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Poppins", "Helvetica Neue", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(43, 112, 138, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(217, 93, 57, 0.14), transparent 28%),
        linear-gradient(180deg, #fbf7f1 0%, var(--bg) 44%, #f4efe8 100%);
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

textarea {
    resize: vertical;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.section-shell {
    width: var(--shell);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(247, 242, 235, 0.84);
    border-bottom: 1px solid rgba(19, 32, 51, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand__mark {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), #f09f66);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 18px 30px rgba(217, 93, 57, 0.24);
}

.brand__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand__copy strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.brand__copy small {
    color: var(--muted);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--ink);
    background: rgba(19, 32, 51, 0.06);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid var(--line);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #ef8e59);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 18px 34px rgba(217, 93, 57, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(217, 93, 57, 0.28);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.6);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(19, 32, 51, 0.1);
}

.button--small {
    padding: 12px 18px;
}

.eyebrow,
.footer-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--teal);
    font-weight: 700;
}

.eyebrow::before,
.footer-label::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #f4a25c);
}

.hero,
.page-hero {
    position: relative;
    overflow: clip;
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: auto -12% -30% auto;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 93, 57, 0.18), transparent 68%);
    pointer-events: none;
}

.hero {
    padding: 88px 0 54px;
}

.hero__grid,
.page-hero__content,
.split-layout,
.quote-layout {
    display: grid;
    gap: 32px;
}

.hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
}

.hero__content h1,
.page-hero__content h1,
.section-heading h2,
.split-layout__content h2,
.cta-banner h2,
.status-card h1,
.editorial-card h2 {
    margin: 14px 0 0;
    font-size: clamp(2.3rem, 4vw, 4.7rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.section-heading h2,
.split-layout__content h2,
.cta-banner h2,
.editorial-card h2 {
    font-size: clamp(1.9rem, 3vw, 3.3rem);
}

.hero__lead,
.page-hero__content p,
.section-heading p,
.split-layout__content p,
.gallery-card p,
.service-card p,
.process-card p,
.editorial-card p,
.status-card p,
.quote-form small,
.form-actions p {
    color: var(--muted);
    line-height: 1.72;
    font-size: 1.02rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero__points,
.check-list,
.footer-links,
.contact-stack {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero__points {
    display: grid;
    gap: 10px;
    margin-top: 30px;
}

.hero__points li,
.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--ink);
}

.hero__points li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), #7bc7d8);
    box-shadow: 0 0 0 6px rgba(43, 112, 138, 0.12);
}

.hero__visual {
    position: relative;
}

.hero-stack {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
}

.hero-stack__link,
.gallery-card__link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.hero-stack__card,
.service-card,
.stat-card,
.process-card,
.gallery-card,
.editorial-card,
.cta-banner,
.status-card,
.footer-card,
.form-panel {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-stack__card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    animation: rise-in 600ms ease both;
}

.hero-stack__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-stack__card--1 {
    grid-row: span 2;
}

.hero-stack__card--2 {
    margin-top: 24px;
}

.hero-stack__card--3 {
    margin-top: -12px;
}

.hero-stack__meta {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(20, 34, 51, 0.7);
    color: #fff;
}

.hero-stack__meta span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.78);
}

.hero-stack__meta strong {
    display: block;
    margin-top: 6px;
    font-size: 1rem;
}

.hero-stack__count,
.gallery-card__count {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(20, 34, 51, 0.78);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

.section {
    padding: 42px 0 86px;
}

.section--tight {
    padding-top: 0;
}

.section--sand {
    background: linear-gradient(180deg, rgba(239, 229, 216, 0.5), rgba(239, 229, 216, 0.1));
}

.section--cta {
    padding-top: 0;
    padding-bottom: 110px;
}

.section--status {
    padding: 90px 0 120px;
}

.section-heading {
    display: grid;
    gap: 12px;
    max-width: 720px;
    margin-bottom: 28px;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid--services,
.card-grid--process,
.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.stat-card,
.process-card,
.editorial-card,
.footer-card,
.form-panel,
.status-card {
    padding: 28px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card h3,
.process-card h3,
.gallery-card h2,
.gallery-card h3,
.status-card h1 {
    margin: 16px 0 10px;
    font-size: 1.45rem;
    line-height: 1.18;
}

.service-card--process h3 {
    font-size: 1.3rem;
}

.stats-grid {
    gap: 18px;
}

.stat-card strong {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.split-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
}

.split-layout--gallery {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.process-list,
.gallery-grid,
.faq-stack {
    display: grid;
    gap: 18px;
}

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

.gallery-card {
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(19, 32, 51, 0.18);
}

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

.gallery-card__media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    cursor: zoom-in;
}

.gallery-card__body {
    padding: 20px 22px 24px;
}

.page-hero {
    padding: 74px 0 18px;
}

.page-hero__content {
    max-width: 760px;
}

.editorial-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.editorial-card--accent {
    background: linear-gradient(180deg, rgba(217, 93, 57, 0.1), rgba(255, 255, 255, 0.82));
}

.check-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    background:
        radial-gradient(circle at top right, rgba(43, 112, 138, 0.16), transparent 26%),
        linear-gradient(135deg, rgba(217, 93, 57, 0.12), rgba(255, 255, 255, 0.92));
}

.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-chip {
    appearance: none;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(19, 32, 51, 0.08);
    color: var(--muted);
    cursor: pointer;
    transition: all 180ms ease;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: #fff;
    background: var(--surface-dark);
}

.quote-layout {
    grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
    align-items: start;
}

.quote-sidebar {
    display: grid;
    gap: 18px;
}

.contact-stack {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.contact-stack a,
.footer-links a {
    color: var(--ink);
}

.faq-stack details {
    padding: 16px 0;
    border-bottom: 1px solid rgba(19, 32, 51, 0.08);
}

.faq-stack summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-stack summary::-webkit-details-marker {
    display: none;
}

.faq-stack p {
    margin: 10px 0 0;
}

.quote-form {
    display: grid;
    gap: 24px;
}

.form-section {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(19, 32, 51, 0.08);
}

.form-section__heading {
    display: grid;
    gap: 6px;
}

.form-section__heading h2 {
    margin: 0;
    font-size: 1.2rem;
}

.form-section__heading p {
    margin: 0;
    color: var(--muted);
}

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

.form-grid label {
    display: grid;
    gap: 10px;
}

.form-grid span,
.form-actions p {
    font-size: 0.95rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    border: 1px solid rgba(19, 32, 51, 0.12);
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    border-radius: 18px;
    padding: 15px 16px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: rgba(217, 93, 57, 0.52);
    box-shadow: 0 0 0 4px rgba(217, 93, 57, 0.12);
}

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

.form-grid__full {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-notice {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(217, 93, 57, 0.24);
    background: rgba(217, 93, 57, 0.12);
    color: var(--ink);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.site-footer {
    margin-top: auto;
    padding: 0 0 28px;
}

.footer-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
}

.footer-card--brand h2 {
    margin: 14px 0 10px;
    font-size: 1.7rem;
    line-height: 1.1;
}

.footer-links {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.footer-bottom {
    padding-top: 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.status-card {
    max-width: 720px;
    text-align: center;
    padding: 42px;
}

.status-card .hero__actions {
    justify-content: center;
}

.status-card--error {
    background: linear-gradient(180deg, rgba(217, 93, 57, 0.12), rgba(255, 255, 255, 0.92));
}

.has-lightbox {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 31, 0.78);
    backdrop-filter: blur(8px);
}

.lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 1100px);
    margin: min(5vh, 40px) auto;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255, 250, 244, 0.98);
    box-shadow: 0 32px 90px rgba(7, 14, 27, 0.4);
}

.lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(19, 32, 51, 0.08);
    color: var(--ink);
    font-size: 1.5rem;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(19, 32, 51, 0.72);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.lightbox__nav--prev {
    left: 18px;
}

.lightbox__nav--next {
    right: 18px;
}

.lightbox__image {
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 20px;
    background: rgba(19, 32, 51, 0.03);
}

.lightbox__meta {
    display: grid;
    gap: 4px;
    padding: 14px 6px 2px;
}

.lightbox__title {
    font-size: 1.08rem;
}

.lightbox__caption {
    color: var(--muted);
}

.lightbox__counter {
    font-size: 0.9rem;
    color: var(--muted);
}

[hidden] {
    display: none !important;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 1040px) {
    .hero__grid,
    .split-layout,
    .split-layout--gallery,
    .quote-layout,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
    .site-header__inner {
        min-height: 72px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 16px;
        background: rgba(255, 250, 244, 0.96);
        border: 1px solid rgba(19, 32, 51, 0.08);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
    }

    .lightbox__dialog {
        width: min(94vw, 1100px);
        margin: 16px auto;
        padding: 16px;
    }

    .hero {
        padding-top: 62px;
    }

    .hero-stack {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .hero-stack__card--2,
    .hero-stack__card--3 {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    :root {
        --shell: min(100vw - 20px, 100%);
        --radius-lg: 24px;
        --radius-md: 18px;
    }

    .hero__content h1,
    .page-hero__content h1,
    .section-heading h2,
    .split-layout__content h2,
    .cta-banner h2,
    .editorial-card h2,
    .status-card h1 {
        font-size: clamp(1.8rem, 9vw, 2.6rem);
    }

    .button,
    .button--ghost {
        width: 100%;
    }

    .hero__actions,
    .cta-banner__actions {
        width: 100%;
        flex-direction: column;
    }

    .card-grid--services,
    .card-grid--process,
    .stats-grid,
    .gallery-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-stack {
        grid-template-columns: 1fr;
        grid-auto-rows: 210px;
    }

    .hero-stack__card--1 {
        grid-row: auto;
    }

    .service-card,
    .stat-card,
    .process-card,
    .editorial-card,
    .footer-card,
    .form-panel,
    .status-card {
        padding: 22px;
    }

    .section {
        padding: 34px 0 70px;
    }

    .section--status {
        padding-top: 60px;
    }
}
