:root {
    --bg: #080b0b;
    --fg: #eeeae3;
    --muted: #b5b7b0;
    --sand: #d6bfa2;
    --line: #ffffff22
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: Arial, Helvetica, sans-serif
}

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

a:hover {
    color: var(--sand)
}

button,
a,
input,
textarea {
    font: inherit
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 5px
}

.dealer-header {
    background: #0d0d0d;
    border-bottom: 1px solid var(--line)
}

.header-inner {
    max-width: 1600px;
    min-height: 110px;
    margin: auto;
    padding: 24px 3%;
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: center;
    gap: 24px;
    font-size: 14px
}

.header-inner p,
.header-inner address {
    margin: 0
}

.header-logo {
    justify-self: center
}

.header-logo img {
    width: 42px;
    height: 54px;
    object-fit: contain
}

.header-contacts {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px
}

.header-contacts address {
    font-style: normal
}

.header-contacts a {
    white-space: nowrap
}

main,
.dealer-footer {
    max-width: 1680px;
    margin: auto
}

.hero {
    position: relative
}

.hero-photo {
    display: block;
    width: 100%;
    height: auto
}

.hero-copy {
    position: absolute;
    top: 8%;
    left: 4.6%;
    color: #f2f2f0;
    max-width: 45%
}

.hero-brand {
    font-size: clamp(25px, 3.4vw, 58px);
    letter-spacing: .12em;
    line-height: 1.1;
    white-space: nowrap
}

.hero-brand strong {
    letter-spacing: .05em;
    margin-right: 10px;
    font-weight: 800
}

h1 {
    font-size: clamp(22px, 2.65vw, 45px);
    font-weight: 400;
    letter-spacing: .18em;
    margin: 10px 0 18px
}

.hero-copy p {
    font-size: clamp(14px, 1.8vw, 29px);
    letter-spacing: .06em;
    line-height: 1.5
}

.hero-action {
    padding: 24px 5% 28px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border: 1px solid var(--sand);
    border-radius: 32px;
    background: var(--sand);
    color: #151818;
    padding: 18px 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: .2s
}

.btn:hover,
.btn:focus {
    background: #ead8c0;
    color: #151818;
    border-color: #ead8c0
}

.btn-outline {
    background: transparent;
    color: var(--sand)
}

.btn:disabled {
    opacity: .6
}

.section {
    padding: 65px 5%
}

.section-index {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 11px;
    letter-spacing: 2.2px;
    color: var(--muted)
}

.section-index b {
    font-size: clamp(64px, 7vw, 112px);
    font-weight: 700;
    letter-spacing: -5px;
    line-height: 1;
    color: #c7c9c5
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin: 30px 0 40px
}

h2 {
    font-size: clamp(34px, 3.6vw, 60px);
    font-weight: 700;
    letter-spacing: -1.7px;
    line-height: 1.1;
    margin: 0
}

.heading p {
    max-width: 310px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0
}

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

.sticker {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 24px 0;
    background: #0c100f;
    color: var(--fg);
    text-align: left;
    cursor: pointer;
    transition: .2s
}

.sticker:hover {
    border-color: var(--sand);
    background: #16201a
}

.crop {
    position: relative;
    overflow: hidden
}

.crop img {
    position: absolute;
    max-width: none;
    height: auto;
    pointer-events: none
}

.sticker .crop {
    max-width: 220px;
    margin: 0 auto 24px
}

.item-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 65px;
    border-top: 1px solid var(--line);
    font-size: 13px
}

.item-label small {
    font-size: 10px;
    color: var(--muted)
}

.item-label b {
    margin-left: auto;
    font-size: 22px;
    color: var(--sand)
}

.collection-note {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 24px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted)
}

.collection-note a {
    text-decoration: underline
}

.steps {
    padding: 0 5% 65px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px
}

.step {
    border-top: 1px solid var(--line);
    padding-top: 24px
}

.step>span {
    font-size: 12px;
    color: var(--sand)
}

.step h3 {
    font-size: 18px;
    margin: 15px 0;
    font-weight: 500
}

.step p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted)
}

.next {
    position: relative;
    border-block: 1px solid var(--line)
}

.next>img {
    display: block;
    width: 100%;
    height: auto
}

.next-heading {
    position: absolute;
    top: 5%;
    left: 4.5%;
    gap: 28px
}

.next-heading b {
    font-size: clamp(32px, 6.5vw, 108px)
}

.next-heading span {
    font-size: clamp(11px, 1.45vw, 23px);
    letter-spacing: 3px
}

.next-date {
    position: absolute;
    left: 4.5%;
    bottom: 25%;
    display: flex;
    align-items: center;
    gap: 30px;
    color: #e0e0dc;
    font-size: clamp(10px, 1.4vw, 22px);
    letter-spacing: 2px
}

.next-date i {
    width: 90px;
    height: 1px;
    background: #a7aaa4
}

