/* Techno Fort Portfolio — brand colors come from Admin → Settings (see :root in includes/header.php) */
:root {
    --primary: #469264;
    --accent: #E26831;
    --dark: #1C1C1B;
    --text: #333333;
    --muted: #6b6b6b;
    --line: rgba(28, 28, 27, .12);
    --soft: #f5f7f4;
    --white: #ffffff;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow: 0 10px 30px rgba(20, 30, 25, .08);
    --shadow-lg: 0 24px 60px rgba(20, 30, 25, .16);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 60%, transparent); outline-offset: 2px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-lg { margin-top: 48px; }
.mb-md { margin-bottom: 24px; }
.is-hidden { display: none !important; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-accent { color: var(--accent); }
.rounded-img { border-radius: var(--radius-lg); width: 100%; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-heading); font-size: 13px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow-light { color: #fff; }
.h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
.h3 { font-size: 1.4rem; margin-top: 1.6em; }
.lead { font-size: 1.1rem; color: var(--muted); }
.prose p { color: var(--text); }
.prose-lg p { font-size: 1.15rem; color: var(--dark); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-heading); font-weight: 600; font-size: 15px; line-height: 1.2;
    transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
    text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 40%, transparent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { background: #fff; color: var(--dark); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; color: var(--primary); }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .06); border-color: var(--line); }
.nav-wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 58px; width: auto; object-fit: contain; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
    position: relative; padding: 8px 14px; border-radius: 999px;
    font-family: var(--font-heading); font-weight: 500; font-size: 15px; color: var(--dark);
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.is-active { color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--dark); border-radius: 2px; transition: .2s; }
.menu-toggle:hover span:nth-child(2) { width: 12px; }

/* Full-screen menu (longtail style) */
.menu-panel {
    position: fixed; inset: 0; z-index: 80; background: var(--dark); color: #fff;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .75)), var(--hero-bg);
    background-size: cover; background-position: center;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto;
}
.menu-panel.is-open { opacity: 1; visibility: visible; }
.menu-panel__inner { padding: 28px 0 60px; }
.menu-close { background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; padding: 10px 18px; border-radius: 999px; float: right; }
.menu-panel__grid { clear: both; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; padding-top: 40px; }
.menu-panel__links a {
    display: block; font-family: var(--font-heading); font-weight: 700; color: #fff;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem); line-height: 1.35;
    transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, color .2s;
}
.menu-panel.is-open .menu-panel__links a { transform: none; opacity: 1; }
.menu-panel__links a:nth-child(2) { transition-delay: .03s; } .menu-panel__links a:nth-child(3) { transition-delay: .06s; }
.menu-panel__links a:nth-child(4) { transition-delay: .09s; } .menu-panel__links a:nth-child(5) { transition-delay: .12s; }
.menu-panel__links a:nth-child(6) { transition-delay: .15s; } .menu-panel__links a:nth-child(7) { transition-delay: .18s; }
.menu-panel__links a:nth-child(8) { transition-delay: .21s; } .menu-panel__links a:nth-child(9) { transition-delay: .24s; }
.menu-panel__links a:hover, .menu-panel__links a.is-active { color: var(--accent); }
.menu-panel__contact h3 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.menu-panel__contact p { color: rgba(255, 255, 255, .85); display: flex; gap: 12px; align-items: baseline; }
.menu-panel__contact i { color: var(--accent); width: 18px; }
.menu-panel__contact a { color: #fff; }
.menu-panel__contact .btn { margin-top: 24px; }
body.no-scroll { overflow: hidden; }

.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.socials a {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid currentColor; color: inherit; opacity: .85; transition: .2s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; opacity: 1; }
.socials-sm { justify-content: center; }
.socials-sm a { width: 34px; height: 34px; font-size: 14px; color: var(--dark); border-color: var(--line); }

/* ---------- Alerts ---------- */
.flash-wrap { margin-top: 16px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 10px; font-weight: 500; }
.alert-success { background: color-mix(in srgb, var(--primary) 12%, #fff); color: #245539; border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }
.alert-error { background: #fdeeea; color: #9b3313; border: 1px solid #f5c9bb; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background: #0b0b0b var(--hero-bg) center / cover no-repeat;
    padding: clamp(56px, 9vw, 110px) 0 40px;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .7) 55%, rgba(0, 0, 0, .9) 100%);
}
.hero > * { position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__grid.is-single { grid-template-columns: minmax(0, 820px); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.01em; }
.hero__sub { font-size: 1.15rem; color: rgba(255, 255, 255, .82); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__showcase { position: relative; padding-bottom: 40px; }
.browser {
    display: block; border-radius: 16px; overflow: hidden; background: #fff;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .5); transform: perspective(1400px) rotateY(-8deg) rotateX(2deg);
    transition: transform .6s var(--ease);
}
.browser:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f1f1; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ddd; }
.browser__bar i:nth-child(1) { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: #777; background: #fff; padding: 2px 12px; border-radius: 6px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hero__review {
    position: absolute; left: -28px; bottom: 0; max-width: 300px;
    background: #fff; color: var(--text); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-lg);
    animation: float 5s ease-in-out infinite;
}
.hero__review p { margin: 6px 0; font-size: 14px; line-height: 1.5; color: var(--dark); }
.hero__review small { color: var(--muted); font-weight: 600; }
@keyframes float { 50% { transform: translateY(-8px); } }

.hero__services { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.hero-service {
    display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
    font-family: var(--font-heading); font-weight: 600; font-size: 14px; line-height: 1.3;
    backdrop-filter: blur(6px); transition: .25s;
}
.hero-service i { font-size: 20px; color: var(--accent); width: 24px; text-align: center; flex-shrink: 0; }
.hero-service:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.hero-service:hover i { color: #fff; }

/* ---------- Logo marquee ---------- */
.logo-strip { border-bottom: 1px solid var(--line); background: #fff; }
.logo-strip__inner { display: flex; align-items: center; gap: 32px; padding: 22px 0; }
.logo-strip__label { font-family: var(--font-heading); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 54px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .3s; }
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tight { padding-top: 40px; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: rgba(255, 255, 255, .8); }
.section-dark .h2 { color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, .7); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }

/* About split */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-split__media { position: relative; padding-bottom: 50px; }
.about-split__media > img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-split__brand {
    border-radius: var(--radius-lg); aspect-ratio: 4 / 3; display: grid; place-items: center;
    background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 14%, #fff), #fff 55%, color-mix(in srgb, var(--primary) 12%, #fff));
    border: 1px solid var(--line);
}
.about-split__brand img { width: 60%; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; }
.stats-card {
    position: absolute; left: 24px; right: 24px; bottom: 0;
    background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg);
}
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--primary); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- Filters / toolbar ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tabs.center-tabs { justify-content: center; margin-bottom: 40px; }
.filter-tabs button, .filter-tabs a {
    padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
    font-family: var(--font-heading); font-weight: 500; font-size: 14px; color: var(--dark); transition: .2s;
}
.filter-tabs small { opacity: .6; margin-left: 4px; }
.filter-tabs .is-active, .filter-tabs button:hover, .filter-tabs a:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.search-box { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; min-width: 260px; }
.search-box input { border: 0; padding: 10px 18px; flex: 1; font: inherit; outline: none; min-width: 0; }
.search-box button { border: 0; background: var(--primary); color: #fff; padding: 0 18px; }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card.is-filtered-out { display: none; }
.work-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #eee; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.08); }
.work-card__type {
    position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .95); color: var(--dark);
    padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; font-family: var(--font-heading);
}
.work-card__type i { color: var(--accent); margin-right: 4px; }
.work-card__play {
    position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
    background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 20px;
    box-shadow: 0 0 0 10px rgba(226, 104, 49, .25);
}
.work-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.work-card__body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.work-card__body h3 a { color: var(--dark); }
.work-card__body h3 a:hover { color: var(--primary); }
.work-card__client { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.work-card__cta {
    margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-heading); font-weight: 600; color: var(--dark); border-top: 1px solid var(--line);
}
.arrow-circle {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
    display: inline-grid; place-items: center; transition: .2s; color: var(--dark); flex-shrink: 0;
}
.work-card:hover .arrow-circle, .job-row:hover .arrow-circle { background: var(--primary); border-color: var(--primary); color: #fff; }

.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 12.5px; font-weight: 500; color: var(--dark); background: #fff; }
.pills-light .pill { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- Reels ---------- */
.reel-track, .review-track {
    display: grid; grid-auto-flow: column; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-bottom: 6px;
}
.reel-track::-webkit-scrollbar, .review-track::-webkit-scrollbar { display: none; }
.reel-track { grid-auto-columns: minmax(220px, 260px); }
.reel-card {
    position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #222;
    scroll-snap-align: start; color: #fff;
}
.reel-card img, .reel-card video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.reel-card:hover img, .reel-card:hover video { transform: scale(1.05); }
.reel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .85)); pointer-events: none; }
.reel-card__play {
    position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent); display: grid; place-items: center; font-size: 14px;
}
.reel-card__info { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; line-height: 1.35; }
.reel-card__info strong { display: block; font-family: var(--font-heading); }
.reel-card__info small { opacity: .75; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button {
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--dark); transition: .2s;
}
.carousel-nav button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.section-dark .carousel-nav button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.section-dark .eyebrow { color: var(--accent); }

/* ---------- Service tabs (longtail style) ---------- */
.service-tabs { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.service-tabs__list { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.service-tabs__list button {
    display: flex; gap: 16px; align-items: baseline; text-align: left; background: none; border: 0;
    padding: 14px 20px; margin-left: -1px; border-left: 3px solid transparent;
    font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; color: var(--muted); transition: .2s;
}
.service-tabs__list .num { font-size: 13px; color: var(--accent); }
.service-tabs__list button:hover { color: var(--dark); }
.service-tabs__list button.is-active { color: var(--dark); border-left-color: var(--primary); background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 8%, transparent), transparent); }
.service-panel {
    display: none; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, #fff), color-mix(in srgb, var(--accent) 8%, #fff));
    border-radius: var(--radius-lg); padding: 40px; min-height: 360px;
}
.service-panel.is-active { display: grid; animation: fadeUp .45s var(--ease); }
.service-panel:not(:has(img)) { grid-template-columns: 1fr; }
.service-panel__icon { font-size: 34px; color: var(--primary); margin-bottom: 18px; display: block; }
.service-panel h3 { font-size: 1.8rem; margin-top: 14px; }
.service-panel__img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden; color: var(--text); transition: .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.service-card__img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.service-card__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-heading); font-weight: 800; font-size: 2.4rem; color: rgba(0, 0, 0, .05); }
.service-card__icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 22px;
    background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary);
}
.service-card h3 { font-size: 1.25rem; margin: 6px 0 0; }
.service-card p { margin: 0; color: var(--muted); }
.service-card .link-arrow { margin-top: auto; padding-top: 10px; }

