:root {
    --dark: #0B1F3A;
    --dark-mid: #162D4F;
    --accent: #E84040;
    --accent-warm: #F4A728;
    --surface: #F8F9FA;
    --surface-alt: #EFF3F8;
    --text: #1A1A1A;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --border: #D9E2EF;
    
    --nav-height: 80px; 
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography & Core Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin-bottom: 1.5rem; color: var(--text-muted); }

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section { padding: 5rem 0; }
.py-0 { padding: 0; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white p { color: rgba(255, 255, 255, 0.8); }
.bg-dark { background-color: var(--dark); color: var(--white); }
.bg-dark h2 { color: var(--white); }
.bg-surface-alt { background-color: var(--surface-alt); }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }

/* Section Labels & UI Elements */
.section-label {
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background-color: currentColor;
}
.section-label.center {
    justify-content: center;
}
.section-label.center::before {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    transition: all 0.3s ease-out;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #d13030;
    transform: translateY(-2px);
    color: var(--white);
}
.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}
.btn-outline:hover, .btn-outline:focus {
    background-color: var(--white);
    color: var(--dark);
}
.btn-outline-dark {
    background-color: transparent;
    border-color: var(--dark);
    color: var(--dark);
}
.btn-outline-dark:hover, .btn-outline-dark:focus {
    background-color: var(--dark);
    color: var(--white);
}

/* Hero Styles */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: calc(var(--nav-height) + 3rem); 
    padding-bottom: 3rem;
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
}
.hero.page-hero {
    min-height: 60vh;
}
.hero-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(11, 31, 58, 0.75);
    z-index: 2;
}
.hero.emergency-hero .hero-overlay {
    background-color: rgba(232, 64, 64, 0.85);
}
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Stats Strip */
.stats-strip {
    background-color: var(--dark-mid);
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--accent-warm);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Service Summary Cards */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
    background-color: var(--surface-alt);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border-top: 3px solid var(--accent);
    position: relative;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.service-card.bg-white {
    background-color: var(--white);
    border-color: var(--border);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}
.service-card::before, .service-card::after {
    content: ''; position: absolute;
    top: -3px; width: 2px; height: 12px;
    background-color: var(--accent);
}
.service-card.bg-white::before, .service-card.bg-white::after {
    display: none;
}
.service-card::before { left: 0; }
.service-card::after { right: 0; }

.service-card .icon {
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.service-card h3 { font-size: 1.25rem; }
.service-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: color 0.2s;
}
.service-card a:hover {
    color: #d13030;
}

/* Two Column Alternating Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
}
.two-col:last-child { margin-bottom: 0; }
@media (min-width: 992px) {
    .two-col { grid-template-columns: 45% 55%; gap: 5rem; }
    .two-col.reverse { grid-template-columns: 55% 45%; }
    .two-col.reverse .content { grid-row: 1; grid-column: 2; }
    .two-col.reverse .image-wrapper { grid-row: 1; grid-column: 1; }
}
.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(11,31,58,0.1);
    display: block;
}
ul.check-list {
    list-style: none;
    margin-bottom: 1.5rem;
}
ul.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}
ul.check-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Dual-Row Scrolling Reviews Marquee */
.reviews-section {
    background-color: var(--surface);
    overflow: hidden;
}
.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
}
.marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}
.marquee-track.left { animation: scrollLeft 40s linear infinite; }
.marquee-track.right { animation: scrollRight 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}
@keyframes scrollRight {
    0% { transform: translateX(calc(-50% - 0.75rem)); }
    100% { transform: translateX(0); }
}

.review-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    width: 350px;
    flex-shrink: 0;
}
.stars { color: var(--accent-warm); margin-bottom: 0.5rem; font-size: 1.125rem; letter-spacing: 2px; }
.review-text { font-style: italic; font-size: 0.9375rem; margin-bottom: 1rem; color: var(--text); }
.review-author { font-weight: 600; font-family: var(--font-heading); font-size: 0.875rem; color: var(--dark); }

