/* ============================================
   Centre D Elle — Brand Styles
   Color Palette: Deep Navy (#1a3a5c) + Warm Gold (#C9A84C)
   Fonts: Cormorant Garamond (headings) + Montserrat (body)
============================================ */

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

:root {
    --navy: #1a3a5c;
    --navy-dark: #0f2540;
    --navy-light: #2a5078;
    --gold: #C9A84C;
    --gold-light: #d4b96a;
    --gold-dark: #b8943f;
    --cream: #f8f6f1;
    --cream-dark: #efece5;
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.35);
}

.btn--navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn--navy:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,58,92,0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn--sm {
    padding: 10px 24px;
    font-size: 0.8rem;
}

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

/* ---------- Section Header ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

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

.section-line {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 2px;
    background: var(--gray-200);
    border-radius: 2px;
    margin: 0 auto;
}

.section-line__fill {
    width: 40px;
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    animation: lineFill 0.8s ease forwards;
}

@keyframes lineFill {
    from { width: 0; }
    to { width: 40px; }
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(26, 58, 92, 0.97);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav__logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.nav__logo-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--gold);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(10, 20, 35, 0.82) 0%,
        rgba(26, 58, 92, 0.65) 50%,
        rgba(15, 37, 64, 0.78) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    max-width: 780px;
}

.hero__container {
    width: 100%;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero__headline {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}

.hero__sub {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 560px;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    animation: bounce 2s infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ---------- Services ---------- */
.services {
    padding: 120px 0;
    background: var(--cream);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 50%;
    color: var(--gold);
}

.service-card__title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: var(--white);
    overflow: hidden;
}

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

.about__images {
    position: relative;
}

.about__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about__img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about__img-secondary img {
    width: 220px;
    height: 280px;
    object-fit: cover;
}

.about__accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--gold);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.3;
}

.about__eyebrow {
    margin-bottom: 12px;
}

.about__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
}

.about__line {
    margin: 0 0 32px 0;
    justify-content: flex-start;
}

.about__text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}

.stat__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 120px 0 80px;
    background: var(--cream);
}

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

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,20,35,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery__item-overlay span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.gallery__item--wide {
    grid-column: span 7;
}

.gallery__item:not(.gallery__item--wide) {
    grid-column: span 5;
}

.gallery__item:nth-child(2) {
    grid-column: 8 / span 5;
    grid-row: 1 / span 1;
}

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

.gallery__item:nth-child(4) {
    grid-column: 6 / span 6;
    grid-row: 2;
}

.gallery__item:nth-child(5) {
    grid-column: span 7;
    grid-row: 2;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials .section-eyebrow {
    color: var(--gold);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-line {
    background: rgba(255,255,255,0.15);
}

.testimonials .section-line__fill {
    background: var(--gold);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.testimonial-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-card__text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

.contact__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
}

.contact__line {
    margin: 0 0 32px 0;
    justify-content: flex-start;
}

.contact__text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
    color: var(--gold);
}

.contact-detail__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-detail__value {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.contact-detail__link {
    color: var(--navy);
    font-weight: 500;
}

.contact-detail__link:hover {
    color: var(--gold);
}

.contact__form-wrap {
    position: relative;
}

.contact__form-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
}

.contact__form-title {
    font-size: 1.6rem;
    margin-bottom: 32px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' 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 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success__icon {
    margin: 0 auto 20px;
    color: var(--navy);
}

.form-success__title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success__text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ---------- Map ---------- */
.map {
    position: relative;
}

.map iframe {
    display: block;
    width: 100%;
    filter: grayscale(30%) contrast(1.05);
}

.map__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.map__info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    pointer-events: all;
    max-width: 380px;
}

.map__info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.map__info-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--navy-dark);
    padding: 80px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer__logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.footer__logo-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer__tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 280px;
}

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

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

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition), padding-left var(--transition);
}

.footer__links a:hover {
    color: var(--white);
    padding-left: 6px;
}

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

.footer__contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__contact a {
    color: rgba(255,255,255,0.6);
}

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

.footer__contact svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    gap: 16px;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer__bottom-note {
    font-size: 0.75rem !important;
    font-style: italic;
}

/* ---------- Mobile Menu ---------- */
.nav__menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 20, 35, 0.97);
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav__menu.active.open {
    opacity: 1;
    visibility: visible;
}

.nav__menu.active .nav__link {
    font-size: 1.1rem;
    color: var(--white);
}

.nav__menu.active .nav__link--cta {
    font-size: 1rem;
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__grid {
        gap: 60px;
    }

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

    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

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

    .gallery__item--wide {
        grid-column: span 6;
    }

    .gallery__item:not(.gallery__item--wide) {
        grid-column: span 6;
    }

    .gallery__item:nth-child(2) {
        grid-column: 1 / span 6;
        grid-row: auto;
    }

    .gallery__item:nth-child(3) {
        grid-column: 1 / span 6;
    }

    .gallery__item:nth-child(4) {
        grid-column: 1 / span 6;
    }

    .gallery__item:nth-child(5) {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: block;
        z-index: 1001;
    }

    .nav__menu {
        display: flex;
    }

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

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

    .hero__actions {
        justify-content: center;
    }

    .hero__scroll {
        display: none;
    }

    .services__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .about__img-secondary {
        right: -10px;
        bottom: -20px;
    }

    .about__img-secondary img {
        width: 160px;
        height: 200px;
    }

    .about__stats {
        justify-content: center;
        gap: 24px;
    }

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

    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact__form-card {
        padding: 32px 24px;
    }

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

    .gallery__item--wide,
    .gallery__item:not(.gallery__item--wide) {
        grid-column: span 1;
    }

    .gallery__item img {
        height: 250px;
    }

    .map__info-card {
        margin: 0 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .services, .about, .gallery, .testimonials, .contact {
        padding: 80px 0;
    }
}

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

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

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

    .stat-divider {
        width: 48px;
        height: 1px;
    }
}
