/* ==========================================================================
   Modern UI overlay for Premium Auto KLT.
   Loaded AFTER style.css and bvi.min.css — overrides where it matters,
   leaves BVI hooks intact.
   ========================================================================== */

:root {
    /* Brand */
    --brand-primary:        #1e40af;    /* blue-700 */
    --brand-primary-dark:   #1e3a8a;    /* blue-800 */
    --brand-primary-darker: #172554;    /* blue-950 */
    --brand-accent:         #f59e0b;    /* amber-500 */
    --brand-accent-dark:    #d97706;    /* amber-600 */

    /* Surface */
    --surface-0:    #ffffff;
    --surface-1:    #f8fafc;            /* slate-50 */
    --surface-2:    #f1f5f9;            /* slate-100 */
    --surface-3:    #e2e8f0;            /* slate-200 */

    /* Text */
    --text-primary:     #0f172a;        /* slate-900 */
    --text-secondary:   #334155;        /* slate-700 */
    --text-muted:       #64748b;        /* slate-500 */
    --text-on-brand:    #ffffff;

    /* Border / shadow */
    --border-soft:  #e5e7eb;
    --shadow-sm:    0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
    --shadow-md:    0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg:    0 10px 15px -3px rgba(15, 23, 42, 0.10), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl:    0 20px 25px -5px rgba(15, 23, 42, 0.10), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

    /* Radius */
    --radius-sm:    8px;
    --radius:       12px;
    --radius-lg:    16px;
    --radius-xl:    24px;

    /* Layout */
    --header-h:     76px;
    --header-h-mobile: 64px;
    --container-max: 1200px;
}

/* ---------- Reset & Typography ---------- */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--text-secondary);
    background: var(--surface-0);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Jost', system-ui, sans-serif;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.25;
    font-weight: 700;
}

a {
    color: var(--brand-primary);
    transition: color .2s ease;
}
a:hover { color: var(--brand-primary-dark); }

img { max-width: 100%; height: auto; }

::selection { background: var(--brand-accent); color: var(--text-primary); }

/* Container tune */
.container { max-width: var(--container-max); }

/* Section padding & titles ------------------------------------------------ */
section { padding: 80px 0; scroll-margin-top: var(--header-h); }
@media (max-width: 768px) {
    section { padding: 56px 0; scroll-margin-top: var(--header-h-mobile); }
}

.section-bg { background: var(--surface-1); }

.section-title { text-align: center; margin-bottom: 48px; padding-bottom: 0; }
.section-title h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
    margin: 0 0 12px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}
.section-title h2::before { display: none; }
.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}
.section-title p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ---------- Header ---------- */
#header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
#header.header-scrolled,
#header.header-inner-pages {
    background: rgba(255, 255, 255, 0.96);
    padding: 8px 0;
}
#header > .container { display: flex; align-items: center; gap: 16px; min-height: 52px; }

#header .logo {
    margin: 0;
    flex: 0 0 auto;
}
#header .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo-img {
    height: 48px;
    width: auto;
    display: block;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo-img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .logo-img { height: 38px; }
}

/* Desktop nav */
.navbar { margin-left: auto; }
.navbar ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0; padding: 0; list-style: none;
}
.navbar a, .navbar a:focus {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 999px;
    white-space: nowrap;
    transition: color .2s, background .2s;
}
.navbar a:hover, .navbar li:hover > a { color: var(--brand-primary); background: var(--surface-2); }
.navbar .active,
.navbar .active:focus { color: var(--brand-primary); background: rgba(30, 64, 175, 0.08); }

/* BVI panel — make it a compact icon button in header */
#header .panel,
#header .panel-default,
#header .panel-body { background: transparent; border: 0; padding: 0; margin: 0; }
#header .col-xs-12.col-sm-12.col-md-4.col-lg-4 {
    flex: 0 0 auto;
    width: auto;
    padding: 0 !important;
    margin-left: 8px;
}
#header .bvi-link-shortcode {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(30, 64, 175, 0.06);
    border: 1px solid rgba(30, 64, 175, 0.18);
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
#header .bvi-link-shortcode:hover {
    background: var(--brand-primary);
    color: var(--text-on-brand);
}
#header .bvi-svg-eye { width: 18px; height: 16px; }
@media (max-width: 1199px) {
    #header .bvi-link-shortcode { font-size: 0; padding: 8px; gap: 0; }
    #header .bvi-link-shortcode .bvi-svg-eye { width: 18px; height: 16px; }
}

