/* ==========================================================================
   Martin Structural Workshop — Main Stylesheet
   Brand colors only, no gradients. Mobile-first responsive design.
   ========================================================================== */

/* ── CSS Variables ── */
:root {
    --primary: #071533;
    --secondary: #C90716;
    --accent: #4E5967;
    --light: #C9CDD4;
    --background: #F5F7FA;
    --text: #222222;
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --container-max: 1200px;
    --container-padding: 20px;

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

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(7, 21, 51, 0.08);
    --shadow-md: 0 4px 12px rgba(7, 21, 51, 0.12);
    --shadow-lg: 0 8px 24px rgba(7, 21, 51, 0.16);
    --shadow-xl: 0 16px 48px rgba(7, 21, 51, 0.20);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.text-secondary { color: var(--secondary); }
.center { text-align: center; }

/* ── Layout ── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

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

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

.section-header {
    margin-bottom: 50px;
}

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

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--secondary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--secondary);
}

.section-header.center .section-eyebrow {
    padding-left: 30px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
    gap: 8px;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

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

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

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

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

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

.header-top {
    background: var(--primary);
    padding: 8px 0;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-top-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--light);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color var(--transition);
}

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

.header-top-link svg {
    flex-shrink: 0;
    color: var(--secondary);
}

/* ── Navbar ── */
.navbar {
    padding: 0;
    height: 80px;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.logo-img-footer {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

.nav-cta {
    margin-left: 12px;
}

.nav-cta .btn {
    color: var(--white);
}

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

/* ── Mobile Nav Toggle ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--primary);
    transition: all var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 600px;
    background: var(--primary);
    background-image: url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0.75;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    width: 100%;
}

.hero-text {
    max-width: 650px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--secondary);
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid var(--secondary);
}

.hero-title {
    font-size: 2.5rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title .text-secondary {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Hero Bottom Bar ── */
.hero-bottom-bar {
    position: relative;
    z-index: 2;
    background: var(--secondary);
    padding: 20px 0;
}

.hero-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.hero-bar-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-bar-label {
    font-size: 0.75rem;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.hero-bar-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* ── About Preview ── */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-preview-visual {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.about-preview-visual svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about-preview-text .section-title {
    margin-bottom: 20px;
}

.about-preview-text p {
    color: var(--accent);
    margin-bottom: 16px;
}

.check-list {
    margin: 20px 0 28px;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 500;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 3px;
}

.check-list li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 7px;
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
}

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

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: 4px;
    padding: 32px 24px;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--secondary);
}

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

.service-card-icon {
    color: var(--primary);
    margin-bottom: 20px;
    transition: color var(--transition);
}

.service-card:hover .service-card-icon {
    color: var(--secondary);
}

.service-card-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card-text {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
}

.service-card-link svg {
    transition: transform var(--transition);
}

.service-card:hover .service-card-link svg {
    transform: translateX(4px);
}

/* ── Stats Banner ── */
.stats-banner {
    background: var(--primary);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.project-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--light);
}

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

.project-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--primary);
}

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

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

.project-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 2px;
}

.project-card-body {
    padding: 20px;
}

.project-card-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.project-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.project-card-meta svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.project-card-text {
    font-size: 0.88rem;
    color: var(--accent);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Features Grid (Why Choose Us) ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--background);
    border-radius: 4px;
    border-bottom: 4px solid var(--secondary);
    transition: all var(--transition);
}

.feature-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    color: var(--secondary);
    margin-bottom: 16px;
    display: inline-flex;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--accent);
    margin-bottom: 0;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 4px;
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--secondary);
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 2px;
    text-transform: none;
    letter-spacing: 0;
}

.testimonial-role {
    font-size: 0.82rem;
    color: var(--accent);
    margin-bottom: 0;
}

/* ── CTA Banner ── */
.cta-banner {
    background: var(--primary);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--secondary);
}

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

.cta-title {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-text {
    color: var(--light);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

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

/* ── Footer ── */
.site-footer {
    background: var(--primary);
    color: var(--light);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-about .footer-desc {
    font-size: 0.9rem;
    color: var(--light);
    margin-top: 16px;
    line-height: 1.7;
}

.logo-footer {
    margin-bottom: 4px;
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--light);
}

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

.footer-contact a {
    color: var(--light);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--secondary);
}

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

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--light);
    margin-bottom: 0;
}

