/* Παράγεται από bin/publish-assets.php — μην το επεξεργάζεστε απευθείας */
/* ==========================================================================
   PetTrainer.gr — ενιαίο stylesheet (site + εφαρμογή)
   Mobile-first. Breakpoints: 640px (tablet), 960px (desktop), 1200px (wide)
   ========================================================================== */

:root {
  --ink: #1d2b2a;
  --ink-2: #33423f;
  --muted: #5d6b68;
  --bg: #fbf8f3;
  --bg-alt: #f4efe6;
  --surface: #ffffff;
  --line: #e7e0d4;
  --line-2: #d8cfc0;
  --primary: #1f5f4a;
  --primary-700: #174a39;
  --primary-50: #e7f0eb;
  --primary-100: #cfe2d7;
  --accent: #f2a65a;
  --accent-700: #c7782c;
  --accent-50: #fdf1e3;
  --danger: #b3261e;
  --danger-50: #fbeceb;
  --warn-50: #fff4e2;
  --info-50: #eaf2f8;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(29, 43, 42, .06);
  --shadow: 0 1px 2px rgba(29, 43, 42, .05), 0 8px 24px -8px rgba(29, 43, 42, .14);
  --shadow-lg: 0 2px 6px rgba(29, 43, 42, .06), 0 24px 48px -16px rgba(29, 43, 42, .22);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 16px;
  --focus: 0 0 0 3px rgba(242, 166, 90, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 760; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-700); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
code { font-family: var(--mono); font-size: .9em; background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.visually-hidden { position: absolute !important; 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: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
@media (min-width: 640px) { :root { --gutter: 24px; } }

/* ---------- Icons (CSS mask, χρώμα από currentColor) ---------- */
.ico { display: inline-block; width: 1.25em; height: 1.25em; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font: inherit; font-weight: 650; font-size: .975rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-700); color: #fff; }
.btn--accent { background: var(--accent); color: #2b1a08; }
.btn--accent:hover { background: #f5b673; color: #2b1a08; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--ghost-light { background: transparent; color: #e9f1ed; border-color: rgba(255,255,255,.22); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 1.03rem; }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 650; color: var(--primary); text-decoration: underline; cursor: pointer; }

.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650; background: var(--bg-alt); color: var(--ink-2); white-space: nowrap; }
.chip--green, .chip--active { background: var(--primary-50); color: var(--primary-700); }
.chip--trialing { background: var(--accent-50); color: #8a4b12; }
.chip--past_due, .chip--read_only, .chip--cancelled, .chip--none { background: var(--danger-50); color: var(--danger); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); }
.brand .logo-mark { width: 36px; height: 36px; }
.brand__name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); }
.brand__name span { color: var(--accent-700); }
.brand--light { color: var(--primary-100); }
.brand--light .logo-mark { color: #2e7a61; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name span { color: var(--accent); }

/* ---------- Site header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 243, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s, background .2s; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 14px 4px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav li a[aria-current="page"] { color: var(--primary); }
.site-nav__actions { display: grid; gap: 10px; margin-top: 16px; }

@media (min-width: 960px) {
  .nav-toggle:not(.nav-toggle--app) { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 28px; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; gap: 6px; }
  .site-nav li a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: .95rem; color: var(--ink-2); }
  .site-nav li a:hover { background: var(--bg-alt); color: var(--ink); }
  .site-nav li a[aria-current="page"] { background: var(--primary-50); }
  .site-nav__actions { display: flex; margin: 0; gap: 8px; }
}

/* ---------- Hero ---------- */
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 12px; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--ink-2); max-width: 36em; }
.hl { color: var(--primary); position: relative; }
@media (min-width: 640px) { .hl { white-space: nowrap; } }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--accent); opacity: .45; border-radius: 4px; z-index: -1; }

.hero { position: relative; overflow: hidden; padding: 40px 0 56px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, var(--primary-50), transparent 70%); z-index: -2; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero__cta .btn { flex: 1 1 200px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; }
.hero__trust li::before { content: "✓"; color: var(--primary); font-weight: 800; margin-right: 6px; }
@media (min-width: 640px) { .hero__cta .btn { flex: 0 0 auto; } }
@media (min-width: 960px) { .hero { padding: 72px 0 96px; } .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }

