/* ============================================
   HERNANDEZ PAINTING LLC — Custom Styles
   Palette: Terracotta + Sand + Cream
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --terracotta: #C0603A;
    --terracotta-dark: #A84D2C;
    --terracotta-light: #D4845E;
    --sand: #D4B896;
    --sand-light: #E8D5BC;
    --sand-lighter: #F5EDE3;
    --cream: #FDF8F3;
    --cream-dark: #F5EDE3;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #7A6E66;
    --warm-gray-light: #A89888;
    --white: #FFFFFF;
    --white-warm: #FFFDF9;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.06), 0 1px 2px rgba(44, 36, 32, 0.04);
    --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.08), 0 2px 4px rgba(44, 36, 32, 0.04);
    --shadow-lg: 0 12px 40px rgba(44, 36, 32, 0.12), 0 4px 12px rgba(44, 36, 32, 0.06);
    --shadow-xl: 0 24px 60px rgba(44, 36, 32, 0.15);

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

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--cream);
    -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;
    transition: color var(--transition-fast);
}

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

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 48px;
    }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--terracotta);
    border-radius: 2px;
}

.section-tag--light {
    color: var(--sand-light);
}

.section-tag--light::before {
    background: var(--sand-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 600px;
    line-height: 1.8;
}

.section-desc--light {
    color: var(--sand-lighter);
}

.section-header {
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 80px;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(192, 96, 58, 0.3);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 96, 58, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    border-radius: var(--radius-md);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(16px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(44, 36, 32, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    z-index: 1001;
}

.logo--light {
    color: var(--white);
}

.logo-mark {
    color: var(--terracotta);
}

.logo-accent {
    color: var(--terracotta);
    font-weight: 400;
    font-style: italic;
}

.logo--light .logo-accent {
    color: var(--sand-light);
}

/* --- Navigation --- */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.site-header.scrolled .hamburger {
    background: var(--charcoal);
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

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

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

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

.site-header.scrolled .hamburger::before,
.site-header.scrolled .hamburger::after {
    background: var(--charcoal);
}

.nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 1000;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--terracotta);
    background: var(--sand-lighter);
}

.nav-link--cta {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    background: var(--terracotta);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
}

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

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: transparent;
        gap: 4px;
    }

    .nav-link {
        font-size: 15px;
        font-family: var(--font-body);
        padding: 8px 16px;
        border-radius: var(--radius-sm);
    }

    .nav-link:hover {
        background: var(--sand-lighter);
    }

    .nav-link--cta {
        margin-top: 0;
        font-size: 14px;
        padding: 10px 24px;
    }
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--charcoal);
    overflow: hidden;
    padding: 120px 0 80px;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2C2420 0%, #3D3028 40%, #4A3830 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, var(--sand) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    background: rgba(212, 184, 150, 0.12);
    border: 1px solid rgba(212, 184, 150, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sand-light);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--terracotta-light);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title em {
    font-style: italic;
    color: var(--sand-light);
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--terracotta);
    border-radius: 2px;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--warm-gray-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--sand-lighter);
}

.trust-item svg {
    color: var(--terracotta-light);
    flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-card--main {
    width: 100%;
    aspect-ratio: 4/5;
}

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

.hero-card--accent {
    position: absolute;
    bottom: -40px;
    left: -20%;
    width: 65%;
    aspect-ratio: 4/3;
    border: 5px solid var(--charcoal);
    z-index: 2;
}

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

.hero-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--terracotta);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-card--stat {
    position: absolute;
    top: 20px;
    right: -10%;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    text-align: center;
    min-width: 140px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--warm-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 64px;
    }

    .hero-visual {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        height: 100%;
    }

    .hero-card--main {
        aspect-ratio: auto;
        height: 100%;
    }

    .hero-card--accent {
        left: -15%;
        bottom: -30px;
    }

    .hero-card--stat {
        right: -5%;
    }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--sand-lighter);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
    z-index: 2;
}

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

@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--cream);
}

@media (min-width: 768px) {
    .services {
        padding: 120px 0;
    }
}

.services-grid {
    display: grid;
    gap: 24px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card--large {
    grid-column: 1 / -1;
}

.service-card--large .service-card__img img {
    height: 280px;
}

.service-card--wide {
    grid-template-columns: 1fr;
}

.service-card__img {
    overflow: hidden;
    height: 220px;
}

.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.service-card__content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card__content--left {
    order: 1;
}

.service-card__img {
    order: 2;
}

.service-card--wide .service-card__img {
    order: 1;
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--terracotta-light);
    letter-spacing: 0.05em;
}

