/* Pak-Tech Engineering Consultant Private Limited - site styles */

/* ========== Tokens ========== */
:root {
    --bg: #FAF7F0;
    --surface: #FFFFFF;
    --surface-2: #F3EEE2;
    --ink: #1D1B16;
    --ink-2: #46413A;
    --muted: #5F5A4E;
    --gold: #C9A84C;
    --gold-600: #A88A35;
    --gold-text: #7A5C14;
    --line: #E5DCC8;
    --line-strong: #CFC1A0;
    --night: #15130E;
    --night-2: #1E1B14;
    --night-line: #36312A;
    --on-dark: #F5F0E3;
    --on-dark-muted: #BDB5A3;
    --ok: #1F6F43;
    --ok-bg: #E8F3EC;
    --warn: #7A4F00;
    --warn-bg: #FBF1DC;
    --bad: #A12A2A;
    --bad-bg: #FBE9E7;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(29, 27, 22, .05), 0 8px 24px rgba(29, 27, 22, .06);
    --header-h: 64px;
    --gutter: 16px;
    --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 24px; --header-h: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 32px; } }

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); }
body.menu-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 2000; }
.skip-link:focus { top: 8px; color: #fff; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

/* ========== Buttons ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 24px; border-radius: 8px;
    font-family: var(--font-head); font-weight: 500; font-size: 15px; line-height: 1.2; text-decoration: none; letter-spacing: .01em;
    border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gold); color: var(--night); border-color: var(--gold); }
.btn-primary:hover { background: #D6B65C; border-color: #D6B65C; color: var(--night); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201, 168, 76, .28); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost-light:hover { border-color: var(--ink); color: var(--ink); }
.btn-danger { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--gold-text); text-decoration: none; }
.text-link i { transition: transform .2s ease; font-size: 12px; }
.text-link:hover { color: var(--ink); }
.text-link:hover i { transform: translateX(4px); }

/* ========== Top bar ========== */
.topbar { display: none; background: var(--surface-2); color: var(--ink-2); font-size: 13.5px; border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold-text); }
.topbar i { color: var(--gold-text); }
.topbar-left, .topbar-right { display: flex; gap: 24px; align-items: center; }
@media (min-width: 900px) { .topbar { display: block; } }

/* ========== Header / navigation ========== */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(29, 27, 22, .07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; flex: 0 0 auto; }
.brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .06em; color: var(--ink); white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 44px; min-height: 44px; padding: 0 12px;
    background: transparent; border: 1.5px solid var(--line-strong); border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14px;
}
.menu-toggle .bars { position: relative; width: 18px; height: 12px; }
.menu-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 5px; }
.menu-toggle .bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 479px) {
    .menu-toggle .menu-label { display: none; }
    .brand { gap: 8px; } .brand img { height: 32px; } .brand-word { font-size: 16px; letter-spacing: .04em; }
    .header-inner { gap: 10px; } .header-actions { gap: 6px; }
    .header-cta { padding: 8px 12px; font-size: 13.5px; }
}
@media (max-width: 359px) {
    .brand img { height: 28px; } .brand-word { font-size: 14.5px; letter-spacing: .02em; }
    .header-inner { gap: 6px; } .header-cta { padding: 8px 10px; font-size: 13px; }
}

.site-menu {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(29, 27, 22, .1); padding: 8px var(--gutter) 24px; display: none;
}
.site-menu.open { display: block; animation: menuIn .25s ease both; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list > li { border-bottom: 1px solid var(--line); }
.menu-link, .submenu-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%;
    min-height: 50px; padding: 10px 4px; background: none; border: 0;
    color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 16px; cursor: pointer; text-align: left;
}
.menu-link[aria-current="page"], .has-submenu.current > .submenu-toggle { color: var(--gold-text); }
.submenu-toggle .chev { transition: transform .25s ease; font-size: 11px; }
.submenu-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 0 0 10px 8px; display: none; }
.has-submenu.open .submenu { display: block; }
.submenu a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; border-radius: 6px; }
.submenu a i { width: 18px; color: var(--gold-text); text-align: center; }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.submenu .submenu-all { font-weight: 600; color: var(--gold-text); }

@media (min-width: 1100px) {
    .menu-toggle { display: none; }
    .site-menu { position: static; display: block; max-height: none; overflow: visible; background: none; border: 0; box-shadow: none; padding: 0; animation: none !important; }
    .menu-list { display: flex; align-items: center; gap: 2px; }
    .menu-list > li { border: 0; position: relative; }
    .menu-link, .submenu-toggle { min-height: 44px; padding: 8px 14px; font-size: 15px; color: var(--ink-2); width: auto; position: relative; }
    .menu-link::after, .submenu-toggle::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
    .menu-link:hover::after, .menu-link[aria-current="page"]::after, .has-submenu.current > .submenu-toggle::after { transform: scaleX(1); }
    .submenu-toggle::after { right: 30px; }
    .menu-link:hover, .submenu-toggle:hover { color: var(--ink); }
    .submenu {
        position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: 10px;
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(29, 27, 22, .12);
        display: block; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .submenu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
    .has-submenu:hover .submenu, .has-submenu:focus-within .submenu, .has-submenu.open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
}

/* ========== Hero (home) ========== */
.hero {
    position: relative; overflow: hidden; padding: 48px 0 56px;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(201, 168, 76, .18), transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(201, 168, 76, .08), transparent 45%),
        var(--bg);
}
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(122, 92, 20, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 92, 20, .06) 1px, transparent 1px);
    background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.hero .container { position: relative; }