/* ---------- Reviews ---------- */
.review-track { grid-auto-columns: minmax(300px, calc((100% - 40px) / 3)); }
.review-card {
    margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 16px; scroll-snap-align: start; break-inside: avoid;
}
.review-card__top { display: flex; justify-content: space-between; align-items: center; }
.review-card__quote { font-size: 30px; color: color-mix(in srgb, var(--primary) 25%, #fff); }
.review-card blockquote { margin: 0; color: var(--dark); flex: 1; }
.review-card__video { font-weight: 600; font-size: 14px; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-card figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review-card figcaption img.is-logo { object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px; }
.review-card figcaption strong { display: block; font-family: var(--font-heading); color: var(--dark); line-height: 1.3; }
.review-card figcaption small { color: var(--muted); }
.stars { color: #f5a623; display: inline-flex; gap: 2px; font-size: 14px; }
.avatar {
    width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0;
    background: var(--primary); color: #fff; font-family: var(--font-heading); font-weight: 700;
}
.avatar-lg { width: 100%; height: 100%; border-radius: 0; font-size: 2.4rem; }
.review-masonry { columns: 3 300px; column-gap: 24px; }
.review-masonry .review-card { margin-bottom: 24px; }
.rating-summary {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
    padding: 24px 30px; border-radius: var(--radius-lg); background: var(--soft);
}
.rating-summary > strong { font-family: var(--font-heading); font-size: 3rem; color: var(--dark); line-height: 1; }
.rating-summary p { margin: 4px 0 0; color: var(--muted); }
.rating-summary .stars { font-size: 20px; }
.rating-summary .btn { margin-left: auto; }
.rating-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input legend { font-weight: 600; font-size: 14px; color: var(--dark); margin-bottom: 6px; width: 100%; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 28px; color: #ddd; cursor: pointer; transition: color .15s; margin: 0; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f5a623; }
.rating-input input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 4px; }

/* ---------- Page banner ---------- */
.page-banner {
    position: relative; color: #fff; padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 7vw, 80px);
    background: #0b0b0b var(--hero-bg) center / cover no-repeat;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .88)); }
.page-banner > * { position: relative; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; max-width: 900px; }
.page-banner p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; max-width: 680px; margin: 0; }

/* ---------- Project detail ---------- */
.project-hero {
    position: relative; color: #fff; padding: 56px 0 48px;
    background: #0b0b0b var(--hero-bg) center / cover no-repeat;
}
.project-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .9)); }
.project-hero > * { position: relative; }
.project-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; }
.project-hero .lead { color: rgba(255, 255, 255, .8); max-width: 760px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; margin-bottom: 16px; }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-size: 10px; opacity: .6; }