.stories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line)
}

.story-copy {
    padding: 65px 10%
}

.story-copy h2 {
    margin: 35px 0
}

.story-copy h2 em {
    font-family: Georgia, serif;
    color: var(--sand);
    font-weight: 400
}

.story-copy p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0 0 25px
}

.story-visual {
    position: relative;
    min-height: 560px
}

.story-visual>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0
}

.social-link {
    position: absolute;
    right: 6%;
    bottom: 10%;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #080b0b70;
    border-radius: 60px;
    padding: 12px 20px 12px 12px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 1.5
}

.social-link:hover {
    color: var(--sand);
    background: #080b0ba6
}

.play {
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    font-size: 38px;
    line-height: 1;
    padding-left: 5px
}

.dealer-footer {
    padding: 45px 5%;
    background: var(--bg);
    font-size: 14px
}

.keyauto-logo {
    display: block;
    object-fit: contain;
    object-position: left
}

.dealer-footer p {
    margin: 12px 0
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px
}

.footer-contact h3 {
    font-size: 15px;
    font-weight: 400;
    margin: 0
}

.footer-contact address {
    font-style: normal;
    margin: 0
}

.footer-phone {
    font-size: 21px
}

.footer-docs {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px
}

.footer-docs a:hover {
    text-decoration: underline
}

.dealer-footer .footer-legal {
    margin-top: 25px;
    font-size: 11px;
    line-height: 1.65;
    color: var(--muted)
}

dialog {
    width: min(520px, calc(100% - 28px));
    max-height: 90vh;
    overflow: auto;
    background: #111715;
    color: var(--fg);
    border: 1px solid #576056;
    border-radius: 12px;
    padding: 36px
}

dialog::backdrop {
    background: #000b;
    backdrop-filter: blur(6px)
}

body:has(dialog[open]) {
    overflow: hidden
}

.close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: transparent;
    color: #ccc;
    font-size: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    line-height: 1
}

.eyebrow {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--sand);
    padding-right: 15px
}

.modal-pic {
    max-width: 160px;
    margin: 18px auto 25px
}

dialog h2 {
    font-size: 30px;
    margin: 20px 0;
    letter-spacing: -1px
}

dialog p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted)
}

label {
    display: block;
    margin: 16px 0 7px;
    font-size: 13px
}

.form-control {
    background: #090d0b;
    border: 1px solid #525950;
    color: #fff;
    border-radius: 8px;
    min-height: 48px;
    font-size: 16px
}

.form-control:focus {
    background: #090d0b;
    color: #fff;
    border-color: var(--sand);
    box-shadow: none
}

.form-control::placeholder {
    color: #898e87
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.6
}

.consent input {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 4px;
    accent-color: var(--sand)
}

