/* RoofGuard Pro — main stylesheet. Fonts: Poppins (headings) + Inter (body) */
:root {
    --navy: #12304A;
    --navy2: #0b1f30;
    --blue: #12304A;
    --teal: #0EA5E9;
    --orange: #0EA5E9;
    --bg: #ffffff;
    --card: #ffffff;
    --text: #000000;
    --muted: #5d6e80;
    --line: #e0e8f0;
    --sh: 0 12px 32px rgba(10, 31, 51, .1);
    --r: 16px;
    --hf: 'Poppins', sans-serif;
    --bf: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--bf);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    position: relative;
    transition: background .3s, color .3s;
}

img,
video,
canvas,
svg {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none
}

ul {
    list-style: none
}

h1,
h2,
h3,
h4 {
    font-family: var(--hf);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.02em
}

h1 {
    font-size: clamp(2.1rem, 5.6vw, 3.9rem)
}

h2 {
    font-size: clamp(1.6rem, 3.6vw, 2.5rem)
}

h3 {
    font-size: 1.2rem
}

h4 {
    font-size: 1rem
}

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.sec {
    padding: clamp(56px, 8vw, 88px) 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.alt {
    background: var(--card)
}

.dark {
    background: #f4f7fa;
    color: #000000;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.dark h1,
.dark h2,
.dark h3,
.dark h4 {
    color: #000000;
}

.dark .muted {
    color: var(--muted);
}

.eyebrow {
    display: inline-block;
    font: 600 .8rem var(--hf);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(14, 165, 233, .25);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 14px
}

.dark .eyebrow {
    display: inline-block;
    font: 600 .8rem var(--hf);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(14, 165, 233, .25);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 14px
}

.head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px
}

.head p,
.muted {
    color: var(--muted)
}

.head p {
    margin-top: 12px;
    font-size: 1.05rem;
    line-height: 1.65;
}

.dark .muted,
.dark .head p {
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 24px
}

.g2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr))
}

.g3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr))
}

.g4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .g4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .g4 {
        grid-template-columns: 1fr;
    }
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center
}

@media(max-width:860px) {
    .split {
        grid-template-columns: 1fr;
        gap: 34px
    }
}

.i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.i.f {
    fill: currentColor;
    stroke: none
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 10px;
    border: 2px solid var(--orange);
    background: var(--orange);
    color: #fff;
    font: 600 .95rem var(--hf);
    cursor: pointer;
    transition: .25s
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(14, 165, 233, .35)
}

.btn.ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .7)
}

.btn.ghost:hover {
    background: #fff;
    color: var(--navy);
    box-shadow: none
}

.btn.blue {
    background: var(--blue);
    border-color: var(--blue)
}

.btn.sm {
    padding: 9px 18px;
    font-size: .85rem
}

.btn.out {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue)
}

.btn.out:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: none
}

[dir=rtl] .btn .i:last-child {
    transform: scaleX(-1)
}

/* header */
header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

header.scrolled {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.topbar {
    background: #f4f7fa;
    color: #4b5563;
    font-size: .85rem;
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: min(1180px, 92%);
}

.topbar span {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
}

nav {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
    width: min(1180px, 92%);
}

.logo {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font: 700 1.45rem var(--hf);
    color: #000000;
    letter-spacing: -.03em;
    line-height: 1;
    gap: 3px;
    direction: ltr;
    unicode-bidi: isolate;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
}

.logo b {
    color: #0EA5E9;
}

.logo .i,
.logo svg {
    width: 26px;
    height: 26px;
    stroke: #0EA5E9;
    color: #0EA5E9;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline: auto
}

.menu>li {
    position: relative
}

.menu>li>a {
    display: block;
    white-space: nowrap;
    padding: 10px 13px;
    color: #000000;
    font: 500 .93rem var(--hf);
    border-radius: 8px;
    transition: .2s;
}

.menu>li>a:hover,
.menu a.on {
    color: var(--blue);
    background: rgba(14, 165, 233, .08);
}

.drop-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer
}

.drop-toggle .arr {
    display: inline-block;
    transition: transform .25s ease;
    flex-shrink: 0;
    vertical-align: middle
}

.has-drop.open .drop-toggle .arr {
    transform: rotate(180deg)
}

.has-drop {
    position: relative
}

.drop {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-start: 0;
    min-width: 145px;
    background: var(--card);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 100;
    pointer-events: none
}

[data-theme=dark] .drop {
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .5)
}

.has-drop.open>.drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto
}

.drop a {
    display: block;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: .92rem;
    color: var(--text);
    font-weight: 500;
    transition: .2s
}

.drop a:hover,
.drop a.on {
    background: rgba(14, 165, 233, .15);
    color: var(--blue)
}

.tools {
    display: flex;
    align-items: center;
    gap: 8px
}

.ib {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--navy);
    cursor: pointer;
    font: 600 .78rem var(--hf);
    display: grid;
    place-items: center;
    transition: all .25s ease;
    user-select: none;
}

.theme-btn {
    font-size: 1.05rem;
    line-height: 1;
}

.ib:hover,
.rtl-btn:hover,
.theme-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.ib:active,
.rtl-btn:active,
.theme-btn:active {
    transform: translateY(0);
}

.burger {
    display: none
}

.mobile-menu-tools {
    display: none
}

@media(max-width:1160px) {
    .menu>li>a {
        padding: 10px 9px;
        font-size: .88rem
    }
}

@media(max-width:1020px) {
    .burger {
        display: grid
    }

    header:not(.auth-header) .tools .rtl-btn,
    header:not(.auth-header) .tools .theme-btn,
    header:not(.auth-header) .tools .login-btn {
        display: none !important
    }

    header:not(.auth-header) .tools {
        gap: 0
    }

    .menu {
        position: absolute;
        top: 100%;
        inset-inline: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 0 5%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height .35s ease, opacity .25s ease;
        border-top: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .35)
    }

    .menu.open {
        max-height: 85vh;
        overflow-y: auto;
        opacity: 1;
        padding-block: 16px;
        pointer-events: auto
    }

    .menu>li>a {
        display: flex;
        align-items: center;
        padding: 12px 14px;
        font-size: .98rem;
        border-radius: 8px
    }

    .drop {
        position: static;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: none;
        background: rgba(0, 0, 0, .22);
        box-shadow: none;
        border-radius: 8px;
        padding: 0 10px;
        margin: 0 4px;
        transition: max-height .3s ease, opacity .25s ease, padding .2s ease, margin .2s ease;
        pointer-events: none
    }

    .has-drop.open>.drop {
        max-height: 160px;
        opacity: 1;
        visibility: visible;
        padding: 6px 10px;
        margin: 4px 4px 8px 4px;
        pointer-events: auto
    }

    .has-drop:not(.open):hover>.drop {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        pointer-events: none
    }

    .drop a {
        color: #cfe0ee;
        padding: 10px 14px;
        font-size: .92rem
    }

    .drop a:hover,
    .drop a.on {
        color: #fff;
        background: rgba(14, 165, 233, .2)
    }

    .mobile-menu-tools {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 14px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, .14)
    }

    .mobile-menu-tools .mobile-toggles {
        display: flex;
        align-items: center;
        gap: 10px
    }

    .mobile-menu-tools .login-btn {
        flex: 1;
        justify-content: center;
        text-align: center;
        padding: 11px 20px
    }
}

@media(max-width:480px) {
    .logo {
        font-size: 1.15rem;
    }

    .ib {
        width: 36px;
        height: 36px;
    }

    .topbar .container {
        justify-content: center;
        text-align: center;
        gap: 8px;
    }

    .topbar span:last-child {
        display: none;
    }
}

/* hero + banner */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding: clamp(70px, 12vw, 120px) 0 clamp(70px, 10vw, 120px);
    background: var(--blue);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero video,
.hero .hero-bg-img,
.hero canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    backface-visibility: hidden;
    transform: translateZ(0)
}

.hero video,
.hero .hero-bg-img {
    opacity: .85
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 31, 48, .92), rgba(10, 31, 51, .4))
}

[dir=rtl] .hero::after {
    background: linear-gradient(270deg, rgba(10, 31, 51, .92), rgba(10, 31, 51, .4))
}

.hero .container {
    position: relative;
    z-index: 2
}

.hero h1 {
    color: #fff
}

.hero h1 em {
    font-style: normal;
    color: var(--orange);
}

.hero p.lead {
    max-width: min(560px, 92%);
    margin: 20px auto 30px;
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    color: #cfe0ee
}

.btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: rgba(14, 165, 233, .18);
    border: 1px solid var(--orange);
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: .88rem;
    font-weight: 500;
    animation: pulse 2.6s infinite
}

.badge .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, .5)
    }

    100% {
        box-shadow: 0 0 0 14px rgba(14, 165, 233, 0)
    }
}

.hero-trust {
    display: flex;
    gap: clamp(16px, 3vw, 28px);
    margin-top: clamp(24px, 5vw, 38px);
    flex-wrap: wrap;
    color: #ffffff;
    font-size: .95rem;
    font-weight: 500;
    justify-content: center;
    text-align: center
}

.hero-trust div {
    display: flex;
    gap: 8px;
    align-items: center
}

.hero-trust .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.hero-center {
    text-align: center;
    max-width: 880px;
    margin-inline: auto;
    width: min(880px, 92%)
}

.hero-center .badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: rgba(14, 165, 233, .18);
    border: 1px solid var(--orange);
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: .88rem;
    font-weight: 500;
    animation: pulse 2.6s infinite
}

.badge .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.hero-center h1 {
    text-align: center;
    text-shadow: 0 3px 20px rgba(0, 0, 0, .85)
}

.hero-center p.lead {
    margin: 20px auto 32px;
    max-width: 660px;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .85)
}

.hero-center .btns {
    justify-content: center
}

.hero-center .hero-trust {
    justify-content: center;
    margin-top: 40px
}

.hero.hero-center-bg::after {
    background: radial-gradient(ellipse at center, rgba(10, 31, 51, .38) 0%, rgba(10, 31, 51, .72) 100%)
}

.banner {
    position: relative;
    color: #fff;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(54px, 7vw, 80px) 0;
    background: #000000;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    --banner-bg: url('../images/her04.avif');
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--banner-bg);
    background-size: cover;
    background-position: center 35%;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
    transition: background-image .3s ease;
}

/* Allow direct inline style="background-image: url(...)" or style="background: url(...)" on <section class="banner"> */
.banner[style*="background-image"]::before,
.banner[style*="background:"]::before {
    background-image: inherit;
}

/* Page-specific & class-specific hero banner backgrounds */
body[data-page="gallery.html"] .banner,
.banner.banner-gallery {
    --banner-bg: url('../images/hero5.jpg');
}
body[data-page="gallery.html"] .banner::before,
.banner.banner-gallery::before {
    background-position: center 40%;
}

body[data-page="warranty.html"] .banner,
.banner.banner-warranty {
    --banner-bg: url('../images/hero6.webp');
}
body[data-page="warranty.html"] .banner::before,
.banner.banner-warranty::before {
    background-position: center 30%;
}

body[data-page="contact.html"] .banner,
.banner.banner-contact {
    --banner-bg: url('../images/hero7.jpg');
}
body[data-page="contact.html"] .banner::before,
.banner.banner-contact::before {
    background-position: center 35%;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .70) 100%);
    pointer-events: none;
    z-index: 1;
}

.banner .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
}

.sv-banner-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.banner .crumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .84rem;
    color: #bcd6ea;
    margin: 0 auto 12px;
}

.banner .crumb a {
    color: #bcd6ea;
    transition: color .2s;
}

.banner .crumb a:hover {
    color: #5cc8f5;
}

.banner .crumb .i {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
}

.banner h1 {
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 2.85rem);
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -.02em;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}

.banner p {
    color: #e2effa;
    font-size: clamp(.96rem, 1.6vw, 1.06rem);
    line-height: 1.6;
    margin: 0 auto 20px;
    max-width: 660px;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.sv-banner-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 4px;
}

.sv-banner-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .84rem;
    font-weight: 500;
    color: #e2effa;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .15);
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.sv-banner-badges span .i {
    width: 14px;
    height: 14px;
    stroke: #38bdf8;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .banner {
        min-height: auto;
        padding: clamp(42px, 8vw, 60px) 0;
    }

    .banner h1 {
        font-size: clamp(1.6rem, 5.5vw, 2.25rem);
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .banner p {
        font-size: clamp(.9rem, 2.6vw, 1rem);
        line-height: 1.55;
        margin-bottom: 18px;
        max-width: 96%;
    }

    .sv-banner-badges {
        gap: 8px 12px;
    }

    .sv-banner-badges span {
        font-size: .8rem;
        padding: 6px 12px;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 36px 0 32px;
    }

    .banner .crumb {
        margin-bottom: 10px;
        font-size: .78rem;
    }

    .banner h1 {
        font-size: clamp(1.4rem, 6.6vw, 1.75rem);
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .banner p {
        font-size: .88rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .sv-banner-badges {
        gap: 7px 8px;
        width: 100%;
    }

    .sv-banner-badges span {
        font-size: .76rem;
        padding: 5px 10px;
        gap: 6px;
    }

    .sv-banner-badges span .i {
        width: 13px;
        height: 13px;
    }
}



.crumb {
    font-size: .85rem;
    color: #9fb3c6;
    margin-bottom: 12px
}

.crumb a:hover {
    color: var(--blue)
}

.hero-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(28px, 6vw, 44px);
    align-items: center
}

@media(max-width:900px) {
    .hero-split {
        grid-template-columns: 1fr
    }
}

.glass {
    background: var(--card);
    color: var(--text);
    padding: clamp(20px, 4vw, 30px);
    border-radius: var(--r);
    box-shadow: var(--sh);
    width: 100%;
    max-width: 100%
}

.glass h3 {
    margin-bottom: 16px
}

.fl {
    position: absolute;
    color: var(--blue);
    opacity: .6;
    font-size: 2rem;
    animation: fl 6s ease-in-out infinite
}

@keyframes fl {
    50% {
        transform: translateY(-20px)
    }
}

/* cards */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px;
    transition: .3s
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh);
    border-color: var(--blue)
}