.demo { border-radius: var(--radius-lg); background: var(--soft); border: 1px solid var(--line); overflow: hidden; margin-bottom: 40px; }
.demo__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.demo__devices { display: flex; gap: 4px; background: var(--soft); padding: 4px; border-radius: 999px; }
.demo__devices button { width: 38px; height: 34px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); }
.demo__devices button.is-active { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.demo__url { flex: 1; min-width: 160px; background: var(--soft); padding: 7px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo__url i { color: var(--primary); margin-right: 6px; }
.demo__stage { padding: 24px; display: flex; justify-content: center; }
.demo__frame { width: 100%; height: 72vh; min-height: 460px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: width .45s var(--ease); }
.demo__frame.is-tablet { width: 820px; }
.demo__frame.is-mobile { width: 390px; border-radius: 30px; border: 10px solid var(--dark); }
.demo__frame iframe { width: 100%; height: 100%; border: 0; }
.demo__note { font-size: 13px; color: var(--muted); text-align: center; margin: 0 0 16px; }

.player { border-radius: var(--radius-lg); overflow: hidden; background: #000; margin: 0 auto 40px; aspect-ratio: 16 / 9; max-width: 1000px; }
.player.is-vertical { aspect-ratio: 9 / 16; max-width: 400px; }
.player video, .player iframe { width: 100%; height: 100%; border: 0; object-fit: contain; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.video-grid .player { margin: 0; max-width: none; }
.cover-image { display: block; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; }
.cover-image img { width: 100%; }

.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.project-main > .h3:first-child { margin-top: 0; }
.project-side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.facts { margin: 0; background: var(--soft); border-radius: var(--radius-lg); padding: 8px 24px; }
.facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-family: var(--font-heading); font-weight: 600; color: var(--dark); }
.facts__client { display: flex; align-items: center; gap: 10px; }
.facts__client img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; padding: 2px; }
.side-cta { background: var(--dark); color: rgba(255, 255, 255, .8); border-radius: var(--radius-lg); padding: 28px; background-image: linear-gradient(135deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .85)), var(--hero-bg); background-size: cover; }
.side-cta h3 { color: #fff; font-size: 1.3rem; }
.side-list { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.side-list h3 { font-size: 1.05rem; }
.side-list a { display: flex; gap: 12px; align-items: center; padding: 9px 0; color: var(--dark); font-weight: 500; border-bottom: 1px dashed var(--line); }
.side-list a:last-child { border-bottom: 0; }
.side-list a i { color: var(--primary); width: 20px; text-align: center; }
.side-list a:hover { color: var(--primary); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery a { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }

/* ---------- Festive Gallery (full-width, no sidebar) ---------- */
.gallery-festive {
    columns: 4 220px;
    column-gap: 12px;
    margin-top: 8px;
}
.gallery-festive__item {
    position: relative;
    display: block;
    break-inside: avoid;
    margin-bottom: 12px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    background: var(--soft);
}
.gallery-festive__item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s var(--ease), filter .4s;
}
.gallery-festive__item:hover img {
    transform: scale(1.06);
    filter: brightness(.88);
}
.gallery-festive__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
    background: rgba(0,0,0,.18);
}
.gallery-festive__item:hover .gallery-festive__overlay { opacity: 1; }
.gallery-festive__videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.festive-cta {
    margin-top: 48px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
@media (max-width: 900px)  { .gallery-festive { columns: 3 180px; } }
@media (max-width: 600px)  { .gallery-festive { columns: 2 140px; column-gap: 8px; } .gallery-festive__item { margin-bottom: 8px; } }
@media (max-width: 360px)  { .gallery-festive { columns: 1; } }

/* ---------- Festive Category Grid (portfolio page — thumbnail grid, click = fullscreen lightbox) ---------- */
.festive-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 4px;
}
.festive-cat-grid__item {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--soft);
    text-decoration: none;
    cursor: zoom-in;
}
.festive-cat-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .45s var(--ease);
}
.festive-cat-grid__item:hover img { transform: scale(1.05); }

