/* ============================================
   Salon 235 — Styles
   Palette: Plum (#6B3A5D) + Amber (#C8963E)
   Fonts: Playfair Display + Lato
   ============================================ */

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

:root {
    --plum-900: #3D1F35;
    --plum-800: #4E2844;
    --plum-700: #6B3A5D;
    --plum-600: #7D4A6E;
    --plum-500: #8F5A7E;
    --plum-100: #F2E4EC;
    --plum-50:  #FBF6F8;

    --amber-700: #9A7230;
    --amber-600: #B08540;
    --amber-500: #C8963E;
    --amber-400: #D4A85A;
    --amber-300: #E0BE7A;
    --amber-100: #FBF5E6;

    --cream: #FDF9F5;
    --cream-dark: #F5EDE4;
    --charcoal: #1E1E1E;
    --dark-text: #2A2028;
    --body-text: #4A3F47;
    --muted-text: #7A6E76;
    --border: #E8DDE4;
    --white: #FFFFFF;

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

    --shadow-sm: 0 1px 3px rgba(107, 58, 93, 0.06);
    --shadow-md: 0 4px 20px rgba(107, 58, 93, 0.08);
    --shadow-lg: 0 12px 40px rgba(107, 58, 93, 0.12);
    --shadow-xl: 0 20px 60px rgba(107, 58, 93, 0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --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(--body-text);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--amber-600);
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum-700);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
}

.skip-link:focus {
    top: 16px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.03em;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-amber {
    background: var(--amber-500);
    color: var(--charcoal);
    border-color: var(--amber-500);
}

.btn-amber:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-plum:hover {
    background: var(--plum-600);
    border-color: var(--plum-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-outline-plum:hover {
    background: var(--plum-700);
    color: var(--white);
}

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

/* ============================================
   SECTION HEADERS
   ============================================ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--muted-text);
    line-height: 1.7;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 249, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(253, 249, 245, 0.97);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-text);
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-700);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--plum-700);
    border-radius: 50%;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

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

.primary-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--body-text);
    position: relative;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--amber-500);
    transition: width var(--transition);
}

.primary-nav a:hover {
    color: var(--plum-700);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger::before {
    transform: translateY(-6px);
}

.hamburger::after {
    transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--plum-900);
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(61, 31, 53, 0.88) 0%,
        rgba(107, 58, 93, 0.75) 50%,
        rgba(45, 20, 40, 0.90) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--amber-400);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-700), var(--amber-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--plum-700);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
}

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

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--cream);
    overflow: hidden;
}

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

.about-image-wrapper {
    position: relative;
}

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

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 6px solid var(--cream);
    box-shadow: var(--shadow-lg);
}

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

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--plum-700);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge .badge-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
}

.about-badge .badge-text {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.about-content .section-eyebrow {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-content > p {
    color: var(--body-text);
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    color: var(--dark-text);
}

.value-item svg {
    width: 22px;
    height: 22px;
    color: var(--amber-500);
    flex-shrink: 0;
}

.about-content .btn {
    margin-top: 8px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    background: var(--white);
    padding-bottom: 0;
}

.gallery .container {
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
    padding: 0 0 100px;
    margin: 0 -24px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 31, 53, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

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

.gallery-item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 2; }
.gallery-item:nth-child(2) { grid-column: 5 / 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 / 9; grid-row: 2 / 3; }
.gallery-item:nth-child(6) { grid-column: 9 / 13; grid-row: 2 / 3; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--plum-900);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 150, 62, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

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

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

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

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

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

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: var(--amber-400);
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--amber-400);
    letter-spacing: 0.04em;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

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

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(61, 31, 53, 0.92) 0%, rgba(107, 58, 93, 0.85) 100%);
}

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

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info .section-eyebrow {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-description {
    color: var(--muted-text);
    margin-bottom: 36px;
    font-size: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--plum-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--plum-700);
}

.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-text);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--dark-text);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--plum-700);
}

.contact-item a:hover {
    color: var(--amber-600);
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-form-wrapper {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--muted-text);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--dark-text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-700);
    box-shadow: 0 0 0 3px rgba(107, 58, 93, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-text);
    opacity: 0.7;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6E76' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    background: var(--plum-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--plum-700);
}

.form-success p {
    color: var(--dark-text);
    font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    padding: 64px 24px 48px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .logo-mark {
    border-color: var(--amber-500);
    color: var(--amber-400);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.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: 1;
        transform: none;
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal[data-reveal="left"] {
        transform: translateX(-24px);
    }

    .reveal[data-reveal="right"] {
        transform: translateX(24px);
    }
}

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .nav-toggle {
        display: block;
        z-index: 101;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        border-left: 1px solid var(--border);
        padding: 100px 32px 40px;
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-xl);
    }

    .primary-nav.open {
        transform: translateX(0);
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .primary-nav a {
        font-size: 1.0625rem;
    }

    .primary-nav .btn {
        margin-top: 8px;
    }

    .hero-content {
        padding: 140px 24px 100px;
    }

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

    .about-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-content .section-eyebrow,
    .about-content .section-title {
        text-align: center;
    }

    .about-content > p {
        text-align: center;
    }

    .about-values {
        align-items: center;
    }

    .about-content .btn {
        display: inline-flex;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 220px);
        margin: 0 -16px;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }

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

    .contact-info .section-eyebrow,
    .contact-info .section-title {
        text-align: center;
    }

    .contact-description {
        text-align: center;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

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

    .contact-form-wrapper {
        padding: 24px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 240px);
    }

    .gallery-item:nth-child(n) {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}