.card p {
    color: var(--muted);
    margin-top: 8px;
    font-size: .95rem
}

.ico {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    margin-bottom: 18px;
    transition: .4s
}

.ico .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.card:hover .ico {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    margin-bottom: 18px;
    transition: .4s
}

.ico .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.ticks li {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    color: var(--muted)
}

.ticks .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.ticks.x .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.link {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: 14px;
    color: var(--blue);
    font: 600 .9rem var(--hf)
}

.link:hover {
    gap: 12px
}

.strip {
    margin-top: -60px;
    position: relative;
    z-index: 5;
    background: linear-gradient(120deg, var(--blue), #0EA5E9);
    color: #fff;
    border-radius: var(--r);
    box-shadow: var(--sh);
    padding: 30px
}

.strip h4 {
    color: #fff;
    display: flex;
    gap: 10px;
    align-items: center
}

.strip p {
    color: #d3e8f7;
    font-size: .9rem;
    margin-top: 6px
}

.stat {
    text-align: center;
    color: #000000;
    font-weight: 500;
}

.stat b {
    display: block;
    font: 700 3rem var(--hf);
    color: var(--orange);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat .muted {
    color: var(--muted);
    font-weight: normal;
}

.step {
    position: relative
}

.step::before {
    counter-increment: s;
    content: "0" counter(s);
    position: absolute;
    top: 14px;
    inset-inline-end: 22px;
    font: 700 2.6rem var(--hf);
    color: var(--blue);
    opacity: .22
}

.steps {
    counter-reset: s
}

/* before-after */
.ba {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--sh);
    user-select: none;
    direction: ltr;
    background-color: #1a2530;
}

.ba .p {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.ba .b {
    background-image: url('../images/before1.png');
}

.ba .a {
    background-image: url('../images/after1.png');
    clip-path: inset(0 0 0 50%);
}

.ba small {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 20px;
    font: 600 .75rem var(--bf);
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .2);
    z-index: 2;
}

.ba .a small {
    left: auto;
    right: 14px;
    background: rgba(14, 165, 233, 0.9);
    border-color: rgba(255, 255, 255, .3);
}

.ba .ba-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 20px;
    font: 600 .76rem var(--bf);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .15);
    pointer-events: none;
    max-width: 44%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.ba .a .ba-caption {
    left: auto;
    right: 12px;
    background: rgba(14, 165, 233, 0.9);
    border-color: rgba(255, 255, 255, .25);
}

.ba .ln {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #fff;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 3;
}

.ba .ln::after {
    content: "↔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    border: 2px solid var(--blue);
}

.ba input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    margin: 0;
    z-index: 4;
}

/* tabs, table, accordion */
.tl {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px
}

.tl button {
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    font: 500 .9rem var(--hf);
    cursor: pointer;
    transition: .2s
}

.tl button.on,
.tl button:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue)
}

.pane {
    display: none;
    animation: fi .5s
}

.pane.on {
    display: block
}

@keyframes fi {
    from {
        opacity: 0;
        transform: translateY(12px)
    }
}

.tw {
    overflow-x: auto;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--card)
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px
}

th,
td {
    padding: 15px 20px;
    text-align: start;
    border-bottom: 1px solid var(--line)
}

th {
    background: #f4f7fa;
    color: #000000;
    font: 600 .9rem var(--hf)
}

tr:last-child td {
    border: 0
}

.yes {
    color: var(--blue);
    font-weight: 600
}

.no {
    color: #0EA5E9
}

details {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 22px;
    margin-bottom: 12px;
    transition: .2s
}

details[open] {
    border-color: var(--blue);
    box-shadow: var(--sh)
}

summary {
    cursor: pointer;
    font: 600 1rem var(--hf);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 10px
}

summary::after {
    content: "+";
    color: var(--blue);
    font-size: 1.3rem;
    line-height: 1
}

details[open] summary::after {
    content: "–"
}

details p {
    margin-top: 12px;
    color: var(--muted)
}

/* timeline / pricing / misc */
.tline {
    position: relative;
    max-width: 760px;
    margin: auto;
    padding-inline-start: 34px;
    border-inline-start: 3px solid var(--line)
}

.tline>div {
    position: relative;
    margin-bottom: 34px
}

.tline>div::before {
    content: "";
    position: absolute;
    inset-inline-start: -43px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--orange);
    border: 4px solid var(--bg)
}

.tline b {
    font: 700 1.1rem var(--hf);
    color: var(--blue)
}

.price {
    text-align: center;
    position: relative
}

.price.hot {
    border: 2px solid var(--orange);
    transform: scale(1.03)
}

.price.hot::before {
    content: attr(data-tag);
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #fff;
    font: 600 .75rem var(--hf);
    padding: 4px 16px;
    border-radius: 20px
}

.price .amt {
    font: 700 2.3rem var(--hf);
    color: var(--navy);
    margin: 12px 0
}

.price .amt small {
    font-size: .9rem;
    color: var(--muted);
    font-weight: 500
}

.price .ticks {
    text-align: start;
    margin: 18px 0 24px
}

.layers {
    max-width: 560px;
    margin: auto;
    display: grid;
    gap: 8px
}

.layers div {
    padding: 16px 22px;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    transform: perspective(600px) rotateX(18deg);
    transition: .4s
}

.layers div:hover {
    transform: none
}

.layers small {
    font-weight: 400;
    opacity: .85
}

.av {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    font: 700 1.8rem var(--hf);
    color: #fff;
    background: linear-gradient(135deg, var(--navy2), var(--blue))
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center
}

.chips span {
    padding: 9px 20px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--card);
    font-weight: 500;
    transition: .2s
}

.chips span:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue)
}

.mq {
    overflow: hidden;
    background: #f4f7fa;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #000000;
    padding: 20px 0
}

.mq div {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: mq 26s linear infinite;
    color: var(--navy);
    font: 600 1.1rem var(--hf);
}

.mq span {
    display: flex;
    gap: 10px;
    align-items: center
}

.mq .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes mq {
    to {
        transform: translateX(-50%)
    }
}

[dir=rtl] .mq div {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: mq 26s linear infinite;
    color: var(--navy);
    font: 600 1.1rem var(--hf);
}

.bar {
    height: 9px;
    border-radius: 9px;
    background: var(--line);
    overflow: hidden;
    margin: 8px 0 18px
}

.bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    transition: width 1.4s
}

.cd {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 24px 0
}

.cd div {
    background: rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 14px 20px;
    min-width: 78px;
    text-align: center
}

.cd b {
    display: block;
    font: 700 2rem var(--hf);
    color: #fff
}

.cd small {
    color: #b9cde0
}

.fade {
    position: relative;
    max-width: 760px;
    margin: auto;
    display: grid
}

.fade .sl {
    grid-area: 1/1;
    opacity: 0;
    transition: opacity .8s;
    pointer-events: none;
    text-align: center
}

.fade .sl.on {
    opacity: 1;
    pointer-events: auto
}

.fade blockquote {
    font: 500 1.25rem/1.6 var(--hf);
    color: #fff
}

.fade cite {
    display: block;
    margin-top: 18px;
    font-style: normal;
    color: var(--blue);
    font-weight: 600
}

.stars {
    color: #0EA5E9;
    letter-spacing: 4px;
    margin-bottom: 14px
}

.dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 26px
}

.dots button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .3);
    cursor: pointer
}

.dots button.on {
    background: var(--orange);
    width: 30px;
    border-radius: 8px
}

.cta {
    background: linear-gradient(120deg, var(--blue), var(--orange));
    color: #fff;
    border-radius: 24px;
    padding: 56px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap
}

.cta h2 {
    color: #fff
}

.cta p {
    color: #ffffff;
    opacity: 0.9;
}

.cta .btn {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--blue);
}

.cta .btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #ffffff;
}

.vid {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--sh);
    background: #f4f7fa;
}

.vid video {
    width: 100%;
    display: block
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 14px
}

.mosaic div {
    border-radius: 14px;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    color: #fff;
    font: 600 .9rem var(--hf);
    transition: .4s;
    overflow: hidden
}

.mosaic div:hover {
    transform: scale(1.03)
}

.mosaic .w {
    grid-column: span 2
}

.mosaic .t {
    grid-row: span 2
}

@media(max-width:700px) {
    .mosaic {
        grid-template-columns: repeat(2, 1fr)
    }
}

.cert {
    background: #ffffff;
    border: 6px double #0EA5E9;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    color: #000000;
    box-shadow: var(--sh)
}

.cert h3 {
    color: #0EA5E9;
    font-size: 1.7rem
}

.cert .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.seal {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: auto;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background: conic-gradient(from 0deg, var(--blue), var(--orange), var(--blue));
    box-shadow: 0 0 0 12px rgba(14, 165, 233, .15), var(--sh);
    animation: spin 18s linear infinite
}

.seal>div {
    width: 164px;
    height: 164px;
    border-radius: 50%;
    background: var(--blue);
    color: #ffffff;
    display: grid;
    place-items: center;
    animation: spin 18s linear infinite reverse
}

.seal b {
    font: 700 3rem var(--hf);
    line-height: 1;
    display: block
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.map {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: var(--r)
}

/* forms */
form {
    display: grid;
    gap: 14px
}

label {
    font-weight: 500;
    font-size: .9rem;
    display: block;
    margin-bottom: 5px
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    color: var(--text);
    font: inherit;
    transition: .2s
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .2)
}

input[type=checkbox] {
    width: auto
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

@media(max-width:560px) {
    .row {
        grid-template-columns: 1fr
    }
}

.msg {
    display: none;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.12);
    color: var(--blue);
    font-weight: 500
}

.pw {
    position: relative
}

.pw button {
    position: absolute;
    inset-inline-end: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--muted);
    padding: 6px
}

/* ==========================================================================
   AUTHENTICATION PAGES (Login & Sign Up)
   ========================================================================== */
.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
}

.auth-header {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.auth-header nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.auth-header .tools {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.auth-header .tools .rtl-btn,
.auth-header .tools .theme-btn {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.auth-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 32px;
    min-height: calc(100vh - 68px);
    min-height: calc(100dvh - 68px);
}

.auth-head {
    text-align: center;
    max-width: 480px;
    margin-bottom: 18px;
}

.auth-head h1 {
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.auth-head p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.4;
    margin: 0;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--card);
    border-radius: 20px;
    border: 1.5px solid rgba(14, 165, 233, 0.25);
    box-shadow: 0 16px 40px rgba(14, 165, 233, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 28px 28px 22px;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.auth-field label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 0.92rem;
    color: var(--text);
    font-family: inherit;
    transition: all 0.2s ease;
    height: 42px;
}

.auth-field input::placeholder {
    color: var(--muted);
    font-size: 0.86rem;
    opacity: 0.8;
}

.auth-field input:focus {
    background: var(--card);
    border-color: #0EA5E9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.auth-field .pw {
    position: relative;
    width: 100%;
}

.auth-field .pw input {
    padding-inline-end: 42px;
}

.auth-field .pw .pw-toggle {
    position: absolute;
    inset-inline-end: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.15s;
}

.auth-field .pw .pw-toggle:hover {
    color: #0EA5E9;
}

.auth-field .pw .pw-toggle svg {
    width: 18px;
    height: 18px;
}

.auth-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
    font-size: 0.84rem;
}

.auth-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 400;
    margin: 0;
    user-select: none;
}

.auth-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0EA5E9;
    border-radius: 4px;
    cursor: pointer;
    margin: 0;
}

.auth-accent-link {
    color: #0EA5E9;
    font-weight: 600;
    transition: color 0.15s;
    text-decoration: none;
}

.auth-accent-link:hover {
    color: #0284c7;
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    padding: 11px 20px;
    background: #0EA5E9;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.98rem;
    font-family: var(--hf);
    border: 2px solid #0EA5E9;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 4px;
    box-shadow: 0 8px 22px rgba(14, 165, 233, 0.35);
    transition: all 0.25s ease;
}

.auth-submit-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.45);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin: 14px 0 10px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--line);
}

.auth-social-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.auth-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 8px;
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.auth-social-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.auth-social-btn:hover,
.auth-social-btn:focus-visible {
    border-color: #0EA5E9;
    color: #0EA5E9;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.15);
}

