/* ============================================
   Bradbury Design - Main Stylesheet
   Ultra-Modern Architectural Website
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #e94560;
    --accent-hover: #d63d56;
    --gold: #c9a227;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --border: #dee2e6;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

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

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

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

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

.hero .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.875rem;
}

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

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 24px;
}

.top-bar-left a,
.top-bar-right a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
}

.top-bar-left a:hover,
.top-bar-right a:hover {
    color: var(--accent);
}

/* Header */
.header {
    background: var(--white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-sub {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 8px 0;
}

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

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

.nav-cta {
    margin-left: auto;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(22, 33, 62, 0.6) 100%),
                url('/assets/images/MK-Hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero {
        background-attachment: fixed;
    }
}

/* Fix for iOS Safari where background-attachment: fixed causes issues */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}

/* Tablet/iPad specific styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        min-height: 60vh;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 50px 0;
        max-width: 90%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .hero-trust {
        gap: 32px;
    }

    .trust-number {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: row;
    }
}

.hero-bg {
    display: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
    color: var(--white);
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(233, 69, 96, 0.2);
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.trust-label {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--off-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    display: block;
    padding: 40px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.service-icon svg {
    stroke: var(--white);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.service-link {
    font-weight: 600;
    color: var(--accent);
}

.service-card:hover .service-link {
    text-decoration: underline;
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content h2 {
    margin-bottom: 20px;
}

.why-us-content > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.why-us-features {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.feature {
    display: flex;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 69, 96, 0.1);
    border-radius: var(--radius);
}

.feature-icon svg {
    stroke: var(--accent);
}

.feature-content h4 {
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.why-us-image {
    position: relative;
}

.why-us-image img,
.about-intro-image img,
.service-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.project-image img,
.portfolio-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.project-card-large .project-image img {
    min-height: 100%;
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--border) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.project-card-large {
    grid-row: span 2;
}

.project-image {
    width: 100%;
    height: 100%;
}

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

.project-card-large .image-placeholder {
    min-height: 100%;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.3) 50%, transparent 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px;
}

.project-overlay h3 {
    color: var(--white);
    margin-bottom: 8px;
}

.project-overlay p {
    opacity: 0.8;
    margin-bottom: 16px;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 16px;
}

.process-step h3 {
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating svg {
    fill: var(--gold);
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Project Detail Page */
.project-detail {
    padding: 60px 0;
}

.project-hero-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.project-description h2 {
    margin-bottom: 20px;
}

.project-description p {
    color: var(--text-light);
    line-height: 1.8;
}

.project-meta {
    background: var(--off-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    height: fit-content;
}

.meta-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.meta-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.meta-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    display: block;
    font-weight: 500;
    color: var(--primary);
}

.project-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-cta {
        flex-direction: column;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

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

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--white);
}

.footer-social a:hover {
    background: var(--accent);
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 24px;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: rgba(255,255,255,0.7);
}

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

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--accent);
}

.footer-contact span,
.footer-contact a {
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

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

.footer-legal {
    display: flex;
    gap: 24px;
}

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

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Detail */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

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

.service-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

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

.service-detail-content h4 {
    margin: 24px 0 16px;
}

.service-list {
    margin-bottom: 24px;
}

.service-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.service-stats {
    display: flex;
    gap: 40px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.service-detail-image .image-placeholder {
    min-height: 500px;
}

/* Projects Portfolio */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.projects-portfolio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.portfolio-image .image-placeholder {
    min-height: 300px;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.3) 50%, transparent 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

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

.portfolio-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    opacity: 0.7;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.stat-card .stat-number {
    font-size: 3rem;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 1rem;
}

/* About Page */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-content h2 {
    margin-bottom: 24px;
}

.about-intro-image .image-placeholder {
    min-height: 500px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.value-icon {
    margin-bottom: 24px;
}

.value-icon svg {
    stroke: var(--accent);
}

.value-card h3 {
    margin-bottom: 16px;
}

.value-card p {
    color: var(--text-light);
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.experience-content h2 {
    margin-bottom: 24px;
}

.experience-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.exp-stat {
    padding: 32px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    text-align: center;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.exp-label {
    color: var(--text-muted);
}

/* Areas */
.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 600px;
    margin: 0 auto;
}

.area-list h4 {
    margin-bottom: 16px;
    color: var(--primary);
}

.area-list ul li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 16px;
}

.method-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 69, 96, 0.1);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.method-icon svg {
    stroke: var(--accent);
}

.method-content h4 {
    margin-bottom: 4px;
}

.method-content a {
    color: var(--primary);
    font-weight: 500;
}

.method-content a:hover {
    color: var(--accent);
}

.method-content span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.consultation-box {
    background: var(--off-white);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.consultation-box h4 {
    margin-bottom: 16px;
}

.consultation-box ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-light);
}

.consultation-box svg {
    stroke: var(--accent);
    flex-shrink: 0;
}

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

.contact-form h3 {
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

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

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

.form-consent {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-top: 4px;
}

.checkbox-label span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.form-error {
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid var(--accent);
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.form-error p {
    color: var(--accent);
    margin: 0;
}

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

.success-icon {
    margin-bottom: 24px;
}

.success-icon svg {
    stroke: #28a745;
}

.form-success h3 {
    margin-bottom: 16px;
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Map Section */
.map-section {
    width: 100%;
    line-height: 0;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* Legal Pages (Privacy, Terms) */
.legal-content {
    background: var(--white);
}

.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.legal-wrapper h2 {
    font-size: 1.5rem;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.legal-wrapper h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-wrapper h3 {
    font-size: 1.15rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--primary);
}

.legal-wrapper p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-wrapper ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-wrapper ul li {
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.7;
    list-style-type: disc;
}

.legal-wrapper ul li strong {
    color: var(--text);
}

.legal-contact {
    background: var(--off-white);
    padding: 24px 32px;
    border-radius: var(--radius);
    margin-top: 24px;
}

.legal-contact p {
    margin-bottom: 8px;
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

.legal-contact a {
    color: var(--accent);
}

.legal-contact a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .projects-portfolio {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .top-bar-contact {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-cta {
        display: none;
    }

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

    .why-us-grid,
    .service-detail-grid,
    .about-intro-grid,
    .experience-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .project-card-large {
        grid-row: auto;
    }

    .process-steps,
    .stats-grid,
    .experience-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .projects-portfolio {
        grid-template-columns: 1fr;
    }

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

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

/* Mobile hero styles - below iPad portrait */
@media (max-width: 767px) {
    .hero-content {
        padding: 40px 0;
    }

    .hero-trust {
        flex-direction: column;
        gap: 24px;
    }

    .hero-cta {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .service-stats {
        flex-direction: column;
        gap: 16px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    transition: transform 0.2s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Portfolio Item Visibility */
.portfolio-item.hidden {
    display: none;
}
