:root {
    --green: #244838;
    --green-deep: #173a2c;
    --rust: #a94939;
    --cream: #fbf3e5;
    --ivory: #fffdf9;
    --sand: #f5e8d5;
    --ink: #253b32;
    --muted: #66736c;
    --border: #e9dcc8;
    --gold: #d6ad64
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    background: var(--ivory);
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

button,
input {
    font: inherit
}

.container {
    max-width: 1190px;
    margin: auto;
    padding: 0 24px
}

.site-header {
    background: #fffaf1;
    border-bottom: 1px solid var(--border)
}

.header-inner {
    min-height: 83px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 21px;
    color: var(--green)
}

.brand small {
    font-family: 'DM Sans', sans-serif;
    display: block;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--rust)
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--gold);
    font-size: 24px
}

nav {
    display: flex;
    gap: 27px;
    flex-wrap: wrap
}

nav a {
    font-size: 14px;
    font-weight: 600
}

nav a:hover,
nav .active {
    color: var(--rust)
}

.hero {
    background: var(--cream);
    overflow: hidden
}

.hero-grid {
    min-height: 510px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding-top: 55px;
    padding-bottom: 55px
}

.eyebrow {
    color: var(--rust);
    letter-spacing: .23em;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase
}

.hero h1,
h2 {
    font-family: 'Playfair Display', serif;
    color: var(--green);
    line-height: 1.15
}

.hero h1 {
    font-size: clamp(49px, 6vw, 83px);
    margin: 20px 0
}

.hero h1 em,
h2 em {
    color: var(--rust);
    font-style: normal
}

.lead {
    font-size: 18px;
    max-width: 520px;
    color: #5e6a63;
    margin-bottom: 30px
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s, background .2s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: var(--green);
    color: white
}

.btn-primary:hover {
    background: var(--green-deep)
}

.hero-art {
    position: relative;
    min-height: 395px;
    display: grid;
    place-items: center
}

.hero-photo {
    width: min(100%, 460px);
    aspect-ratio: 1.13;
    border-radius: 49% 51% 43% 57%/52% 43% 57% 48%;
    background: linear-gradient(145deg, rgba(36, 72, 56, .05), rgba(169, 73, 57, .1)), url('images/plateau-bouchees.jpg') center/cover, linear-gradient(135deg, #b78a58, #6e513a);
    border: 12px solid #f0ddbc;
    box-shadow: 18px 18px 0 #e5cba0
}

.hero-note {
    position: absolute;
    bottom: 18px;
    left: 0;
    background: white;
    padding: 14px 20px;
    box-shadow: 0 10px 40px #513b241c;
    border-left: 4px solid var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 19px
}

.hero-note span {
    color: var(--rust)
}

.section {
    padding: 84px 0
}

.center {
    text-align: center
}

.section-title {
    text-align: center;
    font-size: clamp(34px, 4vw, 49px);
    margin: 12px 0
}

.section-intro {
    text-align: center;
    max-width: 670px;
    margin: 0 auto 44px;
    color: var(--muted)
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px
}

.offer-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: white;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 35px #37291908
}

.offer-image {
    height: 210px;
    background: var(--sand);
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    place-items: center
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.photo-placeholder {
    color: var(--green);
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    text-align: center;
    padding: 18px;
    background: linear-gradient(140deg, #eee0c8, #f9f0df)
}

.offer-type {
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 700;
    color: var(--rust);
    margin: 24px 0 8px;
    text-transform: uppercase
}

.offer-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    line-height: 1.2;
    color: var(--green);
    margin: 0 0 12px
}

.offer-card .description {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 18px
}

.offer-card .price {
    font-size: 29px;
    font-weight: 700;
    color: var(--green);
    line-height: 1.1
}

.offer-card .price small {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted)
}

.offer-card h4 {
    font-size: 13px;
    margin: 24px 0 9px;
    color: var(--green)
}