.auth-bottom {
    text-align: center;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-switch-text {
    font-size: 0.84rem;
    color: var(--muted);
    margin: 0;
}

.auth-switch-text .auth-accent-link {
    font-weight: 600;
}

.auth-back-link {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
    font-weight: 500;
}

.auth-back-link:hover {
    color: #0EA5E9;
}

/* Compact Mobile Layout - Ensures NO scrolling on mobile */
@media (max-width: 640px), (max-height: 800px) and (max-width: 900px) {
    .auth-header nav .container {
        height: 52px;
        padding-inline: 8px;
    }

    .auth-header .logo {
        font-size: 1.18rem;
        gap: 4px;
    }

    .auth-header .logo svg,
    .auth-header .logo .i {
        width: 22px;
        height: 22px;
    }

    .auth-header .tools {
        gap: 6px !important;
    }

    .auth-header .tools .ib {
        width: 35px;
        height: 35px;
        font-size: 0.72rem;
    }

    .auth-header .tools .theme-btn {
        font-size: 0.95rem;
    }

    .auth-main {
        padding: 8px 12px;
        min-height: calc(100vh - 52px);
        min-height: calc(100dvh - 52px);
        justify-content: center;
    }

    .auth-head {
        margin-bottom: 6px;
    }

    .auth-head h1 {
        font-size: 1.25rem;
        margin-bottom: 2px;
    }

    .auth-head p {
        font-size: 0.74rem;
        line-height: 1.2;
    }

    .auth-card {
        padding: 12px 14px 10px;
        border-radius: 14px;
        max-width: 380px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    }

    .auth-card form {
        gap: 6px;
    }

    .auth-field {
        gap: 2px;
    }

    .auth-field label {
        font-size: 0.74rem;
        margin-bottom: 0;
    }

    .auth-field input[type="text"],
    .auth-field input[type="email"],
    .auth-field input[type="password"] {
        padding: 6px 10px;
        font-size: 0.82rem;
        border-radius: 8px;
        height: 35px;
    }

    .auth-field .pw input {
        padding-inline-end: 34px;
    }

    .auth-field .pw .pw-toggle {
        inset-inline-end: 6px;
        padding: 2px;
    }

    .auth-field .pw .pw-toggle svg {
        width: 15px;
        height: 15px;
    }

    .auth-check-row {
        font-size: 0.72rem;
        margin-top: 0;
    }

    .auth-checkbox-label {
        font-size: 0.72rem;
        gap: 5px;
    }

    .auth-checkbox-label input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }

    .auth-submit-btn {
        padding: 8px 12px;
        font-size: 0.88rem;
        border-radius: 8px;
        margin-top: 2px;
    }

    .auth-divider {
        margin: 6px 0 4px;
        font-size: 0.62rem;
        gap: 8px;
    }

    .auth-social-row {
        gap: 6px;
    }

    .auth-social-btn {
        padding: 5.5px 6px;
        font-size: 0.74rem;
        border-radius: 8px;
        gap: 4px;
    }

    .auth-social-btn svg {
        width: 13px;
        height: 13px;
    }

    .auth-bottom {
        margin-top: 6px;
        gap: 2px;
    }

    .auth-switch-text {
        font-size: 0.74rem;
    }

    .auth-back-link {
        font-size: 0.72rem;
    }
}

@media (max-width: 380px) {
    .auth-header .logo {
        font-size: 1.05rem;
    }

    .auth-header .logo svg,
    .auth-header .logo .i {
        width: 19px;
        height: 19px;
    }

    .auth-header .tools {
        gap: 5px !important;
    }

    .auth-header .tools .ib {
        width: 31px;
        height: 31px;
        font-size: 0.68rem;
    }

    .auth-header .tools .theme-btn {
        font-size: 0.88rem;
    }
}

/* footer */
footer {
    background: #ffffff;
    color: #4b5563;
    padding: clamp(48px, 6vw, 68px) 0 0;
    border-top: 1px solid var(--line);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

footer h4 {
    font: 700 1.05rem var(--hf);
    color: #12304A;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: -0.01em;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2.5px;
    background: #0EA5E9;
    border-radius: 2px;
}

[dir=rtl] footer h4::after {
    left: auto;
    right: 0;
}

.footer-desc {
    margin-top: 16px;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--muted);
}

.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 18px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: #0EA5E9;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.footer-trust-badge .i {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav li a {
    color: #4b5563;
    font-size: 0.93rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s ease;
}

.footer-nav li a .i {
    width: 14px;
    height: 14px;
    stroke: #0EA5E9;
    opacity: 0.6;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.footer-nav li a:hover {
    color: #0EA5E9;
    transform: translateX(4px);
}

.footer-nav li a:hover .i {
    opacity: 1;
    transform: translateX(2px);
}

[dir=rtl] .footer-nav li a:hover {
    transform: translateX(-4px);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-icon-pill {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.22);
    color: #0EA5E9;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-icon-pill .i {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.footer-lbl {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 2px;
}

.footer-val {
    display: block;
    font-size: 0.93rem;
    font-weight: 600;
    color: #12304A;
    transition: color 0.2s;
}

a.footer-val:hover {
    color: #0EA5E9;
}

.soc {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.soc a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: #12304A;
    background: #ffffff;
    transition: all 0.25s ease;
}

.soc a:hover {
    background: #0EA5E9;
    border-color: #0EA5E9;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.35);
}

.copy {
    border-top: 1px solid var(--line);
    margin-top: 48px;
    padding: 22px 0;
}

.copy-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
    color: var(--muted);
}

.copy-perks {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-weight: 500;
}

.copy-perks span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #12304A;
}

.copy-perks span .i {
    width: 16px;
    height: 16px;
    stroke: #0EA5E9;
}

.call {
    position: fixed;
    bottom: 20px;
    inset-inline-end: 20px;
    z-index: 60;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    box-shadow: var(--sh);
    animation: pulse 2.6s infinite
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s, transform .8s
}

.reveal.in {
    opacity: 1;
    transform: none
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

@media(max-width:420px) {
    .cd {
        gap: 8px
    }

    .cd div {
        min-width: 0;
        flex: 1;
        padding: 12px 6px
    }

    .cd b {
        font-size: 1.5rem
    }
}

/* ==========================================================
   PROFESSIONAL HOMEPAGE SECTIONS & ENHANCEMENTS
   ========================================================== */

/* Enhanced Guarantee Strip */
.strip {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #12304A 0%, #0EA5E9 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    border-radius: var(--r);
    box-shadow: 0 20px 45px rgba(14, 165, 233, 0.25);
    padding: clamp(20px, 4vw, 30px) clamp(16px, 3.5vw, 36px);
    backdrop-filter: blur(10px);
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 560px) {
    .strip {
        margin-top: -30px;
    }
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 580px) {
    .strip-grid {
        grid-template-columns: 1fr;
    }
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.strip-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.strip-item:hover .strip-icon {
    transform: translateY(-4px) scale(1.08);
    background: var(--orange);
    border-color: var(--orange);
}

.strip-item h4 {
    color: #fff;
    font: 600 1.05rem var(--hf);
    margin-bottom: 4px;
}

.strip-item p {
    color: #d8eaf8;
    font-size: 0.88rem;
    line-height: 1.35;
    margin: 0;
}

/* Enhanced Professional Service Cards with Images */
.serv-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    padding: 0;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
    display: flex;
    flex-direction: column;
}

.serv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    border-color: var(--blue);
}

.serv-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #102c47;
}

.serv-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.serv-card:hover .serv-img {
    transform: scale(1.08);
}

.serv-content {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.serv-card h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.serv-sub {
    font-size: 0.86rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.serv-card p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.serv-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.serv-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 8px;
}

.serv-specs li .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

/* Extra Section 1: 5-Layer Engineering Anatomy */
.anatomy-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 52px;
    align-items: center;
}

@media(max-width: 920px) {
    .anatomy-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.layer-card-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.layer-row {
    padding: 16px 20px;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    flex-wrap: wrap;
    max-width: 100%;
    box-sizing: border-box;
}

.layer-row:hover {
    transform: scale(1.02) translateX(6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

[dir=rtl] .layer-row:hover {
    transform: scale(1.02) translateX(-6px);
}

.layer-row-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.layer-row-num {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    font: 700 0.95rem var(--hf);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.layer-row-title {
    font: 600 1rem var(--hf);
    word-break: break-word;
}

.layer-row-badge {
    font: 500 0.8rem var(--bf);
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
    white-space: normal;
    text-align: center;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .layer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
    }

    .layer-row-left {
        width: 100%;
        gap: 12px;
    }

    .layer-row-title {
        font-size: 0.94rem;
    }

    .layer-row-badge {
        align-self: flex-start;
        font-size: 0.78rem;
        padding: 4px 10px;
        text-align: start;
    }
}

.pillar-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 22px 24px;
    margin-bottom: 16px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: border-color 0.3s, transform 0.3s;
}

.pillar-card:hover {
    border-color: var(--blue);
    transform: translateY(-3px);
}

.pillar-ico {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.12);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--orange);
}

.pillar-ico .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.pillar-card h4 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.pillar-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced 4-Step Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

.process-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 34px 26px 28px;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.1);
}

.process-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    color: #fff;
    font: 700 0.8rem var(--hf);
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
}

.process-time {
    font-size: 0.8rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.process-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1;
}

.process-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.process-perks li {
    font-size: 0.84rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.process-perks li .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

/* Extra Section 2: Interactive Cost Estimator */
.calc-wrapper {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: clamp(22px, 3.5vw, 36px) clamp(16px, 3.5vw, 32px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
    container-type: inline-size;
    container-name: calcCard;
    width: 100%;
    min-width: 0;
}

.calc-field-group {
    margin-bottom: 14px;
    width: 100%;
}

.calc-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.calc-svc-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.calc-svc-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    text-align: start;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    user-select: none;
    font-family: inherit;
}

.calc-svc-pill:hover {
    border-color: #0EA5E9;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
}

.calc-svc-pill.active {
    border-color: #0EA5E9;
    background: rgba(14, 165, 233, 0.08);
    box-shadow: 0 0 0 1.5px #0EA5E9;
}

.calc-svc-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--card);
    transition: all 0.2s ease;
}

.calc-svc-check svg,
.calc-svc-check .i {
    width: 13px;
    height: 13px;
    stroke: transparent;
    transition: stroke 0.2s ease;
}

.calc-svc-pill.active .calc-svc-check {
    background: #0EA5E9;
    border-color: #0EA5E9;
}

.calc-svc-pill.active .calc-svc-check svg,
.calc-svc-pill.active .calc-svc-check .i {
    stroke: #ffffff;
}

.calc-svc-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    gap: 10px;
    min-width: 0;
}

.calc-svc-name {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    word-break: break-word;
}

.calc-svc-rate {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0EA5E9;
    background: rgba(14, 165, 233, 0.12);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.calc-svc-pill.active .calc-svc-rate {
    background: #0EA5E9;
    color: #ffffff;
}

.calc-wrapper input[type="number"] {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 10px 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: var(--card);
    color: var(--text);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-wrapper input[type="number"]:focus {
    outline: none;
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.22);
}

@media (max-width: 480px) {
    .calc-svc-pill {
        padding: 9px 12px;
        gap: 10px;
    }

    .calc-svc-name {
        font-size: 0.85rem;
    }

    .calc-svc-rate {
        font-size: 0.76rem;
        padding: 2px 8px;
    }
}

.calc-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 22px;
}

.calc-preset-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--text);
    font: 500 0.82rem var(--bf);
    cursor: pointer;
    transition: 0.2s;
}

.calc-preset-btn:hover,
.calc-preset-btn.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.calc-out-box {
    margin-top: 24px;
    padding: 22px 26px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.08));
    border: 1px solid rgba(14, 165, 233, 0.22);
}

.calc-out-val {
    font: 700 clamp(1.7rem, 4.5vw, 2.4rem) var(--hf);
    color: var(--blue);
    line-height: 1.1;
    margin: 6px 0;
    word-break: break-word;
}

[data-theme=dark] .calc-out-val {
    color: #0EA5E9;
}

/* Verified Customer Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(20px, 3vw, 28px);
    align-items: stretch;
    width: 100%;
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: clamp(24px, 4vw, 32px) clamp(20px, 3vw, 26px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    word-break: break-word;
    overflow-wrap: break-word;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    transition: width 0.4s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(14, 165, 233, 0.15);
}

.review-card:hover::before {
    width: 100%;
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.review-stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-stars-row .stars {
    color: #0EA5E9;
    font-size: 1.15rem;
    letter-spacing: 2px;
}


.review-quote-mark {
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 0.8;
    color: var(--orange);
    opacity: 0.18;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    user-select: none;
    pointer-events: none;
}

.review-card:hover .review-quote-mark {
    opacity: 0.45;
    color: #12304A;
    transform: translateY(-3px) scale(1.12);
}

.review-body {
    color: #1b2a3a;
    font-size: 0.96rem;
    line-height: 1.75;
    font-style: normal;
    flex-grow: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-job-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: #0EA5E9;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: fit-content;
    transition: all 0.25s ease;
}

.review-job-tag .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.review-card:hover .review-job-tag {
    background: rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.45);
    color: #0EA5E9;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    margin-top: auto;
    border-top: 1px solid var(--line);
}

.review-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(14, 165, 233, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover .review-avatar-img {
    transform: scale(1.08);
    border-color: var(--blue);
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.45);
}

.review-user-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.review-name {
    font: 600 1.02rem var(--hf);
    color: #000000;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.review-name .verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0EA5E9;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.25);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.review-name .verified-badge .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.review-loc {
    font-size: 0.83rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.review-loc .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.rating-stars {
    color: #0EA5E9;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: #12304A;
}

.rating-text b {
    color: #0EA5E9;
    font-weight: 700;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.35);
    color: #0EA5E9;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
}

.rating-pill .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

/* Professional Emergency Response Center */
.emergency-container {
    background: linear-gradient(135deg, var(--blue) 0%, #0EA5E9 100%);
    border-radius: var(--r);
    padding: 56px 44px 48px;
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emergency-radar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.35);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font: 600 0.82rem var(--hf);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.radar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0EA5E9;
    box-shadow: 0 0 10px #0EA5E9;
    animation: radarPulse 1.8s infinite;
}

