/* ==========================================================================
   Dikla v5 stylesheet.
   Colours, fonts and radii come from CSS variables written by src/style/system.js.
   Structural variations hang off <html data-layout data-shape data-pattern data-hero>.
   Do not hard-code brand colours here: add a palette in system.js instead.
   ========================================================================== */

:root {
  --wa: #128a42;           /* WhatsApp green, darkened for white-text contrast */
  --wa-hover: #0e7036;
  --wa-bright: #25d366;
  --card: #fff;
  --shadow: 0 6px 24px rgba(16, 32, 56, .08);
  --shadow-lg: 0 18px 50px rgba(16, 32, 56, .16);
  --wrap: 1160px;
  --rail-w: 92px;
  --brand-a08: color-mix(in srgb, var(--brand) 8%, transparent);
  --brand-a14: color-mix(in srgb, var(--brand) 14%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 18px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.22; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; }
mark { background: none; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(840px, 100% - 32px); }
.center { text-align: center; margin-top: 36px; }
.hl { color: var(--accent); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: var(--radius-btn); font: 700 1rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-lg { font-size: 1.1rem; padding: 1em 1.7em; }
.btn-sm { font-size: .92rem; padding: .55em 1.1em; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(18, 138, 66, .28); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-wa-soft { background: #e8f6ee; color: var(--wa-hover); }
.btn-wa-soft:hover { background: #d6f0e1; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; border-radius: var(--radius-btn); background: var(--brand); color: var(--accent); display: grid; place-items: center; font: 800 1.35rem/1 var(--font-head); box-shadow: inset 0 0 0 2px var(--accent); flex: none; }
.logo-text { display: flex; flex-direction: column; font: 800 1.45rem/1 var(--font-head); color: var(--brand); letter-spacing: -.01em; }
.logo-text small { font: 600 .74rem/1 var(--font); color: var(--accent); letter-spacing: .08em; margin-top: 4px; }
.logo.on-dark .logo-text { color: #fff; }

/* ---------- topbar layout ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.top-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.tn { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink-2); padding: .45em .8em; border-radius: var(--radius-btn); }
.tn .ic { display: none; }
.tn:hover { color: var(--brand); background: var(--brand-a08); }
.tn[aria-current] { color: var(--brand); background: var(--brand-a08); }
.top-act { display: flex; align-items: center; gap: 8px; }
.nav-toggle, .nav-close { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; color: var(--brand); cursor: pointer; place-items: center; }
.nav-toggle .ic, .nav-close .ic { width: 22px; height: 22px; }

/* drawer (phones, and the dock's menu) */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(10, 16, 28, .45); }
.drawer[hidden] { display: none; }
.drawer-in { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(340px, 88vw); background: var(--bg); padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg); animation: slidein .22s ease; }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer .nav-close { display: grid; }
.drawer nav { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 auto; }
.dn { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.1rem; padding: .75em .8em; border-radius: var(--radius); color: var(--ink); }
.dn .ic { color: var(--accent); }
.dn[aria-current] { background: var(--brand-a08); color: var(--brand); }

/* ---------- headerless: brand inside the page ---------- */
.inline-brand { position: absolute; top: 18px; inset-inline: 0; z-index: 5; }
[data-layout="dock"] .hero-in, [data-layout="bare"] .hero-in { padding-top: 104px; }

/* ---------- dock layout (no header) ---------- */
.dock { position: fixed; bottom: 18px; inset-inline: 0; z-index: 40; display: flex; justify-content: center; pointer-events: none; }
.dock-in { pointer-events: auto; display: flex; align-items: center; gap: 4px; padding: 6px; background: color-mix(in srgb, var(--deep) 94%, transparent); backdrop-filter: blur(10px); border-radius: 999px; box-shadow: 0 14px 40px rgba(0, 0, 0, .28); }
.dock-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--deep); font: 800 1.2rem/1 var(--font-head); text-decoration: none; }
.dock-links { display: flex; }
.dl { display: flex; align-items: center; gap: 6px; text-decoration: none; color: rgba(255, 255, 255, .78); font-weight: 600; font-size: .92rem; padding: .6em .9em; border-radius: 999px; }
.dl .ic { width: 1.05em; height: 1.05em; }
.dl:hover, .dl[aria-current] { color: #fff; background: rgba(255, 255, 255, .12); }
.dock-menu { display: none; }
.dock-wa { display: flex; align-items: center; gap: 6px; background: var(--wa-bright); color: #08361b; font-weight: 800; text-decoration: none; padding: .6em 1.1em; border-radius: 999px; }
[data-layout="dock"] body { padding-bottom: 90px; }

/* ---------- rail layout (no header) ---------- */
.rail { position: fixed; inset-block: 0; inset-inline-start: 0; width: var(--rail-w); z-index: 40; background: var(--deep); display: flex; flex-direction: column; align-items: center; padding: 18px 8px; gap: 10px; }
.rail-mark { width: 52px; height: 52px; border-radius: var(--radius); background: var(--accent); color: var(--deep); display: grid; place-items: center; font: 800 1.5rem/1 var(--font-head); text-decoration: none; margin-bottom: 14px; }
.rail-links { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.rl { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; text-decoration: none; color: rgba(255, 255, 255, .7); font-size: .74rem; font-weight: 600; border-radius: var(--radius); text-align: center; line-height: 1.2; }
.rl .ic { width: 22px; height: 22px; }
.rl:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.rl[aria-current] { color: var(--deep); background: var(--accent); }
.rail-wa { margin-top: auto; width: 56px; height: 56px; border-radius: 50%; background: var(--wa-bright); color: #fff; display: grid; place-items: center; text-decoration: none; }
.rail-wa .ic { width: 28px; height: 28px; }
.rail-wa span { display: none; }
[data-layout="rail"] .page { margin-inline-start: var(--rail-w); }
[data-layout="rail"] .hero-in { padding-top: 56px; }
[data-layout="rail"] .inline-brand { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(160deg, var(--bg) 0%, var(--tint) 100%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 64px 0 80px; }
.hero-in.solo { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
.hero-compact .hero-in { padding-bottom: 36px; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: .9rem; padding: .35em .95em; border-radius: var(--radius-btn); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.05rem, 4.6vw, 3.5rem); font-weight: 800; color: var(--brand); letter-spacing: -.01em; }
.hero h1 .hl { display: block; }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 38em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.micro { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); font-size: .95rem; margin-bottom: 22px; }
.micro span { display: inline-flex; align-items: center; gap: 6px; }
.micro .ic { color: var(--wa); width: 1.1em; }
.hero-media { position: relative; padding: 0 0 18px 18px; }
.hero-media::before { content: ""; position: absolute; inset: 18px 18px 0 0; border: 3px solid var(--accent); border-radius: var(--radius-lg); }
.hero-img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: .85rem; display: flex; gap: 10px; align-items: center; }
.float-card small { display: block; color: var(--ink-2); font-size: .78rem; }
.fc-a { top: 8%; inset-inline-end: -22px; flex-direction: column; align-items: flex-start; gap: 0; }
.fc-a b { font: 800 2.2rem/1 var(--font-head); color: var(--brand); }
.fc-b { bottom: 30%; inset-inline-start: -26px; }
.fc-b .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #e8f6ee; color: var(--wa); }
.fc-b b { display: block; font-size: 1rem; color: var(--brand); }
.fc-c { bottom: 3%; inset-inline-end: -12px; flex-direction: column; align-items: stretch; font-family: "David Libre", "Times New Roman", serif; }
.fc-c table { border-collapse: collapse; font-size: .82rem; }
.fc-c th, .fc-c td { border-bottom: 1px solid #333; padding: 2px 10px; text-align: center; }
.fc-c tr:first-child th { border-top: 1.5px solid #333; }

/* centered hero variant */
[data-hero="centered"] .hero-in { grid-template-columns: 1fr; text-align: center; max-width: 900px; margin-inline: auto; }
[data-hero="centered"] .hero .lead { margin-inline: auto; }
[data-hero="centered"] .hero-ctas, [data-hero="centered"] .micro { justify-content: center; }
[data-hero="centered"] .hero .rw { margin-inline: auto; }
[data-hero="centered"] .hero-media { display: none; }

/* ---------- patterns ---------- */
[data-pattern="dots"] :is(.hero, .patterned) { background-image: radial-gradient(var(--brand-a14) 1.2px, transparent 1.4px), linear-gradient(160deg, var(--bg), var(--tint)); background-size: 22px 22px, auto; }
[data-pattern="grid"] :is(.hero, .patterned) { background-image: linear-gradient(var(--brand-a08) 1px, transparent 1px), linear-gradient(90deg, var(--brand-a08) 1px, transparent 1px), linear-gradient(160deg, var(--bg), var(--tint)); background-size: 32px 32px, 32px 32px, auto; }
[data-pattern="lines"] :is(.hero, .patterned) { background-image: linear-gradient(90deg, transparent calc(100% - 64px), color-mix(in srgb, #c0392b 22%, transparent) calc(100% - 64px), color-mix(in srgb, #c0392b 22%, transparent) calc(100% - 62px), transparent calc(100% - 62px)), repeating-linear-gradient(transparent 0 31px, var(--brand-a14) 31px 32px), linear-gradient(160deg, var(--bg), var(--tint)); }

/* ---------- reviews widget (avatars + rating) ---------- */
.rw { display: inline-flex; align-items: center; gap: 14px; }
.rw.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.rw-avs { display: flex; align-items: center; }
.rw-avs .av { border: 2.5px solid #fff; border-radius: 50%; margin-inline-start: -12px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.rw-avs .av:first-child { margin-inline-start: 0; }
.rw-more { margin-inline-start: -12px; height: 38px; min-width: 38px; padding: 0 8px; border-radius: 19px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 800; display: grid; place-items: center; border: 2.5px solid #fff; }
.rw-top { display: flex; align-items: center; gap: 6px; }
.rw-top b { font: 800 1.25rem/1 var(--font-head); color: var(--brand); }
.rw-txt small { color: var(--ink-2); font-size: .85rem; }
.stars { display: inline-flex; gap: 1px; color: #f5a623; }
.stars .st { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* ---------- trust strip ---------- */
.trust { position: relative; z-index: 3; margin-top: -44px; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: 0 16px 40px var(--brand-a14); }
.trust-item { text-align: center; }
.trust-item b { display: block; font: 800 1.9rem/1.1 var(--font-head); color: var(--accent); }
.trust-item small { opacity: .85; font-size: .92rem; }
.page-about .trust { margin-top: 0; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); }
.s-head { text-align: center; margin-bottom: 36px; }
.s-head.start { text-align: start; }
.title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--brand); }
.title::after { content: ""; display: block; width: 64px; height: 4px; background: var(--accent); border-radius: 2px; margin: 14px auto 0; }
.s-head.start .title::after { margin-inline-start: 0; }
.sub { color: var(--ink-2); font-size: 1.1rem; max-width: 44em; margin-inline: auto; }
.s-head.start .sub { margin-inline: 0; }
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16, 32, 56, .12); }
.card h3 { font-size: 1.2rem; color: var(--brand); }
.card p { color: var(--ink-2); margin: 0; }
.ic-badge { width: 52px; height: 52px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 14px; flex: none; }
.ic-badge .ic { width: 26px; height: 26px; }
.ic-badge.lg { width: 60px; height: 60px; }
.chip { display: inline-flex; align-items: center; gap: 5px; background: var(--brand-a08); color: var(--brand); font-size: .78rem; font-weight: 700; padding: .25em .75em; border-radius: var(--radius-btn); }
.chip .ic { width: 1em; height: 1em; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.points { display: grid; gap: 18px; }
.point { display: flex; gap: 16px; }
.point h3 { font-size: 1.15rem; color: var(--brand); margin-bottom: .25em; }
.point p { color: var(--ink-2); margin: 0; }
.trust-side { display: grid; gap: 16px; }

/* catch q&a */
.qa h3 { font-size: 1.12rem; }

/* activity ticker */
.activity { padding: 20px; }
.act-title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--brand); margin: 0 0 12px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa-bright); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.activity ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.activity li { display: flex; align-items: center; gap: 10px; font-size: .95rem; opacity: .5; transition: opacity .4s; }
.activity li.on { opacity: 1; }
.activity li small { display: block; color: var(--ink-2); font-size: .8rem; }

/* reviews */
.review { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rv-head { display: flex; gap: 12px; align-items: center; }
.rv-head b { display: block; color: var(--brand); }
.rv-head small { color: var(--ink-2); font-size: .85rem; }
.review blockquote { margin: 0; color: var(--ink); font-size: 1rem; flex: 1; }
.review figcaption { color: var(--ink-2); font-size: .8rem; }

/* bands (CTA) */
.band { padding: 64px 0; background: var(--bg-alt); }
.band.dark { background: linear-gradient(120deg, var(--deep), var(--brand)); color: #fff; }
.band.photo { background: linear-gradient(rgba(10, 20, 36, .84), rgba(10, 20, 36, .9)), url(../band.jpg) center / cover; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3em; }
.band p { margin: 0; opacity: .88; max-width: 40em; font-size: 1.1rem; }
.band-ctas { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* paper cards (home) */
.p-card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.p-thumb { height: 250px; overflow: hidden; background: linear-gradient(var(--bg-alt), var(--line)); display: flex; justify-content: center; padding-top: 22px; position: relative; }
.p-thumb::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent, var(--card)); }
.sheet.mini { width: 794px; min-height: 1123px; flex: none; transform: scale(.38); transform-origin: top center; margin-bottom: -700px; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); padding: 70px 76px; font: 16px/1.9 "David Libre", "Times New Roman", serif; color: #111; }
.p-meta { padding: 18px 20px 22px; }
.p-meta h3 { font-size: 1.08rem; color: var(--brand); margin: 10px 0 4px; }
.p-meta small { color: var(--ink-2); }

/* sheet typography (shared by mini cards and the viewer) */
.sheet h1 { font-size: 22px; text-align: center; margin: 0 0 18px; font-family: inherit; }
.sheet h2 { font-size: 18px; margin: 18px 0 8px; font-family: inherit; }
.sheet h3 { font-size: 16px; font-style: italic; margin: 14px 0 6px; font-family: inherit; }
.sheet p { margin: 0 0 10px; text-align: justify; }
.sheet .b-caption { font-style: italic; margin: 16px 0 6px; text-align: start; }
.sheet .b-note { font-size: 14px; }
.sheet table { border-collapse: collapse; width: 100%; margin: 6px 0 14px; font-size: 15px; }
.sheet th, .sheet td { padding: 4px 8px; text-align: center; }
.sheet tr:first-child th { border-top: 1.5px solid #111; }
.sheet tr.head-end th { border-bottom: 1px solid #111; }
.sheet th[colspan] { border-bottom: 1px solid #999; }
.sheet tr:last-child td { border-bottom: 1.5px solid #111; }

/* services */
.svc-card { position: relative; display: flex; flex-direction: column; }
.svc-card > p { margin-bottom: 14px; }
.svc-card .btn { margin-top: auto; align-self: flex-start; }
.badge { position: absolute; top: 18px; inset-inline-end: 18px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800; padding: .3em .8em; border-radius: var(--radius-btn); }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: .95rem; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .ic { color: var(--wa); width: 1.1em; margin-top: .25em; }
.more-title { margin-top: 64px; text-align: center; }
.more { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.more li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-weight: 700; color: var(--brand); font-size: .98rem; }
.more .ic { color: var(--accent); }

/* "it's not all!" stack */
.stack { padding: 40px; border-top: 5px solid var(--accent); text-align: center; }
.stack-title { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--brand); margin-bottom: .2em; }
.stack-list { list-style: none; padding: 0; margin: 28px 0 22px; display: grid; gap: 10px; text-align: start; }
.stack-list li { display: flex; align-items: center; gap: 14px; background: var(--bg-alt); border-radius: var(--radius); padding: 12px 16px; }
.stack-list li.reveal { transition-delay: calc(var(--i) * 90ms); }
.stack-list b { display: block; color: var(--brand); }
.stack-list small { color: var(--ink-2); font-size: .92rem; }
.plus { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 800 1.3rem/1 var(--font); }
.kicker { font: 800 1.2rem/1.4 var(--font-head); color: var(--accent-ink); }

/* process timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; inset-block: 24px; inset-inline-start: 23px; width: 3px; background: linear-gradient(var(--accent), var(--brand)); border-radius: 2px; }
.timeline li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; position: relative; }
.tl-num { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 1.3rem/1 var(--font-head); box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--accent); }
.tl-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tl-head h3 { margin: 0; }
.tl-body p { margin-bottom: 10px; }
.tl-get { display: flex; gap: 6px; align-items: center; color: var(--ink) !important; font-size: .95rem; }
.tl-get .ic { color: var(--wa); }
.rw.inline { margin-top: 8px; }

/* about */
.letter { position: relative; margin: 0; background: var(--card); border-radius: var(--radius-lg); padding: 48px 36px 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.letter-mark { position: absolute; top: -34px; inset-inline-start: 32px; width: 76px; height: 76px; border-radius: var(--radius); background: var(--brand); color: var(--accent); display: grid; place-items: center; font: 800 2.4rem/1 var(--font-head); box-shadow: inset 0 0 0 3px var(--accent); }
.letter blockquote { margin: 0 0 18px; font: 700 1.5rem/1.45 var(--font-head); color: var(--brand); }
.letter figcaption { color: var(--accent-ink); font-weight: 700; }
.prose { font-size: 1.18rem; color: var(--ink-2); }
.prose p:first-child::first-letter { font: 800 3.2em/0.9 var(--font-head); float: inline-start; margin-inline-end: 10px; color: var(--accent); }
.sig { font: 700 1.3rem var(--font-head); color: var(--brand); }
.f-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.f-head .ic-badge { margin: 0; }
.f-head h3 { margin: 0; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--accent-soft); color: var(--accent-ink); padding: .3em .9em; border-radius: var(--radius-btn); font-weight: 600; font-size: .9rem; }
.value .v-num { display: block; font: 800 2.4rem/1 var(--font-head); color: var(--accent); margin-bottom: 12px; }

/* contact */
.hero-contact .contact-in { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: start; padding: 64px 0 80px; }
.hero-contact h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--brand); }
.tag-free { display: inline-block; background: var(--accent); color: #fff; padding: 0 .4em; border-radius: 8px; font-weight: 800; }
.secure { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.proof-box { background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0; box-shadow: var(--shadow); }
.proof-box p { margin: 12px 0 0; font-weight: 700; color: var(--ink); }
.or { margin: 26px 0 10px; font-weight: 700; }
[data-layout="dock"] .hero-contact .contact-in, [data-layout="bare"] .hero-contact .contact-in { padding-top: 104px; }

/* form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); position: relative; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: .75em .85em; border: 1.5px solid var(--line); border-radius: calc(var(--radius) * .6); background: #fff; color: var(--ink); width: 100%; }
.form input[dir="ltr"] { text-align: right; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-a14); }
.form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; color: var(--ink-2); font-size: .88rem; }
.form-msg { margin: 0; font-weight: 700; min-height: 1.4em; }
.form-msg.err { color: #b42318; }
.form-msg.ok { color: var(--wa); }
.form-msg a { display: block; margin-top: 6px; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; color: var(--brand); font-size: 1.08rem; }
details p { margin: 10px 0 0; color: var(--ink-2); }

/* next-page prompt (bare / dock) */
.next-page { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 32px 0; border-top: 1px solid var(--line); margin-top: 0; }
.next-page small { color: var(--ink-2); }
.next-page b { font: 800 1.6rem var(--font-head); color: var(--brand); }
.next-page .ic { margin-inline-start: auto; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--brand); color: #fff; transition: transform .2s; }
.next-page:hover .ic { transform: translateX(-6px); }

/* footer */
.footer { background: var(--deep); color: rgba(255, 255, 255, .78); padding: 52px 0 24px; font-size: .95rem; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.f-brand p { margin-top: 14px; max-width: 30em; }
.f-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; align-content: start; }
.fn { text-decoration: none; display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.fn .ic { color: var(--accent); width: 1.05em; }
.fn:hover { color: #fff; }
.f-contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.f-contact b { color: #fff; }
.f-secure { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .88rem; }
.f-fine { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; opacity: .75; }
.f-fine p { margin: 0; }

/* floating WhatsApp + mobile bar */
.wa-float { position: fixed; bottom: 22px; left: 22px; z-index: 40; width: 62px; height: 62px; border-radius: 50%; background: var(--wa-bright); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); animation: pulse 2.4s infinite; }
.wa-float .ic { width: 34px; height: 34px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5), 0 8px 24px rgba(0, 0, 0, .25); } 50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 8px 24px rgba(0, 0, 0, .25); } }
.mobile-bar { display: none; }

/* style preview panel */
.style-fab { position: fixed; bottom: 22px; right: 22px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.style-fab .ic { width: 24px; height: 24px; }
[data-layout="rail"] .style-fab { right: auto; left: 22px; }
[data-layout="dock"] .style-fab { bottom: 96px; }
.style-panel { position: fixed; bottom: 80px; right: 22px; z-index: 70; width: min(330px, calc(100vw - 32px)); max-height: 75vh; overflow: auto; background: #fff; color: #16202e; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); padding: 18px; font: 15px/1.4 "Segoe UI", Arial, sans-serif; }
[data-layout="rail"] .style-panel { right: auto; left: 22px; }
[data-layout="dock"] .style-panel { bottom: 154px; }
.style-panel[hidden] { display: none; }
.style-panel h4 { margin: 0 0 4px; font-size: 1rem; }
.style-panel .sp-note { margin: 0 0 12px; color: #5b6472; font-size: .82rem; }
.style-panel label { display: grid; gap: 4px; margin-bottom: 10px; font-weight: 600; font-size: .85rem; }
.style-panel select { font: inherit; padding: .45em .6em; border: 1px solid #d5dae1; border-radius: 8px; }
.style-panel .sp-row { display: flex; gap: 8px; margin-top: 6px; }
.style-panel button { font: inherit; border: 1px solid #d5dae1; background: #f5f6f8; border-radius: 8px; padding: .45em .8em; cursor: pointer; }
.style-panel code { display: block; direction: ltr; text-align: left; background: #f5f6f8; padding: 8px; border-radius: 8px; font-size: .78rem; margin-top: 10px; white-space: pre-wrap; word-break: break-all; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .wa-float, .live-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .top-nav { display: none; }
  .nav-toggle { display: grid; }
  .top-act { margin-inline-start: auto; }
  .dock-links { display: none; }
  .dock-menu { display: flex; align-items: center; gap: 6px; width: auto; height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font: 600 .92rem var(--font); }
  .dock-menu .ic { width: 20px; height: 20px; }
}
@media (max-width: 960px) {
  .hero-in, .split, .hero-contact .contact-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-in { padding: 40px 0 72px; }
  .hero-media { max-width: 440px; margin-inline: auto; width: 100%; }
  .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .more { grid-template-columns: repeat(2, 1fr); }
  .trust-in { grid-template-columns: repeat(2, 1fr); }
  .band-in { flex-direction: column; align-items: flex-start; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  /* rail turns into a bottom tab bar on phones */
  .rail { inset-block: auto 0; inset-inline: 0; width: auto; height: calc(64px + env(safe-area-inset-bottom)); flex-direction: row; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 2px; box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); }
  .rail-mark { display: none; }
  .rail-links { flex-direction: row; gap: 2px; flex: 1; }
  .rl { flex: 1; padding: 6px 2px; font-size: .66rem; }
  .rl .ic { width: 20px; height: 20px; }
  .rail-wa { margin: 0; width: 52px; height: 52px; flex: none; }
  [data-layout="rail"] .page { margin-inline-start: 0; padding-bottom: 72px; }
  [data-layout="rail"] .inline-brand { display: block; }
  [data-layout="rail"] .hero-in, [data-layout="rail"] .hero-contact .contact-in { padding-top: 84px; }
  [data-pattern="lines"] :is(.hero, .patterned) { background-image: repeating-linear-gradient(transparent 0 31px, var(--brand-a14) 31px 32px), linear-gradient(160deg, var(--bg), var(--tint)); }
  [data-layout="rail"] .style-fab { left: auto; right: 14px; bottom: 84px; }
  [data-layout="rail"] .style-panel { left: auto; right: 14px; bottom: 140px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .section { padding: 56px 0; }
  .topbar-in { min-height: 60px; }
  .topbar .btn-sm span { display: none; }
  .topbar .btn-sm { padding: .62em; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text { font-size: 1.3rem; }
  .hero-in { padding-top: 28px; }
  .hero-ctas .btn { width: 100%; }
  .rw { gap: 10px; }
  .rw-avs .av { width: 32px; height: 32px; }
  .float-card { font-size: .78rem; padding: 9px 12px; }
  .fc-a { inset-inline-end: -6px; } .fc-a b { font-size: 1.7rem; }
  .fc-b { inset-inline-start: -6px; }
  .fc-c { display: none; }
  .trust { margin-top: -36px; }
  .trust-in { padding: 18px 12px; gap: 14px 8px; }
  .trust-item b { font-size: 1.5rem; }
  .grid.three, .grid.four { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr 1fr; gap: 8px; }
  .more li { font-size: .88rem; padding: 12px; }
  .stack { padding: 26px 18px; }
  .band { padding: 48px 0; }
  .band-ctas, .band-ctas .btn { width: 100%; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .footer-in { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .mobile-bar { display: block; position: fixed; bottom: 0; inset-inline: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 96%, transparent); box-shadow: 0 -4px 20px rgba(0, 0, 0, .1); }
  .mobile-bar .btn { width: 100%; font-size: 1.05rem; padding: .9em; }
  [data-layout="topbar"] .footer, [data-layout="bare"] .footer { padding-bottom: 96px; }
  .style-fab { bottom: 84px; right: 14px; width: 42px; height: 42px; }
  .style-panel { right: 14px; bottom: 134px; }
  /* dock becomes a full-width bottom bar */
  .dock { bottom: 0; }
  .dock-in { width: 100%; border-radius: 0; justify-content: space-between; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .dock-wa { flex: 1; justify-content: center; margin-inline-start: 8px; padding: .75em; }
  .inline-brand { top: 14px; }
  [data-layout="dock"] .hero-in, [data-layout="bare"] .hero-in, [data-layout="dock"] .hero-contact .contact-in, [data-layout="bare"] .hero-contact .contact-in { padding-top: 84px; }
  .timeline li { grid-template-columns: 40px 1fr; gap: 14px; }
  .timeline::before { inset-inline-start: 19px; }
  .tl-num { width: 40px; height: 40px; font-size: 1.1rem; }
  .letter { padding: 44px 22px 26px; }
  .letter blockquote { font-size: 1.25rem; }
}