/* Mobile nav toggle */
.mobile-nav-toggle {
    color: var(--text-primary);
    font-size: 26px;
    display: none;
    cursor: pointer;
    background: var(--surface-2);
    border-radius: 10px;
    width: 42px; height: 42px;
    line-height: 1;
    align-items: center;
    justify-content: center;
}
@media (max-width: 767px) {
    .mobile-nav-toggle { display: inline-flex; margin-left: auto; }
    .navbar { margin-left: 0; }
    .navbar ul { display: none; }
    #header .col-xs-12.col-sm-12.col-md-4.col-lg-4 { order: 2; margin-left: auto; }
    .mobile-nav-toggle { order: 3; }
}

/* Mobile nav — full-screen overlay */
.navbar-mobile {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, var(--brand-primary-darker), var(--brand-primary));
    z-index: 9998;
    overflow-y: auto;
    animation: navFade .25s ease-out;
}
@keyframes navFade { from { opacity: 0; } to { opacity: 1; } }
.navbar-mobile .mobile-nav-toggle {
    position: fixed;
    top: 16px; right: 16px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    z-index: 9999;
}
.navbar-mobile ul {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    position: static;
    background: transparent;
    margin: 0;
    padding: 96px 24px 32px;
    border-radius: 0;
    min-height: 100vh;
}
.navbar-mobile ul li { width: 100%; }
.navbar-mobile a, .navbar-mobile a:focus {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    text-align: left;
    display: block;
}
.navbar-mobile a:hover,
.navbar-mobile .active { background: rgba(255,255,255,0.16); color: #fff; }

/* ---------- Hero ---------- */
#hero {
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 20%, rgba(245,158,11,0.18), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30,64,175,0.30), transparent 55%),
        linear-gradient(135deg, #0b1736 0%, #172554 50%, #1e3a8a 100%);
    color: #fff;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.6;
}
#hero .container {
    padding-top: 0;
    position: relative;
    z-index: 1;
}
@media (max-width: 428px) {
    #hero .container { padding-top: 12px; }
}
@media (min-width: 429px) and (max-width: 768px) {
    #hero .container { padding-top: 16px; }
}

#hero .hero-eyebrow {
    display: inline-block;
    font-style: normal !important;
    color: var(--brand-accent) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(245,158,11,0.12);
    border: 1px solid rgba(245,158,11,0.35);
    margin-bottom: 20px !important;
}
#hero hr { display: none; }

#hero h1 {
    color: #fff;
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
    line-height: 1.15;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
#hero h2 {
    color: rgba(255,255,255,0.78);
    font-size: clamp(1rem, 0.85rem + 0.6vw, 1.2rem);
    line-height: 1.55;
    margin-bottom: 32px;
    font-weight: 400;
}
#hero .hero-img .hero-video {
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.55);
    width: 100%;
    max-width: 540px;
    object-fit: contain;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}
#hero .animated { animation: none; }

/* Video wrapper & sound toggle */
.hero-video-wrap {
    position: relative;
    display: inline-block;
    max-width: 540px;
    width: 100%;
}
.hero-video-wrap .hero-video {
    width: 100%;
    max-width: none;
}
.hero-video-sound {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .15s;
    backdrop-filter: blur(4px);
    z-index: 2;
}
.hero-video-sound:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}
.hero-video-sound:active {
    transform: scale(0.95);
}

@media (max-width: 991px) {
    #hero {
        height: auto;
        min-height: auto;
        padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
        padding-bottom: 64px;
        overflow: visible;
    }
    #hero .hero-img { margin-top: 24px; text-align: center; }
    #hero .hero-img .hero-video { width: 100%; max-width: 480px; }
    #hero .container { text-align: center; }
    #hero .hero-eyebrow { margin-left: auto; margin-right: auto; }
}
@media (max-width: 428px) {
    #hero {
        padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
        padding-bottom: 40px;
        min-height: 0;
    }
    #hero .hero-img { margin-top: 32px; }
}