@media (min-width: 1024px) { .hero { padding: 72px 0 72px; } }
.hero-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; padding: 6px 14px 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .75); }
.kicker .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s ease-out infinite; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold-text); background: linear-gradient(rgba(201, 168, 76, .38), rgba(201, 168, 76, .38)) no-repeat 0 88% / 100% .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: underline 1.1s .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-lead { font-size: 18px; color: var(--ink-2); max-width: 600px; margin-bottom: 32px; }
.hero-trust { list-style: none; padding: 0; margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--gold-600); }

.hero-stats { margin-top: 48px; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; } }
.hero-stat { padding: 22px 16px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease; }
.hero-stat:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(29, 27, 22, .08); }
.hero-stat strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.3rem); color: var(--gold-text); line-height: 1.1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.hero-stat span { font-size: 14px; color: var(--muted); }

/* ========== Inner page hero ========== */
.page-hero { position: relative; overflow: hidden; padding: 44px 0 48px; border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse at 90% 0%, rgba(201, 168, 76, .22), transparent 50%), var(--surface-2); }
.page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(122, 92, 20, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 92, 20, .07) 1px, transparent 1px);
    background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000); mask-image: linear-gradient(90deg, transparent 35%, #000); }
.page-hero::after { content: ''; position: absolute; right: -90px; top: 50%; width: 340px; height: 340px; margin-top: -170px; border-radius: 50%; border: 1.5px dashed rgba(168, 138, 53, .5); animation: spin 60s linear infinite; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
@media (min-width: 768px) { .page-hero { padding: 64px 0 68px; } }
.page-hero h1 { margin-bottom: 12px; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p.lead { color: var(--ink-2); font-size: 18px; max-width: 680px; margin: 0; }
.page-hero .hero-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--gold-text); font-size: 22px; margin-bottom: 20px; box-shadow: var(--shadow); }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-text); }
.breadcrumb [aria-current] { color: var(--gold-text); font-weight: 500; }

/* contact list */
.quick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.quick-list a, .quick-list div { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background-color .2s ease; }
.quick-list a:hover { background: var(--surface-2); color: var(--ink); }
.quick-list i { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); color: var(--gold-text); }
.quick-list small { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.quick-list span { font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }

/* ========== Sections ========== */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-white { background: var(--surface); }
.section-cream { background: var(--bg); }
.eyebrow { display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.dark .eyebrow { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before, .section-head.center .eyebrow::after { content: ''; display: inline-block; width: 24px; height: 1.5px; background: currentColor; vertical-align: middle; margin: 0 12px; opacity: .7; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.dark .section-head p { color: var(--on-dark-muted); }
.section-foot { margin-top: 40px; text-align: center; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-width: 0; }
.prose p { color: var(--ink-2); font-size: 17px; }
.prose h2 { margin-top: 1.4em; }

/* ========== Authorities strip ========== */
.authority-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.authority-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 40px; padding-top: 28px; padding-bottom: 28px; }
.authority-strip .label { font-family: var(--font-head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.authority { display: flex; align-items: center; gap: 12px; }
.authority b { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .06em; color: var(--ink); }
.authority span { font-size: 13.5px; color: var(--muted); max-width: 170px; line-height: 1.35; }

/* ========== Service cards ========== */
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.service-card {
    position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
    color: var(--ink); text-decoration: none; overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.service-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-card:hover { border-color: var(--line-strong); box-shadow: 0 16px 36px rgba(29, 27, 22, .09); transform: translateY(-4px); color: var(--ink); }
.service-card:hover::after { transform: scaleX(1); }
.icon-box { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--gold-text); font-size: 20px; margin-bottom: 8px; transition: background-color .3s ease, color .3s ease; }
.service-card:hover .icon-box { background: var(--gold); color: var(--night); }
.service-card h3 { margin: 0; font-size: 1.12rem; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }
.card-more { margin-top: auto; padding-top: 10px; font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--gold-text); display: inline-flex; align-items: center; gap: 8px; }
.card-more i { font-size: 11px; transition: transform .2s ease; }
.service-card:hover .card-more i { transform: translateX(4px); }

/* tools band (dark) */
.tool-card {
    display: flex; gap: 18px; align-items: flex-start; min-width: 0;
    background: rgba(255, 255, 255, .03); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 24px;
    color: var(--on-dark); text-decoration: none; transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
}
.tool-card:hover { background: rgba(255, 255, 255, .06); border-color: rgba(201, 168, 76, .5); transform: translateY(-3px); color: #fff; }
.tool-card .icon-box { flex: 0 0 48px; width: 48px; height: 48px; margin: 0; background: rgba(201, 168, 76, .14); color: var(--gold); }
.tool-card h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--on-dark); }
.tool-card p { margin: 0; font-size: 14.5px; color: var(--on-dark-muted); }
.tools-light .tool-card { background: var(--surface); border-color: var(--line); color: var(--ink); }
.tools-light .tool-card:hover { border-color: var(--line-strong); box-shadow: 0 16px 36px rgba(29, 27, 22, .09); color: var(--ink); }
.tools-light .tool-card h3 { color: var(--ink); }
.tools-light .tool-card p { color: var(--muted); }
.tools-light .tool-card .icon-box { background: var(--surface-2); color: var(--gold-text); }

/* ========== About / facts ========== */
.split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; } }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check-list li { display: flex; gap: 12px; align-items: center; font-family: var(--font-head); font-weight: 500; }
.check-list i { flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--night); font-size: 11px; }
.facts { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.facts h3 { font-size: 1.15rem; margin-bottom: 14px; }
.facts dl { margin: 0; display: grid; gap: 0; }
.facts dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 500; font-size: 15px; }

