@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');
/* ==========================================================================
   Flare Star Solutions - public website (corporate & classic theme)
   Other themes: site-light.css, site-dark.css
   ========================================================================== */

:root {
    --navy: #120734;
    --navy-2: #1c0f4a;
    --navy-3: #2a1a66;
    --ink: #222033;
    --muted: #5f5d70;
    --yellow: #F1C832;
    --yellow-2: #e0b51d;
    --line: #e4e5ec;
    --soft: #f4f5f8;
    --white: #ffffff;
    --radius: 6px;
    --shadow: 0 6px 24px rgba(18, 7, 52, .08);
    --shadow-lg: 0 16px 40px rgba(18, 7, 52, .14);
    --font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --photo: url('../img/service/service-details1-image1.png');
    --photo-2: url('../img/service/service-details2-image.png');
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--navy); font-weight: 700; line-height: 1.25; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; }
.section { padding: 100px 0; }
.section-soft { background: var(--soft); }

/* ---------- Buttons ---------- */
.btn-x { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 15px 30px; border-radius: 4px; border: 2px solid transparent; transition: all .3s; white-space: nowrap; }
.btn-x i { transition: transform .3s; }
.btn-x:hover i { transform: translateX(4px); }
.btn-yellow { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.btn-yellow:hover { background: var(--yellow-2); border-color: var(--yellow-2); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Section headings ---------- */
.eyebrow { display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow-2); margin-bottom: 12px; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); position: relative; padding-bottom: 20px; }
.section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--yellow); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center h2::after { left: 50%; transform: translateX(-50%); }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 20px; }
.dark .section-head h2, .dark h2, .dark h3, .dark h4 { color: var(--white); }
.dark .section-head p { color: rgba(255, 255, 255, .75); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info i { color: var(--yellow); font-size: 12px; }
.topbar-info a:hover { color: var(--yellow); }
.topbar-social { display: flex; gap: 2px; }
.topbar-social a { width: 32px; height: 32px; display: grid; place-items: center; color: rgba(255, 255, 255, .8); font-size: 13px; }
.topbar-social a:hover { color: var(--yellow); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(18, 7, 52, .08); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 88px; }
.site-logo img { height: 54px; width: auto; }
.site-nav { display: flex; align-items: stretch; align-self: stretch; }
.site-nav > a, .nav-drop > a { display: flex; align-items: center; height: 100%; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); padding: 0 18px; position: relative; }
.site-nav > a::after, .nav-drop > a::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .3s; }
.site-nav > a:hover::after, .site-nav > a.active::after, .nav-drop > a:hover::after, .nav-drop > a.active::after { transform: scaleX(1); }
.nav-drop { position: relative; display: flex; }
.nav-drop > a i { font-size: 10px; margin-left: 6px; }
.nav-drop-menu { position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white); border-top: 3px solid var(--yellow); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a { display: flex; align-items: center; gap: 12px; padding: 14px 20px; font-weight: 600; font-size: 15px; color: var(--navy); border-bottom: 1px solid var(--line); }
.nav-drop-menu a:last-child { border-bottom: 0; }
.nav-drop-menu a:hover { background: var(--soft); padding-left: 26px; }
.nav-drop-menu a span.ic { color: var(--yellow-2); width: 20px; }
.header-cta { display: flex; align-items: center; gap: 22px; }
.header-phone { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.header-phone span.ic { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--yellow); display: grid; place-items: center; color: var(--navy); }
.header-phone .txt { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 4px; border: 0; background: var(--navy); color: var(--white); font-size: 18px; }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-nav .backdrop { position: absolute; inset: 0; background: rgba(18, 7, 52, .6); opacity: 0; transition: opacity .3s; }
.mobile-nav .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 88vw); background: var(--white); padding: 24px; transform: translateX(100%); transition: transform .35s ease; display: flex; flex-direction: column; overflow-y: auto; border-top: 4px solid var(--yellow); }
.mobile-nav.open { visibility: visible; }
.mobile-nav.open .backdrop { opacity: 1; }
.mobile-nav.open .panel { transform: translateX(0); }
.mobile-nav .panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mobile-nav .panel-top img { height: 44px; }
.mobile-nav .close { width: 42px; height: 42px; border-radius: 4px; border: 0; background: var(--soft); font-size: 18px; color: var(--navy); }
.mobile-nav nav a { display: block; padding: 13px 4px; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-nav nav a.sub { padding-left: 18px; text-transform: none; letter-spacing: 0; font-family: var(--font); font-weight: 500; color: var(--muted); }
.mobile-nav nav a.active { color: var(--yellow-2); }
.mobile-nav .btn-x { margin-top: 24px; justify-content: center; }

/* ---------- Hero (full-width photo banner) ---------- */
.hero { position: relative; padding: 130px 0 150px; color: var(--white); background: var(--navy) var(--photo) center / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 7, 52, .95) 0%, rgba(18, 7, 52, .86) 45%, rgba(18, 7, 52, .45) 100%); }
.hero .grid-bg { display: none; }
.hero .container { position: relative; z-index: 1; }
.hero .row > .col-lg-6:last-child { display: none; }
.hero .row > .col-lg-6:first-child { flex: 0 0 auto; width: 100%; max-width: 720px; }
.hero-pill { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.hero-pill span { background: var(--yellow); color: var(--navy); padding: 4px 10px; border-radius: 3px; font-size: 12px; }
.hero h1 { color: var(--white); font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; margin: 22px 0 22px; }
.hero h1 .hl { color: var(--yellow); }
.hero .lead { color: rgba(255, 255, 255, .82); font-size: 18px; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-stats { display: flex; flex-wrap: wrap; margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 30px; max-width: 600px; }
.hero-stats > div { flex: 1; padding-right: 24px; }
.hero-stats > div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .2); }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 38px; font-weight: 700; color: var(--yellow); line-height: 1; }
.hero-stats span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.hero-showcase, .float-chip { display: none; }