@keyframes radarPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.6);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.emergency-container h2 {
    color: #fff;
    font-size: 2.3rem;
    line-height: 1.25;
    margin: 0 auto 14px;
    max-width: 820px;
}

.emergency-desc {
    color: #ffffff;
    opacity: 0.95;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 auto 30px;
    max-width: 660px;
}

.emergency-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.emergency-call-btn {
    padding: 15px 32px;
    font-size: 1.05rem;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.emergency-book-btn {
    padding: 15px 30px;
    font-size: 1rem;
}

.emergency-perks {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 860px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.emergency-perks span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #cfe0ee;
    font-weight: 500;
}

.emergency-perks span .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .emergency-container {
        padding: 40px 22px 36px;
    }

    .emergency-container h2 {
        font-size: 1.7rem;
    }

    .emergency-actions {
        flex-direction: column;
        width: 100%;
    }

    .emergency-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .emergency-perks {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

/* ==========================================================
   SERVICES PAGE — added for pages/services.html
   Reuses the existing tokens/fonts. No new stylesheet created.
   ========================================================== */


/* ---------- core service tabs ---------- */
.sv-tabs .tl {
    margin-bottom: 34px;
}

.sv-pane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 54px);
    align-items: center;
}

.sv-pane-media {
    position: relative;
}

.sv-pane-media img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    display: block;
    border-radius: var(--r);
    box-shadow: var(--sh);
}

.sv-pane-badge {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    background: rgba(14, 165, 233, .92);
    color: #fff;
    font: 600 .72rem var(--hf);
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.sv-pane-body h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.sv-pane-sub {
    color: var(--orange);
    font: 600 .9rem var(--bf);
    margin-bottom: 14px;
}

.sv-pane-body p {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 18px;
}

.sv-price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin: 4px 0 22px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(14, 165, 233, .1), rgba(18, 48, 74, .06));
    border: 1px solid rgba(14, 165, 233, .22);
}

.sv-price b {
    font: 700 1.5rem var(--hf);
    color: var(--navy);
}

.sv-price span {
    font-size: .84rem;
    color: var(--muted);
    font-weight: 500;
}

@media(max-width: 900px) {
    .sv-pane-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- add-on services grid ---------- */
.sv-addons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1024px) {
    .sv-addons {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .sv-addons {
        grid-template-columns: 1fr;
    }
}

.sv-addon {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px 24px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.sv-addon:hover {
    transform: translateY(-6px);
    border-color: var(--blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
}

.sv-addon-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(14, 165, 233, .22);
    margin-bottom: 16px;
    transition: background .3s, color .3s, border-color .3s;
}

.sv-addon:hover .sv-addon-ico {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.sv-addon-ico .i,
.sv-tech-ico .i,
.sv-type-ico .i,
.sv-care-ico .i {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.sv-addon h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.sv-addon p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.55;
}

/* ---------- diagnostic technology & materials ---------- */
.sv-tech {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 22px;
}

.sv-tech-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 24px 22px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.sv-tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .1);
}

.sv-tech-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
}

.sv-tech-card h4 {
    font-size: 1.02rem;
    margin-bottom: 5px;
}

.sv-tech-card p {
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.55;
}

/* ---------- coverage by property type ---------- */
.sv-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 24px;
}

.sv-type {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s, box-shadow .35s;
}

.sv-type:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .14);
}

.sv-type-media {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #111;
}

.sv-type-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.sv-type:hover .sv-type-media img {
    transform: scale(1.07);
}

.sv-type-tag {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    background: rgba(11, 31, 48, .84);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .2);
    letter-spacing: .02em;
    z-index: 2;
}

.sv-type-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sv-type-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    margin-top: -50px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    border: 3px solid var(--card);
    box-shadow: 0 10px 22px rgba(14, 165, 233, .3);
    flex-shrink: 0;
}

.sv-type h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.sv-type-body>p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.sv-type .ticks {
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-top: auto;
}

.sv-type .ticks li {
    margin-top: 8px;
}

/* ---------- every service includes ---------- */
.sv-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 58px);
    align-items: center;
}

.sv-includes-media img {
    width: 100%;
    aspect-ratio: 4 / 3.3;
    object-fit: cover;
    display: block;
    border-radius: var(--r);
    box-shadow: var(--sh);
}

.sv-includes-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
    margin-top: 22px;
}

.sv-inc-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .9rem;
    color: var(--text);
}
.sv-includes p{
    margin: 15px 0;
}

.sv-inc-item .i {
    width: 20px;
    height: 20px;
    stroke: var(--orange);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

@media(max-width: 900px) {
    .sv-includes {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 560px) {
    .sv-includes-list {
        grid-template-columns: 1fr;
    }
}


/* ---------- monsoon-ready roof care ---------- */
.sv-care {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1024px) {
    .sv-care {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .sv-care {
        grid-template-columns: 1fr;
    }
}

.sv-care-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 26px 24px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.sv-care-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .1);
}

.sv-care-ico {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(14, 165, 233, .22);
    margin-bottom: 14px;
}

.sv-care-card h4 {
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.sv-care-card p {
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.55;
}

/* ---------- dark mode overrides ---------- */
[data-theme=dark] .sv-addon,
[data-theme=dark] .sv-tech-card,
[data-theme=dark] .sv-type,
[data-theme=dark] .sv-care-card {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .sv-price {
    background: linear-gradient(135deg, rgba(14, 165, 233, .16), rgba(0, 0, 0, .3));
    border-color: rgba(14, 165, 233, .3);
}

[data-theme=dark] .sv-price b,
[data-theme=dark] .sv-pane-body h3,
[data-theme=dark] .sv-addon h4,
[data-theme=dark] .sv-tech-card h4,
[data-theme=dark] .sv-type h3,
[data-theme=dark] .sv-care-card h4 {
    color: #ffffff;
}

/* ---------- RTL tweaks ---------- */
[dir=rtl] .sv-pane-badge {
    inset-inline-start: auto;
    inset-inline-end: 16px;
}

/* ==========================================================
   BEFORE & AFTER GALLERY PAGE — added for pages/gallery.html
   Reuses the existing tokens/fonts. No new stylesheet created.
   ========================================================== */

/* filter row (reuses the .tl component + main.js [data-filter]) */
.gx-filter {
    margin-bottom: 34px;
}

/* ---------- project gallery grid ---------- */
.gx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
    gap: 20px;
}
.gx-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--r);
    overflow: hidden;
    background: #102c47;
    box-shadow: var(--sh);
}
.gx-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
}
.gx-item:hover img {
    transform: scale(1.08);
}
.gx-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(11, 31, 48, .88));
}
.gx-tag {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 2;
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font: 600 .7rem var(--hf);
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 20px;
}
.gx-tag.after {
    background: rgba(14, 165, 233, .92);
}
.gx-meta {
    position: absolute;
    inset-inline: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
}
.gx-meta h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 3px;
}
.gx-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #bcd6ea;
    font-size: .8rem;
}
.gx-meta .i {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ---------- drag to compare ---------- */
.gx-compare {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 24px;
}
.gx-compare-cap {
    margin-top: 16px;
}
.gx-compare-cap h4 {
    font-size: 1.02rem;
    margin-bottom: 3px;
}
.gx-compare-cap span {
    color: var(--muted);
    font-size: .82rem;
}

.gx-stat-ico .i {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ---------- project breakdown by category ---------- */
.gx-breakdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.gx-stat {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px 22px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.gx-stat:hover {
    transform: translateY(-6px);
    border-color: var(--blue);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .1);
}
.gx-stat-ico {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
}
.gx-stat b {
    display: block;
    font: 700 2rem var(--hf);
    color: var(--orange);
    line-height: 1;
    margin-bottom: 6px;
}
.gx-stat span {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 500;
}

/* ---------- video walkthrough ---------- */
.gx-video {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.gx-video .vid {
    position: relative;
}
.gx-video-cap {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 26px;
    background: linear-gradient(180deg, transparent, rgba(11, 31, 48, .92));
    border-radius: 0 0 var(--r) var(--r);
    color: #fff;
}
.gx-video-cap h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.gx-video-cap p {
    color: #cfe0ee;
    font-size: .86rem;
}

@media(max-width: 560px) {
    .gx-video-cap {
        padding: 18px;
    }
}
@media (max-width: 1024px) {
    .gx-breakdown {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 580px) {
    .gx-breakdown {
        grid-template-columns: 1fr;
    }
}

/* ---------- dark mode overrides ---------- */
[data-theme=dark] .gx-stat {
    background: #111111;
    border-color: #222222;
}
[data-theme=dark] .gx-stat span {
    color: #a0aec0;
}

/* ---------- RTL tweaks ---------- */
[dir=rtl] .gx-tag {
    inset-inline-start: auto;
    inset-inline-end: 14px;
}

/* ==========================================================
   RoofGuard Pro — Home 2 (exclusive stylesheet)
   Uses the same tokens/fonts as style.css.
   Only NEW classes are defined here so no existing code is touched.
   ========================================================== */

/* ---------- 1. SPLIT HERO (image + copy, not the video hero) ---------- */
.h2-hero {
    position: relative;
    color: #fff;
    padding: clamp(58px, 8vw, 100px) 0 clamp(58px, 8vw, 96px);
    background: linear-gradient(135deg, #0b1f30 0%, #12304A 52%, #0EA5E9 165%);
    overflow: hidden;
}

.h2-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 14%, rgba(14, 165, 233, .38), transparent 52%),
        radial-gradient(circle at 6% 96%, rgba(14, 165, 233, .18), transparent 46%);
    pointer-events: none;
}

.h2-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 70% 30%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 72%);
    opacity: .5;
    pointer-events: none;
}

.h2-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    gap: clamp(32px, 5vw, 62px);
    align-items: center;
}

.h2-hero h1 {
    color: #fff;
    margin-bottom: 18px;
}

.h2-hero h1 em {
    font-style: normal;
    color: #5cc8f5;
}

.h2-hero p.lead {
    color: #d5e6f4;
    font-size: clamp(1rem, 2vw, 1.08rem);
    max-width: 540px;
    margin-bottom: 26px;
}

.h2-hero-stats {
    display: flex;
    gap: clamp(18px, 3vw, 38px);
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    flex-wrap: wrap;
}

.h2-hero-stats div b {
    display: block;
    font: 700 1.9rem var(--hf);
    color: #fff;
    line-height: 1.1;
}

.h2-hero-stats div span {
    font-size: .82rem;
    color: #9fc2dc;
    font-weight: 500;
}

.h2-hero-visual {
    position: relative;
}

.h2-hero-visual>img {
    width: 100%;
    aspect-ratio: 4/4.3;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    box-shadow: 0 34px 70px rgba(0, 0, 0, .5);
    border: 1px solid rgba(255, 255, 255, .16);
}

.h2-float {
    position: absolute;
    background: #fff;
    color: #12304A;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
    display: flex;
    align-items: center;
    gap: 12px;
    font: 600 .86rem var(--bf);
    animation: h2Bob 5s ease-in-out infinite;
}

.h2-float .h2-float-ico {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #12304A, #0EA5E9);
    color: #fff;
    flex-shrink: 0;
}

.h2-float .h2-float-ico .i,
.h2-float-ico .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.h2-float small {
    display: block;
    font: 500 .74rem var(--bf);
    color: #5d6e80;
    margin-top: 2px;
}

.h2-float.f1 {
    inset-inline-start: -26px;
    top: 12%;
}

.h2-float.f2 {
    inset-inline-end: -22px;
    bottom: 14%;
    animation-delay: 1.4s;
}

@keyframes h2Bob {
    50% {
        transform: translateY(-14px);
    }
}

@media(max-width:900px) {
    .h2-hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .h2-hero-visual {
        max-width: 460px;
        margin-inline: auto;
        width: 100%;
    }

    .h2-float.f1 {
        inset-inline-start: 6px;
    }

    .h2-float.f2 {
        inset-inline-end: 6px;
    }
}

/* ---------- 2. CERTIFICATION MARQUEE ---------- */
.h2-mq {
    background: #0b1f30;
    border-top: 0;
    border-bottom: 0;
    color: #fff;
    padding: 18px 0;
}

.h2-mq .mq-track {
    display: flex;
    gap: 54px;
    width: max-content;
    animation: mq 30s linear infinite;
    color: #cfe0ee;
    font: 600 1rem var(--hf);
}

.h2-mq .mq-track span {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}

.h2-mq .mq-track .i {
    width: 20px;
    height: 20px;
    stroke: #0EA5E9;
}

.h2-mq:hover .mq-track {
    animation-play-state: paused;
}

/* ---------- 3. WHY CHOOSE US / ABOUT ---------- */
.h2-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    aspect-ratio: 1/1.02;
}

