/* ===== Design tokens ===== */
:root {
    --c-bg:     #FAF3EC;
    --c-gold:   #D4A574;
    --c-gold-d: #8C6A3D;
    --c-pink:   #E8B4B8;
    --c-text:   #3D2817;
    --c-muted:  #7A6044;
    --c-white:  #FFFFFF;

    --s-1: 4px;
    --s-2: 8px;
    --s-3: 16px;
    --s-4: 24px;
    --s-5: 48px;
    --s-6: 96px;

    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1440px;

    --header-h: 72px;

    --ff-heading: 'Playfair Display', Georgia, serif;
    --ff-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ===== Modern reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    font-family: var(--ff-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--c-text);
}
h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
h3 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); }
h4 { font-size: 1.25rem; }
p  { color: var(--c-text); }
.muted { color: var(--c-muted); }
.eyebrow {
    font-family: var(--ff-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-gold-d);
}

/* ===== Layout helpers ===== */
.container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--s-3);
}
@media (min-width: 768px) {
    .container { padding-inline: var(--s-4); }
}
@media (min-width: 1024px) {
    .container { padding-inline: var(--s-5); }
}

.section {
    padding-block: var(--s-6);
    min-height: 80vh;
}
/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
}
@media (min-width: 480px) {
    .btn { padding: 14px 28px; }
}
.btn-primary {
    background: var(--c-gold);
    color: var(--c-text);
    box-shadow: 0 4px 14px rgba(212, 165, 116, 0.35);
}
.btn-primary:hover { background: var(--c-text); color: var(--c-white); transform: scale(1.02); }
.btn-ghost {
    background: transparent;
    color: var(--c-white);
    border: 2px solid var(--c-white);
}
.btn-ghost:hover { background: var(--c-white); color: var(--c-text); transform: scale(1.02); }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 243, 236, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(61, 40, 23, 0.06);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    height: var(--header-h);
}
.site-header__logo {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-text);
    letter-spacing: 0.01em;
}
.site-header__logo span { color: var(--c-gold-d); }

.site-nav {
    display: none;
}
.site-nav__list {
    display: flex;
    gap: var(--s-4);
    list-style: none;
    padding: 0;
}
.site-nav__link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-text);
    padding: var(--s-2) 0;
    transition: color 0.18s ease;
}
.site-nav__link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--c-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.site-nav__link:hover { color: var(--c-gold-d); }
.site-nav__link.is-active { color: var(--c-gold-d); }
.site-nav__link.is-active::after { transform: scaleX(1); }

.site-header__cta { display: none; }

/* Hamburger */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 8px;
}
.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--c-bg);
    padding: var(--s-5) var(--s-3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 40;
    overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__list {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    list-style: none;
    padding: 0;
    margin-bottom: var(--s-5);
}
.mobile-drawer__link {
    display: block;
    padding: var(--s-3) 0;
    font-family: var(--ff-heading);
    font-size: 1.75rem;
    color: var(--c-text);
    border-bottom: 1px solid rgba(61, 40, 23, 0.08);
}
.mobile-drawer__link.is-active { color: var(--c-gold-d); }
.mobile-drawer__cta { width: 100%; }

body.no-scroll { overflow: hidden; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--c-white);
    background-image: url('/assets/img/hero/hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(61, 40, 23, 0.4);
    z-index: -1;
}
.hero__inner {
    padding-block: var(--s-5);
    max-width: 800px;
}
.hero__eyebrow {
    color: var(--c-gold);
    opacity: 0;
    animation: fade-up 0.8s ease-out 0.2s forwards;
}
.hero h1 {
    color: var(--c-white);
    margin-top: var(--s-3);
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
    opacity: 0;
    animation: fade-up 0.8s ease-out 0.4s forwards;
}
.hero__subtitle {
    margin-top: var(--s-3);
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    margin-inline: auto;
    opacity: 0;
    animation: fade-up 0.8s ease-out 0.6s forwards;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    justify-content: center;
    margin-top: var(--s-5);
    opacity: 0;
    animation: fade-up 0.8s ease-out 0.8s forwards;
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== About ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
    align-items: center;
}
.about__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(61, 40, 23, 0.15);
}
.about__text > * + * { margin-top: var(--s-3); }
.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-2);
    margin-top: var(--s-5);
    padding-top: var(--s-4);
    border-top: 1px solid rgba(61, 40, 23, 0.1);
}
@media (min-width: 480px) {
    .about__stats { gap: var(--s-3); }
}
.about__stat-number {
    font-family: var(--ff-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--c-gold-d);
    line-height: 1;
}
.about__stat-label {
    margin-top: var(--s-2);
    font-size: 0.875rem;
    color: var(--c-muted);
}