/* ---------- About ---------- */
.about .content p { color: var(--text-secondary); font-size: 1rem; }
.about ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}
.about ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.about ul li:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(30,64,175,0.30); }
.about ul li i {
    color: var(--brand-accent);
    font-size: 1.5rem;
    line-height: 1;
}
.about ul li a {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
}
.about ul li a:hover { color: var(--brand-primary); }

/* ---------- Icon boxes (Services / Documents / Licenses) ---------- */
.services .icon-box,
#input-documents .icon-box {
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
    width: 100%;
    text-align: center;
}
.services .icon-box:hover,
#input-documents .icon-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30,64,175,0.25);
}
.services .icon-box .icon,
#input-documents .icon-box .icon {
    width: 72px; height: 72px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, rgba(30,64,175,0.10), rgba(245,158,11,0.10));
    color: var(--brand-primary);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    overflow: hidden;
}
.services .icon-box .icon img,
#input-documents .icon-box .icon img {
    width: 44px; height: 44px;
    object-fit: contain;
}
.services .icon-box h4,
#input-documents .icon-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.services .icon-box h4 a,
#input-documents .icon-box h4 a {
    color: var(--text-primary);
    text-decoration: none;
}
.services .icon-box p,
#input-documents .icon-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Licenses get a slightly different feel — larger images, no padding */
section:not([id]) .icon-box {
    padding: 12px;
}
section:not([id]) .icon-box .icon {
    width: 100%; height: 240px;
    background: var(--surface-2);
    border-radius: var(--radius);
}
section:not([id]) .icon-box .icon img {
    width: 100%; height: 100%; object-fit: contain;
}

/* ---------- CTA ---------- */
#cta {
    padding: 80px 0;
    background:
        linear-gradient(135deg, rgba(30,64,175,0.92), rgba(23,37,84,0.95)),
        url("../img/cta-bg.jpg") center/cover fixed;
}
#cta .container {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
#cta h3 {
    color: #fff;
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
    margin: 0 0 8px;
    font-weight: 800;
}
#cta p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 1.05rem;
}
.cta-btn, a.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--brand-accent);
    border: 0;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s;
    box-shadow: 0 8px 24px -8px rgba(245,158,11,0.6);
}
.cta-btn:hover, a.cta-btn:hover {
    background: var(--brand-accent-dark);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(245,158,11,0.7);
}
@media (max-width: 991px) {
    #cta .container { text-align: center; padding: 36px 24px; }
    #cta .cta-btn-container { margin-top: 20px; }
}

/* ---------- Portfolio / Photo gallery ---------- */
#portfolio-flters {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
#portfolio-flters li {
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background .2s, color .2s;
    border: 0;
}
#portfolio-flters li.filter-active {
    background: var(--brand-primary);
    color: #fff;
}

.portfolio-item { margin-bottom: 24px; }
.portfolio-item .portfolio-img {
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    background: var(--surface-2);
    position: relative;
}
.portfolio-item .portfolio-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.portfolio-item:hover .portfolio-img img { transform: scale(1.05); }
.portfolio-item .portfolio-info {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.30) 50%, transparent 100%);
    color: #fff;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.portfolio-item:hover .portfolio-info { opacity: 1; pointer-events: auto; }
.portfolio-info h4 { color: #fff; margin: 0 0 4px; font-size: 1.1rem; }
.portfolio-info p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.9rem; }
.portfolio-info .preview-link {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px; height: 42px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
}
.portfolio-info .preview-link:hover { background: var(--brand-accent); color: var(--text-primary); }

