/* ============================================
   JEN ROSE HAIR STUDIO — Styles
   Charcoal + Coral | Editorial / Bold
   ============================================ */

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

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --charcoal-mid: #3a3a3a;
    --coral: #e8645a;
    --coral-light: #f0786e;
    --coral-dark: #c94e44;
    --cream: #faf8f6;
    --cream-dark: #f2ede8;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #f5f0eb;
    --text-muted: #6b6b6b;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 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-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

em {
    font-style: italic;
}

/* ---------- Section Shared ---------- */
.section {
    padding: 120px 0;
}

.section__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--charcoal);
    margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 100, 90, 0.35);
}

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

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

.btn--outline-light {
    background: transparent;
    color: var(--charcoal);
    border-color: rgba(26, 26, 26, 0.2);
}

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

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

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

.btn--large {
    padding: 18px 40px;
    font-size: 1rem;
}

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

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

.nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-serif);
    color: var(--white);
    text-decoration: none;
}

.nav__logo-icon {
    font-size: 1.2rem;
    color: var(--coral);
}

.nav__logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav__logo-sub {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-left: 2px;
}

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

.nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav__cta {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--coral);
    padding: 10px 24px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav__cta:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.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);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu__link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

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

.mobile-menu__cta {
    margin-top: 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--coral);
    padding: 16px 40px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-menu__cta:hover {
    background: var(--coral-dark);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: 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;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.7) 0%,
        rgba(26, 26, 26, 0.55) 50%,
        rgba(26, 26, 26, 0.8) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
    text-align: center;
}

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

.hero__title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero__title em {
    color: var(--coral-light);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 300;
}

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

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Services ---------- */
.services {
    background: var(--cream);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-card__img {
    overflow: hidden;
    aspect-ratio: 3/2;
}

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

.service-card:hover .service-card__img img {
    transform: scale(1.05);
}

.service-card__body {
    padding: 28px 24px;
}

.service-card__title {
    font-size: 1.375rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

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

/* ---------- About ---------- */
.about {
    background: var(--charcoal);
    color: var(--white);
}

.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;
    aspect-ratio: 4/5;
}

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

.about__img-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 6px solid var(--charcoal);
    aspect-ratio: 4/5;
}

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

.about__badge {
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--coral);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: var(--radius);
}

.about__content .section__title {
    color: var(--white);
    margin-bottom: 24px;
}

.about__p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    gap: 48px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--coral);
    margin-bottom: 4px;
}

.stat__label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.stat--divider {
    padding-left: 48px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Gallery ---------- */
.gallery {
    background: var(--cream-dark);
}

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

.gallery__item {
    border-radius: var(--radius-lg);
    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.04);
}

.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 / 4; grid-row: 2 / 3; }
.gallery__item:nth-child(5) { grid-column: 4 / 8; grid-row: 2 / 3; }
.gallery__item:nth-child(6) { grid-column: 8 / 13; grid-row: 2 / 3; }

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--coral);
}

.testimonial-card__text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.testimonial-card__author {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ---------- CTA ---------- */
.cta {
    background: var(--charcoal);
    padding: 120px 0;
}

.cta__inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta__eyebrow {
    color: var(--coral);
}

.cta__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta__title em {
    color: var(--coral-light);
}

.cta__text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

/* ---------- Contact ---------- */
.contact {
    background: var(--cream);
}

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

.contact__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal);
    margin-bottom: 40px;
}

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

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

.contact__icon {
    width: 52px;
    height: 52px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact__value {
    display: block;
    font-size: 1.0625rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.contact__link {
    display: block;
    font-size: 1.0625rem;
    color: var(--coral);
    transition: var(--transition);
}

.contact__link:hover {
    color: var(--coral-dark);
    text-decoration: underline;
}

/* Contact Form */
.contact__form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact__form-title {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 28px;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0dbd6;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form__input:focus {
    border-color: var(--coral);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(232, 100, 90, 0.1);
}

.form__input::placeholder {
    color: #b0a89e;
}

.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='%236b6b6b' 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;
}

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

.form__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    background: #f0fdf4;
    border-radius: var(--radius);
    margin-top: 16px;
}

.form__success svg {
    color: #22c55e;
}

.form__success p {
    font-size: 0.9375rem;
    color: #166534;
}

/* ---------- Map ---------- */
.map-section {
    background: var(--charcoal);
}

.map-section iframe {
    filter: grayscale(0.3) contrast(1.05);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer__logo-icon {
    font-size: 1.25rem;
    color: var(--coral);
}

.footer__logo-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 600;
}

.footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

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

.footer__links ul,
.footer__contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

.footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer__contact-list a {
    transition: var(--transition);
}

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

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

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

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

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        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: 48px;
    }

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

    .testimonials__grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__title {
        font-size: clamp(2rem, 9vw, 3.2rem);
    }

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

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

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

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

    .about__img-accent {
        right: -16px;
        bottom: -24px;
    }

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

    .stat--divider {
        padding-left: 0;
        border-left: none;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .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; }
    .gallery__item:nth-child(6) { grid-column: 1 / 3; grid-row: auto; }

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

    .testimonials__grid .testimonial-card:last-child {
        max-width: 100%;
    }

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

    .cta__actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .contact__form-wrap {
        padding: 28px;
    }

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

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

    .section {
        padding: 64px 0;
    }

    .hero__actions {
        gap: 12px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8125rem;
    }

    .btn--large {
        padding: 14px 28px;
    }

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

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