/* ===== Services ===== */
.services__intro {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: var(--s-5);
}
.services__intro > * + * { margin-top: var(--s-3); }
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-3);
}
.service-card {
    position: relative;
    background: var(--c-white);
    padding: var(--s-4);
    padding-top: calc(var(--s-4) + 4px);
    border-radius: 8px;
    border: 1px solid rgba(61, 40, 23, 0.06);
    box-shadow: 0 4px 14px rgba(61, 40, 23, 0.04);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-pink) 100%);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(61, 40, 23, 0.14),
                0 0 0 1px rgba(212, 165, 116, 0.25);
    border-color: rgba(212, 165, 116, 0.4);
}
.service-card__icon {
    width: 48px;
    height: 48px;
    color: var(--c-gold-d);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card:hover .service-card__icon {
    transform: rotate(-8deg) scale(1.08);
}
.service-card h3 { font-size: 1.375rem; }
.service-card p { color: var(--c-muted); }
.service-card__link {
    margin-top: auto;
    align-self: flex-start;
    font-weight: 500;
    color: var(--c-gold-d);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color 0.18s ease;
}
.service-card__link::after {
    content: ' →';
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-card__link {
    color: var(--c-text);
}
.service-card:hover .service-card__link::after {
    transform: translateX(6px);
}

.crm-banner {
    margin-top: var(--s-5);
    padding: var(--s-4);
    background: rgba(232, 180, 184, 0.18);
    border-left: 3px solid var(--c-pink);
    border-radius: 4px;
    color: var(--c-text);
    text-align: center;
    font-size: 0.95rem;
}
.crm-banner a {
    color: var(--c-gold-d);
    font-weight: 500;
    border-bottom: 1px solid currentColor;
}

/* ===== Gallery ===== */
.gallery__intro {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: var(--s-5);
}
.gallery__intro > * + * { margin-top: var(--s-3); }
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-2);
}
.gallery__item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    background: rgba(61, 40, 23, 0.05);
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(61, 40, 23, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.gallery__item-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%) scale(0.8);
    color: var(--c-white);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1;
    pointer-events: none;
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.05); }
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover .gallery__item-icon,
.gallery__item:focus-visible .gallery__item-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 6, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: var(--s-3);
    animation: fade-in 0.2s ease-out;
}
.lightbox.is-open { display: flex; }
.lightbox__image {
    max-width: calc(100vw - 2 * var(--s-3));
    /* dvh = dynamic viewport height — uwzględnia pasek adresu na mobile;
       odejmujemy zapas na przycisk X (góra) i licznik (dół). */
    max-height: calc(100dvh - 128px);
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox__btn {
    position: absolute;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--c-white);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
    transition: background-color 0.18s ease, transform 0.18s ease;
}
.lightbox__btn:hover { background: rgba(0, 0, 0, 0.6); transform: scale(1.05); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: var(--s-3); right: var(--s-3); }
.lightbox__prev  { left: var(--s-3); top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: var(--s-3); top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__counter {
    position: absolute;
    bottom: var(--s-3);
    left: 50%;
    transform: translateX(-50%);
    color: var(--c-white);
    font-size: 0.875rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 14px;
    border-radius: 999px;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ===== Testimonials ===== */
#testimonials {
    background: linear-gradient(180deg, var(--c-bg) 0%, rgba(232, 180, 184, 0.15) 100%);
}
.testimonials__intro {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: var(--s-5);
}
.testimonials__intro > * + * { margin-top: var(--s-3); }

.testimonials__slider {
    position: relative;
    max-width: 720px;
    margin-inline: auto;
    overflow: hidden;
}
.testimonials__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial {
    flex: 0 0 100%;
    padding: var(--s-4);
    text-align: center;
}
.testimonial__stars {
    color: var(--c-gold);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    margin-bottom: var(--s-3);
}
.testimonial__quote {
    font-family: var(--ff-heading);
    font-size: clamp(1.125rem, 2vw + 0.5rem, 1.5rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--c-text);
    margin-bottom: var(--s-4);
}
.testimonial__author {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-2);
}
.testimonial__avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-pink) 100%);
    color: var(--c-white);
    display: grid;
    place-items: center;
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    font-weight: 600;
}
.testimonial__name {
    font-weight: 500;
    color: var(--c-text);
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: var(--s-2);
    margin-top: var(--s-4);
}
.testimonials__dot {
    width: 24px;
    height: 24px;
    padding: 7px;
    background: transparent;
    background-clip: content-box;
    border: 0;
    cursor: pointer;
    position: relative;
}
.testimonials__dot::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(61, 40, 23, 0.2);
    transition: background-color 0.18s ease, transform 0.18s ease;
}
.testimonials__dot.is-active::after {
    background: var(--c-gold-d);
    transform: scale(1.3);
}

/* ===== Contact ===== */
.contact__intro {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: var(--s-5);
}
.contact__intro > * + * { margin-top: var(--s-3); }

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
    align-items: start;
}

.contact__info { display: flex; flex-direction: column; gap: var(--s-4); }
.contact__block > * + * { margin-top: var(--s-2); }
.contact__heading {
    font-family: var(--ff-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-gold-d);
}
.contact__address { font-style: normal; line-height: 1.7; }
.contact__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
}
.contact__list a { border-bottom: 1px solid transparent; transition: border-color 0.18s ease; }
.contact__list a:hover { border-bottom-color: var(--c-gold-d); }
.contact__hours li {
    display: flex;
    justify-content: space-between;
    gap: var(--s-3);
    color: var(--c-text);
}
.contact__hours span:last-child { color: var(--c-muted); }
.contact__cta { align-self: flex-start; margin-top: var(--s-2); }

