html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    line-height: 1.65;
}

body.mobile-menu-open {
    overflow: hidden;
}

p,
li,
a,
button,
input,
textarea {
    font-size: 16px;
}

h1 {
    font-size: clamp(39px, 5vw, 68px);
    line-height: 0.96;
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(31px, 3.6vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.032em;
}

h3,
h4 {
    font-size: 22px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 76px;
    }

    h1 {
        font-size: clamp(32px, 10vw, 48px);
    }

    h2 {
        font-size: clamp(25px, 8vw, 34px);
    }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(8, 11, 16, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(242, 181, 68, 0.18);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--secondary) 48%, var(--primary));
    color: #080b10;
    clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
    font-weight: 900;
    flex: 0 0 auto;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #ffffff;
}

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

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

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

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

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

    .mobile-menu-toggle,
    .mobile-menu,
    .mobile-sticky-call {
        display: none !important;
    }
}

.desktop-nav a,
.mobile-menu a {
    font-size: 16px;
    color: #ffffff;
    transition: color 180ms ease;
}

.desktop-nav a:hover,
.mobile-menu a:hover {
    color: var(--accent);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 66px 0 auto 0;
    z-index: 45;
    background: rgba(8, 11, 16, 0.97);
    border-bottom: 1px solid rgba(242, 181, 68, 0.28);
    padding: 22px 20px 28px;
}

.mobile-menu.is-open {
    display: block;
}

.hero-section {
    min-height: 100vh;
    padding-top: 96px;
    background-image: linear-gradient(90deg, rgba(8, 11, 16, 0.96) 0%, rgba(8, 11, 16, 0.76) 48%, rgba(8, 11, 16, 0.36) 100%), url('../images/hero-technician.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% 30%;
    height: 360px;
    background: radial-gradient(circle, rgba(242, 181, 68, 0.22), transparent 62%);
    pointer-events: none;
}

.glass-panel {
    background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 30px 90px rgba(0,0,0,0.35);
    backdrop-filter: blur(18px);
}

.rating-stars {
    color: var(--accent);
    letter-spacing: 0.13em;
    font-size: 22px;
    text-shadow: 0 0 24px rgba(242, 181, 68, 0.45);
}

.hero-badges img {
    width: auto;
    height: 48px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(242, 181, 68, 0.45);
    padding: 7px;
    max-width: 92px;
}

.cta-button,
.phone-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--accent), var(--secondary) 55%, var(--primary));
    color: #080b10 !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.36), 0 18px 44px rgba(143, 29, 44, 0.32);
    transition: transform 180ms ease, filter 180ms ease;
    animation: whitePulse 2.4s ease-in-out infinite;
    white-space: nowrap;
}

.cta-button:hover,
.phone-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.phone-button.on-dark {
    color: #080b10 !important;
}

@keyframes whitePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.34), 0 18px 44px rgba(143, 29, 44, 0.32); }
    50% { box-shadow: 0 0 0 12px rgba(255,255,255,0), 0 22px 56px rgba(242, 181, 68, 0.25); }
}

.accent-line {
    width: 72px;
    height: 3px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--secondary), var(--accent), var(--primary));
}

.section-shell {
    padding: 96px 0;
}

.section-soft {
    background: linear-gradient(180deg, #ffffff 0%, #f7f2ea 100%);
}

.section-ruby {
    background: radial-gradient(circle at 10% 10%, rgba(242,181,68,0.16), transparent 32%), linear-gradient(135deg, #080b10 0%, #151923 55%, #260912 100%);
    color: #f9fafb;
}

.section-ruby h2,
.section-ruby h3,
.section-ruby h4 {
    color: #ffffff;
}

.lux-card {
    border: 1px solid rgba(182, 106, 52, 0.26);
    box-shadow: 0 22px 60px rgba(8, 11, 16, 0.09);
}

.icon-box {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #080b10;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    flex: 0 0 auto;
}

.icon-box svg,
.line-icon {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

.two-col-image {
    width: 35%;
    min-width: 280px;
}

.two-col-text {
    width: 65%;
}

.image-frame {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background: #111827;
}

.image-frame img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.image-frame::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(242,181,68,0.58);
    z-index: 1;
    pointer-events: none;
}

.service-card {
    background: #ffffff;
    color: #27313f;
    border: 1px solid rgba(17, 24, 39, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 181, 68, 0.6);
    box-shadow: 0 24px 52px rgba(8, 11, 16, 0.14);
}

.review-track {
    display: flex;
    transition: transform 420ms ease;
    will-change: transform;
}

.review-slide {
    flex: 0 0 100%;
    padding: 0 10px;
}

@media (min-width: 768px) {
    .review-slide {
        flex-basis: 33.3333%;
    }
}

.review-card {
    height: 100%;
    background: rgba(255,255,255,0.98);
    color: #27313f;
    border: 1px solid rgba(242, 181, 68, 0.28);
    padding: 28px;
}

.review-card h3 {
    color: #111827;
}

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

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mobile-sticky-call {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: none;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 11, 16, 0.92);
    transform: translateY(110%);
    opacity: 0;
    transition: transform 260ms ease, opacity 260ms ease;
}

.mobile-sticky-call.is-visible {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-sticky-call a {
    width: 100%;
    min-height: 52px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 15px;
}

@media (min-width: 768px) {
    .mobile-sticky-call,
    .mobile-sticky-call.is-visible {
        display: none !important;
        opacity: 0 !important;
        transform: translateY(110%) !important;
    }
}

.footer-text {
    font-size: 14px;
}

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

@media (max-width: 767px) {
    .section-shell {
        padding: 66px 0;
    }

    .two-col-image,
    .two-col-text {
        width: 100%;
    }

    .hero-section {
        padding-top: 88px;
    }
}
