/* ============================================================
   ALLFIX Facility Services - Main Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
    --navy: #002147;
    --orange: #f97316;
    --orange-dark: #ea6c0a;
    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-900: #0f172a;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--slate-700);
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   TOP BAR
   ============================================================ */
.allfix-topbar {
    background: var(--slate-900);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: none;
}
@media(min-width: 1024px) { .allfix-topbar { display: block; } }

.allfix-topbar .topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-contact { display: flex; align-items: center; gap: 24px; }
.topbar-contact span { display: flex; align-items: center; gap: 8px; }
.topbar-contact .icon { color: var(--orange); font-size: 14px; }
.topbar-links { display: flex; gap: 16px; }
.topbar-links a:hover { color: var(--orange); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.allfix-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.allfix-nav {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    padding: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.allfix-nav.scrolled { padding: 12px 0; box-shadow: 0 4px 30px rgba(0,0,0,0.1); }

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 44px; height: 44px;
    background: var(--navy);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 900;
    font-style: italic;
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 22px; font-weight: 900; color: var(--navy); letter-spacing: -0.05em; }
.logo-text span { font-size: 10px; font-weight: 700; color: var(--orange); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 2px; }

/* Desktop Menu */
.nav-menu { display: none; align-items: center; gap: 32px; }
@media(min-width: 1024px) { .nav-menu { display: flex; } }

.nav-menu a, .nav-menu button {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
    transition: color 0.2s;
    display: flex; align-items: center; gap: 4px;
}
.nav-menu a:hover, .nav-menu button:hover { color: var(--orange); }
.nav-menu a.active { color: var(--orange); }

.nav-dropdown { position: relative; }
.dropdown-toggle { background: none; font-family: inherit; }
.dropdown-toggle .chevron { transition: transform 0.3s; font-size: 12px; }
.nav-dropdown:hover .chevron { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid var(--slate-100);
    min-width: 240px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-700);
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.15s;
}
.dropdown-menu a:hover { background: var(--slate-50); color: var(--orange); }

.btn-nav {
    background: var(--orange);
    color: white !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 8px 20px rgba(249,115,22,0.3);
}
.btn-nav:hover { background: var(--orange-dark) !important; color: white !important; }

/* Mobile Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
@media(min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid var(--slate-100);
    padding: 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    border-bottom: 1px solid var(--slate-100);
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .mobile-services-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--slate-400);
    margin: 16px 0 8px;
}
.mobile-menu .mobile-service-link {
    padding: 8px 0 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-600);
    border-left: 2px solid var(--slate-100);
    border-bottom: none;
}
.mobile-menu .mobile-service-link:hover { color: var(--orange); border-left-color: var(--orange); }
.mobile-cta-group { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.mobile-cta-group a {
    text-align: center;
    padding: 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-bottom: none;
}
.mobile-cta-group .btn-orange { background: var(--orange); color: white !important; }
.mobile-cta-group .btn-navy { background: var(--navy); color: white !important; }
.mobile-cta-group .btn-light { background: var(--slate-100); color: var(--navy) !important; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
    padding-top: 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--navy) 30%, rgba(0,33,71,0.8) 60%, transparent);
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.2);
    color: var(--orange);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
}
.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    color: white;
    line-height: 0.9;
    margin-bottom: 32px;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    font-style: italic;
}
.hero-title .accent { color: var(--orange); }
.hero-desc {
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(255,255,255,0.7);
    margin-bottom: 48px;
    font-weight: 500;
    max-width: 640px;
    line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary { background: var(--orange); color: white; box-shadow: 0 16px 30px rgba(249,115,22,0.3); }
.btn-primary:hover { background: var(--orange-dark); color: white; transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); color: white; }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: #001935; color: white; }
.btn-white { background: white; color: var(--navy); }
.btn-white:hover { background: var(--slate-50); color: var(--navy); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: white; }
.btn .arrow { transition: transform 0.2s; font-size: 16px; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: white;
    border-bottom: 1px solid var(--slate-100);
    padding: 48px 0;
}
.stats-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
@media(min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { display: flex; align-items: center; gap: 16px; }
.stat-icon {
    width: 48px; height: 48px;
    background: var(--slate-50);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    font-size: 20px;
    flex-shrink: 0;
}
.stat-number { font-size: 26px; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--slate-400); margin-top: 4px; }

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-bg-white { background: white; }
.section-bg-light { background: var(--slate-50); }
.section-bg-navy { background: var(--navy); }
.section-bg-orange { background: var(--orange); }

.section-label {
    color: var(--orange);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 16px;
    display: block;
}
.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: var(--navy);
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 24px;
}
.section-title .accent { color: var(--orange); }
.section-title-white { color: white; }
.section-desc {
    font-size: 18px;
    color: var(--slate-500);
    font-weight: 500;
    line-height: 1.7;
    max-width: 640px;
}
.section-header { margin-bottom: 80px; }
.section-header-flex {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 80px;
}
@media(min-width: 768px) {
    .section-header-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media(min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--slate-100);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    transform: translateY(-8px);
}
.service-card-icon {
    width: 64px; height: 64px;
    background: var(--slate-50);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    font-size: 28px;
    margin-bottom: 32px;
    transition: all 0.4s ease;
}
.service-card:hover .service-card-icon {
    background: var(--orange);
    color: white;
}
.service-card h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--navy);
    text-transform: uppercase;
    font-style: italic;
    line-height: 1.2;
    margin-bottom: 16px;
}
.service-card p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 32px;
}
.service-card-link {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.service-card:hover .service-card-link { color: var(--orange); }
.service-card-link .arrow { transition: transform 0.2s; }
.service-card:hover .service-card-link .arrow { transform: translateX(4px); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: var(--navy);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: rgba(249,115,22,0.05);
    transform: skewX(-12deg) translateX(25%);
}
.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 48px;
}
@media(min-width: 1024px) {
    .cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.cta-text h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 20px;
}
.cta-text h2 .accent { color: var(--orange); }
.cta-text p { font-size: 17px; color: rgba(255,255,255,0.7); font-weight: 500; line-height: 1.7; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
@media(min-width: 480px) { .cta-actions { flex-direction: row; } }

/* ============================================================
   PAGE HEADER (used on inner pages)
   ============================================================ */