.h2-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: var(--sh);
}

.h2-collage .c1 {
    grid-row: span 2;
    border-radius: 18px;
}


@media(max-width:520px) {
    .h2-collage {
        grid-template-columns: 1fr 1fr;
        aspect-ratio: 1/1.15;
    }

    .h2-exp-badge {
        inset-inline-end: 10px;
        padding: 14px 16px;
    }

    .h2-exp-badge b {
        font-size: 1.7rem;
    }
}

/* ---------- 4. PROCESS TIMELINE (horizontal) ---------- */
.h2-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
    margin-top: 8px;
}

.h2-steps::before {
    content: "";
    position: absolute;
    top: 34px;
    inset-inline: 9%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 20px);
    opacity: .35;
    z-index: 0;
}

.h2-step {
    position: relative;
    z-index: 1;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px 22px 26px;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s, box-shadow .35s;
}

.h2-step:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .1);
}

.h2-step-num {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font: 700 1.15rem var(--hf);
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    margin-bottom: 16px;
    box-shadow: 0 10px 22px rgba(14, 165, 233, .3);
}

.h2-step h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.h2-step p {
    color: var(--muted);
    font-size: .89rem;
    line-height: 1.55;
}

.h2-step-tag {
    display: inline-block;
    margin-top: 14px;
    font: 600 .74rem var(--hf);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--orange);
}

@media(max-width:900px) {
    .h2-steps {
        grid-template-columns: 1fr 1fr;
    }

    .h2-steps::before {
        display: none;
    }
}

@media(max-width:560px) {
    .h2-steps {
        grid-template-columns: 1fr;
    }
}

/* ---------- 5. COMPARISON MATRIX ---------- */
.h2-compare .tw {
    box-shadow: 0 18px 40px rgba(0, 0, 0, .07);
}

.h2-compare th.col-us {
    background: var(--blue);
    color: #fff;
}

.h2-compare td.col-us {
    background: rgba(14, 165, 233, .07);
    font-weight: 500;
}

.h2-compare th.col-them {
    background: #f1f5f9;
    color: #64748b;
}

.h2-compare td {
    vertical-align: middle;
}

.h2-compare .cmp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.h2-compare .yes .i,
.h2-compare .no .i {
    width: 18px;
    height: 18px;
    stroke-width: 2.6;
}

/* ---------- 6. SERVICE AREAS / COVERAGE ---------- */
.h2-areas {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(30px, 5vw, 58px);
    align-items: center;
}

@media(max-width:900px) {
    .h2-areas {
        grid-template-columns: 1fr;
    }
}

.h2-area-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 340px;
    background: linear-gradient(150deg, #0b1f30, #12304A 60%, #0EA5E9 170%);
    display: grid;
    place-items: center;
    padding: 30px;
    box-shadow: var(--sh);
}

.h2-area-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .5;
}

.h2-area-visual .h2-pin {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.h2-area-visual .h2-pin>svg,
.h2-area-visual .h2-pin>.i {
    width: 74px;
    height: 74px;
    stroke: #5cc8f5;
    stroke-width: 1.4;
    filter: drop-shadow(0 8px 20px rgba(14, 165, 233, .5));
}

.h2-area-visual .h2-pin b {
    display: block;
    font: 700 2.4rem var(--hf);
    color: #fff;
    margin-top: 14px;
}

.h2-area-visual .h2-pin span {
    color: #bcd6ea;
    font-size: .9rem;
}

.h2-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 12px;
    margin-top: 24px;
}

.h2-area-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px 16px;
    font: 600 .88rem var(--bf);
    color: var(--text);
    transition: .25s;
}

.h2-area-chip .i {
    width: 18px;
    height: 18px;
    stroke: var(--orange);
}

.h2-area-chip:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-3px);
}

.h2-area-chip:hover .i {
    stroke: #fff;
}

/* ---------- 7. MAINTENANCE PLANS / PRICING ---------- */
.h2-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 26px;
    align-items: stretch;
}

.h2-plan {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s, box-shadow .35s;
}

.h2-plan:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .12);
}

.h2-plan.hot {
    border: 2px solid var(--orange);
    box-shadow: 0 24px 50px rgba(14, 165, 233, .22);
}

.h2-plan.hot::before {
    content: "Best Value";
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #fff;
    font: 600 .74rem var(--hf);
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

[dir=rtl] .h2-plan.hot::before {
    transform: translateX(50%);
}

.h2-plan h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.h2-plan .h2-plan-sub {
    color: var(--muted);
    font-size: .86rem;
    margin-bottom: 18px;
}

.h2-plan .h2-plan-amt {
    font: 700 2.5rem var(--hf);
    color: var(--navy);
    line-height: 1;
}

.h2-plan .h2-plan-amt small {
    font-size: .85rem;
    color: var(--muted);
    font-weight: 500;
}

.h2-plan .ticks {
    margin: 20px 0 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.h2-plan .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* ---------- 8. FAQ + FINAL CTA ---------- */
.h2-faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(30px, 5vw, 56px);
    align-items: start;
}

@media(max-width:860px) {
    .h2-faq-grid {
        grid-template-columns: 1fr;
    }
}

.h2-cta {
    margin-top: 24px;
    background: linear-gradient(120deg, #12304A, #0EA5E9);
    border-radius: 20px;
    padding: 40px 36px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    box-shadow: 0 24px 50px rgba(14, 165, 233, .22);
}

.h2-cta h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.h2-cta p {
    color: #d5e6f4;
    font-size: .94rem;
    max-width: 520px;
}

.h2-cta .btn {
    background: #fff;
    border-color: #fff;
    color: var(--blue);
}

.h2-cta .btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* ---------- DARK MODE OVERRIDES FOR NEW CLASSES ---------- */
[data-theme=dark] .h2-float,
[data-theme=dark] .h2-hero {
    color: #fff;
}

[data-theme=dark] .h2-float {
    background: #111111;
    color: #ffffff;
}

[data-theme=dark] .h2-float small {
    color: #a0aec0;
}

[data-theme=dark] .h2-mq {
    background: #0b1f30;
    border-color: transparent;
}

[data-theme=dark] .h2-mq .mq-track {
    color: #cfe0ee;
}

[data-theme=dark] .h2-step,
[data-theme=dark] .h2-plan,
[data-theme=dark] .h2-area-chip {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .h2-area-chip {
    color: #ffffff;
}

[data-theme=dark] .h2-plan .h2-plan-amt {
    color: #ffffff;
}

[data-theme=dark] .h2-compare th.col-them {
    background: #161616;
    color: #a0aec0;
}

[data-theme=dark] .h2-compare td.col-us {
    background: rgba(14, 165, 233, .12);
}

[data-theme=dark] .h2-cta {
    background: linear-gradient(120deg, #12304A, #0EA5E9);
    border: none;
}

/* ---------- RTL TWEAKS ---------- */
[dir=rtl] .h2-mq .mq-track {
    animation-name: mq;
}

[dir=rtl] .h2-float.f1 {
    inset-inline-start: auto;
    inset-inline-end: -26px;
}

[dir=rtl] .h2-float.f2 {
    inset-inline-end: auto;
    inset-inline-start: -22px;
}

/* ==========================================================
   RoofGuard Pro — About page (exclusive stylesheet)
   Uses the same tokens/fonts as style.css.
   Only NEW `ab-` classes are defined here so no existing code is touched.
   ========================================================== */

/* ---------- 1. ABOUT HERO BANNER (CENTERED 400PX WITH BG IMAGE) ---------- */
.ab-hero {
    position: relative;
    color: #fff;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(54px, 7vw, 80px) 0;
    overflow: hidden;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ab-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/hero3.avif');
    background-size: cover;
    background-position: center;
    opacity: 1;
    pointer-events: none;
}

.ab-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .70) 100%);
    pointer-events: none;
}

.ab-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
}

.ab-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ab-crumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .84rem;
    color: #9fc2dc;
    margin: 0 auto 12px;
}

.ab-crumb a {
    color: #9fc2dc;
    transition: color .2s;
}

.ab-crumb a:hover {
    color: #5cc8f5;
}

.ab-crumb .i {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
}

.ab-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -.02em;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}

.ab-hero h1 em {
    font-style: normal;
    color: #5cc8f5;
}

.ab-hero p.lead {
    color: #e2effa;
    font-size: clamp(.96rem, 1.6vw, 1.06rem);
    line-height: 1.6;
    margin: 0 auto 22px;
    max-width: 640px;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.ab-hero .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .ab-hero {
        min-height: auto;
        padding: clamp(42px, 8vw, 60px) 0;
    }

    .ab-hero h1 {
        font-size: clamp(1.6rem, 5.5vw, 2.25rem);
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .ab-hero p.lead {
        font-size: clamp(.9rem, 2.6vw, 1rem);
        line-height: 1.55;
        margin-bottom: 18px;
        max-width: 96%;
    }
}

@media (max-width: 480px) {
    .ab-hero {
        padding: 36px 0 32px;
    }

    .ab-hero .ab-crumb {
        margin-bottom: 10px;
        font-size: .78rem;
    }

    .ab-hero h1 {
        font-size: clamp(1.4rem, 6.6vw, 1.75rem);
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .ab-hero p.lead {
        font-size: .88rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }
}

/* ---------- 2. OUR STORY ---------- */
.ab-story {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(34px, 5vw, 64px);
    align-items: center;
}

.ab-story-copy p {
    color: var(--muted);
    margin-top: 15px;
}

.ab-sign {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.ab-sign-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(14, 165, 233, .4);
    flex-shrink: 0;
}

.ab-sign-name {
    font: 600 1rem var(--hf);
    color: var(--navy);
    display: block;
}

.ab-sign-role {
    font-size: .82rem;
    color: var(--muted);
}

.ab-story-media {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    aspect-ratio: 1 / 1.02;
}

.ab-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: var(--sh);
}

.ab-story-media .ab-img-tall {
    grid-row: span 2;
    border-radius: 18px;
}

.ab-year-badge {
    position: absolute;
    inset-inline-end: -14px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #12304A, #0EA5E9);
    color: #fff;
    border-radius: 16px;
    padding: 18px 22px;
    text-align: center;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .32);
    border: 1px solid rgba(255, 255, 255, .2);
}

.ab-year-badge b {
    display: block;
    font: 700 2.2rem var(--hf);
    line-height: 1;
}

.ab-year-badge span {
    font-size: .76rem;
    color: #d5e6f4;
    font-weight: 500;
}

@media(max-width: 900px) {
    .ab-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media(max-width: 520px) {
    .ab-story-media {
        aspect-ratio: 1 / 1.15;
    }

    .ab-year-badge {
        inset-inline-end: 10px;
        padding: 14px 16px;
    }

    .ab-year-badge b {
        font-size: 1.7rem;
    }
}

/* ---------- 3. MISSION / VISION / VALUES ---------- */
.ab-mvv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(20px, 3vw, 28px);
}

.ab-mvv-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 34px 30px 30px;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s, border-color .35s;
}

.ab-mvv-card::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.ab-mvv-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    box-shadow: 0 24px 46px rgba(0, 0, 0, .12);
}

.ab-mvv-card:hover::after {
    transform: scaleX(1);
}

[dir=rtl] .ab-mvv-card::after {
    transform-origin: right;
}

.ab-mvv-ico {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    margin-bottom: 20px;
    box-shadow: 0 12px 26px rgba(14, 165, 233, .28);
}

.ab-mvv-ico .i {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.ab-mvv-card h3 {
    font-size: 1.22rem;
    margin-bottom: 10px;
}

.ab-mvv-card p {
    color: var(--muted);
    font-size: .93rem;
    line-height: 1.65;
}

/* ---------- 4. WHAT SETS US APART ---------- */
.ab-diff {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 22px;
}

.ab-diff-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 26px 24px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.ab-diff-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .1);
}

.ab-diff-ico {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--orange);
    background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(14, 165, 233, .22);
    transition: background .3s, color .3s;
}

.ab-diff-ico .i {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.ab-diff-card:hover .ab-diff-ico {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.ab-diff-body h4 {
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.ab-diff-body p {
    color: var(--muted);
    font-size: .89rem;
    line-height: 1.55;
}

/* ---------- 5. MEET THE TEAM ---------- */
.ab-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 24px;
}

.ab-team-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    text-align: center;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s, border-color .35s;
}

.ab-team-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .12);
}

.ab-team-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #102c47;
}

.ab-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.ab-team-card:hover .ab-team-photo img {
    transform: scale(1.07);
}

.ab-team-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11, 31, 48, .72));
}

.ab-team-info {
    padding: 20px 20px 24px;
}

.ab-team-info h4 {
    font-size: 1.08rem;
    margin-bottom: 3px;
}

.ab-team-role {
    font: 600 .82rem var(--bf);
    color: var(--orange);
    letter-spacing: .02em;
}

.ab-team-soc {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.ab-team-soc a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--navy);
    background: var(--bg);
    transition: .25s;
}

.ab-team-soc a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-3px);
}

