/* =====================================================
   MANSORY - Premium Stone Masonry Website
   CSS Design System
   ===================================================== */

/* -----------------------------------------------------
   CSS VARIABLES (Design Tokens)
   ----------------------------------------------------- */
:root {
    /* Colors - Neutral Palette */
    --color-black: #0a0a0a;
    --color-charcoal: #1a1a1a;
    --color-graphite: #2a2a2a;
    --color-slate: #3d3d3d;
    --color-stone-dark: #5a5a5a;
    --color-stone: #7a7a7a;
    --color-stone-light: #9a9a9a;
    
    /* Colors - Warm Accents */
    --color-sand-dark: #a89b8c;
    --color-sand: #c4b5a3;
    --color-sand-light: #d9cdbf;
    --color-cream: #f0ebe4;
    --color-ivory: #f8f6f2;
    --color-white: #ffffff;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Sizes - Desktop Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.75rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;
    --text-7xl: 5.5rem;
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    --space-40: 10rem;
    --space-48: 12rem;
    
    /* Layout */
    --container-max: 1440px;
    --container-padding: 80px;
    --header-height: 100px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.16);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
    --duration-fast: 200ms;
    --duration-base: 350ms;
    --duration-slow: 500ms;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-ivory);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--duration-base) var(--ease-out);
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

/* -----------------------------------------------------
   TYPOGRAPHY
   ----------------------------------------------------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.75;
    color: var(--color-stone-dark);
}

/* -----------------------------------------------------
   UTILITIES
   ----------------------------------------------------- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-sand-dark);
}

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

.section-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--color-stone-light);
    margin-top: var(--space-2);
}

.section-number-light {
    color: var(--color-stone);
}

/* -----------------------------------------------------
   BUTTONS
   ----------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: var(--space-5) var(--space-10);
    border: none;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
}

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

.btn-primary:hover {
    background-color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal);
}

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

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

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-charcoal);
    border-color: var(--color-white);
}

.btn-accent {
    background-color: var(--color-sand);
    color: var(--color-charcoal);
}

.btn-accent:hover {
    background-color: var(--color-sand-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-charcoal);
    margin-top: var(--space-8);
}

.link-arrow:hover {
    color: var(--color-sand-dark);
}

.link-arrow:hover .arrow-icon {
    transform: translateX(6px);
}

.arrow-icon {
    transition: transform var(--duration-base) var(--ease-out);
}

/* -----------------------------------------------------
   HEADER - PREMIUM FIXED
   ----------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: var(--container-padding);
    right: var(--container-padding);
    height: 1px;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(255, 255, 255, 0.08) 20%, 
        rgba(255, 255, 255, 0.08) 80%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Header Scrolled State */
.header-scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-scrolled::before {
    opacity: 1;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(196, 181, 163, 0.2) 20%, 
        rgba(196, 181, 163, 0.2) 80%, 
        transparent 100%
    );
}

.header-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.header-logo .logo-text {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--color-white);
    transition: color var(--duration-base) var(--ease-out);
}

.header-logo .logo-tagline {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--color-sand);
    text-transform: uppercase;
    opacity: 0.8;
}

.header-logo:hover .logo-text {
    color: var(--color-sand-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-10);
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding: var(--space-3) 0;
    transition: all var(--duration-base) var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-sand);
    transition: width var(--duration-base) var(--ease-out);
}

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

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

.nav-link-active {
    color: var(--color-white);
}

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

.nav-link-cta {
    padding: var(--space-3) var(--space-8);
    margin-left: var(--space-4);
    border: 1px solid var(--color-sand);
    color: var(--color-sand);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: var(--text-xs);
}

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

.nav-link-cta:hover {
    background-color: var(--color-sand);
    color: var(--color-charcoal);
    border-color: var(--color-sand);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    width: 28px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hamburger-line:nth-child(1) {
    transform: translateY(-8px);
}

.hamburger-line:nth-child(3) {
    transform: translateY(8px);
}

/* Hamburger Animation */
.menu-open .hamburger-line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-open .hamburger-line:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

/* Prevent body scroll when menu open */
body.menu-active {
    overflow: hidden;
}

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

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform-origin: top center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.4) 40%,
        rgba(10, 10, 10, 0.6) 100%
    );
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: var(--space-16);
    margin-top: var(--space-16);
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.badge-line {
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--color-sand);
}

.badge-text {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-sand-light);
}

