/* ============================================
   KEYSTONE CRAFT HOMES - PREMIUM REDESIGN
   Typography: Cormorant Garamond + Inter
   Philosophy: Minimalism, Editorial, Sophistication
   ============================================ */

/* CSS RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* DESIGN TOKENS */
:root {
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Colors - Coastal Sophistication */
    --color-primary: #2b3a3f;        /* Deep charcoal */
    --color-secondary: #a0927e;      /* Warm taupe */
    --color-accent: #c9a871;         /* Soft gold */
    --color-background: #fafaf8;     /* Warm off-white */
    --color-white: #ffffff;
    --color-text: #3d3d3d;           /* Darker gray for better readability */
    --color-text-light: #6a6a6a;

    /* Spacing */
    --spacing-section: 150px;
    --spacing-large: 100px;
    --spacing-medium: 60px;
    --spacing-small: 30px;

    /* Layout */
    --max-width: 1200px;
    --max-width-wide: 1400px;
    --max-width-narrow: 700px;

    /* Transitions */
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s ease;
}

/* BASE STYLES */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* TYPOGRAPHY SYSTEM */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.2;
}

h1 {
    font-size: 72px;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

h2 {
    font-size: 42px;
    letter-spacing: -0.5px;
    margin-bottom: 25px;
}

h3 {
    font-size: 28px;
    letter-spacing: 0;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

.lead {
    font-size: 22px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--color-primary);
}

.label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    display: inline-block;
    margin-bottom: 15px;
}

/* LAYOUT CONTAINERS */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.container-wide {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 40px;
}

/* NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-base);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 30px 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.5px;
    transition: var(--transition-base);
}

.header.scrolled .logo-text {
    color: var(--color-primary);
}

.logo-est {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-base);
}

.header.scrolled .logo-est {
    color: var(--color-secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-white);
    letter-spacing: 0.5px;
    transition: var(--transition-base);
    position: relative;
}

.header.scrolled .nav-menu a {
    color: var(--color-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition-base);
}

.nav-menu a:hover {
    color: var(--color-accent);
}

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

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

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

.header.scrolled .mobile-toggle span {
    background: var(--color-primary);
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 58, 63, 0.4) 0%, rgba(43, 58, 63, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 40px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-white);
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* PHILOSOPHY SECTION */
.philosophy {
    padding: var(--spacing-section) 0;
    background: var(--color-white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.philosophy-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.philosophy-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.philosophy-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 25px;
}

/* SERVICES SECTION */
.services {
    padding: var(--spacing-section) 0;
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px;
}

.service-item {
    text-align: left;
}

.service-item h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.service-detail {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 25px;
}

.service-pricing {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 20px;
    line-height: 1.6;
}

/* PORTFOLIO SECTION */
.portfolio {
    padding: var(--spacing-section) 0;
    background: var(--color-background);
}

.section-header-center {
    text-align: center;
    margin-bottom: var(--spacing-large);
}

.project-item {
    margin-bottom: var(--spacing-large);
}

/* Full Width Projects */
.project-item.full-width {
    position: relative;
}

.project-item.full-width .project-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.project-item.full-width .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.project-item.full-width:hover .project-image img {
    transform: scale(1.03);
}

.project-caption {
    text-align: center;
    padding: 40px 0;
}

.project-caption h3 {
    font-size: 32px;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.project-caption p {
    font-size: 16px;
    color: var(--color-text-light);
    margin: 0;
}

/* Split Layout Projects */
.project-item.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.project-item.split-layout.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.project-item.split-layout .project-image {
    height: 500px;
    overflow: hidden;
}

.project-item.split-layout .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.project-item.split-layout:hover .project-image img {
    transform: scale(1.05);
}

.project-details h3 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 15px;
}

.project-meta {
    font-size: 14px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.project-details p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
}

/* PROCESS SECTION */
.process {
    padding: var(--spacing-section) 0;
    background: var(--color-background);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-top: 80px;
}

.process-step {
    text-align: left;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 100px;
    font-weight: 300;
    color: rgba(160, 146, 126, 0.4);
    line-height: 1;
    margin-bottom: 30px;
}

.process-step h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.process-step p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
}

