/* ==========================
   CAPELLI SALON — REV 4 FINAL
   ==========================
   
   HOW TO RUN LOCALLY:
   - Option 1: Open index.html directly in your browser
   - Option 2: Run a simple server (e.g., python -m http.server 8000 or npx serve)
   
   TWEAK GUIDE:
   ============
   COLORS: Edit :root variables (lines 80-88)
     --color-parchment: Main background (warm cream)
     --color-stone: Card backgrounds (soft neutral)
     --color-espresso: Dark text and buttons
     --color-warmth: Italian gold accent
   
   FONTS: Lines 91-92
     --font-serif: Headings (Playfair Display)
     --font-sans: Body text (Inter)
   
   SPACING: Lines 95-101 (--space-* variables)
   
   PRIMARY CTA: Line 183 (.btn--primary)
     Background, hover states, shadows
   
   HERO OVERLAP: Line 410 (.hero__image-card)
     transform: translateX() controls overlap amount
   
   ITALIAN MOTIF:
   ==============
   Chosen motif: Thin curved "Italian ribbon" gradient divider
   - Width: 140px, Height: 8px
   - Gold gradient (warmth → gold)
   - Rounded ends (border-radius: 50px)
   - Applied via .section-motif class
   - Used consistently between major sections
   
   NO ADDITIONAL FILES CREATED:
   All styles contained in this single CSS file for simplicity.
   REV 4 focuses on dramatic visual improvements, editorial layouts,
   and premium feeling throughout.
   ========================== */

/* ==========================
   CSS RESET & BASE
   ========================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--color-espresso);
    background-color: var(--color-parchment);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* ==========================
   CSS VARIABLES
   ========================== */
:root {
    /* Warm Color Palette */
    --color-parchment: #fbf5ed;
    --color-parchment-dark: #f5ede0;
    --color-stone: #e6d9c9;
    --color-stone-dark: #d4c4b0;
    --color-espresso: #2a2118;
    --color-warmth: #c9a66b;
    --color-gold: #b8935f;
    --color-terracotta: #d4a574;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Header Heights */
    --header-height: 110px;
    --header-height-scroll: 80px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(42, 33, 24, 0.08);
    --shadow-md: 0 4px 16px rgba(42, 33, 24, 0.12);
    --shadow-lg: 0 8px 24px rgba(42, 33, 24, 0.16);

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================
   TYPOGRAPHY
   ========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-espresso);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: var(--space-2xl);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
}

/* ==========================
   ITALIAN RIBBON MOTIF
   ========================== */
.section-motif {
    width: 160px;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--color-warmth), var(--color-gold), var(--color-warmth), transparent);
    border-radius: 50px;
    margin: 0 auto;
    opacity: 0.8;
}

.section-motif--top {
    margin-bottom: var(--space-2xl);
}

.section-motif--bottom {
    margin-top: var(--space-2xl);
}

/* ==========================
   BUTTONS
   ========================== */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    transition: all var(--transition-base);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--color-espresso);
    color: var(--color-parchment);
    box-shadow: 0 4px 16px rgba(42, 33, 24, 0.25);
}

.btn--primary:hover {
    background: #3d3128;
    box-shadow: 0 6px 24px rgba(42, 33, 24, 0.35);
    transform: translateY(-3px);
}

.btn--secondary {
    background: var(--color-stone);
    color: var(--color-espresso);
}

.btn--secondary:hover {
    background: var(--color-stone-dark);
}

.btn--ghost {
    background: transparent;
    color: var(--color-espresso);
    border: 2px solid var(--color-espresso);
}

.btn--ghost:hover {
    background: var(--color-espresso);
    color: var(--color-parchment);
}

.btn--pill {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

.btn--large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn--wide {
    padding-left: 3rem;
    padding-right: 3rem;
    min-width: 280px;
}

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

.btn--mobile {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
}

/* ==========================
   HEADER
   ========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-parchment);
    z-index: 1000;
    transition: all var(--transition-base);
    height: var(--header-height);
    border-bottom: 1px solid rgba(42, 33, 24, 0.1);
}

.header--scrolled {
    height: var(--header-height-scroll);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
    background: rgba(251, 245, 237, 0.95);
}

.header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.header__logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.header__logo {
    height: 48px;
    width: auto;
    transition: all var(--transition-base);
    background: var(--color-espresso);
    padding: 8px 16px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
}

.header--logo-visible .header__logo {
    opacity: 1;
    visibility: visible;
}

.header--scrolled .header__logo {
    height: 40px;
}

.header__logo-flourish {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 2px;
    transition: opacity var(--transition-base);
    opacity: 0;
}

.header--logo-visible .header__logo-flourish {
    opacity: 1;
}

/* Nav */
.nav__list {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-espresso);
    position: relative;
    transition: color var(--transition-base);
}

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

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

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

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-espresso);
    transition: all var(--transition-base);
}

