:root {
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --color-bg: #FAFAF8;
    --color-surface: #F3F1ED;
    --color-text: #1C1917;
    --color-text-muted: #78716C;
    --color-accent: #B8945F;
    --color-accent-hover: #A6834E;
    --color-border: rgba(28, 25, 23, 0.08);
    --color-dark: #141211;
    --color-dark-surface: #1C1917;
    --color-white: #FFFFFF;
    --color-white-muted: rgba(255, 255, 255, 0.65);

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.04);
    --shadow-md: 0 4px 16px rgba(28, 25, 23, 0.06);
    --shadow-lg: 0 8px 32px rgba(28, 25, 23, 0.08);

    --header-height: 72px;
    --transition-fast: 180ms ease;
    --transition-base: 220ms ease;
    --transition-slow: 400ms ease;
}


/* ─── Reset & Base ──────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select,
textarea {
    font: inherit;
}

ul,
ol {
    list-style: none;
}


/* ─── Typography ────────────────────────────────────────────── */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw + 0.5rem, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.4rem); }

p {
    max-width: 640px;
}

p + p {
    margin-top: var(--space-md);
}


/* ─── Layout ────────────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section__title {
    margin-bottom: var(--space-md);
}

.section__subtitle {
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.section__header--light .section__label,
.section__label--light {
    color: var(--color-accent);
}

.section__header--light .section__title,
.section__title--light {
    color: var(--color-white);
}


/* ─── Buttons ───────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    transition: background-color var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast),
                transform var(--transition-fast);
    white-space: nowrap;
    min-height: 44px;
}

.btn:active {
    transform: scale(0.97);
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 1px solid var(--color-accent);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.btn--secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn--ghost {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 0.9375rem;
}


/* ─── Header ────────────────────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    transition: background-color var(--transition-base),
                box-shadow var(--transition-base);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
    flex: 1;
}

.header__logo img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header.scrolled .header__logo-text {
    color: var(--color-text);
}

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

.header__nav {
    display: none;
}

.header__cta {
    display: none;
}

.header__menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 5px;
    z-index: 110;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 1px;
    transition: transform var(--transition-base),
                opacity var(--transition-base),
                background-color var(--transition-base);
}

.site-header.scrolled .hamburger-line {
    background-color: var(--color-text);
}

.header__menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.header__menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header.scrolled {
    background-color: var(--color-bg);
    box-shadow: var(--shadow-sm);
}

.site-header .nav-link {
    color: var(--color-white);
    transition: color var(--transition-fast);
}

.site-header.scrolled .nav-link {
    color: var(--color-text);
}

.site-header.scrolled .nav-link:hover {
    color: var(--color-accent);
}


/* ─── Mobile Menu ───────────────────────────────────────────── */

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    z-index: 90;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-base),
                opacity var(--transition-base),
                visibility var(--transition-base);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-xs);
}

.mobile-menu__link {
    display: block;
    padding: var(--space-md) var(--space-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.mobile-menu__link:hover {
    background-color: var(--color-surface);
}

.mobile-menu__cta {
    margin-top: var(--space-md);
    text-align: center;
}


/* ─── Hero ──────────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 18, 17, 0.55) 0%,
        rgba(20, 18, 17, 0.7) 50%,
        rgba(20, 18, 17, 0.8) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 10;
    padding-top: var(--header-height);
    padding-bottom: var(--space-3xl);
}

.hero__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.hero__text {
    text-align: left;
}

.hero__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid rgba(184, 148, 95, 0.35);
    border-radius: var(--radius-full);
}

.hero__title {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.hero__subtitle {
    color: var(--color-white-muted);
    max-width: 500px;
    margin-bottom: var(--space-xl);
    font-size: clamp(0.9375rem, 0.5vw + 0.8rem, 1.0625rem);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space-lg);
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-white-muted);
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

.hero__trust-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}


/* ─── Hero Contact Card ─────────────────────────────────────── */

.hero__card {
    width: 100%;
}

.hero-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.hero-card__title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.hero-card__subtitle {
    color: var(--color-white-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: none;
}

.hero-card__divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: var(--space-lg) 0;
}

.hero-card__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-white-muted);
    font-size: 0.875rem;
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast);
    word-break: break-word;
}

a.hero-card__item:hover {
    color: var(--color-accent);
}

.hero-card__item svg {
    flex-shrink: 0;
    color: var(--color-accent);
    opacity: 0.85;
}

.hero-card__btn {
    width: 100%;
    margin-top: var(--space-lg);
}


/* ─── Hero — mobile (below tablet split) ─────────────────────── */

