/* ==========================================================================
   Colors — landing page
   ========================================================================== */

:root {
    --bg: #faf8f5;
    --surface: #ffffff;
    --sand: #f2ede5;
    --ink: #14161a;
    --ink-soft: #3b4048;
    --muted: #6b7079;
    --line: #e7e1d8;
    --teal: #1f6274;
    --teal-soft: #e3eef0;
    --whatsapp: #25d366;
    --brand-gradient: linear-gradient(90deg, #e5322d 0%, #f4b400 30%, #2fb36a 62%, #2c4fa8 100%);
    --radius-lg: 28px;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow: 0 24px 60px -20px rgba(20, 22, 26, .25);
    --shadow-sm: 0 12px 30px -14px rgba(20, 22, 26, .18);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --container: 1200px;
    --header-h: 76px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid rgba(31, 98, 116, .45);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: min(var(--container), 100% - 2.5rem);
    margin-inline: auto;
}

/* Typography ------------------------------------------------------------ */

h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 0 0 .6em;
}

h1 {
    font-size: clamp(2.7rem, 6vw, 4.9rem);
    letter-spacing: -.035em;
    line-height: 1.02;
}

h2 {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
}

h3 {
    font-size: 1.15rem;
    letter-spacing: -.01em;
}

p {
    margin: 0 0 1rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.1rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-gradient);
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--muted);
    line-height: 1.7;
}

.section {
    padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

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

.section__head {
    max-width: 660px;
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.section__head .lead {
    margin: 0;
}

/* Logo ------------------------------------------------------------------ */

.logo {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: .1em;
    font-size: 25px;
    line-height: 1;
    color: var(--ink);
}

.logo__mark {
    width: auto;
    height: .86em;
}

.logo__name {
    font-weight: 600;
    letter-spacing: .24em;
    margin-right: -.24em;
}

.logo__tag {
    grid-column: 1 / -1;
    margin-top: .42em;
    font-size: .29em;
    font-weight: 700;
    letter-spacing: .5em;
    margin-right: -.5em;
    text-align: center;
    text-transform: uppercase;
    color: var(--muted);
}

/* Buttons --------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .95rem 1.55rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1;
    white-space: nowrap;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn--dark {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 14px 30px -12px rgba(20, 22, 26, .55);
}

.btn--dark:hover {
    background: #000;
}

.btn--outline {
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink);
}

.btn--outline:hover {
    border-color: var(--ink);
}

.btn--whatsapp {
    background: var(--whatsapp);
    color: #04311a;
}

.btn--whatsapp:hover {
    background: #1fc35c;
}

.btn--light {
    background: #fff;
    color: var(--ink);
}

.btn--light:hover {
    background: var(--sand);
}

.btn--small {
    padding: .7rem 1.15rem;
    font-size: .88rem;
}

/* Header ---------------------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(250, 248, 245, .82);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(250, 248, 245, .94);
    border-color: var(--line);
    box-shadow: 0 10px 30px -20px rgba(20, 22, 26, .25);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav__links {
    display: flex;
    gap: .35rem;
    list-style: none;
    margin: 0;
    padding: .3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--line);
}

.nav__links a {
    display: block;
    padding: .5rem 1.05rem;
    border-radius: 999px;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: .93rem;
    transition: background .2s, color .2s;
}

.nav__links a:hover {
    color: var(--ink);
    background: var(--sand);
}

.nav__links a.is-active {
    color: #fff;
    background: var(--ink);
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    align-items: center;
    justify-content: center;
}

.nav__toggle svg {
    width: 22px;
    height: 22px;
}

.nav__toggle .icon-close,
.site-header.is-open .nav__toggle .icon-menu {
    display: none;
}

.site-header.is-open .nav__toggle .icon-close {
    display: block;
}

/* Hero ------------------------------------------------------------------ */

.hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3.5rem, 7vw, 6rem);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(520px 380px at 92% 12%, rgba(44, 79, 168, .08), transparent 70%),
        radial-gradient(420px 320px at 0% 35%, rgba(244, 180, 0, .09), transparent 70%);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.6rem;
    padding: .4rem .95rem .4rem .45rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
}

.hero__badge b {
    padding: .2rem .6rem;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero h1 .accent {
    position: relative;
    white-space: nowrap;
    z-index: 0;
}

.hero h1 .accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .04em;
    height: .14em;
    border-radius: 99px;
    background: var(--brand-gradient);
    z-index: -1;
}