.hero-title {
    font-size: var(--text-7xl);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: var(--space-8);
    line-height: 1.05;
}

.hero-description {
    font-size: var(--text-xl);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto var(--space-12);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-12);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.scroll-text {
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.scroll-mouse-dot {
    width: 3px;
    height: 6px;
    background: var(--color-sand);
    border-radius: 2px;
}

/* -----------------------------------------------------
   INTRO SECTION
   ----------------------------------------------------- */
.intro-section {
    padding: var(--space-48) 0;
    background-color: var(--color-ivory);
}

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

.intro-header {
    margin-bottom: var(--space-16);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
    align-items: center;
    margin-bottom: var(--space-24);
}

.intro-text-block {
    padding-right: var(--space-12);
}

.intro-title {
    font-size: var(--text-5xl);
    color: var(--color-charcoal);
    margin-bottom: var(--space-10);
}

.intro-lead {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-charcoal);
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.intro-paragraph {
    font-size: var(--text-base);
    color: var(--color-stone-dark);
    line-height: 1.9;
}

.intro-image-block {
    position: relative;
}

.intro-image-wrapper {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

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

.intro-image-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-sand);
    z-index: 1;
}

.intro-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-16);
    padding-top: var(--space-16);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 400;
    color: var(--color-charcoal);
    line-height: 1;
    margin-bottom: var(--space-3);
}

.stat-label {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-stone);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.1);
}

/* -----------------------------------------------------
   SERVICES SECTION
   ----------------------------------------------------- */
.services-section {
    padding: var(--space-48) 0;
    background-color: var(--color-cream);
}

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

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-20);
}

.services-header-right {
    max-width: 500px;
    text-align: right;
}

.services-title {
    font-size: var(--text-5xl);
    color: var(--color-charcoal);
    margin-bottom: var(--space-6);
}

.services-subtitle {
    font-size: var(--text-base);
    color: var(--color-stone-dark);
    line-height: 1.8;
}

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

.service-card {
    position: relative;
    background-color: var(--color-white);
    overflow: hidden;
    transition: transform var(--duration-slow) var(--ease-out),
                box-shadow var(--duration-slow) var(--ease-out);
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-sand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-base) var(--ease-out);
    z-index: 2;
}

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

.service-card-image {
    overflow: hidden;
    height: 280px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

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

.service-card-content {
    padding: var(--space-10);
}

.service-card-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 400;
    color: var(--color-sand);
    margin-bottom: var(--space-4);
}

.service-card-title {
    font-size: var(--text-2xl);
    color: var(--color-charcoal);
    margin-bottom: var(--space-4);
}

.service-card-description {
    font-size: var(--text-sm);
    color: var(--color-stone-dark);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.service-card-link {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-charcoal);
}

.service-card-link:hover {
    color: var(--color-sand-dark);
}

/* -----------------------------------------------------
   PROJECTS SECTION - NEW LAYOUT
   ----------------------------------------------------- */
.projects-section {
    padding: var(--space-48) 0;
    background-color: var(--color-charcoal);
}

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

.projects-header {
    margin-bottom: var(--space-16);
}

.projects-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-8);
}

.projects-header-left .section-label {
    color: var(--color-sand);
}

.projects-header-left .section-number {
    color: var(--color-stone);
}

.projects-header .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.projects-header .btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-charcoal);
    border-color: var(--color-white);
}

.projects-title {
    font-size: var(--text-5xl);
    color: var(--color-white);
}

/* Project Gallery New */
.projects-gallery-new {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* Project Rows */
.project-row {
    display: grid;
    gap: var(--space-6);
}

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

.project-row-triple {
    grid-template-columns: repeat(3, 1fr);
}

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

/* Project Card New */
.project-card-new {
    position: relative;
    overflow: hidden;
    background-color: var(--color-graphite);
}

.project-card-new .project-card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-card-new .project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

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

/* Hero Card */
.project-card-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    min-height: 500px;
}

.project-card-hero .project-card-image {
    height: 100%;
}

.project-card-hero .project-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-16);
    background-color: var(--color-graphite);
}

.project-card-hero .project-card-category {
    margin-bottom: var(--space-4);
}

.project-card-hero .project-card-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
}

.project-card-hero .project-card-desc {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: var(--space-8);
}