.ab-team-soc .i {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.ab-team-join {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 40px 26px;
    border: 2px dashed rgba(14, 165, 233, .45);
    background: linear-gradient(150deg, rgba(14, 165, 233, .07), rgba(18, 48, 74, .05));
}

.ab-team-join .ab-mvv-ico {
    margin-bottom: 0;
}

.ab-team-join h4 {
    font-size: 1.1rem;
}

.ab-team-join p {
    color: var(--muted);
    font-size: .9rem;
}

/* ---------- 6. CERTIFICATIONS & ACCREDITATIONS ---------- */
.ab-certs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

.ab-cert {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px 20px;
    text-align: center;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.ab-cert:hover {
    transform: translateY(-6px);
    border-color: var(--orange);
    box-shadow: 0 18px 40px rgba(14, 165, 233, .18);
}

.ab-cert-ico {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    box-shadow: 0 10px 24px rgba(14, 165, 233, .28);
    flex-shrink: 0;
}

.ab-cert-ico .i,
.ab-cert-ico svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.ab-cert h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.ab-cert p {
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.5;
    flex-grow: 1;
}

@media (max-width: 1080px) {
    .ab-certs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .ab-cert {
        flex: 1 1 calc(33.333% - 20px);
        min-width: 200px;
        max-width: 320px;
    }
}

@media (max-width: 680px) {
    .ab-certs {
        gap: 16px;
    }

    .ab-cert {
        flex: 1 1 calc(50% - 16px);
        min-width: 140px;
        padding: 22px 16px;
    }
}

@media (max-width: 440px) {
    .ab-cert {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* ---------- 7. COMPANY MILESTONES TIMELINE ---------- */
.ab-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-inline-start: 0;
}

.ab-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--orange), var(--blue));
    opacity: .35;
    border-radius: 3px;
}

[dir=rtl] .ab-timeline::before {
    transform: translateX(50%);
}

.ab-tl-item {
    position: relative;
    width: 50%;
    padding-inline-end: 46px;
    margin-bottom: 34px;
}

.ab-tl-item:nth-child(odd) {
    inset-inline-start: 0;
    text-align: end;
}

.ab-tl-item:nth-child(even) {
    inset-inline-start: 50%;
    padding-inline-end: 0;
    padding-inline-start: 46px;
    text-align: start;
}

.ab-tl-item::after {
    content: "";
    position: absolute;
    top: 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--orange);
    border: 4px solid var(--bg);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .35);
}

.ab-tl-item:nth-child(odd)::after {
    inset-inline-end: -8px;
}

.ab-tl-item:nth-child(even)::after {
    inset-inline-start: -8px;
}

.ab-tl-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px 22px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.ab-tl-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .1);
}

.ab-tl-year {
    display: inline-block;
    font: 700 .82rem var(--hf);
    letter-spacing: .04em;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    padding: 3px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.ab-tl-card h4 {
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.ab-tl-card p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.55;
}

@media(max-width: 760px) {
    .ab-timeline::before {
        inset-inline-start: 14px;
        transform: none;
    }

    [dir=rtl] .ab-timeline::before {
        transform: none;
    }

    .ab-tl-item,
    .ab-tl-item:nth-child(odd),
    .ab-tl-item:nth-child(even) {
        width: 100%;
        inset-inline-start: 0;
        padding-inline-start: 42px;
        padding-inline-end: 0;
        text-align: start;
    }

    .ab-tl-item::after,
    .ab-tl-item:nth-child(odd)::after,
    .ab-tl-item:nth-child(even)::after {
        inset-inline-start: 6px;
        inset-inline-end: auto;
    }
}

/* ---------- 8. COMMUNITY & FINAL CTA ---------- */
.ab-community {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 54px);
    align-items: center;
}

.ab-community-copy p {
    color: var(--muted);
    margin: 22px 0;
}

.ab-impact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ab-impact-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 26px 24px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.ab-impact-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .1);
}

.ab-impact-ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: rgba(14, 165, 233, .12);
    margin-bottom: 14px;
}

.ab-impact-ico .i {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.ab-impact-card b {
    display: block;
    font: 700 1.9rem var(--hf);
    color: var(--orange);
    line-height: 1;
    margin-bottom: 6px;
}

.ab-impact-card span {
    font-size: .86rem;
    color: var(--muted);
    font-weight: 500;
}

.ab-final-cta {
    margin-top: clamp(34px, 5vw, 54px);
    background: linear-gradient(120deg, #12304A, #0EA5E9);
    border-radius: 20px;
    padding: 44px 40px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    box-shadow: 0 24px 50px rgba(14, 165, 233, .22);
}

.ab-final-cta h3 {
    color: #fff;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    margin-bottom: 6px;
}

.ab-final-cta p {
    color: #d5e6f4;
    font-size: .95rem;
    max-width: 560px;
}

.ab-final-cta .btn {
    background: #fff;
    border-color: #fff;
    color: var(--blue);
    white-space: nowrap;
}

.ab-final-cta .btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

@media(max-width: 900px) {
    .ab-community {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media(max-width: 560px) {
    .ab-impact {
        grid-template-columns: 1fr;
    }

    .ab-final-cta {
        padding: 34px 24px;
    }

    .ab-final-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- DARK MODE OVERRIDES FOR NEW CLASSES ---------- */
[data-theme=dark] .ab-hero {
    background: #0b1f30;
}

[data-theme=dark] .ab-mvv-card,
[data-theme=dark] .ab-diff-card,
[data-theme=dark] .ab-team-card,
[data-theme=dark] .ab-cert,
[data-theme=dark] .ab-tl-card,
[data-theme=dark] .ab-impact-card {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .ab-sign-name,
[data-theme=dark] .ab-tl-card h4,
[data-theme=dark] .ab-cert h4,
[data-theme=dark] .ab-diff-body h4,
[data-theme=dark] .ab-team-info h4 {
    color: #ffffff;
}

[data-theme=dark] .ab-team-join {
    background: linear-gradient(150deg, rgba(14, 165, 233, .12), rgba(0, 0, 0, .3));
    border-color: rgba(14, 165, 233, .4);
}

[data-theme=dark] .ab-team-soc a {
    background: #161616;
    border-color: #2a2a2a;
    color: #ffffff;
}

[data-theme=dark] .ab-team-soc a:hover {
    background: var(--blue);
    border-color: var(--blue);
}

[data-theme=dark] .ab-tl-item::after {
    border-color: #000000;
}

[data-theme=dark] .ab-final-cta {
    background: linear-gradient(120deg, #12304A, #0EA5E9);
    border: none;
}

/* ---------- RTL TWEAKS ---------- */
[dir=rtl] .ab-crumb .i {
    transform: scaleX(-1);
}

[dir=rtl] .ab-team-soc a:hover,
[dir=rtl] .ab-diff-card:hover,
[dir=rtl] .ab-cert:hover,
[dir=rtl] .ab-impact-card:hover {
    transform: translateY(-6px);
}

/* ==========================================================
   RoofGuard Pro — Warranty page (exclusive stylesheet)
   Uses the same tokens/fonts as style.css.
   Only NEW `wt-` classes are defined here so no existing code is touched.
   The hero reuses the existing .banner (>400px) exactly like the Services page.
   ========================================================== */

.wt-glance-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(14, 165, 233, .22);
    margin-bottom: 16px;
    transition: background .3s, color .3s, border-color .3s;
}

.wt-glance-ico .i {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ---------- 2. WARRANTY COVERAGE TIERS ---------- */
.wt-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 26px;
    align-items: stretch;
}

.wt-tier {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s, box-shadow .35s;
}

.wt-tier:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .12);
}

.wt-tier.hot {
    border: 2px solid var(--orange);
    box-shadow: 0 24px 50px rgba(14, 165, 233, .22);
}

.wt-tier.hot::before {
    content: "Most Chosen";
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #fff;
    font: 600 .74rem var(--hf);
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

[dir=rtl] .wt-tier.hot::before {
    transform: translateX(50%);
}

.wt-tier-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 .74rem var(--hf);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}

.wt-tier-tag .i {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.wt-tier-dur {
    font: 700 2.6rem var(--hf);
    color: var(--navy);
    line-height: 1;
}

.wt-tier-dur small {
    font-size: .85rem;
    color: var(--muted);
    font-weight: 500;
}

.wt-tier h3 {
    font-size: 1.22rem;
    margin: 10px 0 6px;
}

.wt-tier>p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.wt-tier .ticks {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-bottom: 24px;
}

.wt-tier .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* ---------- 3. COVERED VS EXCLUDED ---------- */
.wt-cover-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(22px, 3vw, 30px);
}

.wt-cover-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px 28px;
    border-top: 4px solid var(--blue);
}

.wt-cover-card.no {
    border-top-color: #e5484d;
}

.wt-cover-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.wt-cover-head .wt-glance-ico {
    margin-bottom: 0;
    width: 46px;
    height: 46px;
}

.wt-cover-card.no .wt-cover-head .wt-glance-ico {
    color: #e5484d;
    background: rgba(229, 72, 77, .1);
    border-color: rgba(229, 72, 77, .28);
}

.wt-cover-head h3 {
    font-size: 1.2rem;
}

.wt-cover-card .ticks li {
    align-items: flex-start;
    margin-top: 12px;
}

.wt-cover-card.no .ticks .i {
    stroke: #e5484d;
}

@media(max-width: 720px) {
    .wt-cover-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- 4. CERTIFICATE + REGISTRATION ---------- */
.wt-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 60px);
    align-items: center;
}

.wt-cert-grid .cert {
    background: var(--card);
    border: 5px double #0EA5E9;
    border-radius: 18px;
    padding: clamp(38px, 4.5vw, 48px) clamp(26px, 3.5vw, 36px);
    text-align: center;
    color: var(--text);
    box-shadow: 0 16px 40px rgba(14, 165, 233, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.wt-cert-grid .cert .seal {
    margin: 4px auto 24px;
}

.wt-cert-grid .cert h3 {
    color: #0EA5E9;
    font-size: clamp(1.45rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 auto 14px;
    max-width: 380px;
    text-align: center;
}

.wt-cert-grid .cert p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin: 0 auto 22px;
    max-width: 430px;
    text-align: center;
}

.wt-cert-ticks {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    margin: 6px auto 0;
    width: fit-content;
    text-align: left;
}

.wt-cert-ticks li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.wt-cert-ticks .i,
.wt-cert-ticks svg {
    color: #0EA5E9;
    stroke: #0EA5E9;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.wt-reg {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px 28px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .08);
    margin-top: 24px;
}

.wt-reg h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.wt-reg .wt-reg-sub {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 18px;
}

@media(max-width: 900px) {
    .wt-cert-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- 5. CLAIMS PROCESS STEPS ---------- */
.wt-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1024px) {
    .wt-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .wt-steps {
        grid-template-columns: 1fr;
    }
}

.wt-step {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px 24px 26px;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s, box-shadow .35s;
}

.wt-step:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    box-shadow: 0 22px 46px rgba(0, 0, 0, .1);
}

.wt-step-num {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font: 700 1.15rem var(--hf);
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    margin-bottom: 16px;
    box-shadow: 0 10px 22px rgba(14, 165, 233, .3);
}

.wt-step h4 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.wt-step p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.6;
}

.wt-step-tag {
    display: inline-block;
    margin-top: 14px;
    font: 600 .74rem var(--hf);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--orange);
}

/* ---------- DARK MODE OVERRIDES FOR NEW CLASSES ---------- */
[data-theme=dark] .wt-glance-card,
[data-theme=dark] .wt-tier,
[data-theme=dark] .wt-cover-card,
[data-theme=dark] .wt-step,
[data-theme=dark] .wt-reg {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .wt-glance-ico {
    background: #161616;
    border-color: #2a2a2a;
}

[data-theme=dark] .wt-cover-card.no .wt-cover-head .wt-glance-ico {
    background: rgba(229, 72, 77, .16);
    border-color: rgba(229, 72, 77, .34);
}

[data-theme=dark] .wt-glance-card h4,
[data-theme=dark] .wt-tier h3,
[data-theme=dark] .wt-tier-dur,
[data-theme=dark] .wt-cover-head h3,
[data-theme=dark] .wt-step h4,
[data-theme=dark] .wt-reg h3 {
    color: #ffffff;
}

[data-theme=dark] .wt-glance-card p,
[data-theme=dark] .wt-tier>p,
[data-theme=dark] .wt-step p,
[data-theme=dark] .wt-reg .wt-reg-sub {
    color: #a0aec0;
}

/* ---------- RTL TWEAKS ---------- */
[dir=rtl] .wt-tier.hot::before {
    transform: translateX(50%);
}

[dir=rtl] .wt-cover-card .ticks li {
    text-align: start;
}

/* ==========================================================
   RoofGuard Pro — Contact page (exclusive stylesheet)
   Uses the same tokens/fonts as style.css.
   Only NEW `ct-` classes are defined here so no existing code is touched.
   The hero reuses the existing .banner (400px) exactly like the Services page.
   ========================================================== */

/* ---------- 2. QUICK CONTACT CHANNELS ---------- */
.ct-channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1024px) {
    .ct-channels {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .ct-channels {
        grid-template-columns: 1fr;
    }
}

.ct-channel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s, box-shadow .35s;
}

.ct-channel:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    box-shadow: 0 22px 46px rgba(0, 0, 0, .1);
}

.ct-ico {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(14, 165, 233, .22);
    margin-bottom: 16px;
    transition: .3s;
}

.ct-channel:hover .ct-ico {
    background: linear-gradient(135deg, var(--blue), var(--orange));
    color: #fff;
    border-color: transparent;
}

.ct-ico .i {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.ct-channel h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.ct-channel p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.55;
}