/* ── Page Banner ── */
.page-banner {
    background: var(--primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
}

.page-banner-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.page-banner-title {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.page-banner-text {
    color: var(--light);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 0;
}

/* ── About Page ── */
.about-story {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-story-text p {
    color: var(--accent);
    margin-bottom: 16px;
}

.about-story-visual {
    width: 100%;
    aspect-ratio: 9 / 8;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.about-story-visual svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Mission & Vision */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mv-card {
    background: var(--white);
    border-radius: 4px;
    padding: 40px 32px;
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.mv-card:hover {
    box-shadow: var(--shadow-md);
}

.mv-icon {
    color: var(--secondary);
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.mv-card p {
    color: var(--accent);
    margin-bottom: 0;
}

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

.value-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--background);
    border-radius: 4px;
    transition: all var(--transition);
}

.value-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-icon {
    color: var(--secondary);
    margin-bottom: 16px;
    display: inline-flex;
}

.value-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.value-text {
    font-size: 0.88rem;
    color: var(--accent);
    margin-bottom: 0;
}

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

.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.process-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 12px;
    line-height: 1;
    transition: color var(--transition);
}

.process-step:hover .process-number {
    color: var(--secondary);
}

.process-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process-text {
    font-size: 0.88rem;
    color: var(--accent);
    margin-bottom: 0;
}

/* ── Services Detail Page ── */
.services-detail {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-detail-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
    align-items: start;
    padding: 40px 0;
    border-bottom: 1px solid var(--light);
}

.service-detail-row:last-child {
    border-bottom: none;
}

.service-detail-icon {
    color: var(--primary);
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--background);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.service-detail-row:hover .service-detail-icon {
    background: var(--primary);
    color: var(--white);
}

.service-detail-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-detail-desc {
    color: var(--accent);
    margin-bottom: 16px;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text);
}

.service-features svg {
    flex-shrink: 0;
}

.service-detail-action {
    flex-shrink: 0;
}

/* ── Projects Filter ── */
.projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 2px solid var(--light);
    background: var(--white);
    color: var(--accent);
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 2px;
}

.filter-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

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

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--accent);
    font-size: 1.1rem;
}

/* ── Contact Page ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-intro {
    color: var(--accent);
    margin-bottom: 28px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    background: var(--background);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: all var(--transition);
}

.contact-info-item:hover .contact-info-icon {
    background: var(--primary);
    color: var(--white);
}

.contact-info-icon.whatsapp-icon {
    color: #25D366;
}

.contact-info-item:hover .contact-info-icon.whatsapp-icon {
    background: #25D366;
    color: var(--white);
}

.contact-info-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 2px;
}

.contact-info-text a,
.contact-info-text span {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.contact-info-text a:hover {
    color: var(--secondary);
}

.contact-hours {
    background: var(--background);
    border-radius: 4px;
    padding: 24px;
    border-left: 4px solid var(--secondary);
}

.contact-hours h4 {
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-hours p {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 4px;
}

/* ── Contact Form ── */
.contact-form-wrapper {
    background: var(--background);
    border-radius: 4px;
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.contact-form-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.contact-form-subtitle {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

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

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
}

.required {
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light);
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234E5967' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

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

/* Form Alerts */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.form-alert svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.form-success {
    background: #E8F5E9;
    border-left: 4px solid #2E7D32;
    color: #2E7D32;
}

.form-error {
    background: #FFEBEE;
    border-left: 4px solid var(--secondary);
    color: var(--secondary);
}

.form-alert strong {
    display: block;
    margin-bottom: 4px;
}

.form-alert p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ── Map Placeholder ── */
.map-placeholder {
    width: 100%;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── 404 Page ── */
.error-content {
    text-align: center;
    padding: 40px 20px;
}

.error-code {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1;
}

.error-message {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── WhatsApp Float Button ── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1DA851;
    color: var(--white);
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
}

/* ── Scroll Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Responsive: Tablet (max-width: 992px) ── */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px;
    }

    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .page-banner-title { font-size: 1.8rem; }

    .navbar {
        height: 70px;
    }

    .logo-img {
        max-height: 60px;
    }

    .about-preview,
    .about-story {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-preview-visual,
    .about-story-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

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

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

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

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

    .footer-about {
        grid-column: 1 / -1;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-row {
        grid-template-columns: 64px 1fr;
        gap: 20px;
    }

    .service-detail-icon {
        width: 64px;
        height: 64px;
    }

    .service-detail-action {
        grid-column: 1 / -1;
        margin-top: 8px;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

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

    .hero-bar-divider {
        display: none;
    }
}

/* ── Responsive: Mobile (max-width: 768px) ── */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
        --container-padding: 16px;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 20px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        transition: right var(--transition);
        overflow-y: auto;
    }

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

    .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
        border-bottom: 1px solid var(--light);
    }

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

    .nav-cta {
        margin: 16px 0 0;
    }

    .nav-cta .btn {
        width: 100%;
    }

    /* Header top */
    .header-top {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .hero-bar-inner {
        flex-direction: column;
        gap: 16px;
    }

    .hero-bar-item {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
    }

    .hero-bar-num {
        font-size: 1.4rem;
    }

    /* Sections */
    .section-title {
        font-size: 1.4rem;
    }

    .page-banner {
        padding: 40px 0;
    }

    .page-banner-title {
        font-size: 1.5rem;
    }

    /* Grids */
    .services-grid,
    .projects-grid,
    .features-grid,
    .values-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

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

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    /* CTA */
    .cta-title {
        font-size: 1.5rem;
    }

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

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

    /* Contact form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    /* WhatsApp & back-to-top */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }

    .back-to-top {
        bottom: 16px;
        left: 16px;
    }

    /* Error page */
    .error-code {
        font-size: 3.5rem;
    }
}

/* ── Responsive: Small Mobile (max-width: 480px) ── */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

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

    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .logo-img {
        max-height: 56px;
    }

    .navbar {
        height: 64px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    .contact-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ── Print ── */
@media print {
    .site-header,
    .whatsapp-float,
    .back-to-top,
    .nav-toggle,
    .hero-actions,
    .cta-actions {
        display: none;
    }
}
