/* ========================================
   Fournier's Barber Shop — Stylesheet
   Palette: Terracotta + Sand
   Fonts: Cormorant Garamond + Montserrat
======================================== */

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

:root {
    /* Terracotta palette */
    --terracotta-900: #5C2E1E;
    --terracotta-800: #7A3B26;
    --terracotta-700: #8B4530;
    --terracotta-600: #A0522D;
    --terracotta-500: #B85D38;
    --terracotta-400: #C47A56;
    --terracotta-300: #D4956E;
    --terracotta-200: #E8C4B0;
    --terracotta-100: #F2DDD3;
    --terracotta-50:  #FBF3EF;

    /* Sand palette */
    --sand-900:  #2C2420;
    --sand-800:  #3D322C;
    --sand-700:  #4E4038;
    --sand-600:  #6B5A50;
    --sand-500:  #8A7568;
    --sand-400:  #A89080;
    --sand-300:  #C4B0A0;
    --sand-200:  #DDD0C4;
    --sand-100:  #EDE5DC;
    --sand-50:   #F7F3EF;
    --sand-25:   #FBF9F7;

    /* Neutrals */
    --white: #FFFFFF;
    --black: #1A1410;
    --gray-800: #2D2620;
    --gray-700: #3D3530;
    --gray-600: #5A5048;
    --gray-500: #7A7068;
    --gray-400: #9A9088;
    --gray-300: #B8B0A8;
    --gray-200: #D8D0C8;
    --gray-100: #EDE8E4;
    --gray-50:  #F7F5F3;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --section-padding: clamp(4rem, 10vw, 8rem);
}

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

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

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

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

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(44, 36, 32, 0.08);
    background: rgba(251, 243, 239, 0.97);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--terracotta-700);
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    color: var(--terracotta-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.25s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta-500);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--terracotta-700);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    background: var(--terracotta-600);
    padding: 0.625rem 1.25rem;
    border-radius: 2px;
    letter-spacing: 0.03em;
    transition: background 0.25s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--terracotta-700);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    background: var(--sand-50);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, var(--terracotta-100) 0%, var(--terracotta-50) 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: 1.75rem;
}

.hero-eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--terracotta-500);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--sand-900);
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.hero-emphasis {
    font-style: italic;
    color: var(--terracotta-600);
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--terracotta-600);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--terracotta-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 93, 56, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--sand-800);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--terracotta-500);
    color: var(--terracotta-700);
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sand-900);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-top: 0.375rem;
}

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

/* Hero Images */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--terracotta-300);
    border-radius: 2px;
    z-index: -1;
}

.hero-image-secondary {
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 45%;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 16px 48px rgba(44, 36, 32, 0.15);
}

.hero-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gray-400), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--sand-900);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    color: var(--terracotta-600);
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* --- Services --- */
.services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.service-card {
    padding: 2.25rem;
    background: var(--sand-50);
    border: 1px solid var(--gray-100);
    border-radius: 2px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--terracotta-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(44, 36, 32, 0.08);
    border-color: var(--terracotta-200);
}

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

.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    color: var(--terracotta-600);
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: var(--terracotta-600);
    border-color: var(--terracotta-600);
    color: var(--white);
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--sand-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-card-desc {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--gray-600);
}

/* --- About --- */
.about {
    padding: var(--section-padding) 0;
    background: var(--sand-50);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

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

.about-image-main {
    overflow: hidden;
    border-radius: 2px;
}

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

.about-image-small {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 55%;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 16px 48px rgba(44, 36, 32, 0.12);
    border: 4px solid var(--sand-50);
}

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

.about-image-accent-box {
    position: absolute;
    top: -20px;
    right: -10px;
    background: var(--terracotta-600);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: 2px;
    text-align: center;
}

.accent-box-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
}

.accent-box-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.about-text-col {
    padding-left: 1rem;
}

.about-divider {
    width: 60px;
    height: 2px;
    background: var(--terracotta-500);
    margin-bottom: 2rem;
}

.about-body {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.about-value-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--terracotta-600);
    flex-shrink: 0;
}

.about-value span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--sand-800);
}

/* --- Gallery --- */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

.gallery-item--large {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item--tall {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--tall) {
    grid-column: span 6;
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 20, 16, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.gallery-item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
    font-style: italic;
}

/* --- Testimonial --- */
.testimonial {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: var(--terracotta-700);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
}

.testimonial::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 50%;
}

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

.testimonial-quote-mark {
    color: var(--terracotta-300);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 2rem;
}

.testimonial-location {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta-300);
}

/* --- Contact --- */
.contact {
    padding: var(--section-padding) 0;
    background: var(--sand-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    margin-bottom: 3rem;
}

.contact-divider {
    width: 60px;
    height: 2px;
    background: var(--terracotta-500);
    margin-bottom: 2rem;
}

.contact-intro {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.contact-detail-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta-600);
}

.contact-detail-value {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--sand-800);
}

.contact-detail-link {
    font-size: 1.0625rem;
    color: var(--sand-800);
    transition: color 0.25s ease;
}

.contact-detail-link:hover {
    color: var(--terracotta-600);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-col {
    background: var(--white);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 2px;
    border: 1px solid var(--gray-100);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sand-900);
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

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

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--sand-900);
    background: var(--sand-50);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

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

.form-input:focus {
    border-color: var(--terracotta-500);
    box-shadow: 0 0 0 3px rgba(184, 93, 56, 0.1);
}

.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='%237A7068' 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 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

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

.form-success {
    text-align: center;
    padding: 2rem 1rem;
}

.form-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--terracotta-500);
    border-radius: 50%;
    color: var(--terracotta-600);
}

.form-success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sand-900);
    margin-bottom: 0.5rem;
}

.form-success-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Map */
.contact-map {
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.contact-map iframe {
    filter: grayscale(40%) contrast(1.05);
}

/* --- Footer --- */
.footer {
    background: var(--sand-900);
    color: var(--sand-300);
    padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--sand-400);
    max-width: 280px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-link {
    font-size: 0.875rem;
    color: var(--sand-400);
    transition: color 0.25s ease;
}

.footer-nav-link:hover {
    color: var(--terracotta-300);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-phone,
.footer-email {
    font-size: 0.9375rem;
    color: var(--sand-300);
    transition: color 0.25s ease;
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--terracotta-300);
}

.footer-address {
    font-size: 0.875rem;
    color: var(--sand-500);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(1.25rem, 3vw, 2rem) 0;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--sand-500);
}

.footer-credit {
    font-size: 0.8125rem;
    color: var(--sand-600);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero::before {
        width: 100%;
        opacity: 0.3;
        clip-path: none;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-text-col {
        padding-left: 0;
    }

    .about-image-col {
        max-width: 500px;
        margin: 0 auto;
    }

    .gallery-item--large {
        grid-column: span 12;
        grid-row: span 1;
    }

    .gallery-item--tall {
        grid-column: span 6;
        grid-row: span 1;
    }

    .gallery-item:not(.gallery-item--large):not(.gallery-item--tall) {
        grid-column: span 6;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(251, 243, 239, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--gray-100);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 4rem;
    }

    .hero-image-secondary {
        display: none;
    }

    .hero-image-accent {
        display: none;
    }

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

    .gallery-item--large,
    .gallery-item--tall,
    .gallery-item:not(.gallery-item--large):not(.gallery-item--tall) {
        grid-column: span 12;
        grid-row: span 1;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-scroll-line {
        animation: none;
        opacity: 0.5;
    }
}