/* Responsive */
@media (max-width: 1024px) { .festive-cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .festive-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
@media (max-width: 360px)  { .festive-cat-grid { grid-template-columns: 1fr; } }


/* ---------- Packages ---------- */
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; align-items: stretch; }
.package-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 32px 28px;
}
.package-card.is-popular { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.package-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.package-card h3 { font-size: 1.35rem; }
.package-card__price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.package-card__price strong { font-family: var(--font-heading); font-size: 2.3rem; color: var(--dark); line-height: 1; }
.package-card__price small, .package-card__price span { color: var(--muted); font-weight: 600; }
.package-card__features { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.package-card__features li { display: flex; gap: 10px; align-items: baseline; }
.package-card__features i { color: var(--primary); }
.package-card__features li.is-off { color: #aaa; }
.package-card__features li.is-off i { color: #ccc; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .4s var(--ease); }

/* ---------- About ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.mv-card i { font-size: 28px; color: var(--accent); margin-bottom: 14px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.team-card { text-align: center; }
.team-card__photo { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; background: var(--soft); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card h3 { font-size: 1.1rem; margin-bottom: 0; }
.team-card .muted { margin-bottom: 6px; font-size: 14px; }
.team-card__bio { font-size: 14px; }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border-top: 1px dashed var(--line); border-left: 1px dashed var(--line); }
.client-logo { aspect-ratio: 1.4; display: grid; place-items: center; padding: 20px; border-right: 1px dashed var(--line); border-bottom: 1px dashed var(--line); background: #fff; }
.client-logo img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.client-logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- FAQ / Career ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s; }
.faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
    font-family: var(--font-heading); font-weight: 600; color: var(--dark); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--primary); transition: transform .25s; }
.faq[open] summary i { transform: rotate(45deg); }
.faq__answer { padding: 0 24px 8px; }
.job-row {
    display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; margin-bottom: 14px;
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--text); transition: .25s;
}
.job-row:hover { box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.job-row h3 { font-size: 1.2rem; margin-bottom: 6px; }
.job-row p { margin: 0; display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.job-row p i { color: var(--primary); margin-right: 4px; }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list i { color: var(--primary); margin-right: 8px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--dark); }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea {
    font: inherit; font-weight: 400; color: var(--text); padding: 12px 16px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
}
.form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-form { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.card-form .h3 { margin-top: 0; }
.form-status { margin: 0; font-weight: 600; font-size: 14px; min-height: 1em; }
.form-status.is-ok { color: var(--primary); }
.form-status.is-error { color: #c0391b; }
.form button[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-card {
    display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius);
    border: 1px solid var(--line); color: var(--dark); background: #fff; font-weight: 600; transition: .2s;
}
a.info-card:hover { border-color: var(--primary); color: var(--primary); }
.info-card i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); font-size: 18px; flex-shrink: 0; }
.info-card small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.3); }

/* ---------- Empty / pagination ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius-lg); }
.empty i { font-size: 40px; color: color-mix(in srgb, var(--primary) 50%, #fff); margin-bottom: 14px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--dark); font-weight: 600; }
.pagination a.is-active, .pagination a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 56px 0; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: #111; color: rgba(255, 255, 255, .7); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 6px 14px; margin-bottom: 18px; }
.footer-logo img { height: 64px; width: auto; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 12px; align-items: baseline; }
.footer-contact i { color: var(--accent); width: 16px; }
.newsletter { position: relative; display: flex; flex-wrap: wrap; margin-top: 22px; }
.newsletter input[type=email] { flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px 0 0 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; outline: none; }
.newsletter button { border: 0; padding: 0 20px; border-radius: 0 999px 999px 0; background: var(--accent); color: #fff; }
.newsletter .form-status { width: 100%; margin-top: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding: 22px 0; font-size: 14px; }
.footer-bottom p { margin: 0; }

/* ---------- Quote drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(480px, 100%); background: #fff;
    padding: 36px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel h2 { font-size: 1.7rem; margin-bottom: 4px; }
.drawer__close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.drawer__call { text-align: center; margin-top: 18px; color: var(--muted); font-size: 14px; }
.drawer__call a { font-weight: 700; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 18px; }
.lightbox button:hover { background: var(--accent); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav.prev { left: 14px; } .lightbox__nav.next { right: 14px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .main-nav { display: none; }
    .hero__services { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .hero__grid, .about-split, .project-layout, .contact-grid, .service-tabs { grid-template-columns: 1fr; }
    .hero__showcase { max-width: 560px; }
    .hero__review { left: 12px; }
    .browser { transform: none; }
    .work-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
    .review-track { grid-auto-columns: minmax(290px, 80%); }
    .service-tabs__list { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .service-tabs__list button { border-left: 0; border-bottom: 3px solid transparent; margin: 0 0 -1px; white-space: nowrap; }
    .service-tabs__list button.is-active { border-bottom-color: var(--primary); background: none; }
    .project-side { position: static; }
    .menu-panel__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
    :root { --header-h: 66px; }
    .brand img { height: 48px; }
    .hide-sm { display: none; }
    .hero__services { grid-template-columns: 1fr 1fr; }
    .hero-service { padding: 14px; font-size: 13px; }
    .work-grid, .service-grid, .mv-grid, .form-row { grid-template-columns: 1fr; }
    .service-panel { grid-template-columns: 1fr; padding: 26px; }
    .logo-strip__inner { flex-direction: column; gap: 12px; align-items: flex-start; }
    .marquee { width: 100%; }
    .stats-card { position: static; margin-top: 16px; }
    .about-split__media { padding-bottom: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .demo__stage { padding: 10px; }
    .demo__frame { height: 64vh; min-height: 380px; }
    .rating-summary .btn { margin-left: 0; }
    .lightbox { padding: 60px 10px; }
    .section-head-row { align-items: flex-start; }
}

/* =====================================================================
   Portfolio-only mode — light, airy layout in the style of longtail.info
   ===================================================================== */
.portfolio-mode { --soft: #f4f4f2; background: #fff; }
.portfolio-mode .site-header { background: rgba(255, 255, 255, .95); }
.portfolio-mode .main-nav { display: flex; gap: 6px; margin-left: auto; }
.portfolio-mode .main-nav a { border: 1px solid transparent; }
.portfolio-mode .main-nav a.is-active { background: transparent; border-color: var(--line); color: var(--dark); }
.portfolio-mode .nav-actions { margin-left: 8px; }
.btn-book { box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-book i { font-size: 12px; transition: transform .2s; }
.btn-book:hover i { transform: translateX(3px); }

.label-pill {
    display: inline-block; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px;
    font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dark);
    background: #fff; margin-bottom: 16px;
}

/* Hero with a faint dotted pattern */
.lt-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 40px; overflow: hidden; }
.lt-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(rgba(28, 28, 27, .13) 1.2px, transparent 1.4px);
    background-size: 16px 16px;
    mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 20%, transparent 75%);
}
.lt-hero h1 { font-size: clamp(2rem, 4.8vw, 3.3rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; margin-bottom: 16px; }
.lt-hero__intro { font-size: 1.08rem; color: var(--muted); max-width: 640px; margin: 0 auto; }

.cat-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.cat-buttons a {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); color: var(--dark);
    font-family: var(--font-heading); font-weight: 500; font-size: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04); transition: .2s var(--ease);
}
.cat-buttons a i { color: var(--primary); font-size: 15px; transition: color .2s; }
.cat-buttons a small { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 1px 8px; transition: .2s; }
.cat-buttons a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.cat-buttons a.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.cat-buttons a.is-active i { color: var(--accent); }
.cat-buttons a.is-active small { background: rgba(255, 255, 255, .15); color: #fff; }

/* Section head: title left, tools right */
.lt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.lt-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 600; margin: 0; }
.lt-head .label-pill { margin-bottom: 12px; }

/* Masonry grid of cards */
.masonry { columns: 3 320px; column-gap: 24px; }
.masonry .work-card {
    break-inside: avoid; margin-bottom: 24px; display: flex; width: 100%;
    background: var(--soft); border-radius: 14px; box-shadow: none; border: 1px solid rgba(0, 0, 0, .04);
}
.masonry .work-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); }
.masonry .work-card__media { aspect-ratio: auto; background: #e9e9e6; }
.masonry .work-card__media img { height: auto; max-height: 560px; object-fit: cover; }
.masonry .work-card[data-type="reel"] .work-card__media img { aspect-ratio: 9 / 14; }
.masonry .work-card__body { padding: 20px 22px 22px; }
.masonry .work-card__body h3 { font-size: 1.15rem; font-weight: 600; }
.masonry .pill { background: transparent; border-color: rgba(28, 28, 27, .3); }
.masonry .work-card__cta { border-top: 0; padding-top: 16px; font-size: 14px; }

/* Light banners in portfolio mode (reviews, project pages) */
.portfolio-mode .page-banner, .portfolio-mode .project-hero { background: #fff; color: var(--dark); padding-bottom: 32px; }
.portfolio-mode .page-banner::before, .portfolio-mode .project-hero::before {
    background: radial-gradient(rgba(28, 28, 27, .12) 1.2px, transparent 1.4px) 0 0 / 16px 16px;
    mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, #000 10%, transparent 70%);
}
.portfolio-mode .page-banner h1, .portfolio-mode .project-hero h1 { color: var(--dark); font-weight: 600; }
.portfolio-mode .page-banner p, .portfolio-mode .project-hero .lead { color: var(--muted); }
.portfolio-mode .page-banner .eyebrow { color: var(--primary); }
.portfolio-mode .crumbs a { color: var(--muted); }
.portfolio-mode .crumbs a:hover { color: var(--primary); }
.portfolio-mode .pills-light .pill { background: #fff; color: var(--dark); border-color: rgba(28, 28, 27, .3); }
.portfolio-mode .side-cta { background: var(--soft); color: var(--text); border: 1px solid var(--line); }
.portfolio-mode .side-cta h3 { color: var(--dark); }
.portfolio-mode .section-soft { background: #fafaf8; }

/* Call to action + footer */
.lt-cta {
    display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
    padding: clamp(28px, 5vw, 48px); border-radius: 22px;
    background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 10%, #fff), color-mix(in srgb, var(--accent) 10%, #fff));
    border: 1px solid var(--line);
}
.lt-cta h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; margin-bottom: 6px; }
.lt-cta p { margin: 0; color: var(--muted); }
.lt-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.lt-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 0; }
.lt-footer__logo img { height: 56px; width: auto; }
.lt-footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.lt-footer__links a { color: var(--dark); font-family: var(--font-heading); font-weight: 500; font-size: 15px; }
.lt-footer__links a:hover { color: var(--primary); }
.lt-footer .socials { margin-top: 0; }
.lt-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.lt-footer__bottom p { margin: 0; }

@media (max-width: 1100px) {
    .portfolio-mode .main-nav { display: flex; }
}
@media (max-width: 640px) {
    .portfolio-mode .nav-wrap { gap: 10px; }
    .portfolio-mode .brand img { height: 40px; }
    .portfolio-mode .main-nav a { padding: 6px 10px; font-size: 14px; }
    .btn-book { padding: 9px 14px; font-size: 13px; }
    .btn-book i { display: none; }
    .cat-buttons { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none; }
    .cat-buttons::-webkit-scrollbar { display: none; }
    .cat-buttons a { flex-shrink: 0; padding: 10px 16px; font-size: 14px; }
    .lt-head .search-box { width: 100%; min-width: 0; }
    .lt-footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    .portfolio-mode .main-nav a:not(.is-active) { padding: 6px 8px; }
}

/* Design / branding cover: keep small images crisp instead of stretching them */
.cover-image { background: var(--soft); display: flex; justify-content: center; }
.cover-image img { width: auto; max-width: 100%; max-height: 72vh; object-fit: contain; }

/* =====================================================================
   Dark theme on every public page, matching technofort.com.np:
   orange light streaks at the top fading into black, hexagon pattern below
   ===================================================================== */
.theme-dark {
    --dark: #ffffff;                      /* headings and strong text */
    --text: rgba(255, 255, 255, .82);
    --muted: rgba(255, 255, 255, .6);
    --line: rgba(255, 255, 255, .14);
    --soft: rgba(255, 255, 255, .05);
    --surface: #141312;
    --shadow: 0 10px 30px rgba(0, 0, 0, .4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
    color: var(--text);
    background: #000;
}
.theme-dark::before {
    content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background: linear-gradient(rgba(0, 0, 0, .78), rgba(0, 0, 0, .88)), #000 var(--hero-bg) center / cover no-repeat;
}
.theme-dark main { position: relative; }
.theme-dark main::before {
    content: ""; position: absolute; top: calc(var(--header-h) * -1); left: 0; right: 0; height: min(900px, 110vh); z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, #000 100%), var(--top-bg) center top / cover no-repeat;
    -webkit-mask-image: linear-gradient(#000 60%, transparent);
    mask-image: linear-gradient(#000 60%, transparent);
}
.theme-dark ::selection { background: var(--accent); color: #fff; }

/* Header */
.theme-dark .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.theme-dark .site-header.is-scrolled { background: rgba(10, 8, 7, .82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 6px 24px rgba(0, 0, 0, .4); }
.theme-dark .main-nav a { color: #fff; }
.theme-dark .main-nav a:hover { color: var(--accent); }
.theme-dark .main-nav a.is-active { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.theme-dark .menu-toggle { background: transparent; }

/* Hero and banners sit on the streak background */
.theme-dark .lt-hero::before,
.theme-dark .page-banner::before,
.theme-dark .project-hero::before { display: none; }
.theme-dark .page-banner, .theme-dark .project-hero { background: transparent; color: #fff; }
.theme-dark .lt-hero h1 { font-weight: 800; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.theme-dark .lt-hero__intro, .theme-dark .page-banner p, .theme-dark .project-hero .lead { color: rgba(255, 255, 255, .85); }
.theme-dark .page-banner h1, .theme-dark .project-hero h1 { font-weight: 800; }
.theme-dark .crumbs a { color: rgba(255, 255, 255, .75); }
.theme-dark .crumbs a:hover, .theme-dark .page-banner .eyebrow { color: var(--accent); }
.theme-dark .label-pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: #fff; }
.theme-dark .pills-light .pill { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }

/* Category buttons and search */
.theme-dark .cat-buttons a { background: rgba(20, 18, 17, .6); border-color: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.theme-dark .cat-buttons a:hover { border-color: var(--primary); color: #fff; background: rgba(70, 146, 100, .18); }
.theme-dark .cat-buttons a.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.theme-dark .cat-buttons a.is-active i { color: #fff; }
.theme-dark .cat-buttons a small { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); }
.theme-dark .search-box { background: var(--surface); border-color: var(--line); }
.theme-dark .search-box input { background: transparent; color: #fff; }
.theme-dark .search-box input::placeholder { color: var(--muted); }
.theme-dark .filter-tabs button, .theme-dark .filter-tabs a { background: var(--surface); color: #fff; }
.theme-dark .filter-tabs .is-active, .theme-dark .filter-tabs button:hover, .theme-dark .filter-tabs a:hover { background: var(--primary); border-color: var(--primary); }

/* Cards */
.theme-dark .work-card, .theme-dark .masonry .work-card { background: var(--surface); border: 1px solid var(--line); }
.theme-dark .masonry .work-card:hover { border-color: rgba(226, 104, 49, .5); box-shadow: 0 16px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(226, 104, 49, .25); }
.theme-dark .work-card__media, .theme-dark .masonry .work-card__media { background: #0c0c0b; }
.theme-dark .work-card__type { background: rgba(0, 0, 0, .7); color: #fff; backdrop-filter: blur(4px); }
.theme-dark .work-card__body h3 a:hover { color: var(--accent); }
.theme-dark .pill, .theme-dark .masonry .pill { background: transparent; border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .85); }
.theme-dark .work-card:hover .arrow-circle { background: var(--accent); border-color: var(--accent); }
.theme-dark .review-card, .theme-dark .card-form, .theme-dark .faq, .theme-dark .info-card,
.theme-dark .package-card, .theme-dark .service-card, .theme-dark .mv-card, .theme-dark .job-row { background: var(--surface); border: 1px solid var(--line); }
.theme-dark .review-card__quote { color: color-mix(in srgb, var(--accent) 60%, transparent); }
.theme-dark .review-card figcaption img.is-logo { border-color: transparent; }
.theme-dark .carousel-nav button { background: transparent; color: #fff; }
.theme-dark .rating-input label { color: rgba(255, 255, 255, .25); }
.theme-dark .empty i { color: var(--accent); }

/* Forms */
.theme-dark .form input:not([type=radio]):not([type=checkbox]), .theme-dark .form select, .theme-dark .form textarea { background: rgba(255, 255, 255, .05); color: #fff; }
.theme-dark .form select option { background: #141312; }
.theme-dark .drawer__panel { background: #0f0e0d; }
.theme-dark .drawer__close { background: transparent; color: #fff; }
.theme-dark .alert-success { background: rgba(70, 146, 100, .15); color: #9fdcb6; }
.theme-dark .alert-error { background: rgba(226, 104, 49, .12); color: #f3b294; border-color: rgba(226, 104, 49, .35); }

/* Buttons that used the dark color as a background */
.theme-dark .btn-outline:hover { background: #fff; color: #111; }
.theme-dark .btn-ghost-light:hover { color: #111; }

/* Project page */
.theme-dark .demo { background: var(--surface); }
.theme-dark .demo__bar { background: #1b1a18; }
.theme-dark .demo__devices button.is-active { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.theme-dark .demo__frame.is-mobile { border-color: #2a2927; }
.theme-dark .facts, .theme-dark .cover-image { background: var(--surface); border: 1px solid var(--line); }
.theme-dark .side-cta {
    color: rgba(255, 255, 255, .8); border: 1px solid rgba(226, 104, 49, .35);
    background: linear-gradient(160deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .8)), #1a0d05 var(--top-bg) center / cover;
}
.theme-dark .side-cta h3 { color: #fff; }
.theme-dark .section-soft { background: rgba(255, 255, 255, .02); border-top: 1px solid var(--line); }

/* Call to action + footer */
.theme-dark .lt-cta {
    border-color: rgba(226, 104, 49, .35);
    background: linear-gradient(100deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .35)), #1a0d05 var(--top-bg) center / cover;
}
.theme-dark .lt-cta p { color: rgba(255, 255, 255, .8); }
.theme-dark .lt-footer { background: rgba(0, 0, 0, .55); }
.theme-dark .lt-footer__links a:hover { color: var(--accent); }
.theme-dark .socials-sm a { color: #fff; }

/* Full-site sections (Home, About, Services, Packages, FAQ, Career, Contact) on the dark theme */
.theme-dark .hero { background: transparent; }
.theme-dark .hero::before { display: none; }
.theme-dark .hero__review { background: rgba(20, 19, 18, .92); border: 1px solid var(--line); }
.theme-dark .logo-strip { background: rgba(0, 0, 0, .5); }
.theme-dark .marquee__track img, .theme-dark .client-logo img { filter: grayscale(1) brightness(1.8); }
.theme-dark .marquee__track img:hover, .theme-dark .client-logo:hover img { filter: none; }
.theme-dark .section-dark { background: rgba(255, 255, 255, .03); border-block: 1px solid var(--line); }
.theme-dark .about-split__brand { background: radial-gradient(circle at 30% 20%, rgba(226, 104, 49, .25), #141312 60%, rgba(70, 146, 100, .2)); }
.theme-dark .stats-card { background: var(--surface); border: 1px solid var(--line); }
.theme-dark .service-tabs__list button.is-active { background: linear-gradient(90deg, rgba(70, 146, 100, .18), transparent); }
.theme-dark .service-panel { background: linear-gradient(135deg, rgba(70, 146, 100, .16), rgba(226, 104, 49, .12)), var(--surface); border: 1px solid var(--line); }
.theme-dark .service-card__num { color: rgba(255, 255, 255, .06); }
.theme-dark .service-card__icon, .theme-dark .info-card i { background: rgba(70, 146, 100, .18); }
.theme-dark .package-card.is-popular { border-color: var(--accent); }
.theme-dark .package-card__features li.is-off, .theme-dark .package-card__features li.is-off i { color: rgba(255, 255, 255, .3); }
.theme-dark .client-grid, .theme-dark .client-logo { background: transparent; }
.theme-dark .team-card__photo { background: var(--surface); }
.theme-dark .rating-summary { border: 1px solid var(--line); }
.theme-dark .map iframe { filter: grayscale(.4) invert(.9) hue-rotate(180deg); border-radius: var(--radius-lg); }
.theme-dark .menu-panel { background-color: #000; }
.theme-dark .cta-band { background: linear-gradient(100deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .3)), #1a0d05 var(--top-bg) center / cover; border-block: 1px solid rgba(226, 104, 49, .35); }
.theme-dark .site-footer { background: rgba(0, 0, 0, .7); border-top: 1px solid var(--line); }
.theme-dark .footer-logo { background: transparent; padding: 0; }

/* =====================================================================
   Portfolio-mode header — same menu as technofort.com.np (Max Mega Menu look)
   ===================================================================== */
.portfolio-mode { --header-h: 120px; }
.tf-header .nav-wrap { justify-content: space-between; gap: 28px; }
.tf-logo { flex-shrink: 0; }
.tf-logo img { width: 150px; height: 150px; object-fit: contain; margin-top: 10px; }
.tf-menu, .tf-sub { list-style: none; margin: 0; padding: 0; }
.tf-menu { display: flex; align-items: center; }
.tf-menu > li { position: relative; }
.tf-link {
    display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px;
    background: none; border: 0; color: #fff;
    font-family: Tahoma, Geneva, sans-serif; font-size: 14px; font-weight: 400; line-height: 40px; white-space: nowrap;
}
.tf-link:hover, .tf-link:focus-visible { color: #fff; }
.tf-link i { font-size: 10px; transition: transform .2s; }
.tf-sub {
    position: absolute; top: 100%; left: 0; z-index: 60; width: 250px;
    border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s;
}
.tf-sub a {
    display: block; padding: 0 10px; background: #fff; color: #666;
    font-family: Tahoma, Geneva, sans-serif; font-size: 12px; line-height: 35px;
}
.tf-sub a:hover, .tf-sub a:focus-visible { background: #e26831; color: #fff; }
.tf-menu > li:nth-last-child(-n+2) > .tf-sub { left: auto; right: 0; }
.tf-toggle { display: none; }

@media (min-width: 769px) {
    .tf-menu > li.has-sub:hover > .tf-sub,
    .tf-menu > li.has-sub:focus-within > .tf-sub { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 768px) {
    .portfolio-mode { --header-h: 76px; }
    .tf-logo img { width: 96px; height: 96px; margin-top: 6px; }
    .tf-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 40px; height: 40px; padding: 0 8px; background: none; border: 0; position: relative; z-index: 90;
    }
    .tf-toggle span { height: 3px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s, background .3s; }
    .tf-header.is-open .tf-toggle span { background: #333; }
    .tf-header.is-open .tf-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .tf-header.is-open .tf-toggle span:nth-child(2) { opacity: 0; }
    .tf-header.is-open .tf-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .tf-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(300px, 85vw);
        background: #fff; padding: 76px 0 24px; overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0, 0, 0, .35);
        transform: translateX(100%); visibility: hidden; transition: transform .4s, visibility .4s;
    }
    .tf-header.is-open .tf-nav { transform: none; visibility: visible; }
    .theme-dark .tf-header.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .tf-menu { flex-direction: column; align-items: stretch; }
    .tf-link { width: 100%; justify-content: space-between; color: #333; font-size: 12px; padding: 0 16px; }
    .tf-link:hover, .tf-link:focus-visible { color: #333; }
    .tf-menu > li.is-current > .tf-link,
    .tf-menu > li.is-open > .tf-link { background: #e26831; color: #fff; }
    .tf-menu > li.is-open > .tf-link i { transform: rotate(180deg); }
    .tf-sub {
        position: static; width: 100%; border-radius: 0; box-shadow: none;
        opacity: 1; visibility: visible; transform: none; display: none;
    }
    .tf-menu > li.is-open > .tf-sub { display: block; }
    .tf-sub a { padding-left: 26px; white-space: normal; line-height: 1.4; padding-block: 10px; }
}