/* ---------- Team ---------- */
.team .member {
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    align-items: center !important;
    gap: 20px;
    height: 100%;
}
.team .member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30,64,175,0.25);
}
.team .member .pic {
    width: 110px;
    height: 110px;
    flex: 0 0 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--surface-2);
    box-shadow: var(--shadow-sm);
}
.team .member .pic img,
.team .member .pic img.profile {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team .member .member-info { padding-left: 0; flex: 1; }
.team .member h4 {
    font-size: 1.05rem;
    margin: 0 0 6px;
    color: var(--text-primary);
}
.team .member span {
    color: var(--text-muted);
    font-size: 0.875rem;
    padding-bottom: 4px;
    display: block;
}
.team .member span::after { display: none; }
@media (max-width: 480px) {
    .team .member { flex-direction: column; text-align: center; padding: 28px 20px; }
    .team .member .member-info { padding-left: 0; }
}

/* Override the legacy fixed-size .profile rule */
.profile { width: 100% !important; height: 100% !important; }

/* ---------- Pricing ---------- */
.pricing { background: var(--surface-1); }
.pricing .row { justify-content: center; gap: 24px 0; }
.pricing .box {
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.pricing .box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(30,64,175,0.30);
}
.pricing .box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
    min-height: 56px;
}
.pricing .box h4 {
    font-size: 2.5rem;
    color: var(--brand-primary);
    font-weight: 800;
    margin: 0 0 4px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.pricing .box h4 sup {
    font-size: 1.5rem;
    color: var(--brand-accent);
    top: 0;
}
.pricing .box h4 span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 8px;
    line-height: 1.4;
}
.pricing .box ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    flex: 1;
}
.pricing .box ul li {
    padding: 12px 0;
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
    border-top: 1px dashed var(--border-soft);
    position: static;
}
.pricing .box ul li:first-child { border-top: 0; }
.pricing .box ul li i,
.pricing ul li i {
    position: static !important;
    left: auto !important;
    top: auto !important;
    color: #10b981;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 999px;
}
.pricing .box ul li i::before {
    font-size: 0.95rem;
}
.pricing .box .buy-btn {
    display: inline-flex;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background .2s, transform .2s, box-shadow .2s;
    align-self: stretch;
    text-align: center;
    box-shadow: 0 8px 20px -8px rgba(30,64,175,0.5);
}
.pricing .box .buy-btn:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(30,64,175,0.6);
}

/* ---------- FAQ ---------- */
.faq { background: var(--surface-0); }
.faq-list { max-width: 880px; margin: 0 auto; padding: 0; }
.faq-list ul { list-style: none; padding: 0; }
.faq-list li {
    background: var(--surface-1);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 18px 24px;
    position: relative;
    transition: border-color .2s;
}
.faq-list li:hover { border-color: rgba(30,64,175,0.25); }
.faq-list .icon-help { display: none; }
.faq-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
}
.faq-list a:hover { color: var(--brand-primary); }
.faq-list a .icon-show,
.faq-list a .icon-close {
    font-size: 1.4rem;
    color: var(--brand-primary);
    transition: transform .25s;
    flex: 0 0 auto;
}
.faq-list a.collapsed .icon-close { display: none; }
.faq-list a:not(.collapsed) .icon-show { display: none; }
.faq-list .collapse,
.faq-list .collapsing { padding-top: 12px; }
.faq-list p { color: var(--text-secondary); margin: 0; }
.faq-list ul ul { padding-left: 20px; margin-top: 8px; }

/* ---------- Contact ---------- */
.contact .info {
    background: var(--surface-0);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    height: 100%;
}
.contact .info > div {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
    margin-bottom: 24px;
}
.contact .info > div > i {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
    width: 44px; height: 44px;
    background: rgba(30,64,175,0.08);
    color: var(--brand-primary);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contact .info > div > h4,
.contact .info > div > p {
    grid-column: 2;
    margin: 0;
}
.contact .info > div > h4 {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}
.contact .info > div > p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.5;
}
.contact .info > div > p a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .2s;
}
.contact .info > div > p a:hover { color: var(--brand-primary); }
.contact .info > div + iframe { margin-top: 8px; }
.contact .info iframe {
    margin-top: 20px;
    border-radius: var(--radius);
    width: 100%;
    height: 260px;
    border: 0;
    box-shadow: var(--shadow-sm);
    display: block;
}