/* ==========================
   HERO SECTION
   ========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
    background: linear-gradient(to bottom, var(--color-parchment), var(--color-parchment-dark));
    position: relative;
}

.hero__container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero__left {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero__logo {
    width: 220px;
    height: auto;
    margin-bottom: var(--space-md);
    background: var(--color-espresso);
    padding: 20px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.hero__tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--color-stone-dark);
    letter-spacing: 0.05em;
    text-transform: lowercase;
    margin-top: -0.5rem;
}

.hero__eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-warmth);
    font-weight: 500;
    margin-top: var(--space-md);
}

.hero__headline {
    margin-top: 0;
    margin-bottom: var(--space-md);
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    line-height: 1.15;
    max-width: 600px;
    letter-spacing: -0.02em;
}

.hero__subhead {
    font-size: 1.25rem;
    color: rgba(42, 33, 24, 0.75);
    max-width: 520px;
    margin-bottom: var(--space-xl);
    line-height: 1.75;
}

.hero__ctas {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.hero__right {
    position: relative;
}

.hero__image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(42, 33, 24, 0.25);
    transform: translateX(-60px);
    z-index: 10;
}

.hero__image-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================
   TRUST STRIP
   ========================== */
.trust {
    background: var(--color-parchment-dark);
    padding: var(--space-xl) var(--space-lg);
    border-top: 1px solid var(--color-stone);
    border-bottom: 1px solid var(--color-stone);
}

.trust__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.trust__item {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-espresso);
    text-align: center;
}

.trust__divider {
    width: 1px;
    height: 24px;
    background: var(--color-stone-dark);
}

/* ==========================
   INTRO SECTION
   ========================== */
.intro {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-parchment);
}

.intro__container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: var(--space-xl);
    font-weight: 600;
}

.intro__copy {
    font-size: 1.25rem;
    line-height: 1.9;
    color: rgba(42, 33, 24, 0.8);
}

/* ==========================
   SERVICES SECTION
   ========================== */
.services {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-parchment-dark);
}

.services__container {
    max-width: 1200px;
    margin: 0 auto;
}

.services__badge {
    display: inline-block;
    background: var(--color-warmth);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.services__title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-parchment);
    padding: var(--space-2xl);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-stone);
}

.service-card:hover {
    box-shadow: 0 8px 32px rgba(42, 33, 24, 0.15);
    transform: translateY(-6px);
    border-color: var(--color-warmth);
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.service-card__divider {
    width: 60px;
    height: 2px;
    background: var(--color-warmth);
    margin-bottom: var(--space-md);
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.service-card__list li {
    font-size: 1rem;
    color: rgba(42, 33, 24, 0.85);
    padding-left: 1.25rem;
    position: relative;
}

.service-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-warmth);
    font-weight: bold;
}

/* ==========================
   RESULTS GALLERY
   ========================== */
.results {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-parchment);
}

.results__container {
    max-width: 1400px;
    margin: 0 auto;
}

.results__title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.results__grid--masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    grid-auto-flow: dense;
    margin-bottom: var(--space-xl);
}

.result-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(42, 33, 24, 0.1);
    transition: all 0.4s ease;
    background: var(--color-stone);
    aspect-ratio: 4/5;
}

.result-card--wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.result-card--tall {
    grid-row: span 2;
    aspect-ratio: 3/4;
}

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

.result-card:hover {
    box-shadow: 0 12px 40px rgba(42, 33, 24, 0.2);
    transform: translateY(-4px);
}

.result-card:hover img {
    transform: scale(1.08);
}

.result-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(42, 33, 24, 0.85), transparent);
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.result-card:hover .result-card__overlay {
    opacity: 1;
}

.result-card__label {
    color: white;
    font-size: 1.125rem;
    font-family: var(--font-serif);
    font-weight: 600;
}

.result-card--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-stone), var(--color-stone-dark));
}

.result-card__placeholder {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: rgba(42, 33, 24, 0.5);
    text-align: center;
}

.results__disclaimer {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(42, 33, 24, 0.6);
    margin-top: var(--space-xl);
    font-style: italic;
}

/* ==========================
   TEAM SECTION
   ========================== */
.team {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-parchment-dark);
}

.team__container {
    max-width: 1200px;
    margin: 0 auto;
}

.team__title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-3xl);
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
}

.team-card__avatar {
    width: 160px;
    height: 160px;
    margin: 0 auto var(--space-xl);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-stone), var(--color-stone-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-warmth);
    box-shadow: 0 8px 30px rgba(42, 33, 24, 0.15);
}

.team-card__monogram {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-espresso);
}

.team-card__name {
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
}

.team-card__role {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-warmth);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.team-card__subtext {
    font-size: 1rem;
    color: rgba(42, 33, 24, 0.75);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

/* ==========================
   REVIEWS SECTION
   ========================== */
.reviews {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-parchment);
}