/* TESTIMONIALS SECTION */
.testimonials {
    padding: var(--spacing-section) 0;
    background: var(--color-background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.testimonial-card {
    background: var(--color-white);
    padding: 50px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    border-top: 3px solid var(--color-accent);
}

.quote-mark {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: rgba(201, 168, 113, 0.15);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-primary);
    margin-bottom: auto;
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.testimonial-author {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(160, 146, 126, 0.2);
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.author-location {
    font-size: 13px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* CONTACT SECTION */
.contact {
    padding: var(--spacing-section) 0;
    background: var(--color-background);
}

.contact-form {
    margin-bottom: 60px;
}

.form-row {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 0;
    border: none;
    border-bottom: 1px solid rgba(90, 90, 90, 0.2);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-primary);
    background: transparent;
    transition: var(--transition-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--color-accent);
}

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

.btn-submit {
    width: 100%;
    padding: 20px;
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-submit:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.form-message {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    display: none;
}

.form-message.success {
    color: #2d6b56;
    background: rgba(45, 107, 86, 0.1);
    display: block;
}

.form-message.error {
    color: #a0524a;
    background: rgba(160, 82, 74, 0.1);
    display: block;
}

.contact-info-simple {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(90, 90, 90, 0.1);
}

.contact-info-simple p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

/* FOOTER */
.footer {
    padding: 80px 0 40px;
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left {
    flex: 1;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 5px;
}

.footer-tagline {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    margin: 0;
}

.footer-center {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.footer-center a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-center a:hover {
    color: var(--color-accent);
}

.footer-right {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    transition: var(--transition-base);
}

.footer-right a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 968px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

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

    .mobile-toggle {
        display: flex;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .project-item.split-layout,
    .project-item.split-layout.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-card {
        min-height: auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-center {
        flex-direction: column;
        gap: 20px;
    }

    .footer-right {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-section: 80px;
        --spacing-large: 60px;
    }

    body {
        font-size: 16px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .hero {
        height: 70vh;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .container,
    .container-wide,
    .container-narrow {
        padding: 0 20px;
    }

    .philosophy-image img {
        height: 400px;
    }

    .project-item.full-width .project-image {
        height: 400px;
    }

    .project-item.split-layout .project-image {
        height: 350px;
    }

    .testimonial-feature {
        padding: 40px 30px;
    }

    .testimonial-feature blockquote p {
        font-size: 20px;
    }

    .step-number {
        font-size: 70px;
    }
}

/* SCROLL ANIMATIONS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   MULTI-PAGE WEBSITE ADDITIONS
   ============================================ */

/* NAVIGATION ACTIVE STATE */
.nav-menu a.active {
    color: var(--color-accent);
}

.nav-menu a.active::after {
    width: 100%;
}

/* TEXT LINKS */
.text-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

.text-link:hover {
    color: var(--color-primary);
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
}

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

.btn-primary-large {
    display: inline-block;
    padding: 20px 50px;
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary-large:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

/* SECTION CTA */
.section-cta {
    text-align: center;
    margin-top: 60px;
}

/* CTA SECTION */
.cta-section {
    padding: 120px 0;
    background: var(--color-background);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 40px;
}

/* TESTIMONIAL FEATURE HOME */
.testimonial-feature-home {
    padding: var(--spacing-section) 0;
    background: var(--color-background);
}

.testimonial-content-home {
    position: relative;
}

.testimonial-content-home blockquote {
    margin: 0;
    padding: 0;
}

.testimonial-content-home blockquote p {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-primary);
    margin-bottom: 30px;
}

.testimonial-content-home footer {
    padding-top: 25px;
    border-top: 1px solid rgba(160, 146, 126, 0.2);
}

.author-detail {
    font-size: 14px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ALTERNATING BACKGROUNDS */
.alt-bg {
    background: var(--color-background);
}

/* PAGE HERO */
.page-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: var(--color-white);
}

.page-hero h1 {
    margin-bottom: 25px;
}

.page-hero .lead {
    max-width: 700px;
    margin: 0 auto;
}

/* ABOUT PAGE - FOUNDERS */
.about-founders {
    padding: var(--spacing-section) 0;
    background: var(--color-white);
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.founders-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.founders-content h2 {
    margin-bottom: 40px;
}

.founders-content p {
    margin-bottom: 25px;
}

.quote-style {
    font-family: var(--font-heading);
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-primary);
    border-left: 3px solid var(--color-accent);
    padding-left: 30px;
    margin: 40px 0;
}

.quote-style span {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 15px;
}

/* COMPANY VALUES */
.company-values {
    padding: var(--spacing-section) 0;
    background: var(--color-background);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 80px;
}

.value-item h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.value-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
}

/* TEAM SECTION */
.team-section {
    padding: var(--spacing-section) 0;
    background: var(--color-white);
}

.team-intro {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.team-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.team-member {
    text-align: left;
}

.team-member h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.team-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.team-member p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
}

/* CREDENTIALS */
.credentials-section {
    padding: var(--spacing-section) 0;
    background: var(--color-background);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 80px;
}

.credential-item {
    text-align: center;
}

.credential-item i {
    font-size: 48px;
    color: var(--color-accent);
    margin-bottom: 25px;
}

.credential-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.credential-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
}

/* DETAILED STATS */
.stats-detailed {
    padding: var(--spacing-section) 0;
    background: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px;
}

.stat-item-detailed {
    text-align: center;
}

.stat-number-large {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 300;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 20px;
}

.stat-item-detailed h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.stat-item-detailed p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
}

/* SERVICES PAGE - SERVICE DETAIL */
.service-detail-section {
    padding: var(--spacing-large) 0;
    background: var(--color-white);
}

.service-detail-section.alt-bg {
    background: var(--color-background);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-detail-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.service-detail-content h2 {
    margin-bottom: 15px;
}

.service-detail-content h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.service-pricing-large {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 30px;
}

.detailed-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.detailed-features li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
}

.detailed-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 24px;
    line-height: 1.7;
}

.detailed-features li strong {
    color: var(--color-primary);
    font-weight: 600;
}

.project-examples {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.project-examples li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    padding: 8px 0;
}

.project-examples li strong {
    color: var(--color-primary);
    font-weight: 600;
}

.service-cta {
    margin-top: 50px;
}

/* PROCESS TEASER */
.process-teaser {
    padding: var(--spacing-large) 0;
    background: var(--color-white);
    text-align: center;
}

.process-teaser h2 {
    margin-bottom: 20px;
}

.process-teaser p {
    max-width: 700px;
    margin: 0 auto 50px;
}

.process-teaser-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 50px 0 40px;
}

.process-teaser-item {
    text-align: center;
}

.step-number-small {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 300;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 15px;
}

.process-teaser-item h4 {
    font-size: 18px;
    color: var(--color-primary);
}

/* PORTFOLIO PAGE */
.portfolio-project {
    padding: var(--spacing-large) 0;
    background: var(--color-white);
}

.portfolio-project.alt-bg {
    background: var(--color-background);
}

.project-hero-image {
    margin-bottom: 60px;
}

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

.project-image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.project-image-main img,
.project-image-secondary img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.project-details-section {
    max-width: 1100px;
    margin: 0 auto;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(160, 146, 126, 0.2);
}

.project-header-left h2 {
    margin-bottom: 15px;
}

.project-location {
    font-size: 16px;
    color: var(--color-text-light);
    margin: 0;
}

.project-location i {
    margin-right: 8px;
    color: var(--color-accent);
}

.project-header-right {
    display: flex;
    gap: 50px;
}

.project-stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--color-accent);
}

.project-description h3 {
    font-size: 28px;
    margin-top: 50px;
    margin-bottom: 25px;
}

.project-description p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 25px;
}

.project-features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.project-features-list li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.project-features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 24px;
    line-height: 1.7;
}

