/* ============================================
   ACT Private Security & Investigations
   Theme: Logo-aligned (Navy, Red, White, Silver)
   ============================================ */

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

/* CSS Variables - Logo theme: patriotic red, white, blue, metallic silver */
:root {
    --black: #000000;
    --dark: #0a1628;
    --dark-gray: #0d1b2a;
    --gray: #1b2838;
    --light-gray: #8b9cb3;
    --lighter-gray: #c5d0de;
    --white: #ffffff;
    --off-white: #f5f5f5;
    
    /* Logo-aligned: deep navy & American red */
    --navy: #0a1628;
    --navy-mid: #132f4c;
    --dark-blue: #1a365d;
    --blue-accent: #2c5282;
    --blue-border: rgba(178, 34, 52, 0.35);
    --blue-hover: rgba(178, 34, 52, 0.12);
    
    /* American red (flag) - primary accent */
    --red: #b22234;
    --red-dark: #8b1a28;
    --red-border: rgba(178, 34, 52, 0.5);
    --red-hover: rgba(178, 34, 52, 0.2);
    
    /* Metallic silver (logo ACT text) */
    --silver: #a8b5c4;
    --silver-light: #c8d4e0;
    
    --font-main: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ============================================
   SPLASH SCREEN
   ============================================ */
body.splash-active {
    overflow: hidden;
}

.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.splash.fade-out {
    display: none;
}

.splash-logo {
    width: 550px;
    max-width: 85%;
    height: auto;
    margin-top: -70px;
    padding: 0;
}

.splash-scroll-hint {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--silver);
    animation: hintBounce 2s ease-in-out infinite;
}

.splash-scroll-hint span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.splash-scroll-hint svg {
    width: 24px;
    height: 24px;
}

@keyframes hintBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* Hide header logo after splash */
body.no-header-logo .logo-img {
    display: none;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 48px;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--red-border);
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 84px;
    }
}

/* Desktop Navigation */
.nav-desktop {
    display: flex !important;
    align-items: center;
    gap: 48px;
}

.nav-desktop a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--white);
    transition: var(--transition);
    position: relative;
}

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

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

/* Mobile Menu Button - Hidden on desktop */
.menu-toggle {
    display: none !important;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation Overlay */
.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.nav-mobile.active {
    opacity: 1;
    visibility: visible;
}

.nav-mobile a {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--white);
    transition: var(--transition);
}

.nav-mobile a:hover {
    color: var(--light-gray);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) brightness(0.55) saturate(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to bottom, 
        rgba(10, 22, 40, 0.5) 0%, 
        rgba(10, 22, 40, 0.6) 50%,
        rgba(10, 22, 40, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 4px 40px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.75;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   PAGE SECTIONS
   ============================================ */
.section {
    padding: 120px 48px;
}

.section-dark {
    background: var(--dark);
}

.section-black {
    background: var(--navy);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
}

.section-text {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--lighter-gray);
    max-width: 700px;
    margin: 24px auto 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    line-height: 1.3;
    color: var(--white);
}

.about-text p {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--lighter-gray);
    margin-bottom: 24px;
}

.about-image {
    aspect-ratio: 4/3;
    background: var(--dark-gray);
}

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

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

/* Pyramid layout: Andy centered on top, Crystal + Daniel below */
.team-grid-pyramid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.team-row {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.team-row .team-card {
    flex: 0 1 calc(33.333% - 32px);
    max-width: calc(33.333% - 32px);
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 100%;
    aspect-ratio: 1;
    background: var(--white);
    margin-bottom: 24px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    color: var(--white);
}

.team-role {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--light-gray);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-bio {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--lighter-gray);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.service-card {
    padding: 56px 48px;
    background: var(--dark-gray);
    border: 1px solid var(--red-border);
    border-left: 4px solid var(--red);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: var(--red);
    background: var(--gray);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(178, 34, 52, 0.15);
}

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 28px;
    color: var(--silver-light);
    opacity: 0.95;
}

.service-card h3 {
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: var(--white);
}

.service-card p {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--lighter-gray);
    margin-bottom: 0;
}

.service-list {
    list-style: none;
}

.service-list li {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--lighter-gray);
    padding: 10px 0;
    border-bottom: 1px solid var(--red-border);
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.6;
}

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

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

/* ============================================
   INDIVIDUAL SERVICE PAGES
   ============================================ */