.items {
    padding-left: 19px;
    margin: 0 0 16px;
    color: #536158;
    font-size: 13px
}

.items li {
    margin: 5px 0
}

.offer-foot {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 17px
}

.offer-foot p {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 15px
}

.card-link {
    display: block;
    background: var(--green);
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    font-weight: 700;
    font-size: 13px
}

.card-link:hover {
    background: var(--green-deep)
}

.estimate {
    background: var(--cream)
}

.estimate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center
}

.estimate h2 {
    font-size: clamp(38px, 4vw, 53px);
    margin: 14px 0
}

.estimate p {
    color: #657167
}

.estimate-help {
    background: #fff9ed;
    border-left: 4px solid var(--gold);
    padding: 20px;
    margin-top: 30px;
    border-radius: 4px;
    color: #5b665e
}

.calculator {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 50px #392e2110
}

.calculator h3 {
    font-family: 'Playfair Display', serif;
    color: var(--green);
    font-size: 28px;
    margin: 0 0 20px
}

.calculator label {
    font-weight: 700;
    font-size: 14px
}

.calculator input[type=number] {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin: 9px 0 20px;
    border: 1px solid #d5cbbd;
    border-radius: 8px;
    color: var(--ink)
}

.field-note {
    font-size: 13px;
    margin: 0 0 10px
}

.option {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #f0e9dd;
    font-size: 13px
}

.option label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer
}

.option input {
    accent-color: var(--green);
    width: 17px;
    height: 17px
}

.option .option-price {
    white-space: nowrap;
    color: var(--green);
    font-weight: 700
}

.warning {
    font-size: 12px;
    color: #a63c28 !important;
    min-height: 18px
}

.totals {
    border-top: 2px solid var(--border);
    margin-top: 12px;
    padding-top: 13px
}

.totals>div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
    font-size: 14px
}

.totals .grand-total {
    border-top: 1px solid var(--border);
    padding: 17px 0;
    font-size: 18px;
    color: var(--green);
    font-weight: 700
}

.full {
    width: 100%
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px
}

.detail-grid article {
    padding: 24px;
    background: #fffaf2;
    border: 1px solid var(--border);
    border-radius: 15px
}

.detail-icon {
    color: var(--rust);
    font-weight: 700;
    font-size: 22px
}

.detail-grid h3 {
    font-family: 'Playfair Display', serif;
    color: var(--green);
    font-size: 20px
}

.detail-grid p {
    font-size: 13px;
    color: var(--muted)
}

.cta {
    background: var(--green);
    color: white;
    padding: 55px 0
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.cta h2 {
    color: white;
    font-size: 38px;
    margin: 10px 0
}

.cta .eyebrow {
    color: #f1c587
}

.cta p {
    margin-bottom: 0;
    color: #e0e8e0
}

.btn-light {
    background: #fff4df;
    color: var(--green);
    white-space: nowrap
}

footer {
    background: #183529;
    color: #d9e2d9;
    padding: 25px 0;
    font-size: 12px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap
}

footer a:hover {
    text-decoration: underline
}

@media(max-width:950px) {
    .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .hero-grid,
    .estimate-grid {
        gap: 35px
    }

    .detail-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:680px) {
    .header-inner {
        padding-top: 15px;
        padding-bottom: 15px;
        flex-direction: column;
        align-items: flex-start
    }

    nav {
        gap: 16px
    }

    .hero-grid,
    .estimate-grid {
        grid-template-columns: 1fr
    }

    .hero-grid {
        padding-top: 38px
    }

    .hero-art {
        min-height: 270px
    }

    .hero-photo {
        width: 80%;
        max-width: 320px
    }

    .hero-note {
        left: 8%;
        bottom: 0
    }

    .section {
        padding: 55px 0
    }

    .offer-grid,
    .detail-grid {
        grid-template-columns: 1fr
    }

    .offer-image {
        height: 230px
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .calculator {
        padding: 20px
    }
}