.hero .lead {
    max-width: 520px;
    margin-bottom: 2.1rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.hero__brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.75rem;
    margin-top: 2.75rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
}

.hero__brands small {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero__brands span {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: #9a9fa6;
}

.hero__media {
    position: relative;
}

.hero__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .85rem 1.15rem .85rem .85rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    line-height: 1.3;
}

.float-card small {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.float-card strong {
    font-size: .98rem;
}

.float-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--teal-soft);
    color: var(--teal);
    flex-shrink: 0;
}

.float-card__icon svg {
    width: 20px;
    height: 20px;
}

.float-card--location {
    left: -1.75rem;
    bottom: 2rem;
}

/* What we offer --------------------------------------------------------- */

.offers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.offer {
    height: 100%;
    padding: 1.6rem 1.5rem 1.7rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.offer:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.offer__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.25rem;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--sand);
    color: var(--ink);
    transition: background .25s, color .25s;
}

.offer:hover .offer__icon {
    background: var(--ink);
    color: #fff;
}

.offer__icon svg {
    width: 24px;
    height: 24px;
}

.offer h3 {
    margin-bottom: .4rem;
}

.offer p {
    margin: 0;
    font-size: .93rem;
    color: var(--muted);
    line-height: 1.55;
}

/* About ----------------------------------------------------------------- */

.about {
    background: var(--surface);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.about__media {
    position: relative;
}

.about__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about__group {
    position: absolute;
    right: -1.25rem;
    bottom: 2.25rem;
    padding: 1rem 1.3rem;
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
    line-height: 1.3;
}

.about__group small {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.about__group strong {
    font-size: 1.1rem;
    letter-spacing: .02em;
}

.about__text p {
    color: var(--ink-soft);
}

.about__text p.lead {
    color: var(--ink);
    font-weight: 500;
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2.25rem 0 0;
    padding: 1.75rem 0 0;
    border-top: 1px solid var(--line);
}

.facts dt {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.facts dd {
    margin: .2rem 0 0;
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.45;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: clamp(3rem, 6vw, 4.5rem);
}

.pillar {
    padding: 1.9rem;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--line);
}

.pillar h3 {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.pillar h3::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-gradient);
}

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

/* Gallery --------------------------------------------------------------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: 1rem;
}

.gallery__item {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--sand);
    cursor: zoom-in;
}

.gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__item:nth-child(n + 6) {
    display: none;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item figcaption {
    position: absolute;
    left: .9rem;
    bottom: .9rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    font-size: .8rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}

.gallery__item:hover figcaption,
.gallery__item:focus-visible figcaption {
    opacity: 1;
    transform: none;
}

.gallery__item[data-more]::after {
    content: attr(data-more);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(20, 22, 26, .55);
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -.02em;
    transition: background .25s;
}

.gallery__item[data-more]:hover::after {
    background: rgba(20, 22, 26, .4);
}

.gallery__item[data-more] figcaption {
    display: none;
}

/* Call to action -------------------------------------------------------- */

.cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: clamp(2.25rem, 5vw, 4rem);
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #fff;
}

.cta::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 50%;
    width: 300px;
    height: 300px;
    transform: translateY(-50%);
    background: url("../img/logo-mark.png") no-repeat center / contain;
    opacity: .16;
    pointer-events: none;
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta h2 {
    margin-bottom: .5rem;
}

.cta p {
    margin: 0;
    max-width: 540px;
    color: rgba(255, 255, 255, .7);
    font-size: 1.05rem;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* Contact --------------------------------------------------------------- */

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.contact-list {
    display: grid;
    gap: .75rem;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--line);
    line-height: 1.35;
    transition: border-color .2s, transform .2s;
}

a.contact-item:hover {
    border-color: var(--ink);
    transform: translateX(4px);
}

.contact-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--teal-soft);
    color: var(--teal);
    flex-shrink: 0;
}

.contact-item--whatsapp .contact-item__icon {
    background: #dcf8e7;
    color: #129447;
}

.contact-item__icon svg {
    width: 20px;
    height: 20px;
}

.contact-item small {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-item span {
    font-weight: 700;
    word-break: break-word;
}

.socials {
    display: flex;
    gap: .55rem;
}

.socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.socials a:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    transform: translateY(-3px);
}