/* Browser frames (used on About page) */
.browser { position: relative; background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser .bar { height: 30px; background: var(--soft); display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d6e4; }
.browser .bar i:nth-child(1) { background: #ff6159; }
.browser .bar i:nth-child(2) { background: #ffbd2e; }
.browser .bar i:nth-child(3) { background: #28c941; }
.browser .bar span { margin-left: 10px; font-size: 11px; color: #8a879c; background: var(--white); border-radius: 3px; padding: 1px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 70%; }
.browser img { width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; padding: 100px 0 90px; background: var(--navy) var(--photo) center 30% / cover no-repeat; text-align: left; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 7, 52, .95), rgba(18, 7, 52, .78)); }
.page-banner .grid-bg { display: none; }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 50px); }
.page-banner p { color: rgba(255, 255, 255, .8); font-size: 18px; max-width: 640px; margin-top: 14px; }
.crumbs { display: inline-flex; gap: 10px; align-items: center; margin-top: 26px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .08); border-left: 3px solid var(--yellow); padding: 8px 16px; }
.crumbs a { color: var(--yellow); }
.crumbs i { font-size: 9px; }

/* ---------- Service cards ---------- */
.svc-card { position: relative; height: 100%; background: var(--white); border: 1px solid var(--line); border-bottom: 3px solid var(--line); border-radius: var(--radius); padding: 40px 34px; transition: all .35s; display: flex; flex-direction: column; color: var(--ink); }
.svc-card:hover { box-shadow: var(--shadow-lg); border-bottom-color: var(--yellow); transform: translateY(-6px); color: var(--ink); }
.svc-card .ic { width: 72px; height: 72px; border-radius: 4px; display: grid; place-items: center; font-size: 30px; background: var(--navy); color: var(--yellow); margin-bottom: 28px; transition: all .35s; }
.svc-card:hover .ic { background: var(--yellow); color: var(--navy); }
.svc-card h3 { font-size: 21px; margin-bottom: 14px; }
.svc-card p { color: var(--muted); }
.svc-card ul { margin: 22px 0 28px; }
.svc-card li { display: flex; gap: 10px; font-size: 15px; font-weight: 600; padding: 5px 0; color: var(--ink); }
.svc-card li i { color: var(--yellow-2); margin-top: 6px; font-size: 12px; }
.svc-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.svc-card .more i { transition: transform .3s; }
.svc-card:hover .more { color: var(--yellow-2); }
.svc-card:hover .more i { transform: translateX(4px); }
.svc-card .num { position: absolute; top: 34px; right: 34px; font-family: var(--font-head); font-size: 44px; font-weight: 800; color: var(--soft); line-height: 1; }

