/* ========================================
   Blalock Design & Build — Stylesheet
   Palette: Burgundy (#6B1D2A) + Blush (#C9A87C / #E8D5C4)
   Fonts: Cormorant Garamond + Inter
   ======================================== */

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

:root {
    --burgundy: #6B1D2A;
    --burgundy-dark: #4A1419;
    --burgundy-light: #8B2E3D;
    --blush: #C9A87C;
    --blush-light: #E8D5C4;
    --blush-pale: #F5EDE6;
    --cream: #FAF7F4;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-900: #2D2D2D;
    --gray-700: #555555;
    --gray-500: #888888;
    --gray-300: #C4C4C4;
    --gray-100: #F0EDE9;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-900);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

::selection {
    background: var(--blush-light);
    color: var(--burgundy-dark);
}

/* --- Container --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--burgundy-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-line {
    width: 60px;
    height: 1px;
    background: var(--blush);
    animation: loaderLine 1.2s var(--ease-in-out) infinite;
}

@keyframes loaderLine {
    0%, 100% { transform: scaleX(0.2); opacity: 0.3; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 247, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
    border-bottom-color: var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

@media (max-width: 640px) {
    .nav-inner {
        padding: 0 1.25rem;
        height: 64px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-mark {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--burgundy);
    display: block;
    position: relative;
}

.nav-logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--burgundy);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--gray-900);
}

.nav-logo-accent {
    color: var(--burgundy);
    font-weight: 400;
}

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

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-700);
    transition: color 0.3s;
    position: relative;
}

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

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

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

.nav-link--cta {
    color: var(--white);
    background: var(--burgundy);
    padding: 0.6rem 1.4rem;
    letter-spacing: 0.08em;
    transition: background 0.3s;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    color: var(--white);
    background: var(--burgundy-dark);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-line {
    width: 22px;
    height: 1px;
    background: var(--gray-900);
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle.active .nav-toggle-line:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active .nav-toggle-line:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
    opacity: 0;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 360px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.5s var(--ease-out);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .nav-link--cta {
        display: inline-block;
    }
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-link {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--gray-900);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.3s, padding-left 0.3s;
}

.mobile-menu-link:hover {
    color: var(--burgundy);
    padding-left: 0.75rem;
}

.mobile-menu-cta {
    border-bottom: none;
    color: var(--burgundy);
    font-weight: 500;
    margin-top: 1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s var(--ease-out);
}

.btn--primary {
    background: var(--burgundy);
    color: var(--white);
    border: 1px solid var(--burgundy);
}

.btn--primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(107, 29, 42, 0.25);
}

.btn--ghost {
    background: transparent;
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
}

.btn--ghost:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

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

/* --- Section Shared --- */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 48px;
    height: 1px;
    background: var(--blush);
    margin-bottom: 2rem;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--cream);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    align-items: center;
    min-height: calc(100vh - 72px);
}

.hero-image-col {
    position: relative;
    padding-right: 3rem;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
}

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

.hero-accent-line {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 120px;
    height: 1px;
    background: var(--blush);
}

.hero-content-col {
    padding-left: 4rem;
    padding-bottom: 4rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.hero-headline-accent {
    font-style: italic;
    font-weight: 300;
    color: var(--burgundy);
}

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

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

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

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

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--burgundy);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    text-transform: uppercase;
}

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

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem;
        min-height: auto;
    }
    
    .hero-image-col {
        padding-right: 0;
    }
    
    .hero-image-wrapper img {
        height: 50vh;
    }
    
    .hero-content-col {
        padding-left: 0;
        padding-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 64px;
    }
    
    .hero-image-wrapper img {
        height: 40vh;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
}

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

.services-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

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

.service-card {
    padding: 3rem 2.5rem;
    border: 1px solid var(--gray-100);
    position: relative;
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
    background: var(--cream);
}

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

.service-card-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--blush);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-100);
    margin-bottom: 1.5rem;
    color: var(--burgundy);
    transition: border-color 0.3s, color 0.3s;
}