.reviews__container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews__title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.reviews__hero {
    background: linear-gradient(135deg, var(--color-stone), var(--color-parchment-dark));
    padding: var(--space-3xl);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(42, 33, 24, 0.15);
    margin-bottom: var(--space-3xl);
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.reviews__quote-mark {
    font-family: var(--font-serif);
    font-size: 10rem;
    color: var(--color-warmth);
    opacity: 0.2;
    position: absolute;
    top: -30px;
    left: 30px;
    line-height: 1;
}

.reviews__hero-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.45;
    color: var(--color-espresso);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.reviews__hero-author {
    font-size: 1.25rem;
    color: rgba(42, 33, 24, 0.65);
    font-style: italic;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.review-card {
    background: var(--color-parchment-dark);
    padding: var(--space-2xl);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(42, 33, 24, 0.08);
    transition: all var(--transition-base);
    border: 1px solid var(--color-stone);
}

.review-card:hover {
    box-shadow: 0 8px 28px rgba(42, 33, 24, 0.15);
    transform: translateY(-6px);
}

.review-card__text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-espresso);
    margin-bottom: var(--space-md);
}

.review-card__author {
    font-size: 0.9375rem;
    color: rgba(42, 33, 24, 0.6);
    font-style: italic;
}

.reviews__footer {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(42, 33, 24, 0.6);
    margin-top: var(--space-xl);
    font-style: italic;
}

/* ==========================
   VISIT SECTION
   ========================== */
.visit {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--color-parchment-dark);
}

.visit__container {
    max-width: 1000px;
    margin: 0 auto;
}

.visit__title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.visit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.visit__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.visit__info-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-warmth);
}

.visit__address {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(42, 33, 24, 0.85);
}

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

.visit__hours li {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: rgba(42, 33, 24, 0.85);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-stone);
}

.visit__hours li span:first-child {
    font-weight: 500;
}

.visit__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: sticky;
    top: calc(var(--header-height-scroll) + var(--space-lg));
}

/* ==========================
   CTA SECTION
   ========================== */
.cta {
    padding: var(--space-3xl) var(--space-lg);
    background: linear-gradient(135deg, var(--color-espresso), #3d3128, var(--color-espresso));
    color: var(--color-parchment);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201, 166, 107, 0.1), transparent 70%);
    pointer-events: none;
}

.cta__container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta__headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    color: var(--color-parchment);
    margin-bottom: var(--space-2xl);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cta__subtext {
    font-size: 1.25rem;
    color: rgba(251, 245, 237, 0.85);
    margin-top: var(--space-xl);
}

/* ==========================
   FOOTER
   ========================== */
.footer {
    background: var(--color-espresso);
    color: var(--color-parchment);
    padding: var(--space-3xl) var(--space-lg);
}

.footer__bottom-row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
}

.footer__logo {
    height: 48px;
    width: auto;
}

.footer__heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-warmth);
}

.footer__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(251, 245, 237, 0.8);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__nav a {
    font-size: 0.9375rem;
    color: rgba(251, 245, 237, 0.8);
    transition: color var(--transition-base);
}

.footer__nav a:hover {
    color: var(--color-warmth);
}

/* ==========================
   MOBILE STICKY BOTTOM BAR
   ========================== */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-espresso);
    padding: var(--space-sm);
    display: none;
    gap: var(--space-sm);
    box-shadow: 0 -4px 12px rgba(42, 33, 24, 0.2);
    z-index: 999;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.mobile-bottom-bar.visible {
    transform: translateY(0);
}

/* ==========================
   REVEAL ANIMATIONS
   ========================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==========================
   RESPONSIVE DESIGN
   ========================== */

@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero__image-card {
        transform: translateX(0);
        max-width: 500px;
        margin: 0 auto;
    }

    .visit__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .visit__actions {
        position: static;
    }

    .results__grid--masonry {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .result-card--wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 72px;
        --header-height-scroll: 64px;
    }

    .header__container {
        padding: 0 var(--space-md);
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-parchment);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        transition: transform var(--transition-base);
        opacity: 0;
        visibility: hidden;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .nav__link {
        font-size: 1.125rem;
    }

    .btn--header {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-xl));
    }

    .hero__logo {
        width: 140px;
    }

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

    .hero__ctas .btn {
        width: 100%;
    }

    .trust__container {
        flex-direction: column;
        gap: var(--space-md);
    }

    .trust__divider {
        width: 40px;
        height: 1px;
    }

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

    .results__grid--masonry {
        grid-template-columns: 1fr;
    }

    .result-card,
    .result-card--wide,
    .result-card--tall {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4/5;
    }

    .footer__bottom-row {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer__logo {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero__logo {
        width: 120px;
    }

    .reviews__quote-mark {
        font-size: 4rem;
    }

    .reviews__hero {
        padding: var(--space-lg);
    }
}
