/* ============================================
   Bo-Mar and Armstrong Builders
   Classic & Elegant — Emerald & Cream
   ============================================ */

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

:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ee;
    --cream-200: #ebe7de;
    --cream-300: #ddd5c8;
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b6b;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

em {
    font-style: italic;
    color: var(--emerald-800);
}

/* ── Section Eyebrow ── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 1.25rem;
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--emerald-600);
}

.section-eyebrow--light {
    color: rgba(255, 255, 255, 0.7);
}

.section-eyebrow--light::before {
    background: rgba(255, 255, 255, 0.4);
}

/* ── Section Title ── */
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.section-header--centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

.section-header--centered .section-subtitle {
    margin: 0 auto;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-800);
    color: #ffffff;
    border-color: var(--emerald-800);
}

.btn-primary:hover {
    background: var(--emerald-900);
    border-color: var(--emerald-900);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--cream-300);
}

.btn-ghost:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-800);
}

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

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 0.9375rem;
}

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    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.125rem;
    font-weight: 600;
    color: var(--emerald-900);
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--emerald-800);
}

.nav-logo-text {
    font-weight: 600;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--emerald-700);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--emerald-800);
}

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

.nav-cta {
    background: var(--emerald-800);
    color: #ffffff !important;
    padding: 0.625rem 1.25rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8125rem;
}

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

.nav-cta:hover {
    background: var(--emerald-900);
    color: #ffffff !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

/* ── Mobile Menu ── */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream-50);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu li a {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    display: block;
}

.mobile-menu li a:hover {
    color: var(--emerald-700);
}

.mobile-menu-cta {
    margin-top: 1rem;
    font-family: var(--font-sans) !important;
    font-size: 0.9375rem !important;
    background: var(--emerald-800);
    color: #ffffff !important;
    padding: 0.875rem 2rem !important;
    border-radius: 4px;
}

.mobile-menu-contact {
    position: absolute;
    bottom: 3rem;
    text-align: center;
}

.mobile-menu-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--emerald-700);
    font-weight: 500;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 72px 0 4rem;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background:
        linear-gradient(135deg, var(--cream-100) 0%, var(--cream-200) 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

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

.hero-left {
    padding-right: 1rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 2rem;
}

.hero-eyebrow-line {
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--emerald-600);
}

.hero-headline {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.hero-subheadline {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

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

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

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

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--emerald-800);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.hero-stat-divider {
    width: 1px;
    height: 3rem;
    background: var(--cream-300);
}

/* Hero Image Stack */
.hero-right {
    position: relative;
    min-height: 560px;
}

.hero-image-stack {
    position: relative;
    height: 100%;
}

.hero-image-hero {
    width: 100%;
    height: 560px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

.hero-image-accent {
    position: absolute;
    bottom: -2rem;
    left: -3rem;
    width: 260px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--cream-50);
}

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

.hero-accent-box {
    position: absolute;
    top: 2rem;
    right: -1.5rem;
    background: var(--emerald-800);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 12px 40px rgba(6, 78, 59, 0.3);
    font-family: var(--font-serif);
    text-align: center;
    line-height: 1.3;
    font-size: 0.875rem;
}

.hero-accent-box svg {
    opacity: 0.8;
}

/* Hero Scroll */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Services ── */
.services {
    padding: 7rem 0;
    background: var(--cream-50);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header:not(.section-header--centered) {
    max-width: 640px;
}

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

.service-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--cream-200);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-100);
    border-radius: 8px;
    margin: 2rem 2rem 0;
    color: var(--emerald-700);
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    background: var(--emerald-800);
    color: #ffffff;
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 1.25rem 2rem 0.75rem;
    color: var(--text-primary);
}

.service-card-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
    padding: 0 2rem 1.5rem;
}

.service-card-image {
    height: 200px;
    overflow: hidden;
    margin: 0 2rem 2rem;
    border-radius: 6px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

.about-image-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

.about-image-secondary {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--cream-100);
}

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

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