.page-header {
    background: var(--navy);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 0;
}
.page-header-bg {
    position: absolute;
    inset: 0;
}
.page-header-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.page-header-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.page-header h1 {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 24px;
}
.page-header h1 .accent { color: var(--orange); }
.page-header p { font-size: 18px; color: rgba(255,255,255,0.7); font-weight: 500; line-height: 1.7; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-mission-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
@media(min-width: 1024px) {
    .about-mission-grid {
        flex-direction: row;
        align-items: center;
    }
}
.about-image-grid {
    flex: 1;
    position: relative;
}
.about-image-grid::before {
    content: '';
    position: absolute;
    inset: -16px;
    background: rgba(249,115,22,0.05);
    border-radius: 50%;
    filter: blur(48px);
}
.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}
.about-images img {
    border-radius: 16px;
    height: 320px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.about-images img:last-child { margin-top: 48px; }
.about-text { flex: 1; }
.about-text .section-desc { margin-bottom: 28px; }
.about-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}
@media(min-width: 480px) { .about-values-grid { grid-template-columns: 1fr 1fr; } }
.about-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.about-value-icon {
    width: 40px; height: 40px;
    background: var(--slate-50);
    color: var(--orange);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.about-value strong { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; color: var(--navy); display: block; margin-bottom: 4px; }
.about-value span { font-size: 12px; color: var(--slate-500); }

.values-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media(min-width: 768px) { .values-cards-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
    background: white;
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--slate-100);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
    transition: all 0.3s;
}
.value-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.12); }
.value-card-icon {
    width: 64px; height: 64px;
    background: var(--slate-50);
    color: var(--navy);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 32px;
    transition: all 0.3s;
}
.value-card:hover .value-card-icon { background: var(--orange); color: white; }
.value-card h3 { font-size: 20px; font-weight: 900; color: var(--navy); text-transform: uppercase; font-style: italic; margin-bottom: 16px; }
.value-card p { font-size: 14px; color: var(--slate-500); line-height: 1.7; }

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.service-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
@media(min-width: 1024px) {
    .service-detail-layout {
        flex-direction: row;
        gap: 80px;
    }
    .service-detail-main { flex: 2; }
    .service-detail-sidebar { flex: 1; }
}
.service-overview-label {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--orange);
    margin-bottom: 32px;
    display: block;
}
.service-detail-main .full-content {
    font-size: 20px;
    color: var(--slate-600);
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 48px;
}
.service-detail-main h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--navy);
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 32px;
}
.service-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
}
@media(min-width: 640px) { .service-features-grid { grid-template-columns: 1fr 1fr; } }
.service-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--slate-50);
    border-radius: 12px;
    border: 1px solid var(--slate-100);
    padding: 20px 24px;
}
.service-feature-check {
    width: 32px; height: 32px;
    background: rgba(249,115,22,0.1);
    color: var(--orange);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.service-feature span { font-size: 12px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; }

.service-sidebar-card {
    background: var(--navy);
    padding: 40px;
    border-radius: 16px;
    position: sticky;
    top: 120px;
}
.service-sidebar-card h4 { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: white; margin-bottom: 32px; }
.service-sidebar-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 40px; }
.service-sidebar-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 32px 0; }
.sidebar-phone-label { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.sidebar-phone { font-size: 22px; font-weight: 900; color: white; font-style: italic; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
}
@media(min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width: 1280px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--slate-100);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: box-shadow 0.3s;
}
.gallery-item:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.15); }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--navy) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay .cat {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--orange);
    margin-bottom: 4px;
}
.gallery-overlay .title {
    font-size: 15px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    font-style: italic;
}
.gallery-expand { position: absolute; top: 16px; right: 16px; color: rgba(255,255,255,0.6); font-size: 18px; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-btn {
    width: 48px; height: 48px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    font-family: inherit;
}
.page-btn.active { background: var(--navy); color: white; }
.page-btn:not(.active) { background: var(--slate-50); color: var(--slate-400); }
.page-btn:not(.active):hover { background: var(--slate-100); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-arrow { font-size: 18px; color: var(--navy); }

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-content { max-width: 900px; width: 100%; position: relative; text-align: center; }
.lightbox-content img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 40px 100px rgba(0,0,0,0.5); }
.lightbox-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-info { margin-top: 32px; }
.lightbox-info .cat { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.3em; color: var(--orange); margin-bottom: 8px; display: block; }
.lightbox-info .title { font-size: 28px; font-weight: 900; color: white; text-transform: uppercase; font-style: italic; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 64px;
}
@media(min-width: 1024px) {
    .contact-layout { flex-direction: row; }
    .contact-sidebar { flex: 1; }
    .contact-main { flex: 2; }
}

.contact-info-box {
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 32px;
}
.contact-info-box h4 { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: var(--navy); margin-bottom: 40px; }
.contact-info-items { display: flex; flex-direction: column; gap: 36px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 20px; }
.contact-info-icon {
    width: 48px; height: 48px;
    background: var(--navy);
    color: white;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-info-label { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; color: var(--slate-400); margin-bottom: 4px; }
.contact-info-value { font-size: 18px; font-weight: 900; color: var(--navy); }

.contact-emergency {
    background: var(--orange);
    border-radius: 16px;
    padding: 48px;
    color: white;
}
.contact-emergency h5 { font-size: 24px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.2; margin-bottom: 16px; }
.contact-emergency p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 32px; }
.contact-emergency .phone { font-size: 32px; font-weight: 900; font-style: italic; letter-spacing: -0.02em; }

/* Contact Tabs */
.contact-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.contact-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--slate-50);
    color: var(--slate-400);
}
.contact-tab:hover { background: var(--slate-100); }
.contact-tab.active { background: var(--navy); color: white; box-shadow: 0 8px 20px rgba(0,33,71,0.2); }
.contact-tab .tab-icon { font-size: 16px; }

