:root {
    --cream: #f4efe6;
    --ink: #1c2b24;
    --green: #1a2e26;
    --gold: #e6d3a4;
    --text: #1e2a24;
    --muted: #5c675f;
    --card: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 0;
}

.topbar {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 84px;
}
.logo img { height: 42px; width: auto; filter: brightness(0); }
.logo-light img { filter: none; }
.menu { display: flex; gap: 22px; margin-left: 12px; font-family: Arial, sans-serif; font-size: 15px; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; font-family: Arial, sans-serif; }
.phone { white-space: nowrap; font-weight: 700; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 0 20px;
    height: 46px;
    white-space: nowrap;
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }

.hero-card {
    min-height: 560px;
    border-radius: 28px;
    background-size: cover;
    background-position: right center;
    position: relative;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 36, 28, .94) 0%, rgba(16, 36, 28, .78) 28%, rgba(16, 36, 28, .28) 52%, rgba(16, 36, 28, .08) 100%);
}
.hero-copy { position: relative; z-index: 1; max-width: 640px; padding: 52px 44px 8px; }
.eyebrow { letter-spacing: .14em; text-transform: uppercase; font-family: Arial, sans-serif; font-size: 12px; color: var(--gold); }
.hero h1, .section h2, .band h2, .lead h2 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 16px; }
.hero h1 { font-size: 52px; max-width: 9em; }
.hero-text, .split p, .steps p, .band p, .lead p { font-family: Arial, sans-serif; line-height: 1.55; color: var(--muted); }
.hero-text { color: rgba(255,255,255,.86); font-size: 17px; max-width: 34em; margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: nowrap; align-items: center; margin: 26px 0 8px; }
.hero-points {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    padding: 18px 40px 26px;
    margin: 0 28px 22px;
    border-top: 1px solid rgba(255,255,255,.22);
    font-family: Arial, sans-serif;
    font-size: 15px;
}
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points i { color: var(--gold); font-size: 14px; }

.section { padding: 72px 0 12px; }
.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 28px; }
.split h2, .section > h2 { font-size: 46px; max-width: 620px; }
.split p { max-width: 360px; margin: 0 0 8px; }
.text-link { font-family: Arial, sans-serif; color: var(--ink); white-space: nowrap; }

.cards, .portfolio, .steps { display: grid; gap: 14px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 .photo-card, .cards-3 .photo-card { height: 210px; min-height: 210px; }
.portfolio {
    grid-template-columns: 1.15fr 0.72fr 0.72fr;
    grid-template-rows: 210px 210px;
}
.portfolio .tall { grid-column: 1; grid-row: 1 / span 2; height: auto; min-height: 100%; }
.portfolio .top { grid-column: 2 / span 2; grid-row: 1; }
.photo-card {
    min-height: 210px;
    border-radius: var(--card);
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 14px;
    overflow: hidden;
}
.photo-card i {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    flex-shrink: 0;
}
.photo-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    background: linear-gradient(transparent, rgba(0,0,0,.78));
}
.photo-card span { position: relative; z-index: 1; font-family: Arial, sans-serif; font-size: 16px; font-weight: 600; max-width: 78%; }
.photo-card small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }

.band {
    margin-top: 64px;
    background: var(--green);
    color: #fff;
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
    overflow: hidden;
}
.band-copy { padding: 48px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.band-photo { background-size: cover; background-position: center; min-height: 260px; }
.band h2 { font-size: 40px; max-width: 460px; }
.band p { color: rgba(255,255,255,.75); margin: 0 0 16px; }

#steps { padding-top: 64px; }
.steps-wrap {
    display: grid;
    grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
    gap: 40px;
    align-items: start;
}
.steps-wrap > h2 {
    font-size: 46px;
    margin: 0;
    line-height: 1.08;
    max-width: 11em;
}
.steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}
.steps article {
    padding: 6px 22px 6px 20px;
    border-left: 1px solid #e4dccb;
}
.steps article:first-child { border-left: 0; padding-left: 0; }
.steps b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(230, 211, 164, .45);
    font-family: Arial, sans-serif;
    color: #8a6828;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 12px;
}
.steps h3 { margin: 0 0 10px; font-size: 22px; font-weight: 500; line-height: 1.2; }
.steps p { margin: 0; font-size: 15px; line-height: 1.5; }

