/* ============================================
   Underground Enterprises Inc. — Styles
   Classic & Elegant | Teal + Slate Grey
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Raleway', 'Segoe UI', system-ui, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: #fefefe;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.25;
    color: var(--slate-900);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 540px;
    line-height: 1.75;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    white-space: nowrap;
}

.btn--primary {
    background: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}

.btn--primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.btn--ghost {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn--ghost:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
    transform: translateY(-2px);
}

.btn--light {
    background: #ffffff;
    color: var(--teal-800);
    border-color: #ffffff;
}

.btn--light:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn--teal {
    background: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}

.btn--teal:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
}

.btn--sm {
    padding: 10px 22px;
    font-size: 0.8125rem;
}

.btn--full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 254, 254, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s var(--ease-smooth);
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--slate-900);
}

.nav__logo-icon {
    color: var(--teal-700);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color 0.25s;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal-600);
    transition: width 0.3s var(--ease-smooth);
}

.nav__links a:hover {
    color: var(--teal-700);
}

.nav__links a::after:hover {
    width: 100%;
}

.nav__cta {
    background: var(--teal-700);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
}

.nav__cta::after {
    display: none;
}

.nav__cta:hover {
    background: var(--teal-800);
    color: #ffffff !important;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav__overlay {
    display: none;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--slate-50) 0%, #f0fdfa 50%, var(--slate-50) 100%);
}

.hero__split {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 20px;
}

.hero__headline {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 24px;
    font-style: italic;
}

.hero__headline em {
    font-style: normal;
    color: var(--teal-700);
}

.hero__subhead {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-600);
}

.hero__trust-item svg {
    color: var(--teal-600);
}

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-accent {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.hero__badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--slate-900);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.hero__badge svg {
    color: var(--teal-400);
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: #ffffff;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 36px 28px;
    transition: all 0.35s var(--ease-smooth);
}

.service-card:hover {
    background: #ffffff;
    border-color: var(--teal-200);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(13, 148, 136, 0.08);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
    margin-bottom: 20px;
    transition: all 0.35s var(--ease-smooth);
}

.service-card:hover .service-card__icon {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: #ffffff;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--slate-900);
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 100%);
}

.about__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__image {
    position: relative;
}

.about__image img {
    border-radius: 8px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-frame {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--teal-200);
    border-radius: 8px;
    z-index: -1;
}

.about__content .section-title {
    margin-bottom: 24px;
}

.about__text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about__values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about__value {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about__value-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal-300);
    line-height: 1;
    min-width: 32px;
}

.about__value-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.about__value-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.65;
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    background: #ffffff;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery__item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

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

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.35s var(--ease-smooth);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
}

.gallery__item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 2; }
.gallery__item:nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 2; }
.gallery__item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery__item:nth-child(4) { grid-column: 1 / 5; grid-row: 2 / 3; }
.gallery__item:nth-child(5) { grid-column: 5 / 13; grid-row: 2 / 3; }

/* --- CTA Banner --- */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--teal-950) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner__inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 16px;
}

.cta-banner__title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.25;
}

.cta-banner__text {
    font-size: 1.05rem;
    color: var(--slate-400);
    margin-bottom: 36px;
    line-height: 1.75;
}

.cta-banner__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Visit --- */
.visit {
    padding: 100px 0;
    background: var(--slate-50);
}

.visit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.visit__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.visit__card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 28px 24px;
    transition: all 0.3s var(--ease-smooth);
}

.visit__card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.06);
}

.visit__card-icon {
    color: var(--teal-600);
    margin-bottom: 12px;
}

.visit__card h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--slate-900);
}

.visit__card p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.65;
}

.visit__card a {
    color: var(--teal-600);
    transition: color 0.2s;
}

.visit__card a:hover {
    color: var(--teal-800);
}

.visit__map {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    overflow: hidden;
    min-height: 360px;
}

.visit__map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    text-align: center;
    padding: 40px;
    gap: 16px;
}

.visit__map-placeholder svg {
    color: var(--teal-500);
}

.visit__map-placeholder p {
    font-size: 0.9375rem;
    color: var(--slate-500);
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

.contact__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__text {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-700);
    transition: color 0.2s;
}

.contact__method:hover {
    color: var(--teal-700);
}

.contact__method svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

.contact__form-wrapper {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 40px;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-700);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: #ffffff;
    border: 1.5px solid var(--slate-200);
    border-radius: 6px;
    padding: 12px 16px;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.contact__success.active {
    display: flex;
}

.contact__success svg {
    color: var(--teal-600);
}

.contact__success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--slate-900);
}

.contact__success p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 64px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--slate-800);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer__logo svg {
    color: var(--teal-400);
}

.footer__tagline {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.footer__links h5,
.footer__contact h5 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 16px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 0.9375rem;
    color: var(--slate-500);
    transition: color 0.2s;
}

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

.footer__contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer__contact a {
    color: var(--slate-500);
    transition: color 0.2s;
}

.footer__contact a:hover {
    color: var(--teal-400);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: var(--slate-600);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .service-card:hover {
        transform: none;
    }
    .btn:hover {
        transform: none;
    }
    .gallery__item:hover img {
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero__split {
        gap: 40px;
    }

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

    .about__split {
        gap: 40px;
    }

    .gallery__item:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 2; }
    .gallery__item:nth-child(2) { grid-column: 7 / 10; grid-row: 1 / 2; }
    .gallery__item:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 2; }
    .gallery__item:nth-child(4) { grid-column: 1 / 6; grid-row: 2 / 3; }
    .gallery__item:nth-child(5) { grid-column: 6 / 13; grid-row: 2 / 3; }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(254, 254, 254, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-smooth);
        z-index: 999;
    }

    .nav__links.open {
        transform: translateX(0);
    }

    .nav__toggle {
        display: flex;
    }

    .nav__overlay {
        display: block;
        position: fixed;
        inset: 0;
        top: 72px;
        background: rgba(0, 0, 0, 0.3);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .nav__overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero__split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__headline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero__image {
        order: -1;
    }

    .hero__image-wrapper {
        max-height: 400px;
    }

    .hero__badge {
        position: relative;
        bottom: auto;
        left: auto;
        display: inline-flex;
        margin-top: 16px;
    }

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

    .about__split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image-frame {
        top: -10px;
        right: -10px;
    }

    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery__item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
    .gallery__item:nth-child(2) { grid-column: 1 / 2; grid-row: auto; }
    .gallery__item:nth-child(3) { grid-column: 2 / 3; grid-row: auto; }
    .gallery__item:nth-child(4) { grid-column: 1 / 2; grid-row: auto; }
    .gallery__item:nth-child(5) { grid-column: 2 / 3; grid-row: auto; }

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

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

    .contact__split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact__form-wrapper {
        padding: 28px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav__inner {
        padding: 0 16px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__trust {
        flex-direction: column;
        gap: 12px;
    }

    .cta-banner__actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-banner__actions .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .gallery__item:nth-child(1),
    .gallery__item:nth-child(2),
    .gallery__item:nth-child(3),
    .gallery__item:nth-child(4),
    .gallery__item:nth-child(5) {
        grid-column: 1 / -1;
    }
}
