* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 38, 97, 0.96);
    border-bottom: 1px solid rgba(67, 224, 208, 0.22);
    backdrop-filter: blur(16px);
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #061A43;
    border: 1px solid rgba(67, 224, 208, 0.7);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    font-weight: 800;
}

.desktop-nav {
    display: none !important;
}

.desktop-header-phone {
    display: none !important;
}

.mobile-menu-button {
    display: inline-flex !important;
}

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

    .desktop-header-phone {
        display: inline-flex !important;
    }

    .mobile-menu-button,
    .mobile-menu-panel {
        display: none !important;
    }
}

.nav-link {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    opacity: 0.88;
    transition: color 180ms ease, opacity 180ms ease;
}

.nav-link:hover {
    color: var(--accent);
    opacity: 1;
}

.phone-button,
.primary-button,
.mobile-sticky-call {
    border-radius: 0;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.phone-button {
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: #FFFFFF;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.88);
}

.phone-button:hover {
    color: #111827;
    background: #E9FFF7;
}

.primary-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: var(--interactive);
    color: #FFFFFF;
    min-height: 56px;
    padding: 0 1.35rem;
    font-size: 16px;
    font-weight: 900;
    border: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.46);
    animation: pulseGlow 2.35s ease-in-out infinite;
}

.primary-button:hover {
    color: #FFFFFF;
    background: var(--interactive-dark);
    transform: translateY(-2px);
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4), 0 14px 34px rgba(32, 184, 98, 0.22); }
    50% { box-shadow: 0 0 0 13px rgba(255, 255, 255, 0), 0 18px 44px rgba(32, 184, 98, 0.3); }
}

.hero-section {
    position: relative;
    min-height: 760px;
    background-image: linear-gradient(90deg, rgba(3, 12, 31, 0.96) 0%, rgba(10, 38, 97, 0.88) 47%, rgba(10, 38, 97, 0.45) 100%), url('../images/hero-technician.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-section::before,
.circuit-field::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, transparent 0 19%, rgba(67, 224, 208, 0.16) 19.2%, transparent 19.5%, transparent 65%, rgba(67, 224, 208, 0.12) 65.2%, transparent 65.5%), linear-gradient(0deg, transparent 0 28%, rgba(67, 224, 208, 0.12) 28.2%, transparent 28.5%, transparent 74%, rgba(67, 224, 208, 0.1) 74.2%, transparent 74.5%);
    background-size: 280px 180px;
    opacity: 0.82;
    animation: drawCircuit 8s linear infinite;
}

@keyframes drawCircuit {
    from { clip-path: inset(0 100% 0 0); }
    45%, 100% { clip-path: inset(0 0 0 0); }
}

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

.eyebrow {
    color: var(--accent);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    font-size: 39px;
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 900;
}

h2 {
    font-size: 31px;
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 900;
}

h3,
h4 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-weight: 900;
}

p,
li,
td,
th,
summary,
blockquote {
    font-size: 16px;
}

@media (min-width: 768px) {
    h1 { font-size: clamp(56px, 6.2vw, 86px); }
    h2 { font-size: clamp(42px, 4vw, 60px); }
}

.section-rule {
    width: 76px;
    height: 3px;
    margin-top: 1rem;
    background: linear-gradient(90deg, var(--accent), rgba(67, 224, 208, 0));
}

.trust-icon-row img {
    width: auto;
    height: 48px;
    max-width: 96px;
    object-fit: contain;
    border: 1px solid rgba(67, 224, 208, 0.48);
    background: rgba(255, 255, 255, 0.12);
    padding: 0.45rem;
}

.star-row {
    color: var(--star);
    font-size: 22px;
    letter-spacing: 0.16em;
}

.benefit-panel {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(67, 224, 208, 0.38);
    backdrop-filter: blur(18px);
}

.light-card {
    background: #FFFFFF;
    border: 1px solid rgba(10, 38, 97, 0.1);
    box-shadow: 0 24px 70px rgba(10, 38, 97, 0.12);
    border-radius: 0;
}

.dark-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(67, 224, 208, 0.24);
    color: #FFFFFF;
    border-radius: 0;
}

.dark-card h3,
.dark-card h4,
.dark-card p,
.dark-card li {
    color: #FFFFFF;
}

.icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 224, 208, 0.12);
    border: 1px solid rgba(67, 224, 208, 0.52);
    color: var(--accent);
}

.light-card .icon-box {
    background: #E9FFFC;
    color: #0A2661;
}

.two-column-image {
    width: 100%;
    min-height: 280px;
    object-fit: cover;
    box-shadow: 0 26px 70px rgba(10, 38, 97, 0.2);
}

@media (min-width: 768px) {
    .copy-65 { flex-basis: 65%; }
    .image-35 { flex-basis: 35%; }
}

.comparison-table th {
    background: #0A2661;
    color: #FFFFFF;
}

.comparison-table td {
    color: #1D2735;
    border-color: #D7E2EE;
}

.review-track {
    transition: transform 360ms ease;
}

.review-card {
    flex: 0 0 100%;
    min-height: 250px;
}

@media (min-width: 768px) {
    .review-card { flex-basis: calc(100% / 3); }
}

.faq-item {
    border-top: 1px solid rgba(10, 38, 97, 0.14);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.mobile-sticky-call {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 0 0.75rem calc(env(safe-area-inset-bottom) + 0.2rem);
    background: var(--interactive);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 900;
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 -14px 34px rgba(6, 26, 67, 0.24);
}

.mobile-sticky-call.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 768px) {
    .mobile-sticky-call {
        display: none !important;
    }
}

.footer-text,
.footer-text p,
.footer-text li,
.footer-text a {
    font-size: 14px;
}

.footer-text a {
    color: #FFFFFF;
}

.footer-text a:hover {
    color: var(--accent);
}

.motion-fade {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.motion-fade.is-inview {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