.hero__visual { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); }
.mock__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mock__head small { display: block; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.mock__head > div { min-width: 0; }
.mock__head .chip { margin-left: auto; }
.mock__avatar { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), #e08a3c); color: #fff; font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; flex-shrink: 0; }
.mock__label { font-size: .85rem; font-weight: 650; color: var(--ink-2); margin-bottom: 8px; }
.mock__meta { font-size: .8rem; color: var(--muted); margin: 6px 0 16px; }
.meter { height: 10px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; }
.meter__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #3a8a6d); border-radius: 99px; }
.meter__fill--58 { width: 58.3%; }
.mock__skills { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid var(--line); }
.mock__skills li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.mock__skills b { font-size: .82rem; color: var(--muted); width: 28px; text-align: right; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 9px; height: 9px; border-radius: 3px; background: var(--line); }
.dots--1 i:nth-child(-n+1), .dots--2 i:nth-child(-n+2), .dots--3 i:nth-child(-n+3) { background: var(--primary); }
.mock__homework { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--accent-50); border-radius: 12px; font-size: .88rem; }
.mock__homework small { display: block; color: #7a4a1c; }
.mock__check { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.mock-float { position: absolute; right: -6px; bottom: -64px; background: var(--primary); color: #e9f1ed; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); font-size: .8rem; display: grid; }
.mock-float strong { font-weight: 650; color: #cfe2d7; }
.mock-float__num { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; }
@media (max-width: 639px) { .mock-float { position: relative; right: auto; bottom: auto; margin: -22px 14px 0 auto; width: max-content; } .mock__head .chip { display: none; } }
@media (min-width: 1200px) { .mock-float { right: -38px; } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 8px 0 24px; }
.section--alt { background: var(--bg-alt); }
.section--flush-top { padding-top: 0; }
@media (min-width: 960px) { .section { padding: 88px 0; } .section--tight { padding: 0 0 40px; } .section--flush-top { padding-top: 0; } }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section__sub { color: var(--muted); }

.stat-row { display: grid; gap: 12px; }
.stat-row > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.stat-row strong { font-size: 1.35rem; color: var(--primary); letter-spacing: -0.02em; }
.stat-row span { color: var(--muted); font-size: .95rem; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(3, 1fr); } .stat-row > div { display: block; } .stat-row strong { display: block; } }

.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--primary-100); }
.card p { color: var(--muted); margin: 0; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; position: relative; }
.card__icon.ico { -webkit-mask: none; mask: none; }
.card__icon.ico::after { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }

.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 11px; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps strong { color: var(--ink); }
.quote-card { background: var(--primary); color: #e9f1ed; border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); position: relative; }
.quote-card::before { content: "“"; position: absolute; top: -14px; left: 24px; font-size: 5rem; line-height: 1; color: var(--accent); font-family: Georgia, serif; }
.quote-card__text { font-size: 1.12rem; line-height: 1.55; color: #fff; }
.quote-card__by { margin: 0; font-size: .85rem; color: #a9c8b9; }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 960px) { .pricing { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; }
.plan--featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
@media (min-width: 960px) { .plan--featured { transform: translateY(-8px); } }
.plan--current { border-color: var(--primary); background: var(--primary-50); }
.plan__badge { position: absolute; top: -13px; left: 24px; background: var(--accent); color: #2b1a08; font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.plan__name { font-size: 1.25rem; margin-bottom: 4px; }
.plan__tagline { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.plan__price { margin: 6px 0 2px; display: flex; align-items: baseline; gap: 4px; }
.plan__amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.plan__per { color: var(--muted); font-weight: 600; }
.plan__year { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.plan__features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; flex: 1; }
.plan__features li { position: relative; padding-left: 26px; font-size: .95rem; }
.plan__features li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-5' fill='none' stroke='%231f5f4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pricing__note, .pricing__vat { text-align: center; color: var(--muted); margin-top: 28px; }
.pricing__vat { margin-top: 12px; font-size: .88rem; }
.pricing--compact { margin-top: 18px; }
.pricing--compact .plan { padding: 20px; }
.pricing--compact .plan__amount { font-size: 1.9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }

.cta-band { background: var(--primary); color: #e9f1ed; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: rgba(242, 166, 90, .14); }
.cta-band__inner { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9ddd3; margin-bottom: 24px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 48px 0 36px; text-align: center; }
@media (min-width: 960px) { .page-hero { padding: 80px 0 48px; } }
.page-hero .lead { margin: 0 auto; }
.feature-list { display: grid; gap: 18px; max-width: 920px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.feature p { color: var(--ink-2); }
.feature--soon { background: transparent; border-style: dashed; border-color: var(--line-2); }
.feature__tag { display: inline-block; font-size: .75rem; font-weight: 750; color: var(--primary-700); background: var(--primary-50); padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; }
.feature__tag--soon { color: #8a4b12; background: var(--accent-50); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li { padding-left: 24px; position: relative; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
@media (min-width: 960px) { .feature-list { grid-template-columns: 1fr 1fr; } }

.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.3rem; margin-top: 2em; color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.table { width: 100%; border-collapse: collapse; font-size: .94rem; background: var(--surface); }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; background: var(--bg); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
@media (max-width: 759px) {
  .table--responsive thead { display: none; }
  .table--responsive tr { display: block; border-bottom: 1px solid var(--line-2); padding: 8px 0; }
  .table--responsive td { display: grid; grid-template-columns: 110px 1fr; gap: 10px; border: 0; padding: 6px 14px; }
  .table--responsive td::before { content: attr(data-label); font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
  .table-wrap { border: 0; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .92rem; }
.field__labelrow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.optional { font-weight: 500; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px; /* 16px: χωρίς zoom στο iOS */
  color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235d6b68' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
textarea { min-height: 140px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #bfb4a2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31, 95, 74, .16); }
input:disabled { background: var(--bg-alt); color: var(--muted); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .86rem; font-weight: 600; margin: 0; }
.hint { color: var(--muted); font-size: .84rem; margin: 0; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.password { position: relative; }
.password input { padding-right: 96px; }
.password__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px; border: 0; background: var(--bg-alt); border-radius: 8px; font: inherit; font-size: .82rem; font-weight: 650; color: var(--ink-2); cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { appearance: none; flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.check input:focus-visible { box-shadow: var(--focus); }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form select { min-height: 36px; padding: 6px 34px 6px 10px; font-size: .875rem; width: auto; max-width: 220px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
@media (min-width: 640px) { .panel { padding: 28px; } }
.panel h2 { font-size: 1.15rem; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel__head h2 { margin: 0; }

.contact-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.6fr 1fr; gap: 40px; } }
.contact-aside h2 { font-size: 1.15rem; }
.contact-aside__box { background: var(--primary-50); border-radius: var(--radius); padding: 22px; margin-top: 24px; }
.contact-aside__box h3 { margin-bottom: 4px; }
.success-state { text-align: center; padding: 28px 0; }

/* ---------- Flash ---------- */
.flash-stack { display: grid; gap: 10px; margin-bottom: 20px; }
.flash { padding: 13px 16px; border-radius: var(--radius-sm); font-size: .94rem; font-weight: 550; border: 1px solid; }
.flash--success { background: var(--primary-50); border-color: var(--primary-100); color: var(--primary-700); }
.flash--error { background: var(--danger-50); border-color: #f3c7c4; color: var(--danger); }
.flash--warning { background: var(--warn-50); border-color: #f6d9a8; color: #7a4a1c; }
.flash--info { background: var(--info-50); border-color: #cddff0; color: #1f4a6e; }

/* ---------- Footer ---------- */
.site-footer { background: #142321; color: #b9c8c3; padding: 56px 0 24px; }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__lead { margin-top: 14px; max-width: 28em; }
.site-footer__title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d7e3df; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- Auth ---------- */
body.auth { min-height: 100vh; background: var(--bg) radial-gradient(circle at 85% 0%, var(--primary-50), transparent 45%) no-repeat; }
.auth__wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 32px var(--gutter) 48px; }
.auth__brand { margin-bottom: 28px; }
.auth__wrap > .flash-stack { width: 100%; max-width: 440px; }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 22px; box-shadow: var(--shadow); }
.auth-card--wide { max-width: 680px; }
@media (min-width: 640px) { .auth-card { padding: 36px; } .auth__wrap { justify-content: center; } }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 4px; }
.auth-card > .muted { margin-bottom: 24px; }
.auth-card__alt { text-align: center; margin: 22px 0 0; font-size: .94rem; color: var(--muted); }
.auth__wrap > .flash-stack + .auth-card, .auth__wrap > .flash-stack { margin-top: 0; }
.error-card { text-align: center; }
.error-card__code { font-size: 3.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; letter-spacing: -0.04em; }
.org-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.org-list__btn { width: 100%; text-align: left; display: grid; gap: 2px; padding: 16px 18px; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); font: inherit; cursor: pointer; }
.org-list__btn:hover { border-color: var(--primary); background: var(--primary-50); }
.org-list__btn span { color: var(--muted); font-size: .88rem; }

/* ---------- App shell ---------- */
body.app { background: var(--bg); }
.app-shell { min-height: 100vh; }
.app-sidebar { position: fixed; inset: 0 auto 0 0; width: 272px; max-width: 86vw; background: #142321; color: #c9d7d2; padding: 22px 16px; display: flex; flex-direction: column; gap: 20px; z-index: 60; transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; }
.app-sidebar.is-open { transform: none; box-shadow: var(--shadow-lg); }
.app-sidebar > .brand { padding: 0 8px; }
.app-sidebar__org { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; font-size: .9rem; }
.app-sidebar__org strong { color: #fff; }
.app-sidebar__org-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: #8fa9a0; }
.app-sidebar__org a { color: var(--accent); font-size: .82rem; text-decoration: none; margin-top: 4px; }
.app-nav { display: grid; gap: 2px; }
.app-nav a, .app-nav__soon { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: #d7e3df; text-decoration: none; font-weight: 550; font-size: .95rem; min-height: 44px; }
.app-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.app-nav a[aria-current="page"] { background: rgba(242, 166, 90, .14); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.app-nav__soon { color: #6f8a82; cursor: default; }
.app-nav__soon em { margin-left: auto; font-style: normal; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; border: 1px solid rgba(255,255,255,.12); padding: 1px 6px; border-radius: 99px; }
.app-sidebar__logout { margin-top: auto; }
.app-backdrop { position: fixed; inset: 0; background: rgba(20, 35, 33, .45); z-index: 55; }

.app-topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter); min-height: 64px; background: rgba(251, 248, 243, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.app-topbar__title { font-size: 1.15rem; margin: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-topbar__user { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 750; display: grid; place-items: center; flex-shrink: 0; }
.app-content { padding: 20px var(--gutter) 48px; max-width: 1160px; }

@media (min-width: 960px) {
  .app-sidebar { transform: none; }
  .app-main { margin-left: 272px; }
  .nav-toggle--app { display: none; }
  .app-content { padding: 28px 36px 64px; }
  .app-topbar { padding: 10px 36px; }
  .app-backdrop { display: none; }
}

.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 11px var(--gutter); font-size: .92rem; border-bottom: 1px solid; margin: 0; }
@media (min-width: 960px) { .banner { padding: 11px 36px; } }
.banner a { font-weight: 700; }
.banner--trial { background: var(--accent-50); border-color: #f4dcc0; color: #6b3c10; }
.banner--warn { background: var(--danger-50); border-color: #f3c7c4; color: #8a1f19; }
.banner--info { background: var(--info-50); border-color: #cddff0; color: #1f4a6e; }

.welcome { margin-bottom: 20px; }
.welcome h2 { font-size: 1.6rem; margin-bottom: 2px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
@media (min-width: 960px) { .kpis { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 4px; }
.kpi__label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.kpi__value { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; }

.progress { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 99px; background: var(--bg-alt); overflow: hidden; margin-bottom: 8px; }
.progress::-webkit-progress-bar { background: var(--bg-alt); border-radius: 99px; }
.progress::-webkit-progress-value { background: var(--primary); border-radius: 99px; }
.progress::-moz-progress-bar { background: var(--primary); border-radius: 99px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist__item:last-child { border-bottom: 0; padding-bottom: 0; }
.checklist__item small { display: block; color: var(--muted); }
.checklist__mark { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; }
.checklist__item.is-done .checklist__mark { background: var(--primary); border-color: var(--primary); }
.checklist__item.is-done strong { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }

.portal-actions { display: grid; gap: 12px; }
@media (min-width: 640px) { .portal-actions { grid-template-columns: repeat(3, 1fr); } }
.portal-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 6px; }
.portal-card .ico { width: 28px; height: 28px; color: var(--primary); margin-bottom: 6px; }
.portal-card small { color: var(--muted); }

.grid-2 { display: grid; gap: 0 20px; }
@media (min-width: 960px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.dl { display: grid; gap: 12px; margin: 0; }
@media (min-width: 640px) { .dl { grid-template-columns: repeat(3, 1fr); } }
.dl dt { font-size: .8rem; color: var(--muted); font-weight: 650; }
.dl dd { margin: 2px 0 0; font-weight: 650; }

.ico--home{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2011l9-7%209%207v9a1%201%200%200%201-1%201h-5v-6H9v6H4a1%201%200%200%201-1-1z%22/%3E%3C/svg%3E")}
.ico--users{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.5%22/%3E%3Cpath%20d%3D%22M2.5%2020c.6-3.6%203.3-5.5%206.5-5.5s5.9%201.9%206.5%205.5%22/%3E%3Cpath%20d%3D%22M16%204.6a3.5%203.5%200%200%201%200%206.8M18%2014.8c2%20.7%203.2%202.5%203.5%205.2%22/%3E%3C/svg%3E")}
.ico--paw{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2210%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%225.5%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%225.5%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2210%22%20r%3D%222%22/%3E%3Cpath%20d%3D%22M12%2011c-3%200-5.5%203.2-5.5%205.6%200%201.6%201.2%202.4%202.6%202.4%201.2%200%201.8-.7%202.9-.7s1.7.7%202.9.7c1.4%200%202.6-.8%202.6-2.4C17.5%2014.2%2015%2011%2012%2011z%22/%3E%3C/svg%3E")}
.ico--cal{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%225%22%20width%3D%2217%22%20height%3D%2215.5%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M3.5%2010h17M8%203v4M16%203v4%22/%3E%3C/svg%3E")}
.ico--list{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%206h11M9%2012h11M9%2018h11%22/%3E%3Cpath%20d%3D%22M4%206l1%201%202-2M4%2012l1%201%202-2M4%2018l1%201%202-2%22/%3E%3C/svg%3E")}
.ico--chart{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020V10M10%2020V4M16%2020v-7M22%2020H2%22/%3E%3C/svg%3E")}
.ico--shield{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l7.5%203v5.5c0%204.6-3.2%208.3-7.5%209.5-4.3-1.2-7.5-4.9-7.5-9.5V6z%22/%3E%3Cpath%20d%3D%22M8.5%2012l2.5%202.5%204.5-5%22/%3E%3C/svg%3E")}
.ico--card{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%225%22%20width%3D%2219%22%20height%3D%2214%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M2.5%2010h19M6.5%2015h4%22/%3E%3C/svg%3E")}
.ico--user{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22/%3E%3Cpath%20d%3D%22M4%2021c.8-4.2%204-6.5%208-6.5s7.2%202.3%208%206.5%22/%3E%3C/svg%3E")}
.ico--chat{--ico:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v11H9l-5%204z%22/%3E%3C/svg%3E")}