.service-card:hover .service-card-icon {
    border-color: var(--burgundy);
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

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

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

@media (max-width: 640px) {
    .services {
        padding: 5rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* --- Approach --- */
.approach {
    padding: 8rem 0;
    background: var(--cream);
    overflow: hidden;
}

.approach-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-content {
    padding-right: 2rem;
}

.approach-intro {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 3rem;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.approach-step {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.approach-step:first-child {
    padding-top: 0;
}

.approach-step:last-child {
    border-bottom: none;
}

.approach-step-marker {
    width: 8px;
    height: 8px;
    background: var(--blush);
    margin-top: 0.5rem;
    transition: background 0.3s, transform 0.3s;
}

.approach-step:hover .approach-step-marker {
    background: var(--burgundy);
    transform: scale(1.3);
}

.approach-step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.375rem;
}

.approach-step-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-700);
}

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

.approach-image-main {
    position: relative;
    overflow: hidden;
}

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

.approach-image-accent {
    position: absolute;
    bottom: -3rem;
    right: -2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

@media (max-width: 1024px) {
    .approach-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .approach-content {
        padding-right: 0;
    }
    
    .approach-image-main img {
        height: 400px;
    }
    
    .approach-image-accent {
        right: 0;
        bottom: -2rem;
    }
}

@media (max-width: 640px) {
    .approach {
        padding: 5rem 0;
    }
    
    .approach-image-accent {
        display: none;
    }
}

/* --- Work Gallery --- */
.work {
    padding: 8rem 0;
    background: var(--white);
}

.work-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

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

.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-item--large {
    grid-column: span 7;
}

.work-item:not(.work-item--large) {
    grid-column: span 5;
}

.work-item-image {
    overflow: hidden;
}

.work-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out);
}

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

.work-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.7) 0%, rgba(26, 26, 26, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

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

.work-item-category {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blush-light);
    margin-bottom: 0.5rem;
}

.work-item-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
}

@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .work-item--large {
        grid-column: span 2;
    }
    
    .work-item:not(.work-item--large) {
        grid-column: span 1;
    }
    
    .work-item-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(26, 26, 26, 0.5) 0%, transparent 50%);
    }
}

@media (max-width: 640px) {
    .work {
        padding: 5rem 0;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-item--large,
    .work-item:not(.work-item--large) {
        grid-column: span 1;
    }
    
    .work-item-image img {
        height: 280px;
    }
}

/* --- About --- */
.about {
    padding: 8rem 0;
    background: var(--cream);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-image-wrapper {
    overflow: hidden;
}

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

.about-image-accent-bar {
    position: absolute;
    bottom: 0;
    right: -2rem;
    width: 80px;
    height: 100%;
    background: var(--burgundy);
}

.about-content {
    padding-left: 2rem;
}

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

.about-credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-100);
}

.about-credential {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.about-credential-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.about-credential-value {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gray-900);
}

@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-col {
        order: -1;
    }
    
    .about-image-wrapper img {
        height: 450px;
    }
    
    .about-image-accent-bar {
        display: none;
    }
    
    .about-content {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .about {
        padding: 5rem 0;
    }
    
    .about-image-wrapper img {
        height: 300px;
    }
}

/* --- Quote Section --- */
.quote-section {
    padding: 6rem 0;
    background: var(--burgundy-dark);
    text-align: center;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    color: var(--blush);
    margin-bottom: 1.5rem;
}

.quote-content blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.quote-source {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blush);
}

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

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding-right: 2rem;
}

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

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

.contact-detail {
    display: flex;
    gap: 1rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-100);
    color: var(--burgundy);
}

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

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

.contact-detail-value {
    font-size: 1rem;
    color: var(--gray-900);
    line-height: 1.6;
}

.contact-detail-link {
    color: var(--burgundy);
    transition: color 0.3s;
}

.contact-detail-link:hover {
    color: var(--burgundy-dark);
}

/* Form */
.contact-form-col {
    position: relative;
}

.contact-form {
    background: var(--cream);
    padding: 3rem;
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

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

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

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--gray-300);
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    border-radius: 0;
}

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

.form-input:focus {
    border-color: var(--burgundy);
}

.form-select {
    cursor: pointer;
    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='%23888' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 1rem;
    text-align: center;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.form-success-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

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

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .contact {
        padding: 5rem 0;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    padding: 4rem 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-mark {
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--blush);
    display: block;
    position: relative;
}

.footer-logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--blush);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
}

.footer-logo-accent {
    color: var(--blush);
    font-weight: 400;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 280px;
}

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

.footer-nav-link {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s, padding-left 0.3s;
}

.footer-nav-link:hover {
    color: var(--blush);
    padding-left: 0.5rem;
}

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

.footer-phone {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    transition: color 0.3s;
}

.footer-phone:hover {
    color: var(--blush);
}

.footer-address {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

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

.footer-legal {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    }
    
    .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; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