.project-testimonial {
    background: var(--color-background);
    padding: 40px;
    border-left: 4px solid var(--color-accent);
    margin: 50px 0;
}

.project-testimonial p {
    font-family: var(--font-heading);
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.project-testimonial footer {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent);
}

.project-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.spec-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.spec-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
}

.portfolio-stats {
    padding: var(--spacing-section) 0;
    background: var(--color-background);
}

/* PROCESS PAGE */
.process-overview {
    padding: var(--spacing-large) 0;
    background: var(--color-white);
}

.process-intro {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.process-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-item {
    text-align: center;
    flex: 1;
}

.timeline-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    margin: 0 auto 20px;
}

.timeline-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.timeline-duration {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

.timeline-connector {
    flex: 1;
    height: 2px;
    background: var(--color-accent);
    opacity: 0.3;
    margin: 0 20px;
    margin-bottom: 60px;
}

/* PROCESS STEP DETAIL */
.process-step-detail {
    padding: var(--spacing-large) 0;
    background: var(--color-white);
}

.process-step-detail.alt-bg {
    background: var(--color-background);
}

.step-detail-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.step-number-large {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 300;
    color: rgba(160, 146, 126, 0.3);
    line-height: 1;
}

.step-detail-header h2 {
    margin-bottom: 10px;
}

.step-duration {
    font-size: 16px;
    color: var(--color-accent);
    font-weight: 600;
    margin: 0;
}

.step-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.step-main-content h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.step-main-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.step-main-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 20px;
}