.project-card-hero .project-card-location {
    margin-top: auto;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Regular Cards in Grid */
.project-row-triple .project-card-new,
.project-row-split .project-card-new {
    height: 380px;
}

.project-row-triple .project-card-new .project-card-image,
.project-row-split .project-card-new .project-card-image {
    position: absolute;
    inset: 0;
}

.project-row-triple .project-card-info,
.project-row-split .project-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-8);
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0) 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--duration-base) var(--ease-out);
}

.project-row-triple .project-card-new:hover .project-card-info,
.project-row-split .project-card-new:hover .project-card-info {
    transform: translateY(0);
    opacity: 1;
}

/* Card Info Styles */
.project-card-category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-sand);
    margin-bottom: var(--space-2);
}

.project-card-title {
    font-size: var(--text-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.project-card-location {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

/* -----------------------------------------------------
   PROCESS SECTION
   ----------------------------------------------------- */
.process-section {
    position: relative;
    padding: var(--space-48) 0;
    background-color: var(--color-charcoal);
    overflow: hidden;
}

.process-container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.process-header {
    margin-bottom: var(--space-20);
}

.process-title {
    font-size: var(--text-5xl);
    color: var(--color-white);
    margin-top: var(--space-6);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-12);
}

.process-step {
    padding: var(--space-8);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.step-icon {
    margin-bottom: var(--space-8);
}

.step-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 400;
    color: var(--color-sand);
    line-height: 1;
}

.step-title {
    font-size: var(--text-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.step-description {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.process-background-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    opacity: 0.12;
    z-index: 1;
}

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

/* -----------------------------------------------------
   TESTIMONIAL SECTION
   ----------------------------------------------------- */
.testimonial-section {
    padding: var(--space-48) 0;
    background-color: var(--color-cream);
}

.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 180px;
    font-weight: 400;
    line-height: 0.5;
    color: var(--color-sand);
    margin-bottom: var(--space-8);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-charcoal);
    margin-bottom: var(--space-12);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.author-name {
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-charcoal);
}

.author-info {
    font-size: var(--text-sm);
    color: var(--color-stone);
}

/* -----------------------------------------------------
   CTA SECTION
   ----------------------------------------------------- */
.cta-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.65) 100%
    );
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.cta-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.cta-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-sand);
    margin-bottom: var(--space-8);
}

.cta-title {
    font-size: var(--text-6xl);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: var(--space-8);
}

.cta-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: var(--space-12);
}

/* -----------------------------------------------------
   FOOTER SECTION
   ----------------------------------------------------- */
.footer-section {
    background-color: var(--color-charcoal);
    padding: var(--space-24) 0 var(--space-10);
}

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

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-16);
    padding-bottom: var(--space-16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-6);
}

.footer-logo .logo-text {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    letter-spacing: 0.35em;
    color: var(--color-white);
}

.footer-logo .logo-tagline {
    font-size: var(--text-xs);
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-sand);
    text-transform: uppercase;
}

.footer-brand-text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 300px;
}

.footer-nav-title {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-sand);
    margin-bottom: var(--space-6);
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-nav-link {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-address {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-address p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-address a:hover {
    color: var(--color-sand);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-10);
}

.footer-copyright {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: var(--space-8);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* -----------------------------------------------------
   UNDER CONSTRUCTION PAGE
   ----------------------------------------------------- */
.construction-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.construction-header {
    background-color: var(--color-charcoal);
}

.construction-header .header-logo .logo-text,
.construction-header .nav-link {
    color: var(--color-white);
}

.construction-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-32) var(--container-padding);
    background-color: var(--color-ivory);
}

.construction-content {
    text-align: center;
    max-width: 600px;
}

.construction-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-12);
    border: 2px solid var(--color-sand);
    border-radius: 50%;
}

.construction-icon-inner {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    color: var(--color-sand);
}

.construction-title {
    font-size: var(--text-5xl);
    color: var(--color-charcoal);
    margin-bottom: var(--space-6);
}

.construction-subtitle {
    font-size: var(--text-lg);
    color: var(--color-stone-dark);
    margin-bottom: var(--space-10);
    line-height: 1.8;
}

.construction-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
}

.construction-contact-info {
    margin-bottom: var(--space-10);
    padding: var(--space-8);
    background-color: var(--color-cream);
    border-left: 3px solid var(--color-sand);
}

.construction-contact-item {
    font-size: var(--text-base);
    color: var(--color-stone-dark);
    margin-bottom: var(--space-3);
}

