/* =====================================================================
   WebProud — site styles  (modern, sharp, blue #058bd2)
   ===================================================================== */
:root {
    --bg:        #0a1220;
    --bg-2:      #0e1a2e;
    --surface:   rgba(255,255,255,0.03);
    --surface-2: rgba(255,255,255,0.06);
    --border:    rgba(255,255,255,0.08);
    --text:      #e6edf7;
    --muted:     #8a9bb5;

    --primary:   #058bd2;     /* WebProud blue                  */
    --primary-2: #2bb0ec;     /* lighter accent                 */
    --primary-3: #036aa3;     /* deeper hover / shadow tint     */
    --accent:    #00d3ff;     /* highlight cyan                 */

    --success: #16a34a;
    --error:   #dc2626;

    --radius:    6px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow:    0 14px 30px -12px rgba(5, 14, 30, 0.6);
    --shadow-blue: 0 12px 30px -10px rgba(5, 139, 210, 0.45);

    --container: 1200px;
    --header-h:  72px;

    --font-sans:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-display: 'Sora', 'Inter', sans-serif;
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--primary-2); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary); }

/* ---- Type ---------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 .5em;
    color: #fff;
}
h1 { font-size: clamp(2rem, 6vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1em; }

.muted  { color: var(--muted); }
.small  { font-size: .875rem; }
.center { text-align: center; }
.mt-32  { margin-top: 2rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .75rem; text-transform: uppercase;
    letter-spacing: .2em; font-weight: 700;
    color: var(--primary-2);
    padding: .25rem 0;
    margin: 0 0 1rem;
}
.eyebrow::before {
    content: ''; width: 24px; height: 1px;
    background: currentColor;
}

.grad-text {
    background: linear-gradient(120deg, var(--primary-2), var(--primary));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

/* ---- Skip link ---------------------------------------------------- */
.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--primary); color: #fff;
    padding: .5rem 1rem; border-radius: 0 0 4px 0; z-index: 1000;
}
.skip-link:focus { top: 0; }

/* ---- Header / Nav ------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 18, 32, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background .25s, border-color .25s;
}
.site-header.is-scrolled {
    background: rgba(10, 18, 32, 0.96);
    border-color: rgba(5,139,210,.25);
}

.nav-bar {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-h); gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.primary-nav ul {
    display: flex; gap: 2rem; list-style: none;
    margin: 0; padding: 0; align-items: center;
}
.primary-nav a {
    color: var(--text); font-weight: 500; font-size: .95rem;
    padding: .35rem 0; position: relative;
    transition: color .15s;
}
.primary-nav a:hover { color: var(--primary-2); }
.primary-nav a.is-active { color: var(--primary-2); }
.primary-nav a.is-active::after {
    content: ''; position: absolute; left: 50%; bottom: -6px;
    width: 18px; height: 2px;
    background: var(--primary-2);
    transform: translateX(-50%);
}

.nav-divider {
    width: 1px; height: 22px; background: var(--border);
}

.nav-socials {
    display: flex; gap: .5rem; align-items: center;
}
.nav-socials a {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    color: var(--muted);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: color .15s, border-color .15s, background .15s, transform .15s;
}
.nav-socials a:hover {
    color: var(--primary-2); border-color: var(--primary-2);
    background: rgba(5,139,210,.1); transform: translateY(-1px);
}
.nav-socials svg { width: 16px; height: 16px; display: block; }

.nav-toggle {
    display: none; background: transparent; border: 0; cursor: pointer;
    width: 44px; height: 44px; padding: 0;
    color: var(--text);
    margin-left: auto;
    position: relative;
    z-index: 60;
}
.nav-toggle-icon { display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open  { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

@media (max-width: 960px) {
    .nav-bar { gap: .5rem; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .primary-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        flex-direction: column; align-items: stretch;
        background: var(--bg-2);
        padding: 1.25rem 1.25rem 2rem;
        gap: 1rem;
        transform: translateX(100%); transition: transform .3s ease;
        overflow-y: auto;
        visibility: hidden;
    }
    .primary-nav.is-open { transform: translateX(0); visibility: visible; }
    .primary-nav ul {
        flex-direction: column; align-items: stretch; gap: 0;
        border-bottom: 1px solid var(--border); padding-bottom: .5rem;
    }
    .primary-nav li { width: 100%; }
    .primary-nav a {
        display: block; padding: .9rem .25rem;
        border-bottom: 1px solid var(--border); font-size: 1.05rem;
    }
    .primary-nav li:last-child a { border-bottom: 0; }
    .primary-nav a.is-active::after { display: none; }
    .nav-divider { display: none; }
    .nav-socials {
        display: flex;
        justify-content: center;
        gap: .75rem;
        padding: 1.5rem 0 .5rem;
        margin-top: auto;
    }
    .nav-socials a {
        width: 52px; height: 52px;
        border-radius: 12px;
        background: rgba(5,139,210,.08);
        border-color: rgba(5,139,210,.3);
        color: var(--primary-2);
    }
    .nav-socials a:hover,
    .nav-socials a:focus-visible {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
    }
    .nav-socials svg { width: 20px; height: 20px; display: block; }
    .nav-cta { width: 100%; text-align: center; justify-content: center; padding: .9rem 1rem; font-size: 1rem; }
}

/* ---- Buttons ------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .8rem 1.4rem; font: inherit; font-weight: 600; font-size: .95rem;
    border: 1px solid transparent; border-radius: var(--radius);
    cursor: pointer; text-decoration: none; line-height: 1;
    transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--primary-3); color: #fff; transform: translateY(-1px); }

.btn-ghost {
    background: transparent; color: var(--text); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary-2); color: var(--primary-2); }

.btn-light {
    background: #fff; color: var(--bg);
}
.btn-light:hover { background: #eaf4fb; color: var(--primary-3); }

.btn-outline-light {
    background: transparent; color: var(--bg); border-color: rgba(0,0,0,0.15);
}
.btn-outline-light:hover { border-color: var(--primary); color: var(--primary); }

.btn svg { width: 16px; height: 16px; }

/* ---- Cards ------------------------------------------------------- */
.card {
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color .2s, transform .2s, background .2s;
    position: relative;
}
.card:hover { border-color: rgba(5,139,210,.5); transform: translateY(-2px); background: var(--surface-2); }