/* ---------- Footer ---------- */
#footer {
    background: var(--brand-primary-darker);
    color: rgba(255,255,255,0.75);
    padding-top: 0;
}
.footer-newsletter {
    background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary-darker));
    padding: 48px 0;
}
.footer-newsletter h4 { color: #fff; font-size: 1.4rem; margin: 0 0 16px; text-align: center; }
.footer-newsletter form {
    display: flex;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px;
    border-radius: 999px;
}
.footer-newsletter form input[type="email"] {
    flex: 1;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 10px 16px;
    outline: none;
    font-size: 0.95rem;
}
.footer-newsletter form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter form input[type="submit"] {
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-accent);
    color: var(--text-primary);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.92rem;
    transition: background .2s;
}
.footer-newsletter form input[type="submit"]:hover { background: var(--brand-accent-dark); }
@media (max-width: 575px) {
    .footer-newsletter form { flex-direction: column; border-radius: var(--radius); padding: 12px; }
    .footer-newsletter form input[type="email"] { padding: 12px 14px; }
    .footer-newsletter form input[type="submit"] { padding: 12px; }
}

.footer-top { padding: 56px 0 32px; }
.footer-top h4 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 18px;
    font-weight: 700;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links ul li i { color: var(--brand-accent); font-size: 1rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--brand-accent); }

#footer .nav__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#footer .nav__social .social__item { padding: 0 !important; }
#footer .nav__social img.social {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    padding: 6px;
    transition: background .2s, transform .2s;
}
#footer .nav__social a:hover img.social { background: var(--brand-accent); transform: translateY(-2px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    justify-content: space-between !important;
}
.footer-bottom .copyright, .footer-bottom .credits { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-bottom a:hover { color: var(--brand-accent); }

/* ---------- Preloader (less aggressive) ---------- */
#preloader { background: var(--brand-primary-darker); }
#preloader:before { border-top-color: var(--brand-accent); border-bottom-color: var(--brand-accent); }

/* ---------- Back to top ---------- */
.back-to-top {
    background: var(--brand-primary) !important;
    width: 44px; height: 44px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    right: 20px; bottom: 20px;
}
.back-to-top:hover { background: var(--brand-primary-dark) !important; }
.back-to-top i { font-size: 22px; color: #fff; }

/* ---------- General tablet/mobile tuning ---------- */
@media (max-width: 991px) {
    #header > .container { gap: 8px; min-height: 48px; }
    #header .logo { font-size: 0.95rem; letter-spacing: 0.02em; }
}
@media (max-width: 575px) {
    section { padding: 48px 0; }
    .section-title { margin-bottom: 32px; }
    .pricing .box, .team .member, .contact .info { padding: 24px 20px; }
    .pricing .box h3 { min-height: auto; }
    #cta .container { padding: 32px 20px; }
    .container, .container-sm, .container-md, .container-lg, .container-xl { padding-left: 16px; padding-right: 16px; }
}

/* Hide scrollbar artifacts when mobile menu is open */
body:has(.navbar-mobile) { overflow: hidden; }

/* Make AOS animations subtle (don't fire on slow connections) */
@media (prefers-reduced-motion: reduce) {
    [data-aos], .animated { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Inner pages (policy.html) ---------- */
#breadcrumbs {
    background: var(--surface-1);
    padding: calc(var(--header-h) + 32px) 0 24px;
    border-bottom: 1px solid var(--border-soft);
}
#breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
#breadcrumbs ol li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--text-muted);
}
#breadcrumbs ol a {
    color: var(--brand-primary);
    text-decoration: none;
}

.inner-page, main:has(#breadcrumbs) {
    background: var(--surface-0);
}
.inner-page h1, .inner-page h2, .inner-page h3 {
    color: var(--text-primary);
}
.inner-page p, .inner-page li {
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 991px) {
    #breadcrumbs { padding: calc(var(--header-h-mobile) + 24px) 0 16px; }
}

/* Header on inner pages shouldn't be transparent dark */
#header.header-inner-pages {
    background: rgba(255, 255, 255, 0.96);
}

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.navbar a:focus-visible,
.cta-btn:focus-visible {
    outline: 3px solid var(--brand-accent);
    outline-offset: 2px;
    border-radius: 8px;
}

/* iPhone safe-area: push header content below the notch */
@supports (padding-top: env(safe-area-inset-top)) {
    #header {
        padding-top: env(safe-area-inset-top);
    }
    main {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