.contact-form-box {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.contact-form-box h3 { font-size: 32px; font-weight: 900; color: var(--navy); text-transform: uppercase; font-style: italic; margin-bottom: 40px; }
.contact-form-panel { display: none; }
.contact-form-panel.active { display: block; }

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
@media(min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 24px; }
.form-label {
    display: block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--slate-400);
    margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 16px 24px;
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-900);
    font-family: inherit;
    transition: all 0.2s;
    outline: none;
    appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}
.form-textarea { resize: none; }
.form-submit {
    width: 100%;
    background: var(--orange);
    color: white;
    padding: 20px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 12px 30px rgba(249,115,22,0.3);
    margin-top: 8px;
}
.form-submit:hover { background: var(--orange-dark); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-success {
    margin-top: 24px;
    padding: 20px 24px;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 6px;
    color: #065f46;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    display: none;
}
.form-error {
    margin-top: 24px;
    padding: 20px 24px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #991b1b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    display: none;
}
.form-success.show, .form-error.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.allfix-footer {
    background: var(--navy);
    color: white;
    padding: 100px 0 48px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    margin-bottom: 80px;
}
@media(min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand .site-logo { margin-bottom: 32px; }
.footer-brand .logo-text strong { color: white; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 32px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 700;
    transition: background 0.2s;
    cursor: pointer;
}
.footer-social:hover { background: var(--orange); }
.footer-col h6 { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: white; margin-bottom: 32px; }
.footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }
.footer-links a .arrow { font-size: 12px; transition: transform 0.2s; }
.footer-links a:hover .arrow { transform: translateX(4px); }
.footer-contact-items { display: flex; flex-direction: column; gap: 24px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 16px; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-contact-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    font-size: 16px;
    flex-shrink: 0;
}
.footer-contact-item strong { color: white; font-weight: 700; display: block; margin-bottom: 2px; font-size: 13px; }

.footer-bottom {
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
@media(min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p, .footer-bottom a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
}
.footer-bottom-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.footer-bottom-links a:hover { color: white; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
}
.animate-fade-up { animation: fadeInUp 0.7s ease both; }
.animate-fade-left { animation: fadeInLeft 0.8s ease both; }

/* Scroll triggered animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media(max-width: 767px) {
    .section { padding: 80px 0; }
    .hero-section { min-height: 100svh; }
    .page-header { padding: 140px 0 80px; }
}

/* ============================================================
   WP ADMIN BAR OFFSET
   ============================================================ */
.admin-bar .allfix-header { top: 32px; }
@media(max-width: 782px) { .admin-bar .allfix-header { top: 46px; } }