.card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: rgba(5,139,210,.12);
    border: 1px solid rgba(5,139,210,.3);
    border-radius: var(--radius);
    color: var(--primary-2);
    margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }

/* ---- Sections ---------------------------------------------------- */
.section { padding: 5.5rem 0; }
@media (max-width: 720px) { .section { padding: 4rem 0; } }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { justify-content: center; }
.lede { font-size: 1.1rem; }

.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; gap: 2.5rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Section variants -------------------------------------------- */
.section-light {
    background: #f6f8fb;
    color: #1a2332;
}
.section-light h1, .section-light h2, .section-light h3, .section-light h4 { color: #0a1220; }
.section-light .muted { color: #5b6b82; }
.section-light .eyebrow { color: var(--primary); }
.section-light .card {
    background: #fff; border-color: #e5ebf3;
    box-shadow: 0 1px 3px rgba(10,18,32,.04);
}
.section-light .card:hover { border-color: var(--primary); box-shadow: 0 12px 30px -12px rgba(5,139,210,.25); }
.section-light .card-icon {
    background: rgba(5,139,210,.08);
    border-color: rgba(5,139,210,.25);
    color: var(--primary);
}
.section-light .check-list li::before {
    background: var(--primary); color: #fff;
}
.section-light .grad-text {
    background: linear-gradient(120deg, var(--primary), var(--primary-3));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-light a:not(.btn) { color: var(--primary); }
.section-light .btn-primary { color: #fff; }
.section-light .btn-primary:hover { color: #fff; }

.section-band {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ---- Hero -------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    padding: 5.5rem 0 6rem;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(5,139,210,.18), transparent 70%),
        var(--bg);
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lede { color: #c5d1e3; max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 3rem; }

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-inner { z-index: 1; }
.blob {
    position: absolute; border-radius: 50%;
    filter: blur(100px); opacity: .35;
}
.blob-1 { width: 460px; height: 460px; background: var(--primary);   top: -160px; left: -120px; }
.blob-2 { width: 420px; height: 420px; background: var(--primary-2); top: -80px;  right: -120px; }
.blob-3 { width: 360px; height: 360px; background: var(--primary-3); bottom: -180px; left: 45%; }
.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    list-style: none; padding: 0; margin: 0 auto;
    max-width: 760px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.hero-stats li { text-align: center; padding: 1.25rem 1rem; border-right: 1px solid var(--border); }
.hero-stats li:last-child { border-right: 0; }
.hero-stats strong {
    display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 800;
    color: var(--primary-2);
}
.hero-stats span { color: var(--muted); font-size: .8rem; }
@media (max-width: 600px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stats li:nth-child(2n) { border-right: 0; }
    .hero-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ---- Page hero (interior) ---------------------------------------- */
.page-hero {
    padding: 5rem 0 3rem; text-align: center;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(5,139,210,.16), transparent 70%);
}
.page-hero .lede { max-width: 720px; margin-left: auto; margin-right: auto; color: #c5d1e3; }

/* ---- Service cards ---------------------------------------------- */
.services-grid .service-card {
    display: flex; flex-direction: column; gap: .5rem;
    color: var(--text); text-decoration: none;
}
.services-grid .service-card:hover { color: var(--text); }
.link-arrow {
    margin-top: 1rem; color: var(--primary-2); font-weight: 600; font-size: .9rem;
    display: inline-flex; align-items: center; gap: .35rem;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s; }
.service-card:hover .link-arrow svg { transform: translateX(3px); }

/* ---- Service detail rows ---------------------------------------- */
.service-list { display: flex; flex-direction: column; gap: 4rem; }
.service-row { padding-top: 3rem; border-top: 1px solid var(--border); }
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row-head { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1rem; }
.service-icon-lg {
    display: inline-flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: var(--radius);
    background: var(--primary); color: #fff; flex-shrink: 0;
    box-shadow: var(--shadow-blue);
}
.service-icon-lg svg { width: 28px; height: 28px; }
.service-detail { align-items: start; }
.service-cta {
    padding: 1.75rem; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

/* ---- Check list ------------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.check-list li { padding-left: 1.75rem; position: relative; }
.check-list li::before {
    content: ''; position: absolute; left: 0; top: .45em;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--primary-2);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 11px 11px; background-position: center; background-repeat: no-repeat;
}

/* ---- Pricing ---------------------------------------------------- */
.pricing-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
    padding: 2rem; position: relative;
    display: flex; flex-direction: column; gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color .2s, transform .2s;
}
.pricing-card .check-list { flex: 1 1 auto; }
.pricing-card .btn { margin-top: auto; }
.pricing-card:hover { border-color: rgba(5,139,210,.4); }
.pricing-card.is-highlight {
    border-color: var(--primary);
    box-shadow: var(--shadow-blue);
    transform: translateY(-6px);
    background: linear-gradient(180deg, rgba(5,139,210,.08), transparent 60%);
}
.section-light .pricing-card { background: #fff; border-color: #e5ebf3; }
.section-light .pricing-card.is-highlight {
    background: linear-gradient(180deg, rgba(5,139,210,.06), #fff 70%);
    border-color: var(--primary);
}
.pricing-card .badge {
    position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff;
    font-size: .7rem; padding: .35rem .8rem; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .15em; font-weight: 700;
    white-space: nowrap;
}
.price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.price-main { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: 1; }
.price-note { font-size: .9rem; }
.section-light .price-main { color: var(--primary); }
.monthly { color: var(--muted); }

/* ---- Portfolio -------------------------------------------------- */
.portfolio-masonry {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) { .portfolio-masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .portfolio-masonry { grid-template-columns: 1fr; } }

.portfolio-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-md); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(5,139,210,.55);
    box-shadow: 0 24px 40px -22px rgba(5,139,210,.4);
}
.portfolio-card.is-hidden { display: none; }
.portfolio-thumb {
    display: block; width: 100%; padding: 0; border: 0; background: #060c18;
    position: relative; cursor: pointer; overflow: hidden;
    aspect-ratio: 3 / 2;
}
.portfolio-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease, filter .3s;
}
.portfolio-thumb:hover img { transform: scale(1.04); filter: brightness(.7); }
.portfolio-overlay {
    position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
    display: inline-flex; align-items: center; gap: .4rem;
    color: #fff; font-weight: 600; font-size: .85rem;
    padding: .45rem .8rem;
    background: rgba(5,139,210,.95); border-radius: var(--radius);
    opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s;
}
.portfolio-thumb:hover .portfolio-overlay { opacity: 1; transform: translateY(0); }
.portfolio-overlay svg { width: 14px; height: 14px; }

.portfolio-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.portfolio-meta {
    display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
}

.chip {
    display: inline-block; font-size: .7rem; padding: .25rem .65rem;
    border-radius: 4px;
    background: rgba(5,139,210,.12); border: 1px solid rgba(5,139,210,.3);
    color: var(--primary-2);
    text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
}
.chip-stack { background: rgba(255,255,255,.04); border-color: var(--border); color: var(--muted); }
.chip-role  { background: rgba(22,163,74,.12);  border-color: rgba(22,163,74,.35); color: #4ade80; }

.tag-list { list-style: none; padding: 0; margin: .25rem 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tag-list li {
    font-size: .72rem; padding: .2rem .55rem;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 4px; color: var(--muted);
}

.filter-bar {
    display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center;
    margin: 0 0 2.5rem;
}
.filter-btn {
    background: transparent; border: 1px solid var(--border);
    color: var(--text); padding: .5rem 1rem; border-radius: var(--radius);
    font-size: .85rem; font-weight: 500; cursor: pointer;
    transition: all .15s;
}
.filter-btn:hover { border-color: var(--primary-2); color: var(--primary-2); }
.filter-btn.is-active {
    background: var(--primary); border-color: var(--primary); color: #fff;
}

/* ---- Modal ------------------------------------------------------ */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 8, 17, .85); backdrop-filter: blur(6px); }
.modal-panel {
    position: relative; max-width: 880px; width: 100%; max-height: 90vh; overflow: auto;
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 0;
}
.modal-panel img {
    width: 100%; height: auto;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border-bottom: 1px solid var(--border);
}
.modal-body { padding: 1.5rem 2rem 2rem; display: flex; flex-direction: column; gap: .75rem; }
.modal-close {
    position: absolute; top: .75rem; right: .75rem; z-index: 2;
    width: 36px; height: 36px; border-radius: 4px;
    background: rgba(0,0,0,.6); color: #fff; border: 0;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--primary); }

/* ---- Testimonials ----------------------------------------------- */
.testimonial-grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .testimonial-grid { grid-template-columns: 1fr; } }

.t-card {
    position: relative; margin: 0;
    padding: 2rem 1.75rem 1.75rem;
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px rgba(10,18,32,.04);
    display: flex; flex-direction: column; gap: 1rem;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    overflow: hidden;
}
.t-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
}
.t-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px -22px rgba(5,139,210,.35);
    border-color: rgba(5,139,210,.4);
}
.t-card:hover::before { transform: scaleX(1); }

.t-quote-mark {
    position: absolute; top: -.4rem; right: 1.25rem;
    font-family: var(--font-display); font-size: 6rem; font-weight: 800;
    line-height: 1; color: rgba(5,139,210,.12);
    pointer-events: none; user-select: none;
}

.t-stars { display: inline-flex; gap: 2px; color: #f5a623; }

.t-card blockquote {
    margin: 0; padding: 0; border: 0;
    font-size: 1rem; line-height: 1.65; color: #1a2332;
    flex: 1 1 auto;
}

.t-meta {
    display: flex; align-items: center; gap: .85rem;
    padding-top: 1rem; border-top: 1px solid #eef2f7;
}
.t-avatar {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-3));
    color: #fff; font-weight: 700; font-size: .85rem;
    font-family: var(--font-display); letter-spacing: .02em;
    box-shadow: 0 4px 10px -4px rgba(5,139,210,.5);
}
.t-author { display: flex; flex-direction: column; line-height: 1.3; }
.t-author strong { color: #0a1220; font-size: .95rem; }
.t-author .muted { font-size: .82rem; color: #5b6b82; }

/* legacy .testimonial fallback (still used elsewhere) */
.testimonial { padding: 2rem; }
.testimonial blockquote {
    margin: 0 0 1rem; font-size: 1.05rem; color: var(--text);
    position: relative; padding-left: 1.25rem;
    border-left: 3px solid var(--primary);
}
.section-light .testimonial blockquote { color: #1a2332; }
.testimonial figcaption strong { display: block; }

/* ---- CTA band --------------------------------------------------- */
.cta-band {
    padding: 4rem 0;
    background:
        radial-gradient(ellipse at center, rgba(5,139,210,.18), transparent 70%),
        var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-inner {
    display: flex; gap: 2rem; align-items: center; justify-content: space-between;
    padding: 2.5rem; flex-wrap: wrap;
    background: var(--bg);
    border: 1px solid rgba(5,139,210,.3);
    border-radius: var(--radius-md);
}
.cta-inner h2 { margin-bottom: .35rem; }

@media (max-width: 720px) {
    .container { padding: 0 1rem; }
    .hero { padding: 3rem 0 3.5rem; }
    .hero-cta { margin: 1.5rem 0 2rem; flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .page-hero { padding: 3rem 0 2rem; }
    .cta-band { padding: 2.5rem 0; }
    .cta-inner { padding: 1.75rem; gap: 1.25rem; text-align: left; }
    .cta-inner .btn { width: 100%; }
    .filter-bar { margin-bottom: 1.5rem; }
    .service-row { padding-top: 2rem; }
    .service-list { gap: 2.5rem; }
    .service-row-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-base { flex-direction: column; gap: .35rem; text-align: left; }
    body { font-size: 15.5px; }
    h1 { line-height: 1.2; }
}

/* ---- Stats band ------------------------------------------------- */
.stats-band {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-md); overflow: hidden; text-align: center;
}
.stats-band > div { padding: 1.5rem 1rem; border-right: 1px solid var(--border); }
.stats-band > div:last-child { border-right: 0; }
.stats-band strong {
    display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800;
    color: var(--primary-2);
}
.section-light .stats-band {
    background: #fff; border-color: #e5ebf3;
}
.section-light .stats-band > div { border-color: #e5ebf3; }
.section-light .stats-band strong { color: var(--primary); }
.stats-band span { color: var(--muted); font-size: .85rem; }
@media (max-width: 700px) {
    .stats-band { grid-template-columns: repeat(2, 1fr); }
    .stats-band > div:nth-child(2n) { border-right: 0; }
    .stats-band > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ---- Compare table --------------------------------------------- */
.table-wrap {
    overflow-x: auto; margin-top: 2rem;
    border-radius: var(--radius-md); border: 1px solid var(--border);
    background: var(--surface);
}
.section-light .table-wrap { background: #fff; border-color: #e5ebf3; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td {
    padding: 1rem 1.25rem; text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: .92rem;
}
.section-light .compare th, .section-light .compare td { border-color: #eef2f7; }
.compare thead th {
    background: rgba(5,139,210,.08); color: inherit;
    font-family: var(--font-display); font-weight: 700;
}
.section-light .compare thead th { background: rgba(5,139,210,.06); color: var(--primary-3); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* ---- Contact ---------------------------------------------------- */
.contact-wrap { align-items: start; }
.info-list, .step-list { padding-left: 1.25rem; }
.info-list { list-style: none; padding: 0; display: grid; gap: .75rem; margin: 1rem 0; }
.info-list li {
    display: flex; flex-direction: column;
    padding: .85rem 1rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius);
}
.info-list strong { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .15rem; }

.contact-form {
    padding: 2rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.section-light .contact-form { background: #fff; border-color: #e5ebf3; box-shadow: var(--shadow); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select, .field textarea {
    width: 100%; padding: .8rem 1rem; font: inherit; font-size: .95rem;
    color: var(--text);
    background: rgba(0,0,0,.3); border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.section-light .field input, .section-light .field select, .section-light .field textarea {
    background: #f6f8fb; color: #0a1220; border-color: #d9e1ec;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5,139,210,.18);
}
.field .err { color: var(--error); font-size: .8rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.alert { padding: .9rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; border: 1px solid; }
.alert-success { background: rgba(22,163,74,.08); border-color: rgba(22,163,74,.4); color: #4ade80; }
.alert-error   { background: rgba(220,38,38,.08); border-color: rgba(220,38,38,.4); color: #fca5a5; }
.section-light .alert-success { background: #ecfdf5; color: #166534; border-color: #bbf7d0; }
.section-light .alert-error   { background: #fef2f2; color: #991b1b; border-color: #fecaca; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Footer ---------------------------------------------------- */
.site-footer {
    margin-top: 0; padding: 4rem 0 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-2);
}
.footer-grid {
    display: grid; gap: 2rem;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo { margin-bottom: 1rem; height: 38px; width: auto; }
.site-footer h4 {
    font-size: .8rem; text-transform: uppercase; letter-spacing: .15em;
    color: var(--muted); font-weight: 700; margin-bottom: 1rem;
    font-family: var(--font-sans);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: var(--text); font-size: .92rem; }
.footer-links a:hover { color: var(--primary-2); }

.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    color: var(--muted); border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    transition: color .15s, border-color .15s, background .15s;
}
.socials a:hover { color: #fff; border-color: var(--primary); background: var(--primary); }
.socials svg { width: 16px; height: 16px; display: block; }

.footer-base {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    padding-top: 1.5rem; border-top: 1px solid var(--border);
    color: var(--muted); font-size: .85rem;
}

/* ---- Misc -------------------------------------------------------- */
.icon { display: inline-block; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