.service-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--charcoal-light);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-card--large {
        grid-column: 1 / -1;
        grid-template-columns: 1.2fr 1fr;
    }

    .service-card--large .service-card__img {
        height: 100%;
        min-height: 360px;
    }

    .service-card--wide {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1.2fr;
    }

    .service-card--wide .service-card__img {
        height: 100%;
        min-height: 320px;
    }

    .service-card__img {
        height: 260px;
    }
}

/* --- Process --- */
.process {
    position: relative;
    padding: 100px 0;
    background: var(--charcoal);
    overflow: hidden;
}

.process-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2C2420 0%, #3D3028 50%, #4A3830 100%);
}

.process .container {
    position: relative;
    z-index: 1;
}

.process-steps {
    display: grid;
    gap: 0;
}

.process-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(212, 184, 150, 0.1);
}

.process-step:first-child {
    border-top: 1px solid rgba(212, 184, 150, 0.1);
}

.step-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--terracotta-light);
    line-height: 1;
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--terracotta-light), transparent);
    margin-top: 8px;
    opacity: 0.4;
}

.process-step:last-child .step-line {
    display: none;
}

.step-title {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--warm-gray-light);
    line-height: 1.8;
    max-width: 500px;
}

@media (min-width: 768px) {
    .process {
        padding: 120px 0;
    }

    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    .process-step {
        grid-template-columns: 1fr;
        border-bottom: none;
        padding: 0 0 32px;
        border-right: 1px solid rgba(212, 184, 150, 0.1);
    }

    .process-step:last-child {
        border-right: none;
    }

    .process-step:first-child {
        border-top: none;
    }

    .step-number {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 16px;
    }

    .step-line {
        width: 40px;
        height: 2px;
        flex: none;
        margin-top: 8px;
        background: linear-gradient(to right, var(--terracotta-light), transparent);
    }
}

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

@media (min-width: 768px) {
    .about {
        padding: 120px 0;
    }
}

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

.about-visual {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5/6.5;
}

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

.about-img-accent {
    position: absolute;
    bottom: -24px;
    right: -12px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
    aspect-ratio: 7/5;
}

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

.about-badge {
    position: absolute;
    top: -16px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--terracotta);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(192, 96, 58, 0.3);
}

.about-badge svg {
    color: var(--sand-light);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.85;
}

.about-values {
    display: grid;
    gap: 20px;
    margin-top: 8px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand-lighter);
    border-radius: var(--radius-sm);
    color: var(--terracotta);
}

.value-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .about-container {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 80px;
    }
}

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

@media (min-width: 768px) {
    .gallery {
        padding: 120px 0;
    }
}

.gallery-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item--tall {
    aspect-ratio: 3/4;
}

.gallery-item--wide {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 36, 32, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item--tall {
        grid-row: span 2;
        aspect-ratio: auto;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item--wide {
        grid-column: span 2;
    }
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 100px 0;
    background: var(--terracotta);
    overflow: hidden;
}

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

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #A84D2C 0%, #C0603A 50%, #D4845E 100%);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 2px 2px, var(--white) 1px, transparent 0);
    background-size: 32px 32px;
}

.cta-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.cta-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    color: var(--white);
    letter-spacing: -0.03em;
    max-width: 700px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    line-height: 1.8;
}

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

@media (min-width: 768px) {
    .cta-banner {
        padding: 120px 0;
    }
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

@media (min-width: 768px) {
    .contact {
        padding: 120px 0;
    }
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.8;
}

.contact-details {
    display: grid;
    gap: 20px;
    margin-top: 8px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand-lighter);
    border-radius: var(--radius-sm);
    color: var(--terracotta);
}

.contact-detail strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--terracotta);
}

/* Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-light);
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--charcoal);
    transition: all var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(192, 96, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-light);
}

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

.form-note {
    font-size: 13px;
    color: var(--warm-gray-light);
    margin-top: 12px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    color: var(--terracotta);
}

.success-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.success-text {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
    max-width: 360px;
    margin: 0 auto;
}

.success-text a {
    color: var(--terracotta);
    font-weight: 500;
}

@media (min-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr 1.1fr;
        gap: 64px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Footer --- */
.site-footer {
    background: var(--charcoal);
    color: var(--sand-lighter);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 56px;
}

.footer-brand {
    max-width: 300px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--warm-gray-light);
    line-height: 1.7;
    margin-top: 16px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    font-size: 0.9rem;
    color: var(--warm-gray-light);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--sand-light);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 184, 150, 0.1);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--warm-gray);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* --- Scroll Animations (Progressive Enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- 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;
    }
}