.step-main-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.step-main-content ul li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.step-main-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 20px;
}

.step-main-content ul li strong {
    color: var(--color-primary);
    font-weight: 600;
}

.step-sidebar {
    position: sticky;
    top: 120px;
}

.step-info-box {
    background: var(--color-background);
    padding: 30px;
    margin-bottom: 30px;
}

.step-info-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.step-info-box p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 15px;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.step-callout {
    background: var(--color-white);
    border-left: 4px solid var(--color-accent);
    padding: 25px;
    margin-bottom: 30px;
}

.step-callout p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

.step-callout strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* CONTACT PAGE */
.contact-info-section {
    padding: var(--spacing-large) 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.contact-card {
    text-align: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-icon i {
    font-size: 32px;
    color: var(--color-accent);
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 15px;
}

.contact-note {
    font-size: 14px !important;
    color: var(--color-text-light) !important;
    font-style: italic;
}

.contact-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
}

.contact-link:hover {
    color: var(--color-primary);
}

/* CONTACT FORM SECTION */
.contact-form-section {
    padding: var(--spacing-large) 0;
    background: var(--color-background);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.form-intro h2 {
    margin-bottom: 25px;
}

.form-intro p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 40px;
}

.form-checklist h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.form-checklist ul {
    list-style: none;
    padding: 0;
}

.form-checklist li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    padding: 8px 0;
    padding-left: 35px;
    position: relative;
}

.form-checklist li i {
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 18px;
}

.contact-form-detailed {
    background: var(--color-white);
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(90, 90, 90, 0.2);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-primary);
    background: var(--color-white);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

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

.form-privacy {
    font-size: 13px;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 20px;
}

.form-privacy a {
    color: var(--color-accent);
    text-decoration: none;
}

/* SERVICE AREAS */
.service-areas-section {
    padding: var(--spacing-large) 0;
    background: var(--color-white);
}

.service-areas-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.service-areas-intro p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
}

.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.service-area-column h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-area-column ul {
    list-style: none;
    padding: 0;
}

.service-area-column li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
}

.service-area-column li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.service-area-note {
    grid-column: 1 / -1;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(160, 146, 126, 0.2);
}

.service-area-note p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 20px;
}

/* OFFICE INFO */
.office-info-section {
    padding: var(--spacing-large) 0;
}

.office-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.office-hours h3,
.quick-answers h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.hours-list {
    margin-bottom: 30px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(160, 146, 126, 0.2);
}

.hours-item .day {
    font-weight: 600;
    color: var(--color-primary);
}

.hours-item .time {
    color: var(--color-text);
}

.hours-note {
    font-size: 15px;
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.7;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
}

/* MAP SECTION */
.map-section {
    padding: 0;
}

.map-container {
    height: 500px;
    position: relative;
}

.map-placeholder {
    height: 100%;
    background: var(--color-background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.map-placeholder i {
    font-size: 64px;
    color: var(--color-accent);
}

.map-placeholder p {
    font-size: 18px;
    color: var(--color-text);
    margin: 0;
}

/* RESPONSIVE - MULTI-PAGE ADDITIONS */
@media (max-width: 968px) {
    .founders-grid,
    .service-detail-grid,
    .contact-form-wrapper,
    .office-info-grid,
    .project-specs-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .service-detail-grid.reverse {
        direction: ltr;
    }

    .values-grid,
    .team-grid,
    .credentials-grid,
    .stats-grid,
    .contact-grid,
    .service-areas-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .project-header {
        flex-direction: column;
        gap: 30px;
    }

    .project-header-right {
        width: 100%;
        justify-content: space-around;
    }

    .project-image-grid {
        grid-template-columns: 1fr;
    }

    .step-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .step-sidebar {
        position: static;
    }

    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .timeline-connector {
        width: 2px;
        height: 60px;
        margin: 0 auto;
    }

    .page-hero {
        padding: 140px 0 80px;
    }
}

@media (max-width: 640px) {
    .process-teaser-steps,
    .project-header-right {
        grid-template-columns: 1fr;
    }

    .btn-primary-large {
        padding: 18px 40px;
        font-size: 14px;
    }

    .testimonial-content-home blockquote p {
        font-size: 22px;
    }

    .stat-number-large {
        font-size: 48px;
    }

    .service-pricing-large {
        font-size: 24px;
    }

    .step-number-large {
        font-size: 80px;
    }

    .project-hero-image img {
        height: 400px;
    }

    .contact-form-detailed {
        padding: 30px 20px;
    }

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