@media (max-width: 767px) {
    /* Pad the section for the fixed header; center the block in the remaining viewport */
    .hero {
        align-items: center;
        justify-content: center;
        min-height: 100dvh;
        padding-top: var(--header-height);
        padding-bottom: var(--space-lg);
    }

    .hero__content {
        width: 100%;
        padding-top: 0;
        padding-bottom: var(--space-2xl);
    }

    .hero__grid {
        gap: var(--space-xl);
        align-items: center;
    }

    .hero__text {
        text-align: center;
        width: 100%;
    }

    .hero__label {
        margin-bottom: var(--space-md);
        font-size: 0.6875rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .hero__title {
        font-size: clamp(1.625rem, 6.5vw + 0.35rem, 2.25rem);
        margin-bottom: var(--space-md);
        max-width: none;
        line-height: 1.18;
    }

    .hero__subtitle {
        margin-bottom: var(--space-lg);
        font-size: 0.9375rem;
        max-width: none;
    }

    .hero__actions {
        align-items: center;
        width: 100%;
        margin-bottom: var(--space-lg);
    }

    .hero__trust {
        justify-content: center;
        gap: var(--space-md) var(--space-lg);
    }

    .hero__trust-item {
        font-size: 0.75rem;
    }

    .hero__card {
        display: none;
    }
}


/* ─── Cards ─────────────────────────────────────────────────── */

.card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: box-shadow var(--transition-base),
                transform var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: rgba(184, 148, 95, 0.1);
    color: var(--color-accent);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.card__title {
    margin-bottom: var(--space-sm);
}

.card__text {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}


/* ─── Carousel ──────────────────────────────────────────────── */

.carousel__track {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--space-lg));
    padding: var(--space-xs) var(--space-lg);
    scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
    display: none;
}

.carousel__item {
    flex: 0 0 84vw;
    scroll-snap-align: start;
}

.carousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
}

.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: var(--color-border);
    cursor: pointer;
    padding: 0;
    transition: background-color var(--transition-fast),
                transform var(--transition-fast);
}

.carousel__dot:hover {
    background-color: var(--color-text-muted);
}

.carousel__dot.active {
    background-color: var(--color-accent);
    transform: scale(1.25);
}


/* ─── Services Section ──────────────────────────────────────── */

.section--services {
    background-color: var(--color-bg);
}


/* ─── About Section ─────────────────────────────────────────── */

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

.about__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.about__image {
    order: -1;
}

.about__content .section__label {
    text-align: left;
}

.about__content .section__title {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.about__content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.about__content .btn {
    margin-top: var(--space-lg);
}

.about__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about__image--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: var(--space-3xl);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.about__image--logo img {
    width: auto;
    max-width: min(100%, 320px);
    height: auto;
    max-height: 240px;
    object-fit: contain;
    border-radius: 0;
}


/* ─── Gallery / Work Section ────────────────────────────────── */

.section--work {
    background-color: var(--color-bg);
}

.gallery-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}


/* ─── Contact Section ───────────────────────────────────────── */

.section--contact {
    background-color: var(--color-dark);
}

.contact__intro {
    color: var(--color-white-muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto var(--space-2xl);
}

.contact__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
    padding: var(--space-xl) var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    transition: background-color var(--transition-fast),
                border-color var(--transition-fast),
                transform var(--transition-fast);
}

a.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(184, 148, 95, 0.3);
    transform: translateY(-2px);
}

.contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(184, 148, 95, 0.12);
    border-radius: var(--radius-lg);
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.contact-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white-muted);
}

.contact-card__value {
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 500;
    word-break: break-word;
}

.contact__lower {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.contact__social-block {
    text-align: center;
}

.contact__social-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.contact__social {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.contact__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white-muted);
    transition: color var(--transition-fast),
                border-color var(--transition-fast),
                background-color var(--transition-fast);
}

.contact__social-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background-color: rgba(184, 148, 95, 0.08);
}

.contact__form-card {
    padding: var(--space-xl) var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
}

.contact__form-card-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.125rem;
    margin: 0 0 var(--space-lg);
    text-align: center;
}


/* ─── Form ──────────────────────────────────────────────────── */

.contact__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form__row {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-white-muted);
    letter-spacing: 0.02em;
}

.form__input {
    width: 100%;
    padding: 14px var(--space-md);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: 0.9375rem;
    transition: border-color var(--transition-fast),
                background-color var(--transition-fast);
    min-height: 48px;
}

.form__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.09);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: var(--space-2xl);
}

