/* The Ambers at Planters Enclave - page styles
   Body font: Arial. Headlines: Libre Baskerville Italic (SIL Open Font License, self-hosted).
   Built mobile-first; the design artboard is 1920 px wide, so desktop sizes are scaled with vw. */

@font-face {
    font-family: "Baskerville Italic";
    src: url("../fonts/Baskerville-Italic-03.woff2") format("woff2");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

:root {
    --green: #263316;
    --orange: #d76c25;
    --reg: #d76c25;
    --tan: #e2caa6;
    --gold: #c9924e;
    --cream: #f8f0e8;
    --white: #fff;
    --pad: clamp(1.25rem, 6vw, 7.3rem);
    /* design margin (117 px of 1920) */
    --u: min(1vw, 19.2px);
    /* 1 vw, but never larger than on the 1920 px design */
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: var(--white);
    background: var(--green);
    -webkit-font-smoothing: antialiased;
}

main {
    overflow-x: clip;
}

ul {
    list-style: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.br-md,
.br-lg {
    display: none;
}

/* Content sits in Bootstrap's own .container (540 / 720 / 960 / 1140 / 1320 px), exactly like ms-ara-bloc.
   The hero is the only full-width block. --q turns the design's 1920 px sizes into a share of the container
   width (the design content frame is 1688 px wide), so type and icons shrink with the narrower container. */
.container {
    container-type: inline-size;
    --q: 1.137cqw;
}

/* the hero stays full width, but stops growing at 1920 px */
.hero__grid {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
     position: relative;
}
.hero__grid:after {
    content: "";
    position: absolute;
    inset: 0;
    left: auto;
    width: 79%;
    height: 100%;
    background-image: url(https://imagedelivery.net/TdjZsXzzZt_je48pBzV3SA/0f109c5a-b57a-4bd1-c1b1-a33eec09a800/w=800);
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    mix-blend-mode: multiply;
    opacity: 0.5;
pointer-events: none;
   
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.serif {
    font-family: "Baskerville Italic", serif;
    font-style: italic;
    font-weight: 400;
}

/* ---------- 1. Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    padding: 128px 0 2.5rem;
    background: var(--green);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/leaf-shadow.webp") no-repeat right top / 100% auto;
    opacity: 0.8;
    pointer-events: none;
        mix-blend-mode: multiply;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
}

.hero__media img {
    width: 100%;
    aspect-ratio: 2000 / 1200;
    object-fit: cover;
}

.hero__cta {
    padding: 1.75rem var(--pad) 0;
}

.hero__tag {
    margin: 0 0 1.5rem;
    font-size: clamp(1.25rem, 5vw, 1.8rem);
    line-height: 1.4;
    letter-spacing: 0.03em;
}

.btn-explore {
    display: inline-block;
    padding: 0.85rem 2rem;
    color: var(--orange);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    border: 2px solid rgba(248, 240, 232, 0.9);
    border-radius: 16px;
    background: linear-gradient(
        180deg,
        rgba(248, 240, 232, 0.65) 0%,
        rgba(248, 240, 232, 0.22) 14%,
        rgba(38, 51, 22, 0.35) 30%,
        rgba(38, 51, 22, 0.35) 70%,
        rgba(248, 240, 232, 0.18) 86%,
        rgba(248, 240, 232, 0.52) 100%
    );
    box-shadow:
        inset 0 8px 14px -6px rgba(248, 240, 232, 0.45),
        inset 0 -8px 14px -6px rgba(248, 240, 232, 0.35),
        0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-explore:hover,
.btn-explore:focus-visible {
    color: var(--white);
    border-color: var(--cream);
    background: linear-gradient(
        180deg,
        rgba(248, 240, 232, 0.72) 0%,
        rgba(219, 123, 68, 0.35) 22%,
        rgba(219, 123, 68, 0.4) 78%,
        rgba(248, 240, 232, 0.58) 100%
    );
    transform: translateY(-1px);
}

.btn-explore:focus-visible {
    outline: 2px solid var(--cream);
    outline-offset: 3px;
}

.stats {
        width: 80%;
    margin: auto;
}

.stat {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    color: var(--orange);
}

.stat+.stat {
    border-top: 1px solid #fff3e1;
}

.stat__icon {
    flex: 0 0 auto;
    width: 3.8rem;
    height: auto;
}

.stat__text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.stat__num {
    font-size: 2.7rem;
    line-height: 1.05;
    font-weight: 600;
}

.stat__pre {
    font-size: 0.86rem;
    text-transform: uppercase;
}

.stat__cap {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

/* "From 3,293 sqft" is set much smaller than the other captions in the design */
.stat__cap--sm {
    margin-top: 0.35em;
    font-size: 0.55rem;
}

@media (max-width: 991.98px) {
    .stats {
        width: auto;
        margin: 1.75rem var(--pad) 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .stat {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        gap: 0.65rem;
        padding: 1.35rem 0.75rem;
    }

    .stat+.stat {
        border-top: 0;
    }

    .stat:nth-child(odd) {
        border-right: 1px solid #fff3e1;
    }

    .stat:nth-child(n+3) {
        border-top: 1px solid #fff3e1;
    }

    .stat__icon {
        width: auto;
        height: 2.75rem;
        object-fit: contain;
    }

    .stat__text {
        align-items: center;
        line-height: 1.3;
    }

    .stat__num {
        font-size: clamp(1.55rem, 6.2vw, 2.2rem);
        margin: 0.1rem 0;
    }

    .stat__pre {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        color: #fff3e1;
    }

    .stat__cap {
        font-size: 0.75rem;
        letter-spacing: 0.02em;
    }

    .stat__cap--sm {
        margin-top: 0.2rem;
        font-size: 0.7rem;
    }
}

/* ---------- 2. Masterplan ---------- */
.mp-sec {
    padding: 2.5rem 0 3rem;
}

.mp {
    position: relative;
    container-type: inline-size;
    border: 1px solid var(--gold);
    background: #fbf8f0;
}

.mp>img {
    width: 100%;
    aspect-ratio: 2400 / 1408;
}

.mp__outline {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mp__outline polygon {
    fill: none;
    stroke: #ea7535;
    stroke-width: 2px;
    vector-effect: non-scaling-stroke;
}

/* callouts on the plan itself (tablet and up) */
.mp__tag {
    display: none;
}

.mp-notes {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mp-note {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    font-size: 1rem;
    line-height: 1.5;
}

.mp-note--res {
    background: var(--tan);
    color: var(--green);
}

.mp-note--amb {
    background: var(--green);
    color: var(--white);
    border: 1px solid var(--gold);
}

.mp-note .serif {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}

/* ---------- 3. Commercial ---------- */
.com {
    padding: 2rem 0 3rem;
}

.com__label {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #f1e8d6;
}

.com__label i,
.gallery__head i {
    flex: 1;
    height: 1px;
    background: rgba(241, 232, 214, 0.7);
}

.com__grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
}

.com__text {
    padding: 0 0 2rem;
    
}

.com__text h2 {
    margin: 0 0 1.75rem;
    font-size: clamp(2.1rem, 9vw, 3.4rem);
    line-height: 1.15;
    color: var(--orange);
}

.com__text p {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 300;
    max-inline-size: 41ch;
    color: #f6e5d2;
}

.com__photo img {
    width: 100%;
    aspect-ratio: 2120 / 1724;
    object-fit: cover;
}

.hl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 2.5rem 0 0;
    padding: 0;
}

.hl__item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 0;
}

.hl__item+.hl__item {
    border-top: 1px solid #fcab49;
}

.hl__item img {
    flex: 0 0 auto;
       width: 9ch;
    height: 5ch;
    object-fit: contain;

}

.hl__item>div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    color: #f6e5d2;
}

/* first item: the big "13" sits beside "Commercial units", the small line runs underneath (as in the design) */
.hl__item--count>div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.6rem;
    align-items: center;
}

.hl__item--count small {
    grid-column: 1 / -1;
}

.hl__big {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1;
}

.hl__title {
    font-size: 0.95rem;
    
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.025em;

}

.hl__item small {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.35;
}

/* ---------- 4. Location map: gradient carries on into the register block ---------- */
.loc {
    padding: 3rem 0 3.5rem;
    background: linear-gradient(180deg,
            #263316 0%,
            #263316 27%,
            #404324 53%,
            #8e714b 77.5%,
            #a77d53 85%,
            #c48452 95.5%,
            #d76c25 100%);
}

.loc__frame {
    border: 1px solid var(--gold);
}

.loc__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.loc__scroll img {
    width: 100%;
    min-width: 760px;
    aspect-ratio: 2400 / 1955;
}

.loc__hint {
    margin: 0;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--tan);
    background: rgba(0, 0, 0, 0.25);
}

.loc__title {
    margin: 3rem 0 1rem;
    text-align: center;
    font-size: clamp(2rem, 8vw, 4.4rem);
    line-height: 1.2;
    color: #fdf6ec;
}

.loc__sub {
    margin: 0 auto;
    max-width: 82rem;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 300;
}

/* ---------- 5. Register + sales gallery ---------- */
.reg {
    background: var(--reg);
    padding-bottom: 3rem;
}

.reg__grid {
    display: grid;
    grid-template-columns: 1fr;
}

.reg__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.reg__form {
    order: -1;
    padding: 2.5rem 0 0;
    text-align: center;
}

.reg__media {
    order: 3;
    margin-top: 2rem;
}

.reg h2 {
 font-size: 3rem;
    line-height: 1;
    color: var(--white);
    max-inline-size: 16ch;
    margin: auto;
    margin-bottom: 1rem;
}
#frmLeadGen input[type=email],
#frmLeadGen input[type=tel],
#frmLeadGen input[type=text] {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: .7rem;
    display: block;
    width: 100%;
    max-width: 32rem;
    background-color: #fff;
    padding-top: .35rem;
    padding-bottom: .35rem;
    padding-left: 1.1rem;
    font-size: .9rem;
    line-height: 1.5rem;
    --tw-text-opacity: 1;
    color: #af5633;
    border-radius: 0;
    text-align: left;
    font-weight: 400;
    border: 0;
}
#frmLeadGen select {
     margin-left: auto;
    margin-right: auto;
    margin-bottom: .7rem;
    display: block;
    width: 100%;
    max-width: 32rem;
   padding-top: .35rem;
    padding-bottom: .35rem;
    padding-left: 1.1rem;
    font-size: .9rem;
    line-height: 1.5rem;
    color: #af5633;
    outline: 0;
    border: 0;
    appearance: none;
    border-bottom: 1px solid #fff;
    background-image: url(https://imagedelivery.net/TdjZsXzzZt_je48pBzV3SA/d9eedda7-87dd-4ec4-9a4d-a6e1412abe00/400);
    background-position: right center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-origin: content-box;
    background-clip: initial;
    background-size: 16px;
    text-align: left;
        height: fit-content;
}
#frmLeadGen input[type=email]::placeholder,
#frmLeadGen input[type=tel]::placeholder,
#frmLeadGen input[type=text]::placeholder {
    color: #af5633;
    text-align: left;
    font-weight: 400;
}