.consent a,
.recipient a {
    text-decoration: underline
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

form .btn {
    width: 100%;
    margin-top: 12px
}

.delivery-note,
.recipient {
    font-size: 12px !important;
    margin: 14px 0
}

.status {
    color: var(--sand)
}

@media(max-width:1000px) {
    .header-inner {
        grid-template-columns: 1fr 55px 1fr;
        font-size: 12px;
        padding-inline: 4%;
        gap: 16px
    }

    .header-contacts {
        flex-direction: column;
        gap: 8px;
        align-items: flex-end
    }

    .story-copy {
        padding: 45px 8%
    }

    .story-visual {
        min-height: 500px
    }

    .social-link {
        right: 4%;
        gap: 12px;
        font-size: 10px
    }

    .play {
        width: 58px;
        height: 58px;
        font-size: 30px
    }

    .next-date {
        gap: 20px
    }

    .next-date i {
        width: 55px
    }
}

@media(max-width:760px) {
    .header-inner {
        grid-template-columns: 1fr 45px;
        min-height: 110px;
        gap: 12px 20px;
        padding: 18px 6%
    }

    .header-inner>p {
        font-size: 12px
    }

    .header-logo {
        grid-column: 2;
        grid-row: 1/3
    }

    .header-contacts {
        grid-column: 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 11px
    }

    .hero-photo {
        width: 100%;
        height: auto
    }

    .hero-copy {
        position: static;
        max-width: none;
        padding: 25px 6% 0
    }

    .hero-brand {
        font-size: 30px
    }

    .hero-copy h1 {
        font-size: 27px;
        letter-spacing: .15em
    }

    .hero-copy p {
        font-size: 16px;
        letter-spacing: .04em;
        margin-bottom: 0
    }

    .hero-action {
        padding: 24px 6% 32px
    }

    .section {
        padding: 45px 6%
    }

    .section-index {
        font-size: 10px;
        gap: 18px;
        letter-spacing: 1.5px
    }

    .section-index b {
        font-size: 64px;
        letter-spacing: -3px
    }

    .heading {
        display: block;
        margin-top: 25px
    }

    .heading p {
        margin-top: 20px;
        max-width: none
    }

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

    .sticker {
        padding: 12px 12px 0
    }

    .sticker .crop {
        margin-bottom: 12px
    }

    .item-label {
        min-height: 65px;
        font-size: 11px;
        gap: 5px
    }

    .item-label small {
        display: inline;
        flex-shrink: 0;
        color: var(--sand)
    }

    .item-label b {
        font-size: 18px
    }

    .collection-note {
        display: block
    }

    .collection-note a {
        display: inline-block;
        margin-top: 12px
    }

    .steps {
        padding: 0 6% 40px;
        grid-template-columns: 1fr;
        gap: 18px
    }

    .step h3 {
        margin: 10px 0
    }

    .step p {
        margin-bottom: 0
    }

    .next-heading {
        top: 4%;
        left: 4.5%;
        gap: 10px
    }

    .next-heading b {
        font-size: 7vw;
        letter-spacing: -1px
    }

    .next-heading span {
        font-size: 2vw;
        letter-spacing: 1px
    }

    .next-date {
        left: 4.5%;
        bottom: 50%;
        font-size: 1.8vw;
        gap: 14px;
        letter-spacing: 1px
    }

    .next-date i {
        width: 30px
    }

    .stories {
        grid-template-columns: 1fr
    }

    .story-copy {
        padding: 40px 6%
    }

    .story-copy h2 {
        margin: 25px 0
    }

    .story-visual {
        min-height: 0;
        aspect-ratio: 1.3
    }

    .story-visual>img {
        object-position: center
    }

    .social-link {
        bottom: 7%;
        right: 6%;
        font-size: 11px;
        gap: 16px
    }

    .play {
        width: 60px;
        height: 60px
    }

    .dealer-footer {
        padding: 36px 6%
    }

    .footer-contact {
        align-items: flex-start
    }

    .footer-docs {
        margin-top: 35px;
        font-size: 12px;
        overflow-wrap: anywhere
    }

    .btn {
        padding: 17px 22px;
        font-size: 11px;
        gap: 22px
    }

    dialog {
        padding: 32px 22px
    }

    dialog h2 {
        font-size: 27px
    }
}

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

    * {
        transition: none !important
    }
}

/* Keep live heading legible over the mountain photograph. */
.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0009 0%, #0005 33%, transparent 59%);
    pointer-events: none
}

.hero-copy {
    z-index: 1
}

@media(max-width:760px) {
    .hero:before {
        display: none
    }
}
/* Block 02: all content belongs to one continuous pumpkin background. */
.next {
    padding: clamp(24px, 3vw, 48px) 4.5% clamp(30px, 3vw, 48px);
    overflow: hidden;
    background-color: #030706;
    background-image: url('../pumpkin-background.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.next .next-heading { position: relative; top: auto; left: auto; }
.next-title { position: relative; width: 55%; margin: 24px 0 32px; color: #d9a36c; font: italic clamp(30px, 4vw, 64px)/1.15 Georgia, serif; letter-spacing: -.02em; }
.next-content { position: relative; width: 52%; max-width: 790px; }
.next .next-date { position: static; flex-wrap: wrap; gap: 20px; font-size: clamp(12px, 1.3vw, 20px); }
.next-description { margin: 22px 0 26px; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.75; color: var(--fg); text-shadow: 0 2px 8px #000; }
.next .hero-action { padding: 0; }
.next .btn { max-width: 100%; white-space: normal; }
@media (max-width: 1000px) and (min-width: 761px) {
    .next-content { width: 61%; }
    .next .next-date i { width: 35px; }
}
@media (max-width: 760px) {
    .next { padding: 22px 6% 30px; background-size: auto 100%; background-position: 60% center; }
    .next::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #030706dc, #03070670); pointer-events: none; }
    .next .next-heading { z-index: 1; }
    .next .next-heading b { font-size: 58px; }
    .next .next-heading span { font-size: 12px; }
    .next-title { width: 100%; max-width: 350px; margin: 18px 0 28px; font-size: clamp(28px, 7.5vw, 36px); }
    .next-content { width: 100%; max-width: none; }
    .next .next-date { font-size: 11px; gap: 12px; letter-spacing: 1px; }
    .next .next-date i { width: 26px; }
    .next-description { margin: 20px 0 24px; font-size: 15px; line-height: 1.7; }
}

/* SVG paths keep arrows independent of system fonts and emoji rendering. */
.arrow-icon { display: block; width: 22px; height: 22px; flex: 0 0 22px; }
.item-label > .arrow-icon { margin-left: auto; color: var(--sand); }
@media (max-width: 760px) {
    .item-label { display: grid; grid-template-columns: auto minmax(0, 1fr) 18px; column-gap: 5px; }
    .item-label > .arrow-icon { width: 18px; height: 18px; }
}