/* ========== Leadership ========== */
.team-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); max-width: 900px; margin: 0 auto; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; text-align: center; transition: box-shadow .3s ease, transform .3s ease; }
.team-card:hover { box-shadow: 0 16px 36px rgba(29, 27, 22, .09); transform: translateY(-3px); }
.avatar { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #EADBA9, var(--gold)); color: var(--night); font-family: var(--font-head); font-weight: 600; font-size: 28px; letter-spacing: .04em; box-shadow: 0 0 0 6px var(--surface-2); }
.team-card h3 { margin: 0 0 4px; font-size: 1.3rem; }
.role { font-family: var(--font-head); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.team-card p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.team-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ========== CTA band ========== */
.cta-band { background: radial-gradient(ellipse at 100% 0%, rgba(201, 168, 76, .3), transparent 55%), var(--surface-2); border-top: 1px solid var(--line); padding: 64px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: var(--ink-2); margin: 0; font-size: 17px; }

/* ========== Service detail ========== */
.detail-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; } }
.include-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .include-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.include-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-weight: 500; }
.include-list i { color: var(--gold-text); margin-top: 4px; }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card .facts { margin-bottom: 20px; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 8px 4px; border-bottom: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 15px; }
.side-links a:hover { color: var(--gold-text); }
.side-links a i { font-size: 11px; color: var(--muted); }

/* ========== Blog ========== */
.blog-card { display: flex; flex-direction: column; gap: 8px; text-align: left; cursor: pointer; width: 100%; font: inherit; color: inherit; transition: box-shadow .3s ease, transform .3s ease; }
.blog-card:hover { box-shadow: 0 16px 36px rgba(29, 27, 22, .09); transform: translateY(-3px); }
.tag { display: inline-block; font-family: var(--font-head); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.blog-date { font-size: 14px; color: var(--muted); }

/* ========== Contact ========== */
.contact-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; } }
.contact-panel { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 16px; padding: 32px; }
.contact-panel h2 { font-size: 1.4rem; }
.contact-panel > p { color: var(--muted); }
.contact-panel .quick-list a, .contact-panel .quick-list div { padding-left: 0; }
.contact-form { padding: 32px; }

/* ========== Forms ========== */
.form-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 13px; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; font-size: 16px;
    background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 8px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(201, 168, 76, .22); }