.ct-val {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 14px;
    font: 600 .92rem var(--hf);
    color: var(--blue);
    transition: gap .25s;
}

.ct-val:hover {
    gap: 12px;
}

.ct-val .i {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ---------- 3. INSPECTION FORM + SIDE INFO ---------- */
.ct-main {
    display: grid;
    grid-template-columns: 1.25fr .85fr;
    gap: clamp(26px, 4vw, 46px);
    align-items: start;
}

.ct-form-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: clamp(24px, 3.5vw, 38px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .08);
}

.ct-form-card h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.ct-form-sub {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: 22px;
}

.ct-form-card .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.form-group label {
    font-weight: 600;
    font-size: .88rem;
    color: var(--navy);
    margin-bottom: 0;
    line-height: 1.35;
    display: block;
}

.ct-form-card input:not([type="checkbox"]):not([type="radio"]),
.ct-form-card select {
    height: 48px;
    line-height: 1.4;
    box-sizing: border-box;
    font-size: 0.94rem;
    padding: 0 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background-color: var(--card);
    color: var(--text);
    width: 100%;
    max-width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    font-family: inherit;
}

.ct-form-card select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230EA5E9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-inline-end: 42px;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ct-form-card input[type="date"] {
    position: relative;
    cursor: pointer;
}

.ct-form-card input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    border-radius: 4px;
    padding: 3px;
    opacity: 0.75;
    transition: opacity 0.2s, filter 0.2s;
}

.ct-form-card input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

[data-theme=dark] .ct-form-card input[type="date"]::-webkit-calendar-picker-indicator,
html[data-theme=dark] .ct-form-card input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.7) !important;
    opacity: 0.95 !important;
}

[data-theme=dark] .ct-form-card input[type="date"]::-webkit-calendar-picker-indicator:hover,
html[data-theme=dark] .ct-form-card input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(1) brightness(2.2) !important;
    opacity: 1 !important;
}

.ct-form-card textarea {
    box-sizing: border-box;
    font-size: 0.94rem;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background-color: var(--card);
    color: var(--text);
    width: 100%;
    max-width: 100%;
    min-height: 110px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.55;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ct-form-card input:focus,
.ct-form-card select:focus,
.ct-form-card textarea:focus {
    outline: none;
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.ct-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .84rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.5;
    margin: 4px 0;
}

.ct-consent input {
    margin-top: 3px;
    flex-shrink: 0;
}

.ct-submit {
    width: 100%;
    justify-content: center;
}

.ct-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ct-promise {
    background: linear-gradient(120deg, var(--blue), #0EA5E9);
    color: #fff;
    border-radius: var(--r);
    padding: 28px 26px;
    box-shadow: var(--sh);
}

.ct-promise h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ct-promise .i {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    color: #fff;
}

.ct-promise .ticks li {
    align-items: flex-start;
    color: #e2effa;
    font-weight: 500;
}

.ct-promise .ticks .i {
    color: #fff;
    stroke: #fff;
    margin-top: 2px;
}

.ct-sidecard {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 24px 24px 8px;
}

.ct-sidecard h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.ct-side-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.ct-side-list li:last-child {
    border-bottom: 0;
}

.ct-side-list .i {
    width: 20px;
    height: 20px;
    stroke: var(--orange);
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.ct-side-list b {
    display: block;
    font: 600 .92rem var(--hf);
    color: var(--navy);
}

.ct-side-list span {
    color: var(--muted);
    font-size: .84rem;
}

[data-theme=dark] .ct-side-list b {
    color: #ffffff;
}

/* ---------- 4. WHAT HAPPENS NEXT (STEPS) ---------- */
.ct-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1024px) {
    .ct-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .ct-steps {
        grid-template-columns: 1fr;
    }
}

.ct-step {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px 24px 26px;
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s, box-shadow .35s;
}

.ct-step:hover {
    transform: translateY(-8px);
    border-color: var(--blue);
    box-shadow: 0 22px 46px rgba(0, 0, 0, .1);
}

.ct-step-num {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font: 700 1.15rem var(--hf);
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    margin-bottom: 16px;
    box-shadow: 0 10px 22px rgba(14, 165, 233, .3);
}

.ct-step h4 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.ct-step p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.6;
}

.ct-step-tag {
    display: inline-block;
    margin-top: 14px;
    font: 600 .74rem var(--hf);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--orange);
}

/* ---------- 5. COVERAGE MAP + AREAS ---------- */
.ct-areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
}

.ct-map-wrap {
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--sh);
    background: #e5eef6;
    min-height: 380px;
}

.ct-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
    display: block;
}

.ct-area-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-top: 22px;
}

.ct-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--text);
}

.ct-area .i {
    width: 18px;
    height: 18px;
    stroke: var(--orange);
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
}

/* ---------- 6. OFFICE HOURS & EMERGENCY SUPPORT ---------- */
.ct-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(26px, 4vw, 50px);
    align-items: start;
}

.ct-hours-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
}

.ct-hours-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.ct-hours-sub {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 18px;
}

.ct-open-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 .8rem var(--hf);
    color: #0f9d58;
    background: rgba(15, 157, 88, .12);
    border: 1px solid rgba(15, 157, 88, .28);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.ct-open-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0f9d58;
    box-shadow: 0 0 0 0 rgba(15, 157, 88, .5);
    animation: ct-pulse 2s infinite;
}

@keyframes ct-pulse {
    70% {
        box-shadow: 0 0 0 8px rgba(15, 157, 88, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 157, 88, 0);
    }
}

.ct-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
    font-size: .93rem;
}

.ct-hours-row:last-child {
    border-bottom: 0;
}

.ct-hours-row span:first-child {
    color: var(--muted);
}

.ct-hours-row b {
    font-family: var(--hf);
    font-weight: 600;
    color: var(--navy);
}

.ct-hours-row.em b {
    color: var(--orange);
}

/* ---------- VISIT US MAP SECTION ---------- */
.vu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.vu-map-card {
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.vu-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    gap: 12px;
    flex-wrap: wrap;
}

.vu-map-header .btn,
.vu-map-header .btn.ghost,
.vu-map-header .btn.out {
    background: #ffffff;
    color: var(--blue);
    border: 1.5px solid var(--blue);
    font-size: .84rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all .2s ease;
}

.vu-map-header .btn:hover,
.vu-map-header .btn.ghost:hover,
.vu-map-header .btn.out:hover {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 165, 233, .3);
}

[data-theme=dark] .vu-map-header .btn,
[data-theme=dark] .vu-map-header .btn.ghost,
[data-theme=dark] .vu-map-header .btn.out {
    background: rgba(14, 165, 233, 0.12);
    color: #38bdf8;
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: none;
}

[data-theme=dark] .vu-map-header .btn:hover,
[data-theme=dark] .vu-map-header .btn.ghost:hover,
[data-theme=dark] .vu-map-header .btn.out:hover {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
}

.vu-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 .84rem var(--hf);
    color: #0f9d58;
}

.vu-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0f9d58;
    box-shadow: 0 0 0 0 rgba(15, 157, 88, .5);
    animation: ct-pulse 2s infinite;
}

.vu-map-embed {
    flex: 1;
    min-height: 480px;
    background: #e5eef6;
}

.vu-map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
    display: block;
}

.vu-info-card {
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    padding: clamp(24px, 3vw, 32px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    box-sizing: border-box;
}

.vu-info-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.vu-info-block > div:last-child {
    flex: 1;
    min-width: 0;
}

.vu-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: rgba(14, 165, 233, .12);
    border: 1px solid rgba(14, 165, 233, .22);
    flex-shrink: 0;
}

.vu-icon .i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.vu-info-block h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--navy);
}

.vu-info-block p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
    margin: 0;
}

.vu-subtext {
    display: block;
    font-size: .8rem;
    color: var(--orange);
    font-weight: 500;
    margin-top: 4px;
}

.vu-link {
    color: var(--blue);
    font-weight: 600;
    transition: color 0.2s;
}

.vu-link:hover {
    color: var(--orange);
}

.vu-hours-box {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vu-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: .86rem;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--line);
}

.vu-hours-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.vu-hours-row span {
    color: var(--muted);
}

.vu-hours-row b {
    color: var(--navy);
    font-weight: 600;
}

.vu-tag-em {
    font-size: .75rem;
    font-weight: 600;
    color: #0EA5E9;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.25);
    padding: 2px 8px;
    border-radius: 5px;
}

.vu-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
}

/* Fallback if placed directly under .vu-info-card: indents by 60px (44px icon + 16px gap) */
.vu-info-card > .vu-highlights {
    margin-inline-start: 60px;
    width: calc(100% - 60px);
}

.vu-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

.vu-pill .i {
    width: 14px;
    height: 14px;
    stroke: var(--orange);
    stroke-width: 2.4;
    fill: none;
    flex-shrink: 0;
}

.vu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    margin-top: 14px;
}

/* Fallback if placed directly under .vu-info-card: indents by 60px */
.vu-info-card > .vu-actions {
    margin-inline-start: 60px;
    width: calc(100% - 60px);
}

.vu-actions .btn {
    flex: 1 1 200px;
    width: 100%;
    white-space: nowrap;
    padding: 12px 14px;
    font-size: .88rem;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    border-radius: 10px;
    box-sizing: border-box;
}

@media (max-width: 520px) {
    .vu-highlights {
        grid-template-columns: 1fr;
    }

    .vu-info-card > .vu-highlights,
    .vu-info-card > .vu-actions {
        margin-inline-start: 0;
        width: 100%;
    }
}

/* ---------- 7. CONTACT FAQ ---------- */
.ct-faq {
    max-width: 820px;
    margin: 0 auto;
}

/* ---------- DARK MODE OVERRIDES FOR NEW CLASSES ---------- */
[data-theme=dark] .ct-channel,
[data-theme=dark] .ct-form-card,
[data-theme=dark] .ct-sidecard,
[data-theme=dark] .ct-step,
[data-theme=dark] .ct-hours-card,
[data-theme=dark] .vu-map-card,
[data-theme=dark] .vu-info-card,
[data-theme=dark] .vu-map-header {
    background: #111111;
    border-color: #222222;
}

[data-theme=dark] .ct-ico,
[data-theme=dark] .vu-icon {
    background: #161616;
    border-color: #2a2a2a;
}

[data-theme=dark] .ct-map-wrap,
[data-theme=dark] .vu-map-embed {
    background: #0b1f30;
    border-color: #222222;
}

[data-theme=dark] .ct-hours-row b,
[data-theme=dark] .vu-hours-row b,
[data-theme=dark] .vu-info-block h4 {
    color: #ffffff;
}

[data-theme=dark] .vu-hours-box {
    background: #161616;
    border-color: #242424;
}

[data-theme=dark] .vu-hours-row {
    border-bottom-color: #242424;
}

[data-theme=dark] .vu-link {
    color: #0EA5E9;
}

[data-theme=dark] .vu-pill {
    background: #161616;
    border-color: #282828;
    color: #ffffff;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width: 980px) {
    .ct-main,
    .vu-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .vu-map-embed,
    .vu-map-embed iframe {
        min-height: 380px;
    }
}

@media(max-width: 860px) {

    .ct-areas-grid,
    .ct-hours-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 640px) {
    .ct-form-card .row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ct-form-card input:not([type="checkbox"]):not([type="radio"]),
    .ct-form-card select {
        height: 46px;
        font-size: 16px;
    }
}

@media(max-width: 540px) {
    .vu-actions {
        grid-template-columns: 1fr;
    }

    .vu-highlights {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 520px) {
    .ct-area-list {
        grid-template-columns: 1fr;
    }

    .ct-form-card h3 {
        font-size: 1.2rem;
    }
}

/* ---------- RTL TWEAKS ---------- */
[dir=rtl] .ct-val .i:last-child {
    transform: scaleX(-1);
}

/* ==========================================================
   RoofGuard Pro — 404 page (exclusive stylesheet)
   Uses the same tokens/fonts as style.css.
   Only NEW `nf-` classes are defined here so no existing code is touched.
   Standalone page — no navbar/footer, dark "rain" hero background.
   ========================================================== */
.nf-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    padding: clamp(48px, 9vw, 100px) 0;
    background: radial-gradient(1200px 620px at 50% 0%, #16405f 0%, #12304A 46%, #0b1f30 100%);
}

.nf-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .55;
    pointer-events: none;
}

