/* ==========================================================================
   Optima Accounting Services — website design system
   Brand: navy #2E375F / #45577E, orange #EB8634 (from the Optima logo)
   ========================================================================== */
:root {
    --navy-950: #10152C; --navy-900: #171D3A; --navy-800: #1F2749; --navy-700: #2E375F;
    --navy-600: #3A4672; --navy-500: #45577E; --navy-400: #6E7BA0; --navy-300: #A0AAC6;
    --navy-200: #CDD3E4; --navy-100: #E7EAF3; --navy-50: #F4F6FB;
    --orange-700: #B9591A; --orange-600: #D4701F; --orange-500: #EB8634; --orange-400: #F3A15F;
    --orange-100: #FCE6D3; --orange-50: #FFF5EC;
    --green-600: #1A8754; --green-50: #EEFAF3;
    --ink: #141936; --text: #2D3352; --muted: #5F6782; --line: #E4E7EF; --line-2: #EEF0F5;
    --white: #fff; --soft: #F6F7FB; --warm: #FBF8F4;
    --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 26px; --pill: 999px;
    --sh-xs: 0 1px 2px rgba(16,21,44,.06);
    --sh-sm: 0 1px 2px rgba(16,21,44,.05), 0 6px 16px -6px rgba(16,21,44,.10);
    --sh-md: 0 2px 6px rgba(16,21,44,.05), 0 18px 40px -16px rgba(16,21,44,.22);
    --sh-lg: 0 34px 80px -28px rgba(16,21,44,.38);
    --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --f-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(.2,.7,.2,1);
    --header-h: 78px;
    --container: 1220px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4, h5 { font-family: var(--f-head); color: var(--ink); font-weight: 700; line-height: 1.18; letter-spacing: -.022em; margin: 0 0 .55em; }
h1 { font-size: clamp(2.15rem, 5vw, 3.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
::selection { background: var(--orange-100); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(235,134,52,.55); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--navy-900); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { left: 8px; color: #fff; }

/* ---------- Media frames: every image fills its box ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy-50); }
.frame > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ratio-16x10 { aspect-ratio: 16/10; } .ratio-4x3 { aspect-ratio: 4/3; } .ratio-1 { aspect-ratio: 1; }
.ratio-3x4 { aspect-ratio: 3/4; } .ratio-4x5 { aspect-ratio: 4/5; } .ratio-21x9 { aspect-ratio: 21/9; }

/* ---------- Patterns (no gradients) ---------- */
.dots { background-image: radial-gradient(rgba(46,55,95,.12) 1px, transparent 1.4px); background-size: 22px 22px; }
.dots-light { background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.4px); background-size: 24px 24px; }
.deco { position: relative; overflow: hidden; isolation: isolate; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(235,134,52,.35); pointer-events: none; z-index: -1; }
.ring--navy { border-color: rgba(46,55,95,.12); } .ring--light { border-color: rgba(255,255,255,.09); }
.dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--orange-500); z-index: -1; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 .97rem/1.2 var(--f-body); padding: .85rem 1.35rem; border-radius: var(--r); border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55rem .95rem; font-size: .88rem; border-radius: var(--r-sm); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-accent { background: var(--orange-500); color: var(--navy-950); border-color: var(--orange-500); }
.btn-accent:hover { background: var(--orange-400); border-color: var(--orange-400); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(235,134,52,.7); }
.btn-primary { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.btn-primary:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy-300); color: var(--ink); background: var(--soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.btn-wa { background: #1DA851; border-color: #1DA851; color: #fff; }
.btn-wa:hover { background: #178f44; border-color: #178f44; color: #fff; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; color: var(--navy-700); }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Eyebrow, chips ---------- */
.eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .55rem; font: 700 .76rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: var(--pill); font-size: .8rem; font-weight: 600; background: var(--navy-50); color: var(--navy-600); }
.chip--orange { background: var(--orange-50); color: var(--orange-700); }
.chip--light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.16); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-900); color: var(--navy-200); font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: var(--navy-200); } .topbar a:hover { color: #fff; }
.topbar i { color: var(--orange-400); margin-right: .4rem; }
.topbar__list { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.95); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(16,21,44,.45); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav > a, .nav__drop > button { font: 500 .96rem/1 var(--f-body); color: var(--text); padding: .75rem .85rem; border-radius: var(--r-sm); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.nav > a:hover, .nav__drop > button:hover { color: var(--ink); background: var(--soft); }
.nav > a.is-active, .nav__drop.is-active > button { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--orange-500); border-radius: 0; }
.nav__drop { position: relative; }
.nav__drop > button i { font-size: .65rem; opacity: .6; transition: transform .2s; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); width: 620px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: .8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; opacity: 0; visibility: hidden; transition: all .2s var(--ease); }
.nav__drop:hover .mega, .nav__drop:focus-within .mega, .nav__drop.is-open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__drop:hover > button i, .nav__drop.is-open > button i { transform: rotate(180deg); }
.mega a { display: flex; gap: .85rem; padding: .8rem; border-radius: var(--r); color: var(--text); }
.mega a:hover { background: var(--soft); color: var(--ink); }
.mega__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--orange-50); color: var(--orange-600); display: grid; place-items: center; flex: none; }
.mega strong { display: block; color: var(--ink); font-size: .93rem; line-height: 1.3; }
.mega small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: .15rem; }
.header__cta { display: flex; gap: .6rem; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.1rem; }
.drawer { display: none; }
@media (max-width: 1080px) {
    .nav, .header__cta .hide-md { display: none; }
    .burger { display: inline-grid; place-items: center; margin-left: auto; }
    .drawer { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 999; overflow-y: auto; padding: 1rem 20px 7rem; border-top: 1px solid var(--line); }
    .drawer.is-open { display: block; }
    .drawer a { display: flex; align-items: center; gap: .8rem; padding: .95rem .25rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); }
    .drawer a i { color: var(--orange-600); width: 20px; }
    .drawer .drawer__sub a { font-weight: 500; padding-left: 2.2rem; color: var(--text); }
    .drawer .btn { margin-top: 1rem; width: 100%; color: var(--navy-950); }
    .header__inner { gap: 1rem; }
    .logo img { height: 42px; }
}
@media (max-width: 640px) { .topbar .topbar__hide-sm { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.75rem) 0; }
.section-sm { padding: clamp(2.75rem, 5vw, 4rem) 0; }
.bg-soft { background: var(--soft); } .bg-warm { background: var(--warm); }
.bg-navy { background-color: var(--navy-900); color: var(--navy-200); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.head { max-width: 720px; margin-bottom: 3rem; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.bg-navy .head p { color: var(--navy-300); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.head-row .head { margin-bottom: 0; }
.grid { display: grid; gap: 1.5rem; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 991px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split, .split--wide-left { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 6vw, 5rem); background-color: var(--warm); }
.hero h1 { max-width: 17ch; margin-bottom: 1.4rem; font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
.hero h1 em { font-style: normal; color: var(--orange-600); }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem; max-width: 34rem; }
.trust-list li { display: flex; gap: .6rem; font-size: .93rem; font-weight: 500; color: var(--ink); }
.trust-list i { color: var(--green-600); margin-top: 4px; }
@media (max-width: 520px) { .trust-list { grid-template-columns: 1fr; } }
@media (min-width: 992px) { .hero .split--wide-left { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hero__media { position: relative; display: grid; grid-template-columns: 1.3fr .9fr; gap: 1rem; align-items: end; }
.hero__media .frame--main { aspect-ratio: 4/5.2; border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.hero__media .frame--side { aspect-ratio: 4/5; border-radius: var(--r-xl); margin-bottom: 2.5rem; box-shadow: var(--sh-md); }
.float { position: absolute; background: #fff; border-radius: var(--r); padding: .85rem 1rem; box-shadow: var(--sh-lg); display: flex; gap: .75rem; align-items: center; font-size: .86rem; color: var(--ink); z-index: 2; }
.float strong { display: block; font-size: .95rem; line-height: 1.25; }
.float span { color: var(--muted); }
.float__icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); flex: none; font-size: 1.05rem; }
.float--a { left: -26px; top: 12%; } .float--b { right: -12px; bottom: 9%; }
@media (max-width: 991px) { .hero__media { max-width: 560px; } .float--a { left: 8px; } .float--b { right: 8px; } }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip__item { display: flex; align-items: center; gap: .9rem; padding: 1.6rem 1.25rem; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; }
.strip__item i { font-size: 1.4rem; color: var(--navy-500); }
.strip__item strong { display: block; color: var(--ink); font-family: var(--f-head); font-size: 1rem; line-height: 1.25; }
.strip__item span { font-size: .84rem; color: var(--muted); }
@media (max-width: 860px) { .strip__inner { grid-template-columns: 1fr 1fr; } .strip__item:nth-child(3) { border-left: 0; } .strip__item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .strip__inner { grid-template-columns: 1fr; } .strip__item { border-left: 0; border-top: 1px solid var(--line); } .strip__item:first-child { border-top: 0; } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--navy-100); }
.svc { display: flex; flex-direction: column; overflow: hidden; height: 100%; position: relative; }
.svc__media { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-50); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.05); }
.svc__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; position: relative; }
.svc__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--navy-700); color: #fff; display: grid; place-items: center; font-size: 1.25rem; margin: -3.1rem 0 1rem; box-shadow: 0 0 0 5px #fff; position: relative; }
.svc:hover .svc__icon { background: var(--orange-500); color: var(--navy-950); }
.svc h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.svc h3 a { color: var(--ink); }
.svc h3 a::after { content: ''; position: absolute; inset: 0; }
.svc p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc .link-arrow { margin-top: .5rem; }
.feature { padding: 1.75rem; height: 100%; }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); font-size: 1.2rem; margin-bottom: 1.15rem; }
.feature h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- About / media stack ---------- */
.stack { position: relative; padding: 0 0 3rem 3rem; }
.stack .frame--a { aspect-ratio: 4/3.4; border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.stack .frame--b { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--r-xl); border: 8px solid #fff; box-shadow: var(--sh-lg); }
.badge-years { position: absolute; right: -8px; top: 22px; background: var(--navy-900); color: #fff; border-radius: var(--r-lg); padding: 1.1rem 1.3rem; box-shadow: var(--sh-lg); text-align: center; }
.badge-years strong { display: block; font: 800 2rem/1 var(--f-head); color: var(--orange-400); }
.badge-years span { font-size: .8rem; color: var(--navy-200); }
.mvv { display: grid; gap: 1rem; margin-top: 2rem; }
.mvv__item { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.mvv__item i { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-50); color: var(--navy-600); display: grid; place-items: center; flex: none; }
.mvv__item strong { display: block; color: var(--ink); font-family: var(--f-head); }
.mvv__item p { margin: .15rem 0 0; color: var(--muted); font-size: .93rem; }
.values { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.75rem 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 800 2.1rem/1 var(--f-head); color: var(--orange-500); display: block; margin-bottom: 1rem; letter-spacing: -.04em; }
.step h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 991px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Sectors (dark) ---------- */
.sector { padding: 1.6rem; border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); transition: background-color .2s, border-color .2s; height: 100%; }
.sector:hover { background: rgba(255,255,255,.06); border-color: rgba(235,134,52,.45); }
.sector i { font-size: 1.35rem; color: var(--orange-400); margin-bottom: 1rem; display: block; }
.sector h3 { color: #fff; font-size: 1.08rem; margin-bottom: .4rem; }
.sector p { color: var(--navy-300); font-size: .92rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.stat { padding: 2rem 1.5rem; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: 800 clamp(2rem, 4vw, 2.7rem)/1 var(--f-head); color: var(--navy-700); letter-spacing: -.04em; }
.stat span { display: block; margin-top: .55rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Why us ---------- */
.why-list { display: grid; gap: 1.1rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1rem; }
.why-item i { width: 46px; height: 46px; border-radius: 12px; background: var(--orange-500); color: var(--navy-950); display: grid; place-items: center; flex: none; font-size: 1.05rem; }
.why-item h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.why-item p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Team ---------- */
.member { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.member__photo { aspect-ratio: 4/4.4; overflow: hidden; background: var(--navy-50); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__body { padding: 1.35rem 1.4rem 1.5rem; }
.member__body h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.member__role { color: var(--orange-600); font-weight: 600; font-size: .9rem; }
.member__cred { color: var(--muted); font-size: .85rem; margin-top: .25rem; }
.profile { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 2.5rem; align-items: start; padding: 2rem; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; scroll-margin-top: calc(var(--header-h) + 20px); }
.profile + .profile { margin-top: 1.5rem; }
.profile .frame { aspect-ratio: 4/4.6; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } .profile .frame { max-width: 320px; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 3rem) / 3)); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.5rem; scrollbar-width: thin; }
.quote { margin: 0; scroll-snap-align: start; padding: 2rem; display: flex; flex-direction: column; height: 100%; }
.quote__stars { color: var(--orange-500); font-size: .9rem; margin-bottom: 1rem; letter-spacing: .1em; }
.quote blockquote { margin: 0 0 1.5rem; font-size: 1.05rem; color: var(--ink); line-height: 1.6; flex: 1; }
.quote__who { display: flex; align-items: center; gap: .85rem; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none; overflow: hidden; }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__who strong { display: block; color: var(--ink); }
.quote__who span { font-size: .86rem; color: var(--muted); }
.carousel-nav { display: flex; gap: .5rem; }
.carousel-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.carousel-nav button:hover { border-color: var(--navy-300); background: var(--soft); }
@media (max-width: 760px) { .quotes { grid-auto-columns: 86%; } }

/* ---------- Blog cards ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; position: relative; }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-50); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--navy-300); font-size: 2rem; }
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: var(--muted); margin-bottom: .65rem; }
.post-meta a { color: var(--orange-600); font-weight: 600; position: relative; z-index: 2; }
.post-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: .5rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .94rem; flex: 1; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font: 600 1.02rem/1.4 var(--f-head); color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-50); color: var(--navy-600); display: grid; place-items: center; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange-500); color: var(--navy-950); }
.faq .faq__a { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { border-radius: var(--r-xl); padding: clamp(2.25rem, 5vw, 3.75rem); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem; align-items: center; background-color: var(--navy-900); color: var(--navy-200); }
.cta h2 { color: #fff; margin-bottom: .6rem; }
.cta p { margin: 0; color: var(--navy-300); font-size: 1.05rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Page header ---------- */
.page-head { position: relative; padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); color: var(--navy-200); background-color: var(--navy-900); isolation: isolate; overflow: hidden; }
.page-head__bg { position: absolute; inset: 0; z-index: -2; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head::before { content: ''; position: absolute; inset: 0; background: rgba(23,29,58,.86); z-index: -1; }
.page-head h1 { color: #fff; max-width: 22ch; margin-bottom: .8rem; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-head p { font-size: 1.12rem; max-width: 46rem; color: var(--navy-200); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .86rem; margin-bottom: 1.25rem; list-style: none; padding: 0; }
.crumbs a { color: var(--navy-200); } .crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: '/'; margin-right: .45rem; opacity: .5; }

/* ---------- Service detail ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }
@media (max-width: 991px) { .layout { grid-template-columns: 1fr; } .sidebar { position: static; } }
.prose { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; } .prose h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.4rem; } .prose li { margin-bottom: .45rem; }
.prose img { border-radius: var(--r); margin: 1.5rem 0; }
.prose blockquote { margin: 1.75rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--orange-500); background: var(--warm); border-radius: 0 var(--r) var(--r) 0; color: var(--ink); font-size: 1.08rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--soft); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }
.checks li { display: flex; gap: .65rem; font-size: .98rem; color: var(--ink); }
.checks i { color: var(--green-600); margin-top: 5px; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.panel h3 { font-size: 1.08rem; margin-bottom: 1rem; }
.panel--dark { background-color: var(--navy-900); border-color: var(--navy-900); color: var(--navy-200); }
.panel--dark h3 { color: #fff; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .7rem .8rem; border-radius: var(--r-sm); color: var(--text); font-weight: 500; font-size: .94rem; }
.side-links a:hover, .side-links a.is-active { background: var(--soft); color: var(--ink); }
.side-links a.is-active { box-shadow: inset 3px 0 0 var(--orange-500); }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.contact-lines li { display: flex; gap: .8rem; }
.contact-lines i { color: var(--orange-400); width: 18px; margin-top: 4px; }
.contact-lines a { color: inherit; }

/* ---------- Blog / post ---------- */
.post-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 24ch; }
.post-cover { aspect-ratio: 16/8; border-radius: var(--r-xl); overflow: hidden; margin-bottom: 3rem; background: var(--navy-50); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.author { display: flex; align-items: center; gap: .85rem; }
.share { display: flex; gap: .5rem; flex-wrap: wrap; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; color: var(--ink); background: #fff; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.search { display: flex; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.search input { flex: 1; border: 0; padding: .8rem 1rem; font: inherit; outline: 0; min-width: 0; }
.search button { border: 0; background: var(--navy-700); color: #fff; padding: 0 1.1rem; cursor: pointer; }
.cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-pills a { padding: .5rem .95rem; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; color: var(--text); font-size: .9rem; font-weight: 500; }
.cat-pills a:hover { border-color: var(--navy-300); color: var(--ink); }
.cat-pills a.is-active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.pager__item { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 .8rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 600; }
.pager__item.is-active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.pager__gap { align-self: center; color: var(--muted); }
.empty { text-align: center; padding: 3.5rem 1.5rem; border: 1.5px dashed var(--line); border-radius: var(--r-lg); }
.empty i { font-size: 2rem; color: var(--navy-300); margin-bottom: 1rem; }

/* ---------- Contact ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label.lbl { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .4rem; }
.input, .select, .textarea { width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .8rem .95rem; transition: border-color .15s, box-shadow .15s; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--navy-400); box-shadow: 0 0 0 4px rgba(69,87,126,.15); }
.textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.notice { display: flex; gap: .75rem; padding: 1rem 1.15rem; border-radius: var(--r); font-size: .95rem; margin-bottom: 1.25rem; }
.notice--ok { background: var(--green-50); color: #145F3D; border: 1px solid #CDEBDB; }
.notice--err { background: #FDF0EF; color: #9F2D25; border: 1px solid #F6D3D0; }
.contact-card { display: flex; gap: 1rem; padding: 1.5rem; height: 100%; }
.contact-card i { width: 50px; height: 50px; border-radius: 14px; background: var(--orange-50); color: var(--orange-600); display: grid; place-items: center; font-size: 1.15rem; flex: none; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-card a:hover { color: var(--orange-600); }
.map { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; background: var(--navy-50); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map { aspect-ratio: 4/3; } }

/* ---------- Footer ---------- */
.footer { background-color: var(--navy-950); color: var(--navy-300); padding: 4.5rem 0 0; font-size: .94rem; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--f-body); margin-bottom: 1.2rem; }
.footer a { color: var(--navy-200); } .footer a:hover { color: var(--orange-400); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer__logo img { height: 52px; width: auto; margin-bottom: 1.25rem; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; }
.social a:hover { background: var(--orange-500); border-color: var(--orange-500); color: var(--navy-950); }
.footer__bottom { margin-top: 3.5rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 991px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating actions ---------- */
.quick { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; }
.quick a { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.1rem; border-radius: var(--pill); font-weight: 600; font-size: .9rem; box-shadow: var(--sh-md); }
.quick .quick__wa { background: #1DA851; color: #fff; } .quick .quick__wa:hover { background: #178f44; color: #fff; }
.quick .quick__learn { background: var(--navy-700); color: #fff; } .quick .quick__learn:hover { background: var(--navy-800); color: #fff; }
@media (max-width: 640px) {
    .quick { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; }
    .quick a { flex: 1; justify-content: center; border-radius: 0; padding: .95rem .5rem; font-size: .86rem; box-shadow: 0 -4px 14px rgba(0,0,0,.08); }
    body { padding-bottom: 54px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