.field input[readonly] { background: var(--surface-2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--bad); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--gold-600); flex: 0 0 auto; }
.segmented { display: inline-flex; flex-wrap: wrap; border: 1.5px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.segmented button { min-height: 44px; padding: 8px 16px; background: var(--surface); border: 0; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background-color .2s ease, color .2s ease; }
.segmented button + button { border-left: 1.5px solid var(--line-strong); }
.segmented button[aria-pressed="true"] { background: var(--gold); color: var(--night); }

/* ========== Messages ========== */
.msg { border-radius: 8px; padding: 12px 14px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; animation: fadeUp .3s ease both; }
.msg i { margin-top: 4px; }
.msg p { margin: 0; }
.msg ul { margin: 4px 0 0; padding-left: 18px; }
.msg a { color: inherit; font-weight: 600; }
.msg-ok { background: var(--ok-bg); color: var(--ok); }
.msg-warn { background: var(--warn-bg); color: var(--warn); }
.msg-bad { background: var(--bad-bg); color: var(--bad); }
.empty { border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 24px 16px; text-align: center; color: var(--muted); font-size: 15px; }

/* ========== Footer ========== */
.site-footer { background: var(--night); color: var(--on-dark); padding: 72px 0 24px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 44px; background: #fff; border-radius: 8px; padding: 4px; }
.footer-brand span { font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; font-size: 20px; color: #fff; }
.site-footer p { color: var(--on-dark-muted); font-size: 15px; }
.site-footer h2 { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: flex; align-items: center; min-height: 40px; font-size: 15px; }
@media (max-width: 1023px) { .footer-links a { min-height: 44px; } }
.footer-people { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; font-size: 15px; color: var(--on-dark); }
.footer-people span { display: block; color: var(--on-dark-muted); font-size: 14px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--night-line); border-radius: 10px; color: var(--on-dark); }
.socials a:hover { border-color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--night-line); margin-top: 48px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--on-dark-muted); }
.footer-bottom p { margin: 0; font-size: 14px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

.whatsapp-fab { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 900; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1E7D45; color: #fff; font-size: 26px; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); transition: transform .2s ease, background-color .2s ease; }
.whatsapp-fab:hover { color: #fff; background: #17663A; transform: scale(1.06); }

/* ========== Dialogs ========== */
dialog.panel { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 14px; padding: 0; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
dialog.panel::backdrop { background: rgba(21, 19, 14, .6); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 24px 24px 0; }
.dialog-head h2 { font-size: 1.4rem; margin: 4px 0; }
.dialog-body { padding: 16px 24px 28px; overflow-y: auto; }
.icon-btn { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; font-size: 16px; }
.icon-btn:hover { background: var(--surface-2); }

/* ========== Compliance suite (tool pages) ========== */
.suite { padding: 32px 0 72px; }
.suite-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .suite-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; } }
.suite-nav { min-width: 0; }
.suite-nav h2 { font-family: var(--font-head); font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.suite-tabs { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; -webkit-overflow-scrolling: touch; }
.suite-tabs li { flex: 0 0 auto; }
.suite-tabs a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 14px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.suite-tabs a i { width: 18px; text-align: center; color: var(--gold-text); }
.suite-tabs a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.suite-tabs a[aria-current="page"] i { color: var(--night); }
@media (min-width: 1024px) {
    .suite-nav { position: sticky; top: calc(var(--header-h) + 24px); }
    .suite-tabs { flex-direction: column; overflow: visible; }
    .suite-tabs a { white-space: normal; border-color: transparent; background: transparent; }
    .suite-tabs a:hover { background: var(--surface-2); }
}
.tool { min-width: 0; }
.tool-actions { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.how-to { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 20px; }
.how-to h2 { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.how-to ol { margin: 0; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.how-to li + li { margin-top: 3px; }
.estimate-note { font-size: 14px; color: var(--muted); margin-top: 20px; display: flex; gap: 8px; align-items: flex-start; }
.estimate-note i { margin-top: 4px; color: var(--gold-text); }
.tool-stack { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.tool-split { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1200px) { .tool-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.card h2 { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.card h3.sub { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin: 22px 0 10px; }
.results { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 136px), 1fr)); margin-top: 16px; animation: fadeUp .3s ease both; }
.result { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; padding: 12px 14px; background: var(--bg); min-width: 0; }
.result .k { font-size: 13px; font-weight: 600; color: var(--muted); }
.result .v { font-family: var(--font-head); font-size: clamp(16px, 4.2vw, 20px); font-weight: 600; overflow-wrap: anywhere; }
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: var(--surface-2); }
.data-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table tr.active td { background: #FBF4E0; font-weight: 700; }
.data-table tfoot td { font-weight: 700; }

/* invoice editor */
.inv-form { container-type: inline-size; }
.inv-form .form-grid.cols-2, .inv-form .form-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
@container (min-width: 420px) { .inv-form .form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 560px) { .inv-form .form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.items-head { display: none; }
.item-row { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; background: var(--bg); }
.item-row .f-desc { grid-column: 1 / -1; }
.item-row .f-amt { display: flex; flex-direction: column; justify-content: flex-end; }
.item-row .f-amt output { min-height: 48px; display: flex; align-items: center; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.item-row .f-del { grid-column: 1 / -1; }
.item-row .f-del button { width: 100%; }
@container (min-width: 560px) {
    .items-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr) 44px; gap: 10px; padding: 0 12px 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
    .item-row { grid-template-columns: minmax(0, 3fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr) 44px; align-items: end; }
    .item-row .f-desc, .item-row .f-del { grid-column: auto; }
    .item-row .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .item-row .f-del button { width: 44px; padding: 0; }
    .item-row .f-del .del-text { display: none; }
}
.sig-box { position: relative; border: 1.5px dashed var(--line-strong); border-radius: 8px; background: var(--surface); }
.sig-box canvas { display: block; width: 100%; height: 150px; touch-action: none; cursor: crosshair; }
.sig-box .sig-hint { position: absolute; left: 12px; bottom: 8px; font-size: 13px; color: var(--muted); pointer-events: none; }
.sig-actions { display: flex; justify-content: flex-end; margin-top: 8px; }

/* printable documents */
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: #111; font-size: 14px; min-width: 0; box-shadow: var(--shadow); }
@media (min-width: 768px) { .doc { padding: 32px; } }
.doc-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--gold); margin-bottom: 16px; }
.doc-company { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.doc-company img { height: 44px; }
.doc-company h2 { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.doc-company p, .doc-meta p { margin: 0; font-size: 13px; color: #444; }
.doc-meta { text-align: right; margin-left: auto; }
.doc-meta h3 { font-family: var(--font-head); letter-spacing: .14em; font-size: 18px; margin: 0 0 4px; }
.doc-section-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #666; margin: 0 0 4px; }
.doc .data-table { font-size: 13px; }
.doc .data-table th { background: #F5F1E6; color: #333; }
.doc-totals { margin-left: auto; width: min(100%, 300px); margin-top: 12px; }
.doc-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #eee; font-variant-numeric: tabular-nums; }
.doc-totals .grand { font-weight: 700; font-size: 15px; border-bottom: 2px solid #111; }
.doc-words { margin-top: 12px; font-size: 13px; }
.doc-sign { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-top: 32px; }
.doc-sign > div { width: 180px; max-width: 100%; text-align: center; font-size: 12px; color: #555; }
.doc-sign .line { height: 60px; border-bottom: 1px solid #555; margin-bottom: 4px; display: flex; align-items: flex-end; justify-content: center; }
.doc-sign img { max-height: 56px; max-width: 100%; }
.doc-foot { margin-top: 24px; font-size: 12px; color: #666; text-align: center; }
.doc-placeholder { color: #888; font-style: italic; }
.slip-tables { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .slip-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.net-pay { margin-top: 16px; padding: 12px 16px; border: 2px solid var(--gold); border-radius: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 16px; }
.emp-grid { display: grid; gap: 8px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-bottom: 16px; }

/* SECP ledger */
.ledger-head { display: none; }
.ledger-row { display: grid; gap: 8px 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 0; border-bottom: 1px solid var(--line); }
.ledger-row .month { grid-column: 1 / -1; display: flex; justify-content: space-between; font-weight: 700; }
.ledger-row .month output { font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (min-width: 640px) {
    .ledger-head { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
    .ledger-row { grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 6px 0; }
    .ledger-row .month { grid-column: auto; flex-direction: column; }
    .ledger-row .month output { font-size: 13px; }
    .ledger-row .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.chart-box { position: relative; height: 260px; width: 100%; }
.confirm-bar { margin-top: 12px; }

/* deadlines */
.deadline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.deadline { display: grid; gap: 6px 16px; grid-template-columns: minmax(0, 1fr); padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--line-strong); border-radius: 10px; background: var(--surface); animation: fadeUp .35s ease both; }
@media (min-width: 640px) { .deadline { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.deadline h3 { font-family: var(--font-head); font-size: 16px; margin: 0; }
.deadline p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
@media (min-width: 640px) { .deadline .when { text-align: right; } }
.deadline .date { font-weight: 700; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-top: 4px; }
.deadline.urgent { border-left-color: var(--bad); } .deadline.urgent .badge { background: var(--bad-bg); color: var(--bad); }
.deadline.soon { border-left-color: #C98A00; } .deadline.soon .badge { background: var(--warn-bg); color: var(--warn); }
.deadline.later { border-left-color: var(--ok); } .deadline.later .badge { background: var(--ok-bg); color: var(--ok); }
.auth-pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: 4px; background: var(--surface-2); color: var(--gold-text); margin-right: 8px; vertical-align: 2px; }

/* penalty */
.penalty-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .penalty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.penalty-result { margin-top: 16px; }
.penalty-result dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 12px 0 0; animation: fadeUp .3s ease both; }
.penalty-result dt { color: var(--muted); font-size: 14px; }
.penalty-result dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.rule { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* ========== 404 ========== */
.notfound { text-align: center; padding: 96px 0; }
.notfound .code { font-family: var(--font-head); font-size: 72px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px; }

/* ========== Motion ========== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 168, 76, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(201, 168, 76, 0); } }
@keyframes ripple { 0% { transform: scale(.88); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes underline { from { background-size: 0% .16em; } to { background-size: 100% .16em; } }
@keyframes heroScale { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero .kicker, .hero h1, .hero-lead, .hero .btn-row, .hero-trust, .page-hero .container > * { animation: heroIn .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-trust { animation-delay: .32s; }
.hero h1, .page-hero .container > :nth-child(2) { animation-delay: .08s; }
.hero-lead, .page-hero .container > :nth-child(3) { animation-delay: .16s; }
.hero .btn-row, .page-hero .container > :nth-child(4) { animation-delay: .24s; }
.advisor-card { animation: heroScale .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .service-card.reveal.in, .js .tool-card.reveal.in, .js .team-card.reveal.in { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .35s ease, border-color .3s ease, box-shadow .3s ease, background-color .3s ease; }
.js .service-card.reveal.in:hover { transform: translateY(-4px); }
.js .tool-card.reveal.in:hover, .js .team-card.reveal.in:hover { transform: translateY(-3px); }
dialog.panel[open] { animation: dialogIn .25s cubic-bezier(.2, .7, .2, 1); }
dialog.panel[open]::backdrop { animation: fadeIn .25s ease; }

/* ========== Print ========== */
@media print {
    @page { margin: 12mm; }
    body { background: #fff; }
    body * { visibility: hidden; }
    body[data-print="invoice"] #invoice-doc, body[data-print="invoice"] #invoice-doc *,
    body[data-print="slip"] #slip-doc, body[data-print="slip"] #slip-doc * { visibility: visible; }
    body[data-print="invoice"] #invoice-doc, body[data-print="slip"] #slip-doc { position: absolute; left: 0; top: 0; width: 100%; border: 0; padding: 0; box-shadow: none; }
    .site-header, .topbar, .whatsapp-fab { display: none !important; }
    .table-scroll { overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- content managed from the admin panel ---------- */
.announce { background: var(--night); color: var(--on-dark); font-size: 14px; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; text-align: center; flex-wrap: wrap; }
.announce i { color: var(--gold); }
.announce a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.menu-book { display: block; }
@media (min-width: 1100px) { .menu-book, .menu-home { display: none; } }
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.client-logo { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; min-width: 0; max-width: 100%; }
.client-logo .mark { flex: 0 0 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2, #F3EEE2); color: var(--gold-text); font-family: var(--font-head); font-weight: 600; }
.client-logo b { display: block; font-size: 15px; overflow-wrap: anywhere; }
.client-logo span { font-size: 13px; color: var(--muted); }
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.quote-card blockquote { margin: 0; font-size: 16px; line-height: 1.65; }
.quote-card blockquote::before { content: '\201C'; display: block; font-family: var(--font-head); font-size: 44px; line-height: .6; color: var(--gold); margin-bottom: 8px; }
.quote-card figcaption { font-size: 14px; color: var(--muted); }
.quote-card figcaption b { color: var(--ink); display: block; }
.faq-list { display: grid; gap: 10px; }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; min-height: 52px; font-family: var(--font-head); font-weight: 500; font-size: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary i { color: var(--gold-text); transition: transform .2s ease; flex: 0 0 auto; }
details.faq[open] summary i { transform: rotate(45deg); }
details.faq .faq-a { padding: 0 18px 16px; color: var(--muted); }
details.faq .faq-a p { margin: 0; white-space: pre-line; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- registration hub ---------- */
.finder-wrap .section-head { margin-bottom: 28px; }
.finder { display: grid; gap: 22px; }
.finder .q { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder .q.muted-q { opacity: .45; }
.finder legend { font-family: var(--font-head); font-weight: 500; font-size: 17px; margin-bottom: 12px; display: flex; gap: 12px; align-items: flex-start; padding: 0; }
.q-num { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--gold-text); font-size: 14px; font-weight: 600; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-weight: 500; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.choice span i { color: var(--gold-text); width: 20px; text-align: center; }
.choice:hover span { border-color: var(--gold-600); }
.choice input:checked + span { border-color: var(--gold-600); background: #FBF6E8; box-shadow: inset 0 0 0 1px var(--gold-600); }
.choice input:focus-visible + span { outline: 3px solid var(--gold-600); outline-offset: 2px; }
.finder-result { border-top: 1px solid var(--line); padding-top: 22px; animation: fadeUp .35s ease both; }
.finder-pick h3 { font-size: 1.4rem; margin: 2px 0 8px; }
.finder-pick p { color: var(--muted); margin: 0 0 10px; }
.finder-pick .finder-time { color: var(--ink-2); }
.finder-time i { color: var(--gold-600); margin-right: 6px; }
.finder-pick .finder-note { font-size: 13.5px; margin-top: 14px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.entity-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.entity-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: calc(var(--header-h) + 16px); min-width: 0; }
.entity-card:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 76, .25); }
.entity-head { display: flex; gap: 14px; align-items: center; }
.entity-head .icon-box { margin: 0; flex: 0 0 52px; }
.entity-head h3 { margin: 0; font-size: 1.1rem; }
.entity-body { font-size: 13px; color: var(--gold-text); font-weight: 600; letter-spacing: .02em; }
.entity-card > p { margin: 0; color: var(--muted); }
.entity-steps { margin: 0; padding-left: 20px; font-size: 14.5px; display: grid; gap: 4px; }
.entity-facts { margin: 0; display: grid; gap: 8px; font-size: 14px; padding: 12px 14px; background: var(--surface-2); border-radius: 10px; }
.entity-facts div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; }
.entity-facts dt { color: var(--muted); font-weight: 600; }
.entity-facts dd { margin: 0; }
.entity-card .btn-row { margin-top: auto; }
.checklist-card .field select { width: 100%; }
.checklist { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; gap: 6px; }
.tick { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; cursor: pointer; min-height: 44px; }
.tick:hover { background: var(--surface-2); }
.tick input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold-600); flex: 0 0 auto; }
.tick input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.cl-progress { font-weight: 600; color: var(--gold-text); margin: 6px 0 16px; }
.cl-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); counter-reset: step; }
.process li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; counter-increment: step; }
.process li::after { content: counter(step); position: absolute; top: 14px; right: 16px; font-family: var(--font-head); font-size: 28px; font-weight: 600; color: var(--line); }
.process h3 { font-size: 1rem; margin: 10px 0 4px; }
.process p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold-text); }
.track-callout { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.track-callout > div { display: flex; gap: 14px; align-items: center; min-width: 0; flex: 1 1 280px; }
.track-callout > div > i { font-size: 24px; color: var(--gold-600); }
.track-callout h3 { margin: 0 0 2px; font-size: 1.05rem; }
.track-callout p { margin: 0; color: var(--muted); }

/* ---------- tracking ---------- */
#t-ref { text-transform: uppercase; letter-spacing: .06em; }
#t-digits { letter-spacing: .2em; font-variant-numeric: tabular-nums; }
#track-status { margin-top: 14px; }
#track-status:empty { display: none; }
.track-result { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; animation: fadeUp .35s ease both; scroll-margin-top: calc(var(--header-h) + 16px); }
.track-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: flex-start; }
.track-head h2 { font-size: 1.3rem; margin: 2px 0 0; }
.track-badge { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--warn-bg); color: var(--warn); }
.track-badge.s-completed { background: var(--ok-bg); color: var(--ok); }
.track-badge.s-cancelled { background: var(--bad-bg); color: var(--bad); }
.track-bar { height: 10px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 18px 0; }
.track-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-600), var(--gold)); border-radius: 99px; transition: width .6s ease; }
.track-steps { list-style: none; margin: 0 0 20px; padding: 0; }
.track-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0 14px; position: relative; color: var(--muted); }
.track-steps li::before { content: ""; position: absolute; left: 9px; top: 28px; bottom: -4px; width: 2px; background: var(--line); }
.track-steps li:last-child::before { display: none; }
.track-steps .dot { flex: 0 0 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); margin-top: 2px; position: relative; z-index: 1; }
.track-steps .done { color: var(--ink); }
.track-steps .done .dot { background: var(--ok); border-color: var(--ok); }
.track-steps .done::before { background: var(--ok); }
.track-steps .now { color: var(--ink); font-weight: 600; }
.track-steps .now .dot { border-color: var(--gold-600); background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 168, 76, .25); }
.track-steps em { font-style: normal; font-weight: 500; color: var(--gold-text); font-size: 14px; }
.track-updates { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.track-updates li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.track-updates time { color: var(--muted); font-size: 14px; }
@media (max-width: 480px) { .track-updates li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.track-updated, .track-help { color: var(--muted); font-size: 14px; }
.track-help { text-align: center; margin-top: 20px; }
@media print {
    body.print-checklist * { visibility: hidden; }
    body.print-checklist .checklist-card, body.print-checklist .checklist-card * { visibility: visible; }
    body.print-checklist .checklist-card { position: absolute; inset: 0 0 auto 0; border: 0; }
    body.print-checklist .checklist-card .btn-row, body.print-checklist .checklist-card select { display: none; }
}

/* ---------- homepage ---------- */
.advisor-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 24px 60px rgba(122, 92, 20, .12), 0 2px 6px rgba(29, 27, 22, .04); width: 100%; max-width: 460px; justify-self: center; position: relative; }
@media (min-width: 1024px) { .advisor-card { justify-self: end; } }
.advisor-card::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--gold-600), var(--gold)); }
.advisor-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.advisor-head h2 { font-size: 1.25rem; margin: 0 0 4px; }
.advisor-head p { margin: 0; }
.advisor-avatars { display: flex; flex: 0 0 auto; }
.advisor-avatars span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--gold-text); font-weight: 700; font-size: 14px; border: 2px solid var(--surface); }
.advisor-avatars span + span { margin-left: -12px; background: #EFE6CF; }
#quick-form { display: grid; gap: 12px; }
#quick-form .field { margin: 0; }
#quick-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
#q-status:empty { display: none; }
.quick-done { text-align: center; padding: 18px 0 8px; outline: none; }
.quick-done h3 { margin: 12px 0 6px; }
.quick-done p { margin: 0; color: var(--muted); }
.quick-tick { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); font-size: 20px; animation: heroScale .5s ease both; }
.advisor-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.advisor-alt a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; min-width: 0; }
.advisor-alt a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.advisor-alt a:hover { border-color: var(--gold-600); background: var(--surface-2); }
.advisor-alt .fa-whatsapp { color: #1D9E58; font-size: 17px; }
.advisor-alt .fa-phone { color: var(--gold-text); }
.advisor-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; display: flex; gap: 8px; align-items: baseline; }
.advisor-note i { color: var(--gold-600); }
.open-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.open-badge.is-open { color: var(--ok); }
.open-badge.is-open::before { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.quick-list .open-badge { margin-left: 6px; white-space: normal; }

.reg-band { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .reg-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.reg-lead { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.mini-entities { display: grid; gap: 10px; }
.mini-entity { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; min-width: 0; }
.mini-entity .icon-box { margin: 0; width: 44px; height: 44px; flex: 0 0 44px; font-size: 17px; }
.mini-entity > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
.mini-entity b { display: block; font-weight: 600; }
.mini-entity small { color: var(--gold-text); font-size: 13px; }
.mini-entity > .fa-arrow-right { color: var(--muted); font-size: 13px; transition: transform .2s, color .2s; }
.mini-entity:hover { border-color: var(--gold-600); box-shadow: 0 10px 24px rgba(29, 27, 22, .06); }
.mini-entity:hover > .fa-arrow-right { color: var(--gold-text); transform: translateX(3px); }

.due-soon { margin-top: 28px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.due-soon h3 { font-size: 1.05rem; margin: 0 0 14px; display: flex; gap: 10px; align-items: center; }
.due-soon h3 i { color: var(--gold-600); }
.due-soon ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.due-soon li { display: flex; gap: 12px; align-items: center; min-width: 0; }
.due-date { flex: 0 0 52px; height: 56px; border-radius: 10px; background: var(--surface-2); display: grid; place-content: center; text-align: center; font-size: 12px; text-transform: uppercase; color: var(--gold-text); font-weight: 600; letter-spacing: .04em; line-height: 1.1; }
.due-date b { font-size: 20px; color: var(--ink); letter-spacing: 0; }
.due-what { min-width: 0; }
.due-what b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.due-what small { color: var(--muted); font-size: 13px; }

.memberships { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.mem-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); width: 100%; }
.mem-item { display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.mem-item .mark { flex: 0 0 auto; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--gold-text); font-weight: 700; font-size: 12px; }
.mem-item b { display: block; font-size: 14px; }
.mem-item small { color: var(--muted); font-size: 12.5px; }
.site-footer .memberships { margin-top: 14px; }
.site-footer .mem-label { color: inherit; opacity: .7; }
.site-footer .mem-item { background: transparent; border-color: rgba(255, 255, 255, .15); }

.visit { display: grid; gap: 28px; align-items: stretch; }
@media (min-width: 960px) { .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; } }
.visit .quick-list { margin-top: 18px; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 300px; background: var(--surface-2); }
.map-box iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }
@media (min-width: 960px) { .map-box, .map-box iframe { min-height: 380px; } }
a.blog-card { text-decoration: none; }

/* ---------- installable app ---------- */
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.install-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; border: 0; color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.install-btn:hover { color: var(--gold); }
.install-btn[hidden], [data-install-card][hidden] { display: none; }
.install-card { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.install-card .icon-box { margin: 0; flex: 0 0 52px; }
.install-card > div { flex: 1 1 260px; min-width: 0; }
.install-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.install-card p { margin: 0; color: var(--muted); }
.pt-toast { position: fixed; left: 0; right: 0; margin: 0 auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 950; width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; background: var(--night); color: var(--on-dark); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); font-size: 14.5px; animation: fadeUp .3s ease both; }
.pt-toast > span { flex: 1 1 auto; min-width: 0; }
.pt-toast-act { min-height: 40px; padding: 6px 14px; border: 0; border-radius: 8px; background: var(--gold); color: var(--night); font: inherit; font-weight: 600; cursor: pointer; }
.pt-toast-x { width: 40px; height: 40px; flex: 0 0 40px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 8px; }
.pt-toast-x:hover { background: rgba(255, 255, 255, .1); }
@media print { .pt-toast { display: none; } }
.site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { .site-footer { padding-bottom: 24px; } }
body:has(dialog[open]) .whatsapp-fab { display: none; }

/* long button labels wrap instead of pushing the page sideways on small phones */
.btn { max-width: 100%; }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; } }
.doc-company > div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 479px) { .doc-top { flex-direction: column; } .doc-meta { text-align: left; margin-left: 0; } }

/* ---------- article text ---------- */
#blog-dialog-body { line-height: 1.7; }
#blog-dialog-body h3 { font-size: 1.1rem; margin: 26px 0 10px; }
#blog-dialog-body ul, #blog-dialog-body ol { padding-left: 22px; margin: 0 0 16px; }
#blog-dialog-body li { margin-bottom: 6px; }
#blog-dialog-body li::marker { color: var(--gold-600); }
#blog-dialog-body a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 2px; }
#blog-dialog-body small { color: var(--muted); }
