/* HX2 Interior Design — Main Stylesheet */

:root {
    --charcoal: #1c1c1c;
    --charcoal-soft: #2a2a2a;
    --warm-white: #faf8f5;
    --cream: #f3efe9;
    --sand: #e5dfd6;
    --gold: #b8956a;
    --gold-light: #d4b896;
    --gold-dark: #96754f;
    --text: #2c2c2c;
    --text-secondary: #5c5650;
    --text-muted: #8a847c;
    --white: #ffffff;
    --border: rgba(28, 28, 28, 0.08);
    --shadow-sm: 0 2px 8px rgba(28, 28, 28, 0.06);
    --shadow-md: 0 8px 32px rgba(28, 28, 28, 0.1);
    --shadow-lg: 0 20px 60px rgba(28, 28, 28, 0.14);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
    --header-height: 80px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 600; }

p { color: var(--text-secondary); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--charcoal); color: var(--warm-white); }
.section--dark h2, .section--dark h3 { color: var(--warm-white); }
.section--dark p { color: rgba(250, 248, 245, 0.75); }

.section-header {
    max-width: 680px;
    margin-bottom: 3.5rem;
}

.section-header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section--dark .section-label { color: var(--gold-light); }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    padding-top: env(safe-area-inset-top, 0);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--charcoal);
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--charcoal);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-desktop { display: flex; align-items: center; gap: 2rem; }

.nav-desktop a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--charcoal); }
.nav-desktop a:hover::after,
.nav-desktop a.active::after { width: 100%; }

.nav-cta {
    padding: 0.75rem 1.5rem !important;
    background: var(--charcoal) !important;
    color: var(--warm-white) !important;
    border-radius: var(--radius-sm);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-dark) !important; color: var(--white) !important; }

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none;
    position: fixed;
    top: calc(var(--header-height) + env(safe-area-inset-top, 0));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warm-white);
    padding: 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
    flex-direction: column;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
    padding: 1rem 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1.0625rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    color: var(--charcoal);
    -webkit-tap-highlight-color: transparent;
}

.nav-mobile a:last-child {
    margin-top: 0.5rem;
    justify-content: center;
    background: var(--charcoal);
    color: var(--warm-white) !important;
    border: none;
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--charcoal);
    color: var(--warm-white);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
}

.btn-outline:hover {
    background: var(--charcoal);
    color: var(--warm-white);
}

.btn-outline-light {
    background: transparent;
    color: var(--warm-white);
    border: 1.5px solid rgba(250, 248, 245, 0.4);
}

.btn-outline-light:hover {
    background: var(--warm-white);
    color: var(--charcoal);
    border-color: var(--warm-white);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(28,28,28,0.75) 0%, rgba(28,28,28,0.35) 60%, rgba(28,28,28,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    color: var(--warm-white);
}

.hero-content h1 { color: var(--warm-white); margin-bottom: 1.5rem; }

.hero-content p {
    font-size: 1.125rem;
    color: rgba(250, 248, 245, 0.85);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(8px);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2rem 0;
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Page Hero (inner pages) */
.page-hero {
    padding: calc(var(--header-height) + 5rem) 0 4rem;
    background: var(--cream);
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.125rem; max-width: 600px; }

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.service-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card__image img { transform: scale(1.05); }

.service-card__body { padding: 1.75rem; }

.service-card__body h3 { margin-bottom: 0.75rem; }

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.service-card__link:hover { color: var(--charcoal); }

/* USP / Features */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.usp-item { text-align: center; padding: 2rem 1.5rem; }

.usp-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.5rem;
}

.usp-item h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }

/* Project Cards */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--warm-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img { transform: scale(1.06); }

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,28,28,0.85) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    color: var(--warm-white);
}

.project-card__tag {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.375rem;
}

.project-card__overlay h3 {
    color: var(--warm-white);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.project-card__overlay p {
    color: rgba(250, 248, 245, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    padding: 2.5rem 2rem;
    position: relative;
    border-left: 1px solid var(--border);
}

.process-step:first-child { border-left: none; }

.process-step__num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.process-step h3 { margin-bottom: 0.75rem; }

/* Timeline (process page) */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--sand);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--charcoal);
    color: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.timeline-content h3 { margin-bottom: 0.5rem; }

/* About split layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-layout__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.split-layout__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.value-item h4 { margin-bottom: 0.5rem; color: var(--gold-dark); }

/* CTA Banner */
.cta-banner {
    padding: 5rem 0;
    text-align: center;
    background: var(--charcoal);
    color: var(--warm-white);
}

.cta-banner h2 { color: var(--warm-white); margin-bottom: 1rem; }
.cta-banner p {
    color: rgba(250, 248, 245, 0.75);
    max-width: 520px;
    margin: 0 auto 2rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-item__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--radius-sm);
    color: var(--gold-dark);
    font-size: 1.25rem;
}