.construction-contact-item:last-child {
    margin-bottom: 0;
}

.construction-contact-item strong {
    color: var(--color-charcoal);
}

/* -----------------------------------------------------
   RESPONSIVE DESIGN
   ----------------------------------------------------- */
@media (max-width: 1200px) {
    :root {
        --container-padding: 48px;
        --text-7xl: 4rem;
        --text-6xl: 3.5rem;
        --text-5xl: 2.75rem;
    }
    
    .intro-content {
        gap: var(--space-16);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .service-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .service-card-image {
        height: 100%;
        min-height: 350px;
    }
    
    .projects-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .project-card-large,
    .project-card-wide {
        grid-column: span 1;
    }
    
    .project-card-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .project-card-hero .project-card-image {
        height: 350px;
    }
    
    .project-card-hero .project-card-info {
        padding: var(--space-10);
    }
    
    .project-row-triple {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-row-triple .project-card-new:last-child {
        grid-column: span 2;
    }
    
    .project-row-split {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-12);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 24px;
        --text-7xl: 2.75rem;
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .header-nav.nav-open {
        transform: translateX(0);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: var(--space-32) var(--space-10);
        height: 100%;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-link {
        display: block;
        font-size: var(--text-lg);
        padding: var(--space-6) 0;
        letter-spacing: 0.15em;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link-active {
        color: var(--color-sand);
        padding-left: var(--space-4);
    }
    
    .nav-link-cta {
        display: inline-block;
        margin: var(--space-8) 0;
        padding: var(--space-5) var(--space-10);
        border: 2px solid var(--color-sand);
        background-color: var(--color-sand);
        color: var(--color-charcoal);
        font-size: var(--text-sm);
    }
    
    .nav-link-cta:hover {
        background-color: transparent;
        color: var(--color-sand);
        padding-left: var(--space-10);
    }
    
    .nav-menu {
        display: flex;
    }
    
    .hero-content {
        padding: var(--space-8);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .intro-text-block {
        padding-right: 0;
    }
    
    .intro-image-accent {
        display: none;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: var(--space-10);
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .services-header {
        flex-direction: column;
        gap: var(--space-8);
    }
    
    .services-header-right {
        text-align: left;
    }
    
    .service-card {
        grid-template-columns: 1fr;
    }
    
    .projects-gallery {
        grid-template-columns: 1fr;
    }
    
    .project-row-triple {
        grid-template-columns: 1fr;
    }
    
    .project-row-triple .project-card-new:last-child {
        grid-column: span 1;
    }
    
    .project-row-split {
        grid-template-columns: 1fr;
    }
    
    .project-card-hero .project-card-title {
        font-size: var(--text-2xl);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .testimonial-quote {
        font-size: var(--text-2xl);
    }
    
    .testimonial-quote-mark {
        font-size: 100px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-6);
        text-align: center;
    }

    .project-card-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .project-card-hero .project-card-image {
        height: 280px;
    }

    .project-card-hero .project-card-info {
        padding: var(--space-8);
    }
}

/* =====================================================
   ANIMATIONS & ENTRANCE EFFECTS
   ===================================================== */

/* Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollDot {
    0%   { transform: translateY(0);    opacity: 1; }
    70%  { transform: translateY(14px); opacity: 0; }
    71%  { transform: translateY(0);    opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}

/* Hero entrance — staggered on load */
.hero-badge {
    animation: fadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.15s;
}

.hero-title {
    animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.35s;
}

.hero-description {
    animation: fadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.55s;
}

.hero-actions {
    animation: fadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.72s;
}

.hero-scroll-indicator {
    animation: fadeIn 1s ease both;
    animation-delay: 1.2s;
}

.scroll-mouse-dot {
    animation: scrollDot 2.4s ease-in-out infinite;
}

/* Scroll-triggered reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate].in-view {
    opacity: 1;
    transform: none;
}

[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.3s; }
[data-animate][data-delay="4"] { transition-delay: 0.4s; }
[data-animate][data-delay="5"] { transition-delay: 0.5s; }
[data-animate][data-delay="6"] { transition-delay: 0.6s; }

/* Footer credit */
.footer-credit {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.25);
    margin-top: var(--space-4);
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid transparent;
    transition: color var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out);
}

.footer-credit a:hover {
    color: var(--color-sand);
    border-color: var(--color-sand);
}