/* ===== Form ===== */
.contact__form {
    background: var(--c-white);
    padding: var(--s-4);
    border-radius: 8px;
    border: 1px solid rgba(61, 40, 23, 0.08);
    box-shadow: 0 4px 14px rgba(61, 40, 23, 0.04);
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}
.form__field { display: flex; flex-direction: column; gap: var(--s-1); }
.form__field label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-text);
}
.form__field input,
.form__field select,
.form__field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(61, 40, 23, 0.18);
    border-radius: 6px;
    background: var(--c-white);
    color: var(--c-text);
    font: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__field select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%238B7355' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
    outline: 0;
    border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}
.form__field.has-error input,
.form__field.has-error select,
.form__field.has-error textarea {
    border-color: #C0392B;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.field-error {
    display: none;
    font-size: 0.8125rem;
    color: #C0392B;
}
.form__field.has-error .field-error { display: block; }

.form__field--check {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--s-2);
    flex-wrap: wrap;
}
.form__field--check input { width: auto; margin-top: 4px; flex-shrink: 0; }
.form__field--check label {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--c-muted);
    line-height: 1.5;
    cursor: pointer;
}
.form__field--check .field-error { flex-basis: 100%; }
.form__submit { align-self: flex-start; margin-top: var(--s-2); }

.contact__success {
    background: var(--c-white);
    padding: var(--s-5) var(--s-4);
    border-radius: 8px;
    border: 1px solid rgba(61, 40, 23, 0.08);
    box-shadow: 0 4px 14px rgba(61, 40, 23, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-3);
}
.contact__success[hidden] { display: none; }
.contact__success-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(212, 165, 116, 0.18);
    color: var(--c-gold-d);
}
.contact__success-icon svg { width: 32px; height: 32px; }
.contact__success p { color: var(--c-muted); max-width: 360px; }

/* ===== Map ===== */
.contact__map {
    margin-top: var(--s-5);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(61, 40, 23, 0.08);
    filter: saturate(0.85);
}
.contact__map iframe { display: block; }

/* ===== Scroll reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }

/* Stagger animation for service cards inside a grid */
.services__grid .service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .service-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.services__grid .service-card.reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Footer ===== */
.site-footer {
    background: var(--c-text);
    color: var(--c-bg);
    padding-block: var(--s-5) var(--s-4);
}
.site-footer h4 {
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    margin-bottom: var(--s-3);
    color: var(--c-white);
}
.site-footer a { color: var(--c-bg); transition: color 0.18s ease; }
.site-footer a:hover { color: var(--c-gold); }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
    margin-bottom: var(--s-5);
}
.site-footer__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.site-footer__social { display: flex; gap: var(--s-3); margin-top: var(--s-3); }
.site-footer__social-item {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(250, 243, 236, 0.3);
    border-radius: 999px;
}
.site-footer__bottom {
    border-top: 1px solid rgba(250, 243, 236, 0.15);
    padding-top: var(--s-3);
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    align-items: center;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(250, 243, 236, 0.7);
}

/* ===== Focus states ===== */
:focus-visible {
    outline: 2px solid var(--c-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== Custom cursor — magnolia petal ===== */
.cursor-petal {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    margin-top: -12px;
    pointer-events: none;
    z-index: 9999;
    will-change: transform, opacity;
    transition: opacity 0.25s ease;
}
.cursor-petal svg {
    overflow: visible;
    filter: drop-shadow(0 1px 2px rgba(61, 40, 23, 0.18));
    transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
    transform-origin: center;
}
.cursor-petal__petals ellipse {
    fill: var(--c-gold);
    opacity: 0.85;
    transition: fill 0.2s ease, opacity 0.2s ease;
}
.cursor-petal__center {
    fill: var(--c-pink);
    transition: fill 0.2s ease;
}
.cursor-petal.is-hover svg { transform: scale(1.45); }
.cursor-petal.is-hover .cursor-petal__petals ellipse {
    fill: var(--c-gold-d);
    opacity: 1;
}
.cursor-petal.is-hover .cursor-petal__center { fill: var(--c-white); }
.cursor-petal.is-click svg { transform: scale(0.82); }
.cursor-petal.is-hidden { opacity: 0; }

html.has-custom-cursor,
html.has-custom-cursor * {
    cursor: none !important;
}
/* On touch/reduced-motion the script bails — class is never added, native cursor remains. */

/* ===== Responsive ===== */
@media (min-width: 768px) {
    .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
    .services__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
    .about__grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-6); }
    .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
    .contact__grid { grid-template-columns: 1fr 1.2fr; gap: var(--s-6); }
}

@media (min-width: 1024px) {
    .site-nav { display: block; }
    .site-header__cta { display: inline-flex; padding: 10px 22px; font-size: 0.9rem; }
    .nav-toggle { display: none; }
    .mobile-drawer { display: none; }
    .gallery__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