.contact-info-item h4 { margin-bottom: 0.25rem; }
.contact-info-item p, .contact-info-item a { font-size: 0.9375rem; margin: 0; }
.contact-info-item a:hover { color: var(--gold); }

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.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: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border: 1px solid var(--sand);
    border-radius: var(--radius-sm);
    background: var(--warm-white);
    color: var(--text);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-success {
    display: none;
    padding: 1rem;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    text-align: center;
}

.form-success.show { display: block; }

/* Footer */
.site-footer {
    background: var(--charcoal-soft);
    color: rgba(250, 248, 245, 0.7);
    padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom, 0));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo { color: var(--warm-white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(250, 248, 245, 0.6); }

.footer-col h4 {
    color: var(--warm-white);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: rgba(250, 248, 245, 0.6);
    padding: 0.3rem 0;
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 248, 245, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
    color: rgba(250, 248, 245, 0.45);
}

.social-links { display: flex; gap: 1rem; }

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 248, 245, 0.2);
    border-radius: 50%;
    color: rgba(250, 248, 245, 0.6);
    font-size: 0.875rem;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(28, 28, 28, 0.8);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.open { display: flex; }

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--cream);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--charcoal);
    z-index: 1;
}

.modal-body { padding: 2.5rem; }
.modal-body img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.25rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.modal-meta dt {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.modal-meta dd {
    font-size: 0.9375rem;
    color: var(--charcoal);
    margin-top: 0.25rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .usp-grid { grid-template-columns: 1fr; gap: 1rem; }
    .process-steps { grid-template-columns: 1fr; }
    .process-step { border-left: none; border-top: 1px solid var(--border); padding-top: 2rem; }
    .process-step:first-child { border-top: none; }
    .split-layout { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .projects-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    :root { --header-height: 64px; }

    .container { padding: 0 1.25rem; }

    .nav-desktop { display: none; }
    .menu-toggle { display: flex; }

    .site-header.scrolled,
    .site-header { background: rgba(250, 248, 245, 0.98); box-shadow: var(--shadow-sm); }

    .logo { font-size: 1.35rem; gap: 0.5rem; }
    .logo-mark { width: 36px; height: 36px; font-size: 0.75rem; }
    .logo span:last-child { max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 2rem; }

    h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
    h2 { font-size: clamp(1.65rem, 6vw, 2.25rem); }

    /* Hero — stack content + stats vertically */
    .hero {
        flex-direction: column;
        justify-content: flex-start;
        min-height: auto;
    }

    .hero-bg img { object-position: center 30%; }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(28,28,28,0.55) 0%, rgba(28,28,28,0.82) 100%);
    }

    .hero-content {
        min-height: 62vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: calc(var(--header-height) + 1.5rem) 0 2rem;
        width: 100%;
    }

    .hero-content p { font-size: 1rem; margin-bottom: 1.75rem; }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn { width: 100%; min-height: 48px; }

    .hero-stats {
        position: relative;
        width: 100%;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.75rem;
        padding: 1.25rem 0;
    }

    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.6875rem; line-height: 1.35; }

    .page-hero {
        padding: calc(var(--header-height) + 2rem) 0 2.5rem;
    }

    .page-hero p { font-size: 1rem; }

    .cards-grid,
    .projects-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    .project-card { aspect-ratio: 3/4; }
    .project-card__overlay { padding: 1.25rem; }
    .project-card__overlay h3 { font-size: 1.25rem; }

    .service-card__body { padding: 1.25rem; }

    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form { padding: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        min-height: 48px;
        padding: 0.75rem 1rem;
    }

    .form-group textarea { min-height: 120px; }

    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
        width: 100%;
    }

    .cta-banner { padding: 3rem 0; }
    .cta-banner .btn { max-width: 320px; margin: 0 auto; }

    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .project-filters { gap: 0.5rem; margin-bottom: 1.75rem; }
    .filter-btn {
        min-height: 44px;
        padding: 0.625rem 1rem;
        flex: 1 1 auto;
        text-align: center;
    }

    .timeline::before { left: 22px; }
    .timeline-item { gap: 1rem; padding-bottom: 2rem; }
    .timeline-marker { width: 44px; height: 44px; font-size: 1rem; }

    .process-step { padding: 1.75rem 0; }
    .process-step__num { font-size: 2.75rem; }

    .usp-item { padding: 1.25rem 0.5rem; }

    .modal {
        padding: 0;
        align-items: flex-end;
    }

    .modal-content {
        max-height: 92vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .modal-body { padding: 1.5rem; }
    .modal-close {
        width: 44px;
        height: 44px;
        top: 0.75rem;
        right: 0.75rem;
    }

    .modal-body .btn { width: 100%; }

    .split-layout__image { aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }

    .section-label { font-size: 0.6875rem; letter-spacing: 0.14em; }

    .hero-content { min-height: 58vh; }

    .stats-bar { grid-template-columns: 1fr 1fr; }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        padding-top: 0.25rem;
        border-top: 1px solid var(--border);
    }

    .breadcrumb { font-size: 0.75rem; flex-wrap: wrap; }

    .social-links a {
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-up {
        opacity: 1;
        transform: none;
    }
}