.form__select option {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__submit {
    align-self: flex-start;
    width: 100%;
}


/* ─── Footer ────────────────────────────────────────────────── */

.site-footer {
    background-color: var(--color-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.footer__brand {
    max-width: 22rem;
}

.footer__brand-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer__logo {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.footer__name {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.footer__tagline {
    color: var(--color-white-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: var(--space-sm);
}

.footer__desc {
    color: var(--color-white-muted);
    font-size: 0.875rem;
    line-height: 1.65;
    margin-top: var(--space-md);
    max-width: 26rem;
}

.footer__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.footer__col-title {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: var(--space-md);
}

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer__list a {
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 450;
    transition: color var(--transition-fast);
}

.footer__list a:hover {
    color: var(--color-accent);
}

.footer__list--contact a,
.footer__list--contact .footer__detail {
    word-break: break-word;
}

.footer__list--contact .footer__detail {
    color: var(--color-white-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.footer__bottom {
    padding-top: var(--space-xl);
    text-align: center;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8125rem;
    max-width: none;
}

@media (max-width: 767px) {
    .footer__grid {
        text-align: center;
        justify-items: center;
    }

    .footer__brand {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__brand-row {
        justify-content: center;
    }

    .footer__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer__cols {
        justify-items: center;
    }

    .footer__list {
        align-items: center;
    }
}

@media (min-width: 600px) {
    .footer__cols {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl) var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .footer__grid {
        grid-template-columns: minmax(240px, 1.35fr) repeat(3, 1fr);
        gap: var(--space-3xl);
        align-items: start;
        padding-bottom: var(--space-3xl);
    }

    .footer__brand {
        max-width: none;
        padding-right: var(--space-md);
    }

    .footer__cols {
        display: contents;
    }
}


/* ─── Reveal Animation ──────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ─── Tablet (768px+) ───────────────────────────────────────── */

@media (min-width: 768px) {

    .section {
        padding: var(--space-4xl) 0;
    }

    .hero__actions {
        flex-direction: row;
    }

    .hero__grid {
        flex-direction: row;
        align-items: center;
        gap: var(--space-3xl);
    }

    .hero__text {
        flex: 1 1 0%;
    }

    .hero__card {
        flex: 0 0 340px;
    }

    .form__row {
        flex-direction: row;
    }

    .form__row .form__group {
        flex: 1;
    }

    .form__submit {
        width: auto;
    }

    /* Carousels → 2-column grid on tablet */
    .carousel__track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        scroll-snap-type: none;
        margin: 0;
        padding: 0;
    }

    .carousel__item {
        flex: none;
        width: 100%;
    }

    .carousel__dots {
        display: none;
    }

    .about__grid {
        flex-direction: row;
        align-items: center;
        gap: var(--space-3xl);
    }

    .about__content {
        flex: 1;
    }

    .about__image {
        flex: 1;
        order: 0;
    }

    .about__image img {
        height: 480px;
    }

    .about__image--logo {
        min-height: 480px;
    }

    .about__image--logo img {
        height: auto;
        max-width: min(100%, 360px);
        max-height: 280px;
    }

    .contact__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__lower {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-3xl);
    }

    .contact__social-block {
        flex-shrink: 0;
        text-align: left;
    }

    .contact__social {
        justify-content: flex-start;
    }

    .contact__form-card {
        flex: 1;
    }

    .contact__form-card-title {
        text-align: left;
    }
}


/* ─── Desktop (1024px+) ─────────────────────────────────────── */

@media (min-width: 1024px) {

    .section {
        padding: var(--space-5xl) 0;
    }

    .section__header {
        margin-bottom: var(--space-3xl);
    }

    .header__logo {
        flex: 0 1 auto;
    }

    .header__nav {
        display: flex;
        align-items: center;
        gap: var(--space-xl);
    }

    .nav-link {
        font-size: 0.875rem;
        font-weight: 450;
        letter-spacing: 0.01em;
        position: relative;
        padding: var(--space-sm) 0;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background-color: currentColor;
        transition: width var(--transition-base);
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .header__cta {
        display: inline-flex;
    }

    .header__menu-toggle {
        display: none;
    }

    .header__logo-text {
        display: none;
    }

    .hero__card {
        flex: 0 0 380px;
    }

    .hero-card {
        padding: var(--space-xl) var(--space-2xl);
    }

    /* Services → 4 columns */
    .section--services .carousel__track {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Gallery → 4 columns */
    .carousel--gallery .carousel__track {
        grid-template-columns: repeat(4, 1fr);
    }

    .about__image img {
        height: 520px;
    }

    .about__image--logo {
        min-height: 520px;
    }

    .about__image--logo img {
        max-width: min(100%, 400px);
        max-height: 320px;
    }

    .contact__cards {
        grid-template-columns: repeat(4, 1fr);
    }
}