.service-page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.service-page-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.service-page-intro h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.service-page-intro p {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--lighter-gray);
}

.service-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.service-page-item {
    background: var(--dark-gray);
    border: 1px solid var(--red-border);
    border-left: 4px solid var(--red);
    padding: 36px 32px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-page-item:hover {
    border-color: var(--red);
    background: var(--gray);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(178, 34, 52, 0.15);
}

.service-page-item svg {
    width: 28px;
    height: 28px;
    color: var(--red);
    flex-shrink: 0;
}

.service-page-item span {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.01em;
}

.service-page-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px;
    aspect-ratio: 21/9;
    overflow: hidden;
    border: 1px solid var(--red-border);
}

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

.service-page-cta {
    text-align: center;
    padding: 60px 32px;
    background: var(--dark-gray);
    border: 1px solid var(--red-border);
}

.service-page-cta h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.service-page-cta p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--lighter-gray);
    margin-bottom: 32px;
}

.service-page-cta .btn {
    margin: 0 8px;
}

@media (max-width: 768px) {
    .service-page-grid {
        grid-template-columns: 1fr;
    }

    .service-page-image {
        aspect-ratio: 16/9;
    }
}

/* ============================================
   SERVICE DETAIL CARDS (services page)
   ============================================ */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.service-detail-card {
    background: var(--dark-gray);
    border: 1px solid var(--red-border);
    overflow: hidden;
    transition: var(--transition);
    scroll-margin-top: 120px;
}

.service-detail-card:hover {
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(178, 34, 52, 0.15);
}

.service-detail-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--gray);
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.85);
    transition: var(--transition);
}

.service-detail-image img[src=""] {
    display: none;
}

.service-detail-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--light-gray);
    background: var(--gray);
}

.service-detail-image img:not([src=""]) ~ .service-detail-image-placeholder {
    display: none;
}

.service-detail-image-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.4;
}

.service-detail-image-placeholder span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
}

.service-detail-card:hover .service-detail-image img {
    filter: grayscale(10%) brightness(0.9);
    transform: scale(1.03);
}

.service-detail-content {
    padding: 36px 32px;
}

.service-detail-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--white);
}

.service-detail-content p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--lighter-gray);
}

.btn-book {
    margin-top: 24px;
    display: inline-flex;
}

@media (max-width: 1024px) {
    .services-detail-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-detail-content {
        padding: 28px 24px;
    }
}

/* ============================================
   HOME PAGE SERVICES GRID
   ============================================ */
.services-home-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.services-home-grid .service-home-card {
    width: calc(33.333% - 16px);
}

.service-home-card {
    display: block;
    background: var(--dark-gray);
    border: 1px solid var(--red-border);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.service-home-card:hover {
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(178, 34, 52, 0.15);
}

.service-home-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gray);
}

.service-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.85);
    transition: var(--transition);
}

.service-home-card:hover .service-home-image img {
    filter: grayscale(10%) brightness(0.9);
    transform: scale(1.03);
}

.service-home-card h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 16px 20px;
    color: var(--white);
    margin: 0;
}

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

@media (max-width: 600px) {
    .services-home-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

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

.contact-info h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    color: var(--white);
}

.contact-info > p {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--lighter-gray);
    margin-bottom: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.contact-item svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--white);
    margin-top: 2px;
}

.contact-item-text {
    flex: 1;
}

.contact-item-text h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-bottom: 8px;
}

.contact-item-text p,
.contact-item-text a {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1.6;
    transition: var(--transition);
}

.contact-item-text a:hover {
    color: var(--lighter-gray);
}

/* Contact Form */
.contact-form {
    background: var(--dark-gray);
    padding: 56px 48px;
    border: 1px solid var(--red-border);
    border-left: 4px solid var(--red);
}

.contact-form h3 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    color: var(--white);
}

.contact-form > p {
    font-size: 0.95rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-bottom: 10px;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 18px 20px;
    background: var(--navy);
    border: 1px solid var(--red-border);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 300;
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--dark-gray);
    box-shadow: 0 0 0 3px var(--red-hover);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
    font-weight: 300;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
}

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

.form-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(255,255,255,0.02);
    border-left: 2px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
    color: var(--lighter-gray);
    line-height: 1.6;
}