.garlands .swiper-container { overflow: hidden; }
.garlands .slide {
    height: 280px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
}
.garlands .swiper-button-prev,
.garlands .swiper-button-next {
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border-radius: 50%;
    background: rgba(20, 36, 28, .9);
    color: #f6f1e7;
    box-shadow: 0 8px 22px rgba(12, 24, 18, .4);
}
.garlands .swiper-button-prev:after,
.garlands .swiper-button-next:after { font-size: 16px; font-weight: 700; }
.garlands .swiper-button-prev { left: 8px; }
.garlands .swiper-button-next { right: 8px; }
.garlands .swiper-button-disabled { opacity: .35; }

.lead {
    margin-top: 64px;
    background: #e7efe9;
    border-radius: 28px;
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: center;
}
.discount {
    display: inline-block;
    background: var(--gold);
    color: var(--ink);
    border-radius: 999px;
    padding: 6px 12px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}
.lead h2 { font-size: 40px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; }
.lead-form input, .modal-order input {
    width: 100%;
    border: 1px solid #ddd4c4;
    background: #fff;
    border-radius: 999px;
    padding: 14px 16px;
    font-family: Arial, sans-serif;
}
.lead .form-success, .modal-order .form-success {
    display: none;
    grid-column: 1 / -1;
    background: #2e9e4d;
    color: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: 700;
}
.lead .form-success.visible, .modal-order .form-success.visible { display: block; }

.footer {
    width: 100%;
    margin: 28px 0 0;
    background: var(--green);
    color: #fff;
    border-radius: 0;
    padding: 28px max(24px, calc(50vw - 590px));
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-family: Arial, sans-serif;
    font-size: 14px;
}
.footer a { display: inline-flex; align-items: center; gap: 8px; }
.footer p, .footer .copy { margin: 0; }
.footer .copy { opacity: .72; white-space: nowrap; }

.sticky-cta { display: none; }

.modal-order {
    position: fixed;
    inset: 0;
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}
.modal-order.active { opacity: 1; visibility: visible; }
.modal-order .background {
    position: absolute;
    inset: 0;
    background: rgba(12, 24, 18, .58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}
.modal-order .content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -48%) scale(.96);
    width: min(440px, calc(100% - 28px));
    background: linear-gradient(180deg, #fffdf9 0%, #f8f4ec 100%);
    border-radius: 24px;
    padding: 32px 26px 26px;
    box-shadow: 0 28px 70px rgba(12, 24, 18, .32);
    border: 1px solid rgba(230, 211, 164, .45);
    transition: transform .28s ease;
}
.modal-order.active .content { transform: translate(-50%, -50%) scale(1); }
.modal-order .modal-order-title {
    text-align: center;
    margin: 0 32px 8px 0;
    font-size: clamp(21px, 4.5vw, 28px);
    line-height: 1.18;
    font-weight: 500;
}
.modal-order .modal-order-note {
    margin: 0 0 18px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
}
.modal-order form { display: grid; gap: 12px; }
.modal-order .close_btn {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(244, 239, 230, .95);
    color: var(--ink);
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}
.modal-order .close_btn:hover { background: #ebe3d4; }
.modal-order input {
    border-color: #e0d4c4;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(12, 24, 18, .04);
}
.modal-order input:focus {
    outline: none;
    border-color: #cbb07a;
    box-shadow: 0 0 0 3px rgba(230, 211, 164, .45);
}
.modal-order form .btn-gold {
    width: 100%;
    height: 50px;
    margin-top: 4px;
    font-size: 15px;
}
.modal-order .form-success {
    border-radius: 14px;
    margin-top: 4px;
}

@media (max-width: 980px) {
    .menu { display: none; }
    .cards-4 { grid-template-columns: 1fr 1fr; }
    .portfolio, .lead, .band { grid-template-columns: 1fr; }
    .steps-wrap { grid-template-columns: 1fr; gap: 24px; }
    .steps-wrap > h2 { font-size: 34px; max-width: none; }
    .steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .steps article,
    .steps article:first-child {
        border-left: none;
        padding: 18px 16px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .78);
        border: 1px solid #e6ddd0;
        display: grid;
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;
        row-gap: 6px;
        align-items: start;
    }
    .steps b {
        grid-row: 1 / span 2;
        margin: 0;
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        border-radius: 50%;
        background: var(--gold);
        color: var(--ink);
        font-size: 12px;
    }
    .steps h3 { grid-column: 2; font-size: 20px; margin: 0; }
    .steps p { grid-column: 2; }
    .portfolio { grid-template-rows: none; }
    .portfolio .tall, .portfolio .top { grid-column: auto; grid-row: auto; min-height: 220px; }
    .lead-form { grid-template-columns: 1fr; }
    .hero h1 { font-size: 44px; }
    .split h2, .section > h2, .band h2, .lead h2 { font-size: 34px; }
}