.mini-svc { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--yellow); border-radius: var(--radius); padding: 26px; height: 100%; transition: all .3s; }
.mini-svc:hover { box-shadow: var(--shadow); }
.mini-svc .ic { width: 52px; height: 52px; border-radius: 4px; background: var(--soft); color: var(--navy); display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
.mini-svc h4 { font-size: 18px; margin-bottom: 6px; }
.mini-svc p { color: var(--muted); font-size: 15px; }

/* ---------- Feature / why ---------- */
.feature { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); height: 100%; transition: all .3s; }
.feature:hover { box-shadow: var(--shadow); border-color: var(--yellow); }
.feature .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.feature h4 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }
.dark .feature { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.dark .feature:hover { border-color: var(--yellow); }
.dark .feature p { color: rgba(255, 255, 255, .72); }

.dark-band { position: relative; background: var(--navy) var(--photo-2) center / cover no-repeat; background-attachment: fixed; }
.dark-band::before { content: ''; position: absolute; inset: 0; background: rgba(18, 7, 52, .92); }
.dark-band .container { position: relative; }
.dark-band .btn-x.btn-yellow:hover { background: var(--white); border-color: var(--white); }

.check-list li { display: flex; gap: 12px; padding: 7px 0; font-weight: 600; }
.check-list li i { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-size: 11px; flex-shrink: 0; margin-top: 3px; }

/* ---------- Process ---------- */
.step { position: relative; text-align: center; padding: 40px 26px 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); height: 100%; transition: all .3s; }
.step:hover { box-shadow: var(--shadow-lg); }
.step .n { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--white); border: 3px solid var(--yellow); color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 22px; transition: all .3s; }
.step:hover .n { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
.step h4 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Stats ---------- */
.stat-box { text-align: center; padding: 30px 16px; border-right: 1px solid rgba(255, 255, 255, .15); }
.row > div:last-child .stat-box { border-right: 0; }
.stat-box strong { display: block; font-family: var(--font-head); font-size: 50px; font-weight: 700; color: var(--yellow); line-height: 1; }
.stat-box span { display: block; margin-top: 12px; color: rgba(255, 255, 255, .8); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }

/* ---------- Tech chips ---------- */
.tech-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-wrap span { padding: 10px 18px; border-radius: 4px; background: var(--soft); border-left: 3px solid var(--yellow); font-weight: 700; font-size: 14px; color: var(--navy); }

/* ---------- Portfolio ---------- */
.pf-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 46px; }
.pf-filter { border: 2px solid var(--line); background: var(--white); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 11px 20px; border-radius: 4px; transition: all .3s; display: inline-flex; align-items: center; gap: 8px; }
.pf-filter span { background: var(--soft); border-radius: 3px; padding: 0 8px; font-size: 12px; }
.pf-filter:hover, .pf-filter.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pf-filter.active span, .pf-filter:hover span { background: var(--yellow); color: var(--navy); }