/* Review Grid (for reviews.html) */
.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .review-grid { grid-template-columns: repeat(3, 1fr); }
}
.full-review-card {
    background-color: var(--surface-alt);
    padding: 2rem;
    border-radius: var(--radius);
    border-top: 3px solid var(--accent-warm);
}
.review-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.review-meta span:first-child {
    font-weight: bold; color: var(--dark);
}

/* Forms (Native Fallback & Layout) */
.form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .form-grid { grid-template-columns: repeat(2, 1fr); }
}
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background-color: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 64, 64, 0.1);
    background-color: var(--white);
}
textarea.form-control {
    resize: vertical;
}

/* Emergency & Contact Sections */
.emergency-band {
    background-color: var(--accent);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}
.emergency-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.emergency-tel-massive {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    margin: 1.5rem 0;
    border: 4px solid rgba(255,255,255,0.3);
    padding: 1rem 2.5rem;
    border-radius: var(--radius);
    transition: background-color 0.3s, border-color 0.3s;
}
.emergency-tel-massive:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 992px) {
    .contact-split { grid-template-columns: 60% 40%; gap: 4rem; }
}
.contact-card {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    align-self: start;
}
.contact-card h3 { color: var(--white); }

/* Accordion */
.accordion {
    border-top: 1px solid var(--border);
}
.accordion-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}
.accordion-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}
.accordion-title:hover {
    color: var(--accent);
}
.accordion-content {
    display: none;
    padding-top: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Mobile Call Bar */
.mobile-call-bar {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background-color: var(--dark);
    display: flex;
    z-index: 99;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
    .mobile-call-bar { display: none; }
}
.mobile-call-bar a {
    flex: 1;
    text-align: center;
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-decoration: none;
    font-size: 0.875rem;
    color: var(--white);
}
.mobile-call-bar .btn-emergency {
    background-color: var(--accent);
}

/* Demo-readiness additions */
:focus-visible {
    outline: 3px solid var(--accent-warm);
    outline-offset: 4px;
}

.hero-img { transform-origin: center; }

.trust-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(100%, 680px);
    margin: 0 auto 1.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(11,31,58,0.45);
    font-weight: 800;
    font-size: 0.875rem;
}

.sample-note {
    display: block;
    max-width: 760px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}
.light-note { color: rgba(255,255,255,0.72); }

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-check {
    display: grid;
    grid-template-columns: 1rem 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 1.5rem;
    text-align: left;
}
.form-check input { margin-top: 0.35rem; }
.form-check label { color: var(--text-muted); font-size: 0.9rem; }
select.form-control { appearance: auto; }

.map-frame {
    width: 100%;
    min-height: 450px;
    border: 0;
    border-radius: var(--radius);
    margin-top: 2rem;
    background: var(--dark-mid);
}
.light-map { border: 1px solid var(--border); background: var(--surface-alt); }

.credentials-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: 0 12px 32px rgba(11,31,58,0.08);
}
.credentials-card h3 { margin-bottom: 1rem; }

.cta-panel {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}
.urgent-panel { border-color: rgba(232,64,64,0.25); background: #fff5f5; }
.mobile-call-bar .btn-book { background-color: var(--dark-mid); }


.hero-title-static { opacity: 1; }
.form-submit { width: 100%; }
.contact-list-panel {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}
.contact-list-panel__item { margin-bottom: 2.5rem; }
.contact-list-panel__label {
    display: block;
    font-size: 0.875rem;
    color: var(--border);
    margin-bottom: 0.5rem;
}
.contact-list-panel__link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.125rem;
}
.contact-list-panel__phone {
    font-size: 1.5rem;
    font-weight: 800;
}
.contact-list-panel__text {
    display: block;
    color: var(--white);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .hero { min-height: 92vh; padding-top: calc(var(--nav-height) + 2rem); }
    .hero-btns .btn, .emergency-tel-massive { width: 100%; }
    .emergency-tel-massive { font-size: 1.55rem; padding: 0.9rem 1rem; }
    .review-card { width: min(82vw, 350px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    .marquee-track { animation: none !important; transform: none !important; }
}