.nf-page canvas.rain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.nf-inner {
    position: relative;
    z-index: 3;
    width: min(780px, 92%);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* floating droplets */
.nf-drop {
    position: absolute;
    z-index: 1;
    color: #5cc8f5;
    opacity: .5;
    pointer-events: none;
    animation: nf-float 6s ease-in-out infinite;
}

.nf-drop .i {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* giant animated 404 */
.nf-code {
    position: relative;
    font: 700 clamp(6rem, 22vw, 13rem)/0.9 var(--hf);
    letter-spacing: -.05em;
    background: linear-gradient(120deg, #7fd4ff 0%, #0EA5E9 42%, #38bdf8 68%, #a5e4ff 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 14px 40px rgba(14, 165, 233, .45));
    animation: nf-shine 7s linear infinite, nf-pop .9s cubic-bezier(.16, 1, .3, 1) both;
}

.nf-code::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 10px;
    height: 16px;
    margin-inline-start: -5px;
    border-radius: 60% 60% 55% 55%/ 70% 70% 40% 40%;
    background: #5cc8f5;
    box-shadow: 0 0 12px rgba(92, 200, 245, .8);
    animation: nf-drip 2.8s ease-in infinite;
}

.nf-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 8px 18px;
    border-radius: 999px;
    font: 600 .9rem var(--bf);
    color: #dbeafe;
    margin-bottom: 22px;
    animation: nf-in .8s .15s both;
}

.nf-badge .i {
    width: 18px;
    height: 18px;
    stroke: #5cc8f5;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.nf-caret {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    margin-inline-start: 3px;
    background: #5cc8f5;
    transform: translateY(3px);
    animation: nf-caret 1s steps(1) infinite;
}

.nf-inner h1 {
    color: #fff;
    font-size: clamp(1.7rem, 4.6vw, 2.7rem);
    max-width: 18ch;
    margin-bottom: 14px;
    animation: nf-in .8s .25s both;
}

.nf-inner h1 em {
    font-style: normal;
    color: #5cc8f5;
}

.nf-lead {
    color: #cfe0ee;
    max-width: 580px;
    margin: 0 auto 32px;
    font-size: clamp(.95rem, 1.8vw, 1.06rem);
    line-height: 1.65;
    animation: nf-in .8s .35s both;
}

.nf-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    animation: nf-in .8s .45s both;
}

.nf-actions .btn {
    cursor: pointer;
}

.nf-links {
    display: flex;
    gap: 12px 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 34px;
    animation: nf-in .8s .55s both;
}

.nf-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cfe0ee;
    font: 600 .9rem var(--hf);
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .04);
    transition: .25s;
}

.nf-links a:hover {
    color: #fff;
    border-color: #0EA5E9;
    background: rgba(14, 165, 233, .16);
    transform: translateY(-3px);
}

.nf-links .i {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.nf-help {
    margin-top: 26px;
    color: #9fb3c6;
    font-size: .88rem;
    animation: nf-in .8s .65s both;
}

.nf-help a {
    color: #5cc8f5;
    font-weight: 600;
}

.nf-help a:hover {
    text-decoration: underline;
}

@keyframes nf-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes nf-pop {
    0% {
        opacity: 0;
        transform: scale(.62) translateY(34px);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes nf-shine {
    to {
        background-position: 220% center;
    }
}

@keyframes nf-float {
    50% {
        transform: translateY(-24px);
    }
}

@keyframes nf-caret {
    50% {
        opacity: 0;
    }
}

@keyframes nf-drip {

    0%,
    100% {
        transform: translateY(-4px);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    85% {
        transform: translateY(78px);
        opacity: 0;
    }
}

/* ---------- RESPONSIVE ---------- */
@media(max-width: 560px) {
    .nf-inner h1 {
        max-width: 100%;
    }

    .nf-links {
        gap: 10px;
    }

    .nf-links a {
        padding: 8px 13px;
        font-size: .84rem;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {

    .nf-code,
    .nf-code::after,
    .nf-drop,
    .nf-badge,
    .nf-caret,
    .nf-inner h1,
    .nf-lead,
    .nf-actions,
    .nf-links,
    .nf-help {
        animation: none !important;
    }

    .nf-inner h1,
    .nf-lead,
    .nf-actions,
    .nf-links,
    .nf-help,
    .nf-badge {
        opacity: 1;
    }

    .nf-code {
        color: #5cc8f5;
        background: none;
        -webkit-text-fill-color: #5cc8f5;
    }
}

/* ==========================================================
   RoofGuard Pro — Coming Soon page (exclusive stylesheet)
   Uses the same tokens/fonts as style.css.
   Only NEW `cs-` classes are defined here so no existing code is touched.
   Standalone page — no navbar/footer, animated dark "rain" backdrop.
   ========================================================== */
.cs-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    padding: clamp(48px, 9vw, 100px) 0;
    background: radial-gradient(1300px 750px at 50% -15%, #0b3459 0%, #0d233a 45%, #051320 100%);
}

.cs-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(14, 165, 233, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, .045) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .75;
    pointer-events: none;
    z-index: 1;
}

/* Canvas for rising blueprint particle network */
.cs-page canvas.cs-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
    z-index: 1;
}

/* Multi-layer ambient glowing aurora background */
.cs-aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.cs-aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    opacity: .42;
    pointer-events: none;
    animation: cs-aurora-float 18s ease-in-out infinite alternate;
}

.cs-aurora-blob.blob-1 {
    width: min(650px, 90vw);
    height: min(650px, 90vw);
    top: -15%;
    left: 20%;
    background: radial-gradient(circle, rgba(14, 165, 233, .5) 0%, rgba(14, 165, 233, 0) 70%);
    animation-duration: 18s;
}

.cs-aurora-blob.blob-2 {
    width: min(550px, 80vw);
    height: min(550px, 80vw);
    bottom: -15%;
    right: 10%;
    background: radial-gradient(circle, rgba(99, 102, 241, .38) 0%, rgba(99, 102, 241, 0) 70%);
    animation-duration: 22s;
    animation-delay: -6s;
}

.cs-aurora-blob.blob-3 {
    width: min(420px, 60vw);
    height: min(420px, 60vw);
    top: 35%;
    left: -8%;
    background: radial-gradient(circle, rgba(56, 189, 248, .28) 0%, rgba(56, 189, 248, 0) 70%);
    animation-duration: 15s;
    animation-delay: -10s;
}

/* Floating architectural craft badges */
.cs-orb {
    position: absolute;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #38bdf8;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 0 20px rgba(14, 165, 233, 0.22);
    pointer-events: none;
    animation: cs-orb-float 7s ease-in-out infinite;
    transition: transform .3s ease;
}

.cs-orb.orb-1 { animation-delay: 0s; animation-duration: 6.5s; color: #38bdf8; }
.cs-orb.orb-2 { animation-delay: 1.5s; animation-duration: 8s; color: #fbbf24; }
.cs-orb.orb-3 { animation-delay: 3s; animation-duration: 7s; color: #60a5fa; }
.cs-orb.orb-4 { animation-delay: 4.5s; animation-duration: 8.5s; color: #34d399; }

.cs-orb .i {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}

.cs-inner {
    position: relative;
    z-index: 3;
    width: min(820px, 92%);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo on dark standalone pages (404 & Coming Soon) — matches standard site .logo */
.nf-logo,
.cs-logo,
.nf-page .logo,
.cs-page .logo {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font: 700 1.45rem var(--hf);
    color: #ffffff;
    letter-spacing: -.03em;
    line-height: 1;
    gap: 3px;
    direction: ltr;
    unicode-bidi: isolate;
    margin-bottom: 26px;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    animation: cs-in .8s .05s both;
    transition: transform .2s ease, opacity .2s ease;
}

.nf-logo:hover,
.cs-logo:hover,
.nf-page .logo:hover,
.cs-page .logo:hover {
    transform: translateY(-1px);
    opacity: .95;
}

.nf-logo b,
.cs-logo b,
.nf-page .logo b,
.cs-page .logo b {
    color: #0EA5E9;
}

.nf-logo .i,
.nf-logo svg,
.cs-logo .i,
.cs-logo svg,
.nf-page .logo .i,
.nf-page .logo svg,
.cs-page .logo .i,
.cs-page .logo svg {
    width: 26px;
    height: 26px;
    stroke: #0EA5E9;
    color: #0EA5E9;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 8px 18px;
    border-radius: 999px;
    font: 600 .85rem var(--hf);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #dbeafe;
    margin-bottom: 22px;
    animation: cs-in .8s .15s both;
}

.cs-badge::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0ea5e9;
    box-shadow: 0 0 0 0 rgba(14, 165, 233, .75);
    animation: cs-radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.cs-inner h1 {
    color: #fff;
    font-size: clamp(1.9rem, 5.4vw, 3.4rem);
    line-height: 1.12;
    max-width: 20ch;
    margin-bottom: 16px;
    animation: cs-in .8s .25s both;
}

.cs-inner h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #7fd4ff, #0EA5E9 55%, #38bdf8);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: cs-shine 6s linear infinite;
}

.cs-lead {
    color: #cfe0ee;
    max-width: 600px;
    margin: 0 auto 34px;
    font-size: clamp(.95rem, 1.8vw, 1.08rem);
    line-height: 1.65;
    animation: cs-in .8s .35s both;
}

/* countdown */
.cs-count {
    display: flex;
    gap: clamp(10px, 2.4vw, 20px);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    animation: cs-in .8s .45s both;
}

.cs-unit {
    min-width: clamp(74px, 20vw, 115px);
    padding: 18px 12px 14px;
    border-radius: 16px;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s, box-shadow .3s;
}

.cs-unit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.cs-unit:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: #38bdf8;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4), 0 0 24px rgba(14, 165, 233, .35);
}

.cs-unit b {
    display: block;
    font: 700 clamp(1.8rem, 5vw, 2.7rem)/1 var(--hf);
    color: #fff;
    text-shadow: 0 0 16px rgba(14, 165, 233, 0.5);
    font-variant-numeric: tabular-nums;
    animation: cs-tick 2s ease-in-out infinite;
}

.cs-unit span {
    display: block;
    margin-top: 7px;
    font: 600 .72rem var(--hf);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9fb3c6;
}

/* progress */
.cs-progress {
    width: min(520px, 92%);
    margin: 0 auto 34px;
    animation: cs-in .8s .55s both;
}

.cs-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: 600 .82rem var(--hf);
    color: #cfe0ee;
    margin-bottom: 10px;
}

.cs-progress-top em {
    font-style: normal;
    color: #5cc8f5;
}

.cs-bar {
    position: relative;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    overflow: hidden;
}

.cs-bar i {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0284c7, #0EA5E9 55%, #38bdf8);
    box-shadow: 0 0 18px rgba(14, 165, 233, .8);
    animation: cs-fill 1.8s .6s cubic-bezier(.16, 1, .3, 1) forwards;
    overflow: hidden;
}

.cs-bar i::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, .25) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, .25) 50%,
        rgba(255, 255, 255, .25) 75%,
        transparent 75%,
        transparent
    );
    background-size: 24px 24px;
    animation: cs-stripes-move 1.4s linear infinite;
}

[dir=rtl] .cs-bar i {
    inset: 0 0 0 auto;
}

/* notify form */
.cs-form {
    display: flex;
    gap: 12px;
    width: min(560px, 94%);
    margin: 0 auto;
    animation: cs-in .8s .65s both;
}

.cs-form input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, .08);
    border: 1.5px solid rgba(255, 255, 255, .2);
    color: #fff;
    padding: 14px 16px;
    border-radius: 10px;
}

.cs-form input[type="email"]::placeholder {
    color: #9fb3c6;
}

.cs-form input[type="email"]:focus {
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .28);
    background: rgba(255, 255, 255, .12);
}

.cs-form .btn {
    white-space: nowrap;
}

.cs-form .msg {
    flex-basis: 100%;
    background: rgba(14, 165, 233, .18);
    color: #e2effa;
}

.cs-links {
    display: flex;
    gap: 12px 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 34px;
    animation: cs-in .8s .75s both;
}

.cs-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cfe0ee;
    font: 600 .9rem var(--hf);
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .04);
    transition: .25s;
}

.cs-links a:hover {
    color: #fff;
    border-color: #0EA5E9;
    background: rgba(14, 165, 233, .16);
    transform: translateY(-3px);
}

.cs-links .i {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

@keyframes cs-in {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes cs-float {
    50% {
        transform: translateY(-24px);
    }
}

@keyframes cs-shine {
    to {
        background-position: 220% center;
    }
}

@keyframes cs-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }
}

@keyframes cs-tick {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(-2px);
        opacity: .82;
    }
}

@keyframes cs-fill {
    from {
        width: 0;
    }

    to {
        width: 74%;
    }
}

@keyframes cs-breathe {

    0%,
    100% {
        opacity: .7;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}

@keyframes cs-radar-ping {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, .85);
    }
    70%, 100% {
        box-shadow: 0 0 0 14px rgba(14, 165, 233, 0);
    }
}

@keyframes cs-stripes-move {
    0% { background-position: 0 0; }
    100% { background-position: 24px 0; }
}

@keyframes cs-aurora-float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(35px, -25px) scale(1.12);
    }
    100% {
        transform: translate(-30px, 30px) scale(0.92);
    }
}

@keyframes cs-orb-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(6deg);
    }
}

/* ---------- RESPONSIVE ---------- */
@media(max-width: 560px) {
    .cs-inner h1 {
        max-width: 100%;
    }

    .cs-form {
        flex-direction: column;
    }

    .cs-form .btn {
        width: 100%;
        justify-content: center;
    }

    .cs-links a {
        padding: 8px 13px;
        font-size: .84rem;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {

    .cs-glow,
    .cs-drop,
    .cs-logo,
    .cs-badge,
    .cs-badge::before,
    .cs-inner h1,
    .cs-inner h1 em,
    .cs-lead,
    .cs-count,
    .cs-unit b,
    .cs-progress,
    .cs-bar i,
    .cs-form,
    .cs-links {
        animation: none !important;
    }

    .cs-logo,
    .cs-badge,
    .cs-inner h1,
    .cs-lead,
    .cs-count,
    .cs-progress,
    .cs-form,
    .cs-links {
        opacity: 1;
    }

    .cs-bar i {
        width: 74%;
    }
}