.about-divider {
    width: 3rem;
    height: 2px;
    background: var(--emerald-600);
    margin-bottom: 2rem;
    border-radius: 1px;
}

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

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

.about-value {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.about-value-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100, #d1fae5);
    border-radius: 50%;
    color: var(--emerald-700);
    flex-shrink: 0;
}

/* ── Work Gallery ── */
.work {
    padding: 7rem 0;
    background: var(--cream-50);
}

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

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

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.work-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover .work-item-overlay {
    transform: translateY(0);
}

.work-item-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.625rem;
    border-radius: 2px;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(4px);
}

.work-item-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
}

.work-item--large {
    grid-column: span 7;
    min-height: 400px;
}

.work-item:not(.work-item--large) {
    min-height: 200px;
}

/* ── Process ── */
.process {
    padding: 7rem 0;
    background: var(--emerald-900);
    color: #ffffff;
}

.process .section-title {
    color: #ffffff;
}

.process .section-title em {
    color: rgba(255, 255, 255, 0.7);
}

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    position: relative;
}

.process-step:not(:last-child) {
    padding-bottom: 3rem;
}

.process-step-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
    padding-top: 0.25rem;
}

.process-step-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.process-step-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}

.process-step-connector {
    position: absolute;
    right: -2rem;
    bottom: 0;
    width: 1px;
    height: 3rem;
    background: rgba(255, 255, 255, 0.15);
    left: calc(60px + 2rem);
    top: auto;
    transform: none;
}

/* Fix connector positioning */
.process-step {
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: -12px;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

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

/* ── Testimonials ── */
.testimonials {
    padding: 7rem 0;
    background: var(--cream-100);
}

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

.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--cream-200);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--emerald-200, #a7f3d0);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    pointer-events: none;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cream-200);
}

.testimonial-author-name {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-author-location {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── CTA Section ── */
.cta-section {
    padding: 7rem 0;
    background: var(--emerald-800);
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

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

.cta-headline {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.cta-headline em {
    color: rgba(255, 255, 255, 0.8);
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Contact ── */
.contact {
    padding: 7rem 0;
    background: var(--cream-50);
}

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

.contact-info-col {
    padding-right: 1rem;
}

.contact-divider {
    width: 3rem;
    height: 2px;
    background: var(--emerald-600);
    margin-bottom: 2rem;
    border-radius: 1px;
}

.contact-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-100);
    border-radius: 8px;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-phone:hover {
    color: var(--emerald-700);
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Contact Form */
.contact-form-col {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--cream-200);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: 6px;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

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

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

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

.form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-100);
    border-radius: 50%;
    color: var(--emerald-700);
}

.form-success-title {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

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

/* ── Footer ── */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

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

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

.footer-logo-icon {
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

.footer-links-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-phone {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-bottom: 0.75rem;
}

.footer-phone:hover {
    color: #ffffff;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

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

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

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }

    .hero-right {
        min-height: 460px;
    }

    .hero-image-hero {
        height: 460px;
    }

    .about-layout {
        gap: 3rem;
    }

    .services-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left {
        padding-right: 0;
        text-align: center;
    }

    .hero-headline {
        font-size: clamp(1.875rem, 5vw, 2.75rem);
    }

    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-right {
        display: none;
    }

    .hero-bg-pattern {
        width: 100%;
        clip-path: none;
        opacity: 0.4;
    }

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

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

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

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

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

    .work-item--large {
        grid-column: span 2;
        min-height: 300px;
    }

    .work-item:not(.work-item--large) {
        min-height: 180px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

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

    .contact-info-col {
        padding-right: 0;
    }

    .contact-form-col {
        position: static;
    }

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

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

    .hero {
        padding: 72px 0 3rem;
    }

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

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

    .section-header {
        margin-bottom: 2.5rem;
    }

    .services, .about, .work, .process, .testimonials, .cta-section, .contact {
        padding: 4rem 0;
    }

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

    .work-item--large {
        grid-column: span 1;
        min-height: 240px;
    }

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

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

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

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

@media (max-width: 380px) {
    .hero-headline {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }
}