.pf-item { margin-bottom: 30px; }
.pf-item.pf-hide { display: none; }
.pf-card { height: 100%; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(18, 7, 52, .04); transition: transform .4s, box-shadow .4s; }
.pf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pf-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s ease; }
.pf-card:hover .pf-thumb img { transform: scale(1.06); }
.pf-badge { position: absolute; top: 0; left: 0; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 7px 14px; border-bottom-right-radius: 6px; }
.pf-badge i { margin-right: 6px; color: var(--yellow); }
.pf-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(18, 7, 52, .78); opacity: 0; transition: opacity .35s; }
.pf-overlay span { color: var(--navy); background: var(--yellow); font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 12px 22px; border-radius: 4px; transform: translateY(10px); transition: transform .35s; }
.pf-card:hover .pf-overlay { opacity: 1; }
.pf-card:hover .pf-overlay span { transform: translateY(0); }
.pf-body { padding: 24px 24px 20px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--yellow); }
.pf-title { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 6px; line-height: 1.35; }
.pf-client { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.pf-client i { margin-right: 4px; color: var(--yellow-2); }
.pf-desc { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pf-tags span { font-size: 12px; font-weight: 700; color: var(--navy); background: var(--soft); padding: 4px 10px; border-radius: 3px; }
.pf-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pf-host { font-size: 13px; color: #8a879c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-btn { flex-shrink: 0; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--navy); padding: 9px 16px; border-radius: 4px; transition: all .3s; }
.pf-btn:hover { background: var(--yellow); color: var(--navy); }
.pf-btn i { margin-left: 4px; transition: transform .3s; }
.pf-btn:hover i { transform: translateX(3px); }
.pf-empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: var(--white); }
.pf-empty i { font-size: 34px; color: var(--yellow-2); margin-bottom: 14px; }

/* ---------- Clients marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 4px; background: var(--white); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--navy); white-space: nowrap; }
.marquee-track span i { color: var(--yellow-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-visual { position: relative; padding: 0 40px 40px 0; }
.about-visual::before { content: ''; position: absolute; top: 40px; left: 40px; right: 0; bottom: 0; border: 3px solid var(--yellow); border-radius: var(--radius); }
.about-visual .browser { position: relative; height: 380px; width: 100%; }
.about-visual .exp { position: absolute; left: -10px; bottom: 0; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-lg); border-bottom: 4px solid var(--yellow); }
.about-visual .exp strong { display: block; font-family: var(--font-head); font-size: 42px; line-height: 1; color: var(--yellow); }
.about-visual .exp span { font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .8); }
.value-card { text-align: center; padding: 44px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); height: 100%; transition: all .3s; }
.value-card:hover { border-top-color: var(--yellow); box-shadow: var(--shadow-lg); }
.value-card .ic { width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; background: var(--soft); color: var(--navy); display: grid; place-items: center; font-size: 28px; transition: all .3s; }
.value-card:hover .ic { background: var(--yellow); }
.value-card h4 { font-size: 21px; margin-bottom: 12px; }
.value-card p { color: var(--muted); }

/* ---------- Service detail ---------- */
.svc-aside { position: sticky; top: 110px; }
.svc-aside .box { border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; background: var(--soft); margin-bottom: 24px; }
.svc-aside h4 { font-size: 19px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--yellow); }
.svc-aside .links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 4px; font-weight: 700; background: var(--white); margin-bottom: 8px; color: var(--navy); border-left: 3px solid transparent; }
.svc-aside .links a:hover, .svc-aside .links a.active { background: var(--navy); color: var(--white); border-left-color: var(--yellow); }
.svc-aside .call { position: relative; overflow: hidden; background: var(--navy) var(--photo) center / cover; border: 0; }
.svc-aside .call::before { content: ''; position: absolute; inset: 0; background: rgba(18, 7, 52, .9); }
.svc-aside .call > * { position: relative; }
.svc-aside .call h4 { color: var(--white); font-size: 22px; border-bottom-color: var(--yellow); }
.svc-aside .call p { color: rgba(255, 255, 255, .78); margin-bottom: 22px; }
.svc-aside .call .btn-x { width: 100%; justify-content: center; }
.svc-intro { font-size: 18px; color: var(--muted); }
.svc-hero-ic { width: 80px; height: 80px; border-radius: 4px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-size: 32px; margin-bottom: 26px; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 12px; overflow: hidden; }
.faq-item.open { border-color: var(--navy); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background .3s; }
.faq-item.open .faq-q { background: var(--navy); color: var(--white); }
.faq-q i { width: 30px; height: 30px; border-radius: 4px; background: var(--soft); color: var(--navy); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; transition: transform .3s, background .3s; }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--yellow); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 20px 24px 22px; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta-box { position: relative; border-radius: var(--radius); background: var(--yellow); padding: 56px 60px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-box::after { content: ''; position: absolute; right: -60px; top: 0; bottom: 0; width: 38%; background: var(--navy); transform: skewX(-18deg); transform-origin: top; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(26px, 3vw, 36px); max-width: 600px; }
.cta-box p { color: rgba(18, 7, 52, .78); margin-top: 10px; font-size: 17px; }
.cta-box .acts { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-box .btn-yellow { background: var(--navy); border-color: var(--navy); color: var(--white); }
.cta-box .btn-yellow:hover { background: var(--white); border-color: var(--white); color: var(--navy); }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); border-left: 3px solid var(--yellow); background: var(--white); margin-bottom: 16px; transition: all .3s; }
.contact-card:hover { box-shadow: var(--shadow); }
.contact-card .ic { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.contact-card h4 { font-size: 16px; margin-bottom: 2px; }
.contact-card a, .contact-card p { color: var(--muted); font-weight: 600; }
.contact-card a:hover { color: var(--navy); }
.form-card { background: var(--soft); border-radius: var(--radius); padding: 44px; border-top: 4px solid var(--navy); }
.form-card h3 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 30px; }
.fld { margin-bottom: 20px; }
.fld label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--navy); }
.fld label em { color: #d63c3c; font-style: normal; }
.fld input, .fld select, .fld textarea { width: 100%; font-family: inherit; font-size: 15px; padding: 14px 16px; border-radius: 4px; border: 1px solid #d8d9e2; background: var(--white); color: var(--ink); transition: all .25s; outline: none; }
.fld textarea { min-height: 140px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(241, 200, 50, .35); }
.fld .err { color: #d63c3c; font-size: 13px; margin-top: 6px; display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert-ok { display: flex; gap: 12px; align-items: center; background: #e8f6ee; color: #186a3f; border-left: 4px solid #22a35a; padding: 14px 18px; border-radius: 4px; margin-bottom: 24px; font-weight: 600; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #0c0424; color: rgba(255, 255, 255, .68); padding-top: 90px; border-top: 4px solid var(--yellow); }
.foot-logo { display: inline-block; background: var(--white); padding: 10px 16px; border-radius: 4px; margin-bottom: 22px; }
.foot-logo img { height: 46px; }
.site-footer h5 { color: var(--white); font-size: 18px; margin-bottom: 24px; padding-bottom: 14px; position: relative; }
.site-footer h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--yellow); }
.foot-links li { padding: 6px 0; }
.foot-links a:hover { color: var(--yellow); padding-left: 4px; }
.foot-links a { transition: all .25s; }
.foot-links a i { font-size: 10px; margin-right: 10px; color: var(--yellow); }
.foot-contact li { display: flex; gap: 12px; padding: 8px 0; }
.foot-contact i { color: var(--yellow); margin-top: 6px; width: 16px; }
.foot-contact a:hover { color: var(--yellow); }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 4px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--white); transition: all .3s; }
.socials a:hover { background: var(--yellow); color: var(--navy); }
.foot-bottom { margin-top: 60px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 4px; border: 0; background: var(--yellow); color: var(--navy); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top:hover { background: var(--navy); color: var(--yellow); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; font-size: 26px; box-shadow: 0 10px 26px rgba(37, 211, 102, .35); transition: transform .3s; }
.wa-float:hover { color: var(--white); transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .header-phone .txt { display: none; }
    .site-nav > a, .nav-drop > a { padding: 0 12px; }
    .site-nav > a::after, .nav-drop > a::after { left: 12px; right: 12px; }
    .topbar .addr { display: none; }
}
@media (max-width: 991px) {
    .section { padding: 76px 0; }
    .site-nav, .header-cta .btn-x, .header-phone { display: none; }
    .nav-toggle { display: grid; place-items: center; }
    .site-header .inner { height: 76px; }
    .site-logo img { height: 46px; }
    .hero { padding: 90px 0 100px; }
    .hero::before { background: rgba(18, 7, 52, .9); }
    .svc-aside { position: static; margin-top: 40px; }
    .cta-box { padding: 44px 34px; }
    .cta-box::after { display: none; }
    .about-visual { margin-bottom: 40px; }
    .dark-band { background-attachment: scroll; }
    .stat-box { border-right: 0; }
}
@media (max-width: 767px) {
    .topbar-social { display: none; }
    .topbar-inner { justify-content: center; }
}
@media (max-width: 575px) {
    .section { padding: 64px 0; }
    .container { padding-left: 16px; padding-right: 16px; }
    .topbar { font-size: 12.5px; }
    .topbar-inner { padding: 6px 0; }
    .topbar-info { justify-content: center; gap: 4px 16px; }
    .hero { padding: 70px 0 80px; }
    .hero-stats > div { padding-right: 12px; }
    .hero-stats > div + div { padding-left: 12px; }
    .hero-stats strong { font-size: 28px; }
    .hero-stats span { font-size: 12px; line-height: 1.35; }
    .page-banner { padding: 70px 0 64px; }
    .form-card { padding: 28px 20px; }
    .cta-box { padding: 36px 22px; }
    .about-visual { padding: 0 16px 50px 0; }
    .about-visual::before { top: 24px; left: 24px; }
    .about-visual .browser { height: 250px; }
    .btn-x { padding: 13px 22px; }
}

/* About page photo */
.about-visual .about-photo { position: relative; z-index: 1; width: 100%; height: 420px; object-fit: cover; border-radius: 6px; box-shadow: 0 16px 40px rgba(18, 7, 52, .14); }
.about-visual .exp { z-index: 2; }
@media (max-width: 575px) { .about-visual .about-photo { height: 260px; } }