.form-notice svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border: 1px solid var(--red);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(178, 34, 52, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--silver);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn-outline:hover {
    background: var(--red-hover);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-submit {
    width: 100%;
    margin-top: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 48px;
    background: var(--dark);
    text-align: center;
    border-top: 1px solid var(--red-border);
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 32px;
    color: var(--white);
}

.footer-divider {
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: var(--red-border);
    margin: 0 auto 32px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    transition: var(--transition);
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-text {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--light-gray);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.footer-text p {
    margin-bottom: 8px;
}

.footer-license {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--white);
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) brightness(0.45) saturate(0.6);
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(10, 22, 40, 0.5), rgba(10, 22, 40, 0.75));
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.page-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--white);
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    line-height: 1.7;
}

/* ============================================
   CREDENTIALS BAR
   ============================================ */
.credentials-bar {
    padding: 24px 48px;
    background: var(--dark-gray);
    border-top: 1px solid var(--red-border);
    border-bottom: 1px solid var(--red-border);
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    align-items: center;
    gap: 32px 48px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--lighter-gray);
    white-space: nowrap;
}

.credential svg {
    width: 20px;
    height: 20px;
    color: var(--red);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .credentials-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
        gap: 20px 32px;
    }
    
    .credential {
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .credentials-bar {
        grid-template-columns: 1fr 1fr;
        padding: 24px 16px;
        gap: 20px 12px;
    }
    
    .credential {
        font-size: 0.7rem;
        gap: 8px;
        flex-direction: column;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
    }
    
    .credential svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 120px 48px;
    background: var(--navy-mid);
    text-align: center;
    border-top: 1px solid var(--red-border);
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--white);
}

.cta-section p {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--lighter-gray);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .header {
        padding: 20px 24px;
    }
    
    .section {
        padding: 80px 24px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        order: -1;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .team-row {
        flex-direction: column;
        gap: 32px;
    }

    .team-row .team-card {
        flex: 1 1 auto;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer {
        padding: 48px 24px;
    }
    
    .credentials-bar {
        padding: 24px;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
        position: absolute;
        left: 0;
        top: 8px;
        z-index: 1001;
    }

    /* Header */
    .header {
        padding: 16px;
    }

    .logo-text {
        font-size: 0.85rem;
    }

    /* Splash */
    .splash-logo {
        width: 90vw;
        min-width: 280px;
        margin-top: -20px;
    }

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

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

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

    .btn-large {
        padding: 16px 28px;
        font-size: 0.85rem;
    }

    /* Page Hero */
    .page-hero {
        height: 35vh;
        min-height: 280px;
    }

    .page-hero-title {
        font-size: 2rem;
    }

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

    /* Sections */
    .section {
        padding: 60px 16px;
    }

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

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

    .section-text {
        font-size: 1rem;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* About */
    .about-text h2 {
        font-size: 1.5rem;
    }

    /* Services Grid (about page values cards) */
    .services-grid {
        gap: 24px;
    }

    /* Home services grid */
    .services-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-home-card h3 {
        font-size: 0.85rem;
        padding: 12px 14px;
    }

    /* Services detail grid */
    .services-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-detail-content {
        padding: 24px 20px;
    }

    .service-detail-content h3 {
        font-size: 1.2rem;
    }

    /* Contact Form */
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .contact-form h3 {
        font-size: 1.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    /* Service cards */
    .service-card {
        padding: 28px 20px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    /* Credentials */
    .credentials-bar {
        padding: 20px 16px;
        gap: 16px 12px;
    }

    /* CTA */
    .cta-section {
        padding: 60px 16px;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Footer */
    .footer {
        padding: 40px 16px;
    }

    .footer-brand {
        font-size: 1.1rem;
    }

    .footer-text {
        font-size: 0.8rem;
    }

    /* Book Now button full width on mobile */
    .btn-book {
        width: 100%;
        text-align: center;
    }

    /* Mobile nav styling */
    .nav-mobile a {
        font-size: 1.5rem;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .services-home-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section {
        padding: 48px 12px;
    }

    .cta-section {
        padding: 48px 12px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* ============================================
   DESKTOP OVERRIDE - Force desktop nav visible
   ============================================ */
@media (min-width: 769px) {
    header.header .header-inner nav.nav-desktop {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    header.header .header-inner button.menu-toggle {
        display: none !important;
        visibility: hidden !important;
    }
}
