/* ============================================
   MOKU SECURITY - REDESIGNED STYLESHEET
   Multi-page | Responsive | SEO-Optimized
   ============================================ */

:root {
    --primary: #1a365d;
    --primary-dark: #0f2744;
    --primary-light: #2c5282;
    --accent: #c53030;
    --accent-hover: #9b2c2c;
    --gold: #d69e2e;
    --white: #ffffff;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --container-max: 1200px;
    --nav-height: 80px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all var(--transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    z-index: 9999;
    font-weight: 600;
    transition: top var(--transition-base);
}
.skip-link:focus { top: 1rem; outline: 3px solid var(--gold); outline-offset: 2px; }

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all var(--transition-base);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.nav-logo:hover img { transform: scale(1.05); }

.logo-text { display: flex; flex-direction: column; }
.logo-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.03em;
    line-height: 1.2;
}
.logo-subtitle {
    font-size: 0.65rem;
    color: var(--gray-500);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    margin-left: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
    background: none;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 0.25rem;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-slow);
        z-index: 1000;
    }
    .nav-menu.active { right: 0; }
    .nav-link { width: 100%; padding: 0.875rem 1rem; font-size: 1rem; }
    .nav-link:hover { background: var(--gray-50); }
    .nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center; width: 100%; }
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
    background: var(--primary);
    padding: 5rem 0 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://moku.co.tz/wp-content/uploads/2024/09/Moku-Guards.png') center/cover no-repeat;
    opacity: 0.08;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--gray-400); }

/* ============================================
   HERO SECTION (Homepage)
   ============================================ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 39, 68, 0.92) 0%, rgba(15, 39, 68, 0.8) 50%, rgba(15, 39, 68, 0.7) 100%);
    z-index: 1;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.02em;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(197, 48, 48, 0.35);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(197, 48, 48, 0.45); }

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

.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--primary);
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.stats-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item { color: var(--white); }
.stat-number, .stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .stats-container { grid-template-columns: repeat(4, 1fr); padding: 0 3rem; }
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-50); }

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1.25rem; height: 2px;
    background: var(--accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.7;
}

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

/* ============================================
   ABOUT SECTION (Homepage)
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-feature h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.feature-icon svg { width: 20px; height: 20px; }

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-main:hover img { transform: scale(1.03); }

.experience-badge {
    position: absolute;
    bottom: -1rem;
    right: -0.5rem;
    background: var(--accent);
    color: var(--white);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.badge-text { font-size: 0.8rem; font-weight: 500; opacity: 0.9; }

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}

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

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,39,68,0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    line-height: 1;
}

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9rem;
    transition: gap var(--transition-fast);
    margin-top: auto;
}
.service-link:hover { gap: 0.75rem; color: var(--accent-hover); }

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================
   WHY US SECTION
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.why-feature {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border-left: 4px solid var(--accent);
}

.why-feature:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }

.why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.why-icon svg { width: 22px; height: 22px; }

.why-text h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.35rem; }
.why-text p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

.why-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.why-image img { width: 100%; height: auto; object-fit: cover; }

@media (min-width: 1024px) {
    .why-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background: var(--primary-dark);
}

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

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,39,68,0.95), rgba(15,39,68,0.9));
    z-index: 1;
}

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

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-item h4 { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 0.35rem; }
.contact-item a, .contact-item address { display: block; font-size: 0.95rem; color: var(--gray-700); font-weight: 500; line-height: 1.6; font-style: normal; }
.contact-item a:hover { color: var(--accent); }

.contact-form-wrapper {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); }
.form-group label span { color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.form-group input, .form-group select, .form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-700);
    background: var(--white);
    transition: all var(--transition-fast);
    width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 100px; }

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--gray-300);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand { max-width: 300px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}
.footer-logo img { width: 42px; height: 42px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; opacity: 0.8; }

.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: 0.05em; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.9rem; opacity: 0.8; transition: all var(--transition-fast); }
.footer-links a:hover { opacity: 1; color: var(--gold); padding-left: 0.25rem; }
.footer-contact p, .footer-contact address { font-size: 0.9rem; line-height: 1.8; opacity: 0.8; }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}
.footer-bottom p { font-size: 0.85rem; opacity: 0.7; }
.footer-credit { color: var(--gold); font-weight: 500; }

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-hover); transform: translateY(-3px); }
.back-to-top svg { width: 18px; height: 18px; }

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.story-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.story-content p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.story-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.story-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: all var(--transition-base);
}

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

.value-card .value-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
}

.value-card .value-icon svg { width: 24px; height: 24px; }

.value-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .about-story { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   SERVICES PAGE SPECIFIC
   ============================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.service-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.service-detail-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.service-detail-content p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-detail-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.service-detail-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .service-detail { grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center; }
    .service-detail:nth-child(even) { grid-template-columns: 1.5fr 1fr; }
    .service-detail:nth-child(even) .service-detail-image { order: 2; }
    .service-detail:nth-child(even) .service-detail-content { order: 1; }
    .service-detail-image img { height: 300px; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    body { --nav-height: 70px; }
    .hero { min-height: 500px; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto; }
    .btn { width: 100%; }
    .experience-badge { bottom: 0.5rem; right: 0.5rem; padding: 1rem 1.25rem; }
    .badge-number { font-size: 1.5rem; }
    .section { padding: 3.5rem 0; }
    .page-header { padding: 4rem 0 3rem; }
    .contact-form-wrapper { padding: 1.5rem; }
    .cta { padding: 4rem 0; min-height: 300px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.85rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-title { font-size: 1.5rem; }
    .stats-container { gap: 1.5rem; }
    .stat-number, .stat-suffix { font-size: 1.5rem; }
}

/* Print */
@media print {
    .navbar, .back-to-top, .nav-toggle { display: none !important; }
    body { padding-top: 0; color: var(--gray-900); }
    a { text-decoration: underline; }
}

/* Reduced Motion */
@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; }
}
