/* =====================================================================
   ED SITE PRO — public site styles (on top of Bootstrap 5.3)
   Ink: #0b1530  ·  Accent: var(--accent) (admin-configurable)
   ===================================================================== */
:root {
  --ink: #0b1530;
  --ink-2: #1c2647;
  --ink-soft: #4a5374;
  --muted: #6b7290;
  --line: #e6e8ef;
  --line-2: #d6d9e4;
  --paper: #ffffff;
  --tint: #f6f7fb;
  --accent: #ff5a1f;
  --accent-ink: #ffffff;
  --wa: #1fa855;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 21, 48, .04), 0 8px 24px -12px rgba(11, 21, 48, .14);
  --shadow-lg: 0 2px 4px rgba(11, 21, 48, .04), 0 24px 48px -20px rgba(11, 21, 48, .28);
  --font-head: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-link-color-rgb: 11, 21, 48;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 2000; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 12px; padding: .62rem 1.15rem; letter-spacing: -.005em; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.btn-lg { padding: .85rem 1.45rem; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: .42rem .8rem; font-size: .84rem; border-radius: 10px; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-accent:hover, .btn-accent:focus { background: color-mix(in srgb, var(--accent) 88%, #000); border-color: color-mix(in srgb, var(--accent) 88%, #000); color: #fff; transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-ink:hover, .btn-ink:focus { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
.btn-outline-ink { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-outline-ink:hover, .btn-outline-ink:focus { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-ghost { background: transparent; border: 1px solid transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--tint); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; border: 1px solid var(--wa); }
.btn-wa:hover, .btn-wa:focus { background: #178a45; border-color: #178a45; color: #fff; transform: translateY(-1px); }
.btn-light-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-light-outline:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-icon { width: 36px; padding-left: 0; padding-right: 0; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11, 21, 48, .35); }
.site-header .navbar { padding: .8rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .98rem; letter-spacing: -.03em; position: relative; }
.brand-mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 4px; background: var(--accent); border: 2px solid #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.brand-text small { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand-light { color: #fff; } .brand-light:hover { color: #fff; }
.brand-light .brand-mark { background: #fff; color: var(--ink); }
.brand-light .brand-mark::after { border-color: var(--ink); }
.brand-light .brand-text small { color: rgba(255, 255, 255, .55); }
.navbar-toggler { border: 1px solid var(--line); border-radius: 10px; padding: .35rem .6rem; font-size: 1.5rem; color: var(--ink); }
.navbar-toggler:focus { box-shadow: none; }
.navbar .nav-link { font-weight: 600; font-size: .95rem; color: var(--ink-soft); padding: .5rem .8rem !important; border-radius: 9px; }
.navbar .nav-link:hover { color: var(--ink); background: var(--tint); }
.navbar .nav-link.active { color: var(--ink); }
.navbar .nav-link.active::after { content: ""; display: block; height: 2px; width: 14px; margin: 2px auto 0; background: var(--accent); border-radius: 2px; }
.nav-cta { display: flex; gap: .4rem; align-items: center; }
@media (min-width: 992px) {
  .offcanvas-lg, .navbar-expand-lg .offcanvas { background: transparent; }
  .navbar-expand-lg .offcanvas .offcanvas-body { align-items: center; flex-grow: 1; }
}
@media (max-width: 991.98px) {
  .offcanvas { border-left: 0 !important; }
  .navbar .nav-link { font-size: 1.1rem; padding: .75rem 1rem !important; }
  .navbar .nav-link.active::after { margin: 2px 0 0; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 1.25rem; gap: .6rem; }
  .nav-cta .btn { padding: .85rem; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink .section-title, .section-ink h3 { color: #fff; }
.section-ink .eyebrow { color: rgba(255, 255, 255, .6); }
@media (max-width: 767.98px) { .section { padding: 60px 0; } }
.section-head { margin-bottom: 2.4rem; max-width: 100%; }
.section-head.text-center { max-width: 720px; }
.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.eyebrow b { color: var(--accent); font-weight: 500; }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.65rem); line-height: 1.12; margin: 0; max-width: 22ch; }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; margin: .9rem 0 0; max-width: 60ch; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; white-space: nowrap; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 84px; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%); opacity: .7; pointer-events: none; }
.hero-kicker { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; color: var(--ink-soft); border: 1px solid var(--line); background: #fff; padding: .4rem .8rem; border-radius: 999px; margin-bottom: 1.4rem; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 6%, transparent); } }
.hero-title { font-size: clamp(2.35rem, 1.4rem + 4vw, 4.15rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin-bottom: 1.2rem; max-width: 14ch; }
.hero-sub { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: var(--ink-soft); max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 575.98px) { .hero-actions .btn { flex: 1 1 100%; } .hero { padding-top: 40px; } }

/* hero visual: stacked "product" windows */
.hero-visual { position: relative; height: 440px; }
.hv-window { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fbfbfd; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e3e5ec; display: block; }
.mock-bar i:first-child { background: #ff6b5f; } .mock-bar i:nth-child(2) { background: #ffc130; } .mock-bar i:nth-child(3) { background: #2acb4c; }
.hv-url { margin-left: 10px; font-family: var(--font-mono); font-size: .7rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 10px; }
.hv-back { width: 78%; height: 300px; right: 0; top: 0; transform: rotate(1.5deg); }
.hv-dash { display: flex; height: calc(100% - 32px); }
.hv-side { width: 22%; background: var(--ink); padding: 14px 10px; display: flex; flex-direction: column; gap: 9px; }
.hv-side span { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.hv-side span:first-child { background: var(--accent); width: 70%; }
.hv-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hv-kpis span { border: 1px solid var(--line); border-radius: 9px; padding: 8px; display: flex; flex-direction: column; }
.hv-kpis b { font-size: .62rem; color: var(--muted); font-weight: 600; }
.hv-kpis em { font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.hv-chart { flex: 1; display: flex; align-items: flex-end; gap: 6%; padding: 10px 6px 0; border: 1px solid var(--line); border-radius: 9px; }
.hv-chart i { flex: 1; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #fff)); border-radius: 4px 4px 0 0; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom; }
.hv-chart i:nth-child(odd) { animation-delay: .1s; }
@keyframes grow { from { transform: scaleY(0); } }
.hv-front { width: 66%; left: 0; bottom: 18px; transform: rotate(-2deg); z-index: 2; }
.hv-site { padding: 14px; }
.hv-nav { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.hv-nav b { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); }
.hv-nav span { height: 6px; width: 34px; border-radius: 3px; background: var(--line-2); margin-left: auto; }
.hv-nav span + span { margin-left: 0; }
.hv-hero { padding: 18px; border-radius: 10px; background: linear-gradient(135deg, #eef1ff, #fff3ee); display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.hv-hero .l1 { height: 12px; width: 70%; background: var(--ink); border-radius: 4px; }
.hv-hero .l2 { height: 7px; width: 50%; background: var(--line-2); border-radius: 4px; }
.hv-hero .btnx { height: 18px; width: 80px; background: var(--accent); border-radius: 6px; margin-top: 4px; }
.hv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hv-cards span { height: 52px; border: 1px solid var(--line); border-radius: 8px; background: #fbfbfd; }
.hv-phone { position: absolute; width: 120px; height: 228px; right: 6%; bottom: 0; z-index: 3; background: var(--ink); border-radius: 22px; padding: 22px 12px 12px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 8px; transform: rotate(4deg); }
.hv-notch { position: absolute; top: 8px; left: 50%; width: 40px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .2); transform: translateX(-50%); }
.hv-phone span { height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.hv-phone span.short { height: 18px; width: 60%; }
.hv-phone b { margin-top: auto; height: 24px; border-radius: 8px; background: var(--wa); }
.hv-badge { position: absolute; left: 6%; top: 8%; z-index: 4; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-family: var(--font-mono); font-size: .74rem; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.hv-badge i { color: var(--accent); }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 991.98px) { .hero-visual { height: 360px; max-width: 560px; margin: 0 auto; } }
@media (max-width: 575.98px) { .hero-visual { height: 280px; } .hv-back { height: 210px; } .hv-phone { width: 92px; height: 176px; } .hv-badge { display: none; } }

/* ---------- Stats strip ---------- */
.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { display: flex; align-items: center; gap: .8rem; padding: 1.5rem 1.2rem; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stats i { font-size: 1.5rem; color: var(--accent); }
.stats span { font-weight: 600; color: var(--ink-soft); line-height: 1.25; }
@media (max-width: 767.98px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 1.1rem .8rem; border-left: 0; border-top: 1px solid var(--line); }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats li:nth-child(even) { border-left: 1px solid var(--line); }
  .stats li:first-child { padding-left: .8rem; }
}

/* ---------- Generic card ---------- */
.card-x { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; position: relative; transition: border-color .2s, box-shadow .25s, transform .25s; text-decoration: none; color: var(--ink); }
a.card-x:hover, .card-x:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
a.card-x:hover { transform: translateY(-3px); color: var(--ink); }
.card-media { display: block; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.card-body-x { padding: 1.2rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-title-x { font-size: 1.12rem; line-height: 1.3; margin: .35rem 0 .45rem; }
.card-title-x a { text-decoration: none; }
.card-title-x a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card-text-x { color: var(--ink-soft); font-size: .94rem; margin-bottom: .8rem; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, #fff); color: color-mix(in srgb, var(--accent) 70%, #000); }
.meta-mono { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.card-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; padding-top: .6rem; position: relative; z-index: 1; }
.price-row { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin: .2rem 0 .4rem; }
.client-line { font-size: .86rem; color: var(--muted); margin: -.2rem 0 .5rem; }

/* thumbnails & placeholder mocks */
.thumb { position: relative; background: var(--tint); overflow: hidden; }
.thumb.ratio-16x10 { aspect-ratio: 16 / 10; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card-x:hover .thumb img { transform: scale(1.035); }
.mock { position: absolute; inset: 0; background: linear-gradient(140deg, hsl(var(--h) 75% 96%), hsl(calc(var(--h) + 40) 80% 92%)); padding: 7% 8% 0; display: flex; flex-direction: column; }
.mock .mock-bar { border: 1px solid rgba(11, 21, 48, .08); border-bottom: 0; border-radius: 10px 10px 0 0; background: rgba(255, 255, 255, .9); padding: 7px 10px; }
.mock .mock-bar i { width: 7px; height: 7px; }
.mock-body { flex: 1; background: #fff; border: 1px solid rgba(11, 21, 48, .08); border-bottom: 0; padding: 7%; display: flex; flex-direction: column; gap: 10%; box-shadow: 0 10px 30px -18px hsl(var(--h) 60% 30% / .5); }
.mock-hero { display: flex; flex-direction: column; gap: 8px; }
.mock-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(.8rem, 1.6vw, 1.05rem); letter-spacing: -.02em; line-height: 1.15; color: hsl(var(--h) 60% 18%); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mock-line { height: 6px; border-radius: 3px; background: hsl(var(--h) 30% 88%); }
.mock-line.w60 { width: 60%; }
.mock-btn { width: 64px; height: 14px; border-radius: 5px; background: hsl(var(--h) 75% 50%); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; }
.mock-grid span { border-radius: 6px; background: hsl(var(--h) 40% 96%); border: 1px solid hsl(var(--h) 30% 92%); }

/* service cards */
.service-card { padding: 1.4rem; }
.svc-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.35rem; background: var(--tint); color: var(--ink); border: 1px solid var(--line); margin-bottom: .9rem; transition: background .2s, color .2s; }
.service-card:hover .svc-icon { background: var(--accent); color: #fff; border-color: var(--accent); }
.svc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .86rem; color: var(--ink-soft); padding-top: .4rem; }
.service-card:hover .svc-foot i { color: var(--accent); }

/* tick list */
.tick-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; }
.tick-list li { position: relative; padding-left: 1.65rem; font-size: .95rem; }
.tick-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .02rem; color: var(--accent); font-weight: 700; }
.tick-list.small { gap: .25rem; } .tick-list.small li { font-size: .86rem; color: var(--ink-soft); }

/* solutions (dark band) */
.solution { display: flex; flex-direction: column; height: 100%; padding: 1.4rem; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); color: #fff; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.solution:hover { background: rgba(255, 255, 255, .07); border-color: color-mix(in srgb, var(--accent) 70%, transparent); color: #fff; transform: translateY(-3px); }
.solution > i { font-size: 1.6rem; color: var(--accent); margin-bottom: .8rem; }
.solution h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.solution p { color: rgba(255, 255, 255, .65); font-size: .92rem; margin-bottom: 1rem; }
.solution-foot { margin-top: auto; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: rgba(255, 255, 255, .75); }

/* process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; position: relative; }
.process-step { position: relative; padding: 1.5rem 1.3rem 0 0; border-top: 2px solid var(--line); }
.process-step::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.process-num { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); }
.process-icon { display: block; font-size: 1.5rem; margin: .5rem 0 .4rem; }
.process-step h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.process-step p { color: var(--ink-soft); font-size: .93rem; margin: 0; }
@media (max-width: 991.98px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process-step { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 1.6rem 1.6rem; }
  .process-step::before { top: 2px; left: -7px; }
  .process-icon { display: none; }
}

/* packages */
.package-card { padding: 1.6rem; }
.package-card.is-popular { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.popular-tag { position: absolute; top: -12px; left: 1.6rem; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.pkg-name { font-size: 1.35rem; margin: .4rem 0 .4rem; }
.pkg-price { margin: .4rem 0 1.2rem; padding-bottom: 1.1rem; border-bottom: 1px dashed var(--line-2); display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.pkg-price small { width: 100%; color: var(--muted); font-size: .8rem; }
.pkg-price strong { font-family: var(--font-head); font-size: 2.1rem; letter-spacing: -.03em; line-height: 1; }
.pkg-price strong.por { font-size: 1.45rem; }
.pkg-price s { color: var(--muted); font-size: 1rem; }
.pkg-delivery { font-size: .86rem; color: var(--ink-soft); }

/* testimonials */
.testimonial { padding: 1.5rem; margin: 0; }
.stars { color: #f5a524; margin-bottom: .8rem; font-size: .95rem; letter-spacing: 2px; }
.testimonial blockquote { font-size: 1rem; color: var(--ink); margin: 0 0 1.2rem; flex: 1; }
.testimonial figcaption { display: flex; gap: .75rem; align-items: center; }
.testimonial figcaption img, .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; }
.testimonial figcaption span { display: flex; flex-direction: column; line-height: 1.25; }
.testimonial figcaption small { color: var(--muted); }

/* FAQ */
.faq-list .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: .7rem; overflow: hidden; background: #fff; }
.faq-list .accordion-button { font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--ink); padding: 1.1rem 1.25rem; background: #fff; box-shadow: none !important; }
.faq-list .accordion-button:not(.collapsed) { color: var(--ink); background: #fff; }
.faq-list .accordion-button::after { background-image: none; content: "\F4FE"; font-family: "bootstrap-icons"; font-size: 1.2rem; width: auto; height: auto; transition: transform .2s; color: var(--accent); }
.faq-list .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.faq-list .accordion-body { color: var(--ink-soft); padding: 0 1.25rem 1.2rem; }

/* CTA */
.cta-band { padding: 0 0 88px; }
.cta-inner { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-inner::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); opacity: .55; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: .5rem; }
.cta-inner p { color: rgba(255, 255, 255, .72); margin: 0; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; position: relative; }
.section + .cta-band, .section-tint + .cta-band { padding-top: 0; }
.section-tint + .cta-band { background: linear-gradient(var(--tint) 50%, #fff 50%); }

/* page hero */
.page-hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.page-hero .hero-grid { -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 90% 0%, #000 10%, transparent 70%); }
.page-title { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .8rem; max-width: 22ch; }
.page-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .84rem; margin-bottom: 1.1rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--ink-soft); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.filter-chips { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; max-width: 100%; }
.filter-chips::-webkit-scrollbar { display: none; }
.fchip { white-space: nowrap; display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; font-size: .88rem; padding: .48rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); text-decoration: none; }
.fchip span { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); }
.fchip:hover { border-color: var(--ink); color: var(--ink); }
.fchip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.fchip.active span { color: rgba(255, 255, 255, .7); }
.filter-search { position: relative; min-width: 240px; }
.filter-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-search input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: .58rem .9rem .58rem 2.4rem; font: inherit; }
.filter-search input:focus { outline: none; border-color: var(--ink); }
@media (max-width: 575.98px) { .filter-search { min-width: 0; width: 100%; } }

.empty-state { text-align: center; padding: 3.5rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-soft); }
.empty-state > i { font-size: 2.4rem; color: var(--muted); display: block; margin-bottom: .6rem; }

/* detail pages */
.browser-frame { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.demo-gallery .carousel-control-prev, .demo-gallery .carousel-control-next { width: 52px; }
.demo-gallery .carousel-control-prev-icon, .demo-gallery .carousel-control-next-icon { background-color: rgba(11, 21, 48, .7); border-radius: 50%; padding: 18px; background-size: 50%; }
.thumb-strip { display: flex; gap: .5rem; margin-top: .7rem; overflow-x: auto; }
.thumb-strip button { border: 1px solid var(--line); padding: 0; border-radius: 8px; overflow: hidden; width: 96px; flex: 0 0 auto; background: #fff; }
.thumb-strip img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.side-card { padding: 1.4rem; }
.buy-box { padding: 1.6rem; top: 96px; }
.buy-price { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: .2rem 0 1rem; }
.buy-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .1rem; }
.buy-facts li { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.buy-facts li:last-child { border-bottom: 0; }
.buy-facts i { color: var(--muted); }
.buy-facts span { color: var(--ink-soft); }
.buy-facts strong { margin-left: auto; text-align: right; }
.tech-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tech-tags span, .tech-tags a { font-family: var(--font-mono); font-size: .74rem; padding: .25rem .6rem; border-radius: 7px; background: var(--tint); border: 1px solid var(--line); text-decoration: none; color: var(--ink-soft); }
.tech-tags a:hover { border-color: var(--accent); color: var(--accent); }
.page-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.page-list li { font-size: .93rem; display: flex; gap: .45rem; } .page-list i { color: var(--muted); }
.rounded-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prose { font-size: 1.02rem; color: var(--ink-2); }
.prose-lg { font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 .8rem; } .prose h3 { font-size: 1.3rem; margin: 1.6rem 0 .6rem; }
.prose img { border-radius: 12px; height: auto; }
.prose blockquote { border-left: 3px solid var(--accent); padding: .3rem 0 .3rem 1.2rem; color: var(--ink-soft); font-style: italic; }
.prose pre { background: var(--ink); color: #e6e8f2; padding: 1rem; border-radius: 12px; overflow-x: auto; }
.prose a { color: color-mix(in srgb, var(--accent) 80%, #000); }
.prose table { width: 100%; border-collapse: collapse; } .prose th, .prose td { border: 1px solid var(--line); padding: .5rem .7rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--muted); font-size: .9rem; }
.share-row { display: flex; align-items: center; gap: .5rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.share-row span { font-weight: 700; margin-right: .3rem; }
.share-row a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; }
.share-row a:hover { border-color: var(--accent); }

/* about */
.about-stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.about-stats div { padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .3rem; }
.about-stats div:nth-child(2n) { border-right: 0; }
.about-stats div:nth-last-child(-n+2) { border-bottom: 0; }
.about-stats strong { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--ink); }
.about-stats strong i { color: var(--accent); font-size: 1.6rem; }
.about-stats span { color: var(--ink-soft); font-weight: 600; }
.value-card { padding: 1.4rem; }

/* contact & forms */
.contact-cards { display: grid; gap: .7rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, transform .2s; }
.contact-card:not(.static):hover { border-color: var(--ink); transform: translateX(3px); color: var(--ink); }
.contact-card > i:first-child { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); font-size: 1.2rem; }
.contact-card.wa > i:first-child { background: var(--wa); color: #fff; }
.contact-card small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.contact-card strong { font-weight: 700; word-break: break-word; }
.form-card { padding: clamp(1.25rem, 3vw, 2.2rem); }
.form-label { font-weight: 700; font-size: .88rem; margin-bottom: .35rem; }
.req { color: var(--accent); }
.form-control, .form-select { border: 1px solid var(--line-2); border-radius: 11px; padding: .7rem .9rem; font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 21, 48, .08); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { font-size: .84rem; color: var(--muted); }
.preset-note { display: flex; gap: .55rem; align-items: center; background: color-mix(in srgb, var(--accent) 9%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 25%, #fff); padding: .7rem 1rem; border-radius: 12px; margin-bottom: 1.2rem; font-size: .93rem; }
.preset-note i { color: var(--accent); }
.form-result:empty { display: none; }
.form-result { margin-bottom: 1rem; }
.next-steps { padding-left: 1.2rem; display: grid; gap: .6rem; margin: 0; }
.next-steps li::marker { color: var(--accent); font-weight: 800; }

.status-page { text-align: center; max-width: 560px; margin: 0 auto; padding: 2rem 0; }
.status-page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin: 1rem 0 .6rem; }
.status-page p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 1.8rem; }
.status-code { font-family: var(--font-head); font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; background: linear-gradient(135deg, var(--ink), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.status-icon { width: 84px; height: 84px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 2.6rem; }
.status-icon.ok { background: color-mix(in srgb, var(--wa) 14%, #fff); color: var(--wa); }

/* footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 72px 0 0; }
.footer-tagline { margin: .4rem 0 1.2rem; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; }
.footer-h { font-family: var(--font-mono); font-size: .76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.footer-contact i { color: var(--accent); margin-top: .15rem; }
.footer-social { display: flex; gap: .45rem; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding: 1.4rem 0; margin-top: 3rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.site-footer .btn-accent { color: #fff; }
.site-footer .btn-accent:hover { text-decoration: none; }

/* WhatsApp floating button — sits above mobile browser bars & sticky buttons */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 1040; display: inline-flex; align-items: center; gap: .55rem; background: var(--wa); color: #fff; text-decoration: none; padding: .8rem 1.1rem .8rem .9rem; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 28px -10px rgba(31, 168, 85, .75); transition: transform .2s, box-shadow .2s; }
.wa-float i { font-size: 1.5rem; line-height: 1; }
.wa-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .85); }
@media (max-width: 767.98px) {
  .wa-float { padding: 0; width: 54px; height: 54px; justify-content: center; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .wa-float-label { display: none; }
  .site-footer { padding-bottom: 76px; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* pagination */
.pagination .page-link { border-radius: 10px !important; margin: 0 3px; border-color: var(--line); color: var(--ink); font-weight: 700; }
.pagination .page-item.active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }
.alert { border-radius: 12px; }

/* PWA install toast */
.install-toast { position: fixed; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 1045; display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .6rem .7rem .6rem 1rem; box-shadow: var(--shadow-lg); max-width: calc(100% - 90px); font-size: .9rem; font-weight: 600; }
.install-toast i { color: var(--accent); }

/* =====================================================================
   Phase 2 — client portal, checkout, documents
   ===================================================================== */
.text-accent { color: color-mix(in srgb, var(--accent) 85%, #000) !important; }
.auth-section { padding: 56px 0 88px; background: radial-gradient(900px 420px at 100% 0%, color-mix(in srgb, var(--accent) 10%, #fff), transparent 70%); }
.auth-box { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); }
.auth-box-lg { max-width: 720px; }

.portal { padding: 32px 0 88px; background: var(--tint); min-height: 70vh; }
.portal-grid { display: grid; grid-template-columns: 250px 1fr; gap: 1.5rem; align-items: start; }
.portal-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; position: sticky; top: 90px; }
.portal-me { display: flex; gap: .7rem; align-items: center; padding: .5rem .5rem 1rem; border-bottom: 1px solid var(--line); margin-bottom: .5rem; }
.portal-me span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.portal-me small { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-me .avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; }
.portal-nav nav { display: grid; gap: 2px; margin-bottom: .5rem; }
.portal-nav nav a { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 10px; text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .93rem; }
.portal-nav nav a:hover { background: var(--tint); color: var(--ink); }
.portal-nav nav a.active { background: var(--ink); color: #fff; }
.portal-nav nav a b { margin-left: auto; background: var(--accent); color: #fff; font-size: .7rem; padding: .05rem .45rem; border-radius: 999px; }
.portal-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 1rem; }
@media (max-width: 991.98px) {
  .portal-grid { grid-template-columns: 1fr; }
  .portal-nav { position: static; padding: .5rem; }
  .portal-me { display: none; }
  .portal-nav nav { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0; }
  .portal-nav nav a { white-space: nowrap; }
  .portal-nav form { display: none; }
}
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); display: grid; gap: .1rem; transition: border-color .2s, transform .2s; }
.kpi:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.kpi i { color: var(--accent); font-size: 1.2rem; }
.kpi span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.kpi strong { font-family: var(--font-head); font-size: 1.45rem; letter-spacing: -.02em; }
.kpi-alert { border-color: color-mix(in srgb, var(--accent) 40%, #fff); background: color-mix(in srgb, var(--accent) 5%, #fff); }
@media (max-width: 767.98px) { .kpi-row { grid-template-columns: 1fr 1fr; } }
.attention { border-color: color-mix(in srgb, var(--accent) 40%, #fff); background: color-mix(in srgb, var(--accent) 5%, #fff); }
.empty-mini { text-align: center; padding: 1.5rem; color: var(--ink-soft); } .empty-mini > i { font-size: 2rem; color: var(--muted); }
.proj-row { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.proj-row:last-child { border-bottom: 0; } .proj-row strong { display: block; margin-bottom: .4rem; }
.proj-card { text-decoration: none; }
.progress { height: 8px; border-radius: 99px; background: #eef0f5; }
.progress-bar { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #ffd2c0)); border-radius: 99px; }
.stage-list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; color: var(--muted); }
.stage-list li.done { color: var(--ink); } .stage-list li.done i { color: var(--wa); }
.stage-list li.current { color: var(--ink); font-weight: 700; } .stage-list li.current i { color: var(--accent); }
.stage-list i { margin-right: .3rem; }
.mini-money { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .9rem; font-size: .86rem; color: var(--muted); }
.mini-money b { color: var(--ink); }
.due-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.due-row:last-child { border-bottom: 0; }
.due-row span { display: flex; flex-direction: column; } .due-row small { color: var(--muted); }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; flex-direction: column; padding: .55rem .2rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.feed li:last-child { border-bottom: 0; } .feed li small { color: var(--muted); }
.feed li.unread span { font-weight: 700; } .feed li.unread span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: middle; }
.feed-lg li { padding: .8rem 1rem; }
.help-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; background: var(--ink); color: #fff; padding: 1rem 1.3rem; border-radius: var(--radius); }
.timeline-x { list-style: none; padding: 0; margin: 0; }
.timeline-x li { position: relative; padding: 0 0 1.2rem 1.4rem; border-left: 2px solid var(--line); }
.timeline-x li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.timeline-x small { color: var(--muted); } .timeline-x p { margin: .25rem 0 0; }
.file-row, .file-card { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.file-row { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.file-row span, .file-card span { display: flex; flex-direction: column; min-width: 0; }
.file-row small, .file-card small { color: var(--muted); font-size: .8rem; }
.file-card { padding: 1rem 1.2rem; flex-direction: row; }
.file-card > i:first-child { font-size: 1.6rem; color: var(--accent); }
.portal-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fafbfd; padding: .8rem 1rem; }
.portal-table td { padding: .8rem 1rem; }
@media (max-width: 767.98px) {
  .portal-table thead { display: none; }
  .portal-table tr { display: block; border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .portal-table td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .3rem 1rem; }
  .portal-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-weight: 700; font-size: .8rem; }
}
.ticket-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-bottom: 1rem; color: var(--muted); font-size: .9rem; }
.thread { display: grid; gap: .8rem; }
.msg { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; max-width: 92%; }
.msg.mine { margin-left: auto; background: color-mix(in srgb, var(--accent) 6%, #fff); border-color: color-mix(in srgb, var(--accent) 25%, #fff); }
.msg-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; font-size: .9rem; }
.msg-head small { color: var(--muted); }
.msg-att { display: inline-flex; gap: .3rem; margin-top: .6rem; font-size: .88rem; }

/* checkout */
.step-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .85rem; margin-right: .4rem; }
.option-list { display: grid; gap: .6rem; }
.option { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--line-2); }
.option.checked { border-color: var(--ink); background: #fafbfd; }
.option input { width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.option-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.option-body small { color: var(--muted); }
.option-price { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.sum-list { list-style: none; padding: 0; margin: 0; }
.sum-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line-2); }
.sum-list li:last-child { border-bottom: 0; }
.sum-list .sum-total { font-size: 1.15rem; padding-top: .8rem; }
.sum-list .sum-total strong { font-family: var(--font-head); font-size: 1.5rem; }