.socials svg {
    width: 18px;
    height: 18px;
}

.form-card {
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.form-card h3 {
    font-size: 1.4rem;
    margin-bottom: .3rem;
}

.form-card > p {
    color: var(--muted);
    margin-bottom: 1.75rem;
}

.field {
    display: grid;
    gap: .4rem;
    margin-bottom: 1rem;
}

.field label {
    font-size: .85rem;
    font-weight: 700;
}

.field label span {
    font-weight: 500;
    color: var(--muted);
}

.field input,
.field textarea {
    width: 100%;
    padding: .9rem 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    background: var(--bg);
    font: inherit;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    background: var(--surface);
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(31, 98, 116, .14);
}

.field--row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-card .btn {
    width: 100%;
    margin-top: .4rem;
}

.form-status {
    margin: 1rem 0 0;
    min-height: 1.5em;
    font-weight: 600;
    font-size: .95rem;
    text-align: center;
}

.form-status.is-ok {
    color: #188048;
}

.form-status.is-error {
    color: #c3302a;
}

.btn.is-busy {
    opacity: .65;
    pointer-events: none;
}

.visit-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.visit-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(20, 22, 26, 0) 35%, rgba(20, 22, 26, .85) 100%);
}

.visit-card div {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.visit-card h3 {
    font-size: 1.5rem;
    margin-bottom: .3rem;
}

.visit-card p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 3rem;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .93rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.footer__links a:hover {
    color: var(--ink);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: .86rem;
    color: var(--muted);
}

.footer__credit {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.footer__credit img {
    height: 22px;
    width: auto;
    transition: opacity .2s;
}

.footer__credit:hover img {
    opacity: .8;
}

/* Lightbox -------------------------------------------------------------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 1rem;
    background: rgba(12, 13, 15, .94);
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: min(1100px, 100%);
    max-height: 82vh;
    border-radius: 14px;
}

.lightbox__btn {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .2s, color .2s;
}

.lightbox__btn:hover {
    background: #fff;
    color: var(--ink);
}

.lightbox__btn svg {
    width: 22px;
    height: 22px;
}

.lightbox__close {
    top: 1rem;
    right: 1rem;
}

.lightbox__prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__caption {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}

body.is-locked {
    overflow: hidden;
}

/* Reveal on scroll (only when JS runs) ---------------------------------- */

.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.js .reveal[data-delay="1"] {
    transition-delay: .1s;
}

.js .reveal[data-delay="2"] {
    transition-delay: .2s;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1080px) {
    .offers {
        grid-template-columns: repeat(2, 1fr);
    }

    .float-card--location {
        left: 1rem;
    }

    .about__group {
        right: 1rem;
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 68px;
    }

    .nav__links {
        position: absolute;
        top: calc(100% + 8px);
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        gap: .2rem;
        padding: .5rem;
        border-radius: 20px;
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .site-header.is-open .nav__links {
        display: flex;
    }

    .nav__links a {
        padding: .85rem 1rem;
        border-radius: 12px;
        font-size: 1.02rem;
    }

    .nav__toggle {
        display: inline-flex;
    }

    .nav__cta .btn span {
        display: none;
    }

    .nav__cta .btn {
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .logo {
        font-size: 22px;
    }

    .hero__grid,
    .about__grid,
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .hero__photo {
        aspect-ratio: 4 / 3.4;
    }

    .about__photo {
        aspect-ratio: 4 / 3;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: .75rem;
    }

    .gallery__item figcaption {
        display: none;
    }

    .cta {
        grid-template-columns: 1fr;
    }

    .field--row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lightbox__prev,
    .lightbox__next {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .lightbox__caption {
        display: none;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(var(--container), 100% - 2rem);
    }

    .hero__actions .btn,
    .cta__actions .btn {
        flex: 1 1 100%;
    }

    .hero__brands {
        gap: .5rem 1.4rem;
        margin-top: 2.25rem;
    }

    .hero__brands small {
        flex-basis: 100%;
    }

    .hero__brands span {
        font-size: 1.05rem;
    }

    .offers {
        gap: .7rem;
    }

    .offer {
        padding: 1.2rem 1.1rem 1.3rem;
    }

    .offer__icon {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }

    .offer p {
        font-size: .86rem;
    }

    .facts {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .float-card--location {
        left: .75rem;
        bottom: .75rem;
    }
}

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

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