@media (max-width: 980px) {
    .footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: start;
        gap: 14px 20px;
    }
    .footer .logo { grid-column: 1 / -1; }
    .footer .copy { grid-column: 1 / -1; opacity: .72; }
}

@media (max-width: 768px) {
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
    .page { width: min(100% - 24px, 1180px); }
    .topbar {
        min-height: 64px;
        gap: 10px;
        justify-content: space-between;
    }
    .logo img { height: 34px; }
    .topbar-actions {
        margin-left: auto;
        gap: 8px;
        flex-shrink: 0;
    }
    .phone span, .topbar .phone { font-size: 0; }
    .topbar .phone i { font-size: 15px; }
    .topbar .phone {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--green);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .topbar-actions .btn-gold {
        height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }
    .hero { margin-bottom: 4px; }
    .hero-card {
        min-height: 0;
        border-radius: 22px;
        background-position: center 35%;
    }
    .hero-card::before {
        background: linear-gradient(180deg, rgba(16, 36, 28, .95) 0%, rgba(16, 36, 28, .86) 42%, rgba(16, 36, 28, .52) 72%, rgba(16, 36, 28, .35) 100%);
    }
    .hero-copy {
        max-width: none;
        padding: 28px 20px 6px;
        text-align: left;
    }
    .hero .eyebrow {
        font-size: 10px;
        letter-spacing: .12em;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    .hero h1 {
        font-size: 30px;
        max-width: none;
        line-height: 1.14;
        margin-bottom: 12px;
    }
    .hero-text {
        font-size: 15px;
        line-height: 1.5;
        max-width: none;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 18px 0 6px;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        height: 48px;
        justify-content: center;
        font-size: 14px;
    }
    .hero-points {
        grid-template-columns: 1fr;
        width: auto;
        margin: 0;
        padding: 14px 20px 20px;
        gap: 11px;
        border-top: 1px solid rgba(255, 255, 255, .18);
    }
    .hero-points li {
        font-size: 14px;
        line-height: 1.35;
        align-items: flex-start;
    }
    .hero-points i {
        width: 18px;
        text-align: center;
        flex-shrink: 0;
        margin-top: 2px;
    }
    .band { grid-template-columns: 1fr; }
    #steps { padding-top: 48px; }
    .steps-wrap > h2 { font-size: 30px; }
    .band-photo { min-height: 200px; }
    .cards-4, .cards-3, .portfolio, .lead { grid-template-columns: 1fr; display: grid; }
    .footer { grid-template-columns: 1fr; }
    .split { display: block; }
    .photo-card, .portfolio .wide { min-height: 220px; }
    .garlands .slide { height: 220px; }
    .sticky-cta {
        display: block;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 120;
        background: var(--gold);
        color: var(--ink);
        text-align: center;
        font-family: Arial, sans-serif;
        font-weight: 700;
        padding: 15px;
        border-radius: 14px;
    }
}