label.checkbox-label {
    font-size: .678rem;
    max-width: 32rem;
    line-height: 1.5;
    color: #fff;
    margin: auto;
    display: block;
}

.submit-btn {
    color: #af5633;
    background: #fff;
    display: flex;
    align-items: center;
    margin: auto;
    padding: 15px 50px;
    line-height: .8;
    font-style: normal;
    border: 0;
    font-size: 1.1rem;
      font-family: Arial;
    font-weight: 400;
}
.reg__lead {
    margin: auto;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 300;
    width: fit-content;
}

.reg__fields {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    max-width: 35rem;
    margin: 0 auto;
}

select.field {
    background-image: linear-gradient(45deg, transparent 50%, #8a4a22 50%), linear-gradient(135deg, #8a4a22 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}

.field::placeholder {
    color: #b3683a;
    opacity: 1;
}

.field:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 1px;
}

.field--gap {
    margin-top: 0.6rem;
}

.rcaptcha-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.25rem;
}

#rcaptcha-warning {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.reg__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.5rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
    text-align: left;
}

.reg__consent input {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
}

.reg__consent a {
    color: var(--white);
    text-decoration: underline;
}

.reg__submit {
    padding: 1.5rem 0 0;
    text-align: center;
}

.submit-btn {
    min-width: 11rem;
    height: 3rem;
    color: var(--reg);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    background: var(--cream);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.submit-btn:hover,
.submit-btn:focus-visible {
    color: var(--white);
    background: var(--green);
}

.gallery {
    margin: 3.5rem 0 0;
}

.gallery__head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.gallery__head h2 {
    margin: 0;
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 0.06em;
}

.gallery__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.gallery address {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.gallery__addr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2rem;
}

.gallery__icons {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.gallery__icons img {
    height: 2.4rem;
    width: auto;
}

.gallery__tel {
    display: block;
    color: var(--white);
    font-size: clamp(1.8rem, 6vw, 2.7rem);
    letter-spacing: 0.06em;
    text-decoration: none;
}

.gallery__contact p {
    margin: 0.25rem 0 0;
    font-size: 1.05rem;
}

/* ---------- Desktop (callouts sit on the plan from 992 px; below that they show as cards) ---------- */
@media (min-width: 992px) {
    .mp__tag {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 1.9cqw;
        font-size: 1.65cqw;
        line-height: 1.5;
        border-radius: 1.6cqw;
        box-shadow: 0 0.6cqw 1.8cqw rgba(0, 0, 0, 0.2);
    }

    .mp__tag::after {
        content: "";
        position: absolute;
        background: inherit;
    }

    .mp__tag--res {
        left: 8.6%;
        top: 24.9%;
        width: 20.3%;
        height: 22%;
        color: var(--green);
        background: var(--tan);
    }

    .mp__tag--res::after {
        right: 0;
        bottom: -30%;
        width: 12%;
        height: 30%;
        clip-path: polygon(0 0, 100% 0, 100% 100%);
    }

    .mp__tag--amb {
        left: 63.6%;
        top: 64.4%;
        width: 28%;
        height: 26%;
        color: var(--white);
        background: var(--green);
        padding: 0 2.4cqw;
    }

    .mp__tag--amb::after {
        left: 15%;
        top: -36%;
        width: 14%;
        height: 36%;
        clip-path: polygon(0 0, 100% 100%, 0 100%);
    }

    .mp__tag--amb .serif {
        font-size: 3.4cqw;
        margin-bottom: 0.7cqw;
    }

    .mp-notes {
        display: none;
    }

    .mp__outline polygon {
        stroke-width: 3px;
    }

    .loc__hint {
        display: none;
    }

    .br-md {
        display: inline;
    }
}

@media (min-width: 992px) {
    .br-lg {
        display: inline;
    }

    .hero {
        padding: 128px 0 3rem;
    }

    .hero__grid {
        grid-template-columns: 61.4% 1fr;
        grid-template-rows: auto auto;
    }

    .hero__media {
        grid-column: 1;
        grid-row: 1;
    }

    .hero__cta {
        grid-column: span 12;
        /* grid-row: 2; */
        display: flex;
        align-items: center;
        /* justify-content: space-between; */
        gap: 2rem;
        padding: 4.6rem 0 0 calc(4.5 * var(--u));
        margin: auto;
    }

    .hero__tag {
                margin: 0;
        font-size: 1.4rem;
        letter-spacing: 0.03em;
        color: #fff3e1;

    }

    .btn-explore {
        flex: 0 0 auto;
        font-size: clamp(0.9rem, calc(1.08 * var(--u)), 1.25rem);
        padding: 1.35rem 2.5rem;
    }

    .stats {
    }

    .stat {
        gap: calc(3.8 * var(--u));
    }

    .stat:first-child {
        padding-top: 0;
    }

    .stat__icon {
        width: calc(4.7 * var(--u));
    }

    .stat__num {
        font-size: calc(2.62 * var(--u));
    }

    .stat__pre,
    .stat__cap {
        font-size: calc(0.89 * var(--u));
    }

    .stat__cap--sm {
      font-size: 0.8rem;
        line-height: 0.5;
    }

    /* design: the text of the last two rows sits a few px to the right of the big figure */
    .stat:nth-child(n+3) .stat__pre,
    .stat:nth-child(n+3) .stat__cap {
        margin-left: calc(0.2 * var(--u));
    }

    .mp-sec {
        padding: 3.5rem 0 4.5rem;
    }

    .com {
        padding: 4rem 0 4rem;
    }

    .com__grid {
        grid-template-columns: 44.8% 1fr;
        align-items: stretch;
        margin-top: 0;
    }

    .com__text {
        padding: calc(3.5 * var(--q)) 3rem 0 0;
    }

    .com__text h2 {
        margin-bottom: calc(5 * var(--q));
        font-size: clamp(2.2rem, calc(4.4 * var(--q)), 4.4rem);
    }

    .com__text p {
        font-size: clamp(1rem, calc(1.15 * var(--q)), 1.3rem);
    }

    .com__photo img {
        height: auto;
        aspect-ratio: 2120 / 1724;
    }

    .hl {
        grid-template-columns: 335fr 357fr 355fr 273fr;
        margin: 3.5rem 0 0;
    }

    .hl__item {
        padding: 1.5rem calc(1.75 * var(--q)) 1.5rem calc(2.5 * var(--q));
        gap: calc(1.4 * var(--q));
    }

    .hl__item:first-child {
        padding-left: calc(1.8 * var(--q));
    }

    .hl__item+.hl__item {
        border-top: 0;
        border-left: 1px solid #fcab49;
    }

    .hl__item+.hl__item {
        border-left-width: 2px;
    }

    /* icon widths follow the design (each icon keeps its own size) */
    .hl__item img {
        width: max(2.75rem, calc(4.58 * var(--q)));
    }

    .hl__item:nth-child(2) img {
        width: max(3.2rem, calc(5.42 * var(--q)));
    }

    .hl__item:nth-child(3) img {
        width: max(3.5rem, calc(5.94 * var(--q)));
    }

    .hl__item:nth-child(4) img {
        width: max(2.8rem, calc(4.69 * var(--q)));
    }

    .hl__item--count>div {
        column-gap: calc(0.7 * var(--q));
    }

    .hl__big {
        font-size: max(1.6rem, calc(2.57 * var(--q)));
    }

    .hl__title {
        font-size: max(0.8rem, calc(0.97 * var(--q)));
    }

    .hl__item small {
        font-size: max(0.7rem, calc(0.72 * var(--q)));
    }

    .loc {
        padding: 4rem 0 4.5rem;
    }

    .loc__scroll img {
        min-width: 0;
    }

    .loc__title {
        margin-top: 5rem;
        font-size: clamp(2rem, calc(3.7 * var(--q)), 4rem);
    }

    .loc__sub {
        font-size: clamp(1rem, calc(1.15 * var(--q)), 1.3rem);
    }

    .reg__grid {
        grid-template-columns: 51.1% 1fr;
        grid-template-rows: auto auto;
        align-items: start;
    }

    .reg__media {
        grid-column: 1;
        grid-row: 1;
        order: 0;
        margin-top: 0;
    }

    .reg__media img {
        aspect-ratio: 982 / 890;
    }

    .reg__form {
    }

   

    .reg__lead {
        font-size: clamp(1rem, calc(1.15 * var(--q)), 1.3rem);
    }

    .reg__consent {
        padding: 1.25rem 0 0;
        font-size: clamp(0.8rem, calc(0.8 * var(--q)), 0.95rem);
    }

    .reg__submit {
        padding: 1.25rem 0 0;
    }

    .gallery {
        margin: 11.5rem 0 0;
    }

    .gallery__head h2 {
        font-size: clamp(1.6rem, calc(2.5 * var(--q)), 2.6rem);
    }

    .gallery__body {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .gallery__contact {
        text-align: right;
    }

    .gallery__tel {
        font-size: clamp(1.8rem, calc(2.7 * var(--q)), 2.8rem);
    }

}

@media (min-width: 1025px) {
    .hero {
        padding-top: 124px;
    }
}
@media (max-width: 600px) {

.hero__tag {
    text-align: center;
}
.btn-explore {
    margin: auto;
    display: block;
    width: fit-content;
    font-size: 3.4vw;
}
.hero__tag {
    font-size: 4vw;
}
.com__text h2 {
    font-size: 8vw;
}
.com__text p {
        font-size: 3.5vw;
}
.com__label
 {
          font-size: 3vw;
        letter-spacing: 0.07em;

 }
 .hl__title, .loc__sub, .reg__lead ,.loc__sub{
    font-size: 3.4vw;
 }
 .hl__big, .loc__title, .reg h2 {
    font-size: 9vw;
    line-height: 1;
 }
 h2.salesg {
    font-size: 5vw;
    line-height: 1.3;

 }
 .hl__item small {
    font-size: 3.3vw;
 }
 #frmLeadGen input[type=email], #frmLeadGen input[type=tel], #frmLeadGen input[type=text],#frmLeadGen select {
    font-size: 3.5vw;
 }
 .gallery address {
    font-size: 3.4vw;
 }
 .gallery__tel {
        font-size: 6vw;
        letter-spacing: 0.01em;
 }
 .hero__grid:after { opacity: 0.3;}
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
