/* Pratish Logistics — site stylesheet
   Layout concept: a warehouse floor plan. Sections are "bays" with
   stencil-style bay labels; data reads like a stock tag. */
:root {
  --navy: #3C3B8A;      /* brand primary */
  --red: #EC3237;       /* brand accent */
  --deep: #1E1D4A;      /* dark bands */
  --bg: #F7F7FA;        /* page */
  --surface: #FFFFFF;   /* cards, header */
  --fg: #222230;        /* body text */
  --muted: #5B5B73;     /* secondary text */
  --line: #DCDCE8;      /* rules */
  --ink: #3C3B8A;       /* navy used as text/links */
  --tint: #ECECF6;      /* soft navy wash */
  --mark: #FFF1B8;      /* [TO CONFIRM] highlight */
  --mark-fg: #5A4600;
  --on-deep: #F2F2FA;
  --on-deep-muted: #B9B8DA;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111127; --surface: #1A1A38; --fg: #E9E9F3; --muted: #A3A3BF;
    --line: #2D2D55; --ink: #ADACF2; --tint: #22224A; --red: #FF5B60;
    --deep: #0A0A1C; --mark: #4A3D00; --mark-fg: #FFE58A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111127; --surface: #1A1A38; --fg: #E9E9F3; --muted: #A3A3BF;
  --line: #2D2D55; --ink: #ADACF2; --tint: #22224A; --red: #FF5B60;
  --deep: #0A0A1C; --mark: #4A3D00; --mark-fg: #FFE58A; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.65 var(--font-body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--fg); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem); font-weight: 800; font-stretch: 112%; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; font-stretch: 108%; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
mark.tbc { background: var(--mark); color: var(--mark-fg); font: 500 0.85em/1.4 var(--font-mono); padding: 1px 5px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.label { font: 500 0.75rem/1.3 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
.logo-on-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-header .logo-on-light { display: none; } :root:not([data-theme="light"]) .site-header .logo-on-dark { display: block; } }
:root[data-theme="dark"] .site-header .logo-on-light { display: none; }
:root[data-theme="dark"] .site-header .logo-on-dark { display: block; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.call-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; text-decoration: none; font: 600 0.92rem/1 var(--font-body); padding: 12px 16px; border-radius: var(--radius); white-space: nowrap; }
.call-btn:hover { background: var(--navy); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: var(--radius); padding: 9px 12px; font: 600 0.9rem var(--font-body); cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .site-header .call-btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter-r) 16px var(--gutter-l); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .brand img { height: 38px; }
}

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--font-body); padding: 15px 22px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--surface); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 0.85rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); color: var(--fg); }

/* ---------- hero ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 56px; padding-block: 64px 56px; align-items: start; }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 0.8rem/1.3 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--red); }
.hero h1 span { color: var(--red); }
.hero .intro { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.serve { display: grid; gap: 10px; }
.hero-side { display: grid; gap: 0; min-width: 0; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-block: 40px; } }

/* stock-tag style "at a glance" */
.tag { background: var(--deep); color: var(--on-deep); border-radius: var(--radius); padding: 22px 24px 24px; position: relative; }
.tag::before { content: ""; position: absolute; top: 16px; right: 18px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--on-deep-muted); }
.tag .label { color: var(--on-deep-muted); }
.tag dl { margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; }
.tag dl > div { padding: 14px 0; border-top: 1px dashed rgba(185, 184, 218, 0.35); display: grid; gap: 4px; }
.tag dl > div:nth-child(odd) { padding-right: 14px; }
.tag dt { font: 500 0.7rem/1.3 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-deep-muted); }
.tag dd { margin: 0; font: 700 1.05rem/1.3 var(--font-display); color: #fff; }
.tag dd a { color: #fff; text-decoration-color: var(--red); }
.tag dd a:hover { color: var(--red); }
.tag .big { font-size: 2rem; font-stretch: 115%; line-height: 1; }
.tag .big em { font-style: normal; color: var(--red); }

/* photo placeholders */
.photo { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); background: repeating-linear-gradient(135deg, var(--tint) 0 12px, transparent 12px 24px), var(--surface); border: 1px dashed var(--line); display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); font: 500 0.78rem/1.5 var(--font-mono); letter-spacing: 0.05em; }
.photo.wide { aspect-ratio: 16 / 7; }
.hero-side .photo { aspect-ratio: 16 / 9; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.hero-side .tag { border-top-left-radius: 0; border-top-right-radius: 0; }

/* ---------- bays (sections) ---------- */
.bay { padding-block: 84px; border-bottom: 1px solid var(--line); }
.bay.alt { background: var(--surface); }
.bay-head { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px 40px; margin-bottom: 44px; align-items: start; }
.bay-no { font: 800 0.8rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 12px; border-top: 3px solid var(--red); width: fit-content; min-width: 80px; }
.bay-no b { display: block; font: 800 2.4rem/1 var(--font-display); font-stretch: 120%; color: var(--ink); letter-spacing: 0; margin-top: 8px; }
.bay-head p { color: var(--muted); max-width: 62ch; margin-top: 12px; font-size: 1.05rem; }
@media (max-width: 720px) { .bay { padding-block: 56px; } .bay-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; } .bay-no b { font-size: 1.8rem; } }

.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g3, .g2, .g4 { grid-template-columns: 1fr; } }

/* service cards */
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: border-color .2s, transform .2s; }
.bay.alt .svc { background: var(--bg); }
.svc:hover { border-color: var(--ink); transform: translateY(-2px); }
.svc .code { font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.1em; color: var(--red); }
.svc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; color: var(--muted); font-size: 0.95rem; }
.svc li { padding-left: 16px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 2px; background: var(--ink); }
.svc .more { margin-top: auto; font-weight: 600; text-decoration: none; padding-top: 6px; }

/* packaging strip */
.pack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pack li { list-style: none; padding: 26px 18px; display: grid; gap: 10px; justify-items: start; border-left: 1px solid var(--line); }
.pack li:first-child { border-left: 0; }
.pack svg { width: 52px; height: 52px; color: var(--ink); }
.pack svg .acc { color: var(--red); }
.pack strong { font: 700 1.05rem/1.2 var(--font-display); }
.pack span { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.pack { padding: 0; margin: 0; }
@media (max-width: 880px) { .pack { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pack li { border-left: 0; border-top: 1px solid var(--line); } .pack li:nth-child(-n+2) { border-top: 0; } .pack li:nth-child(even) { border-left: 1px solid var(--line); } }
.qualifier { margin-top: 16px; font-size: 0.88rem; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.qualifier::before { content: "i"; flex: 0 0 auto; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--muted); font: 700 0.7rem/1 var(--font-mono); }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.founder .photo { aspect-ratio: 4 / 5; }
.founder-body { display: grid; gap: 18px; min-width: 0; }
.founder-body .role { font: 500 0.78rem/1.3 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.founder-body p { color: var(--muted); max-width: 62ch; }
.cofounder { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--line); }
.cofounder strong { font: 700 1.1rem var(--font-display); }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; gap: 24px; } .founder .photo { aspect-ratio: 16 / 10; } }

/* why */
.why > div { padding: 22px 0 0; border-top: 2px solid var(--fg); display: grid; gap: 8px; min-width: 0; }
.why p { color: var(--muted); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; padding: 0 24px 0 0; display: grid; gap: 10px; position: relative; min-width: 0; }
.steps li::before { content: counter(s); font: 800 2.6rem/1 var(--font-display); font-stretch: 120%; color: var(--red); }
.steps li::after { content: ""; position: absolute; top: 20px; left: 46px; right: 12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* reviews */
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.stars { color: #E8A317; letter-spacing: 2px; }

/* faq */
.faq-note { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 600 1.05rem/1.4 var(--font-body); color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--font-mono); color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* insights cards */
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--fg); min-width: 0; }
.bay.alt .post { background: var(--bg); }
.post:hover { border-color: var(--ink); color: var(--fg); }
.post h3 { font-size: 1.2rem; }
.post p { color: var(--muted); font-size: 0.95rem; }
.post .read { margin-top: auto; color: var(--ink); font-weight: 600; }
.cat { font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.all-link { display: inline-block; margin-top: 24px; font-weight: 600; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.info { display: grid; gap: 14px; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 8px; min-width: 0; }
.bay.alt .card { background: var(--bg); }
.card address { font-style: normal; color: var(--fg); }
.row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.val { font: 600 1.05rem/1.4 var(--font-body); color: var(--fg); word-break: break-word; user-select: all; }
.mini { font: 600 0.82rem/1 var(--font-body); padding: 8px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.mini:hover { border-color: var(--ink); color: var(--ink); }
.mini.wa { background: #1F8F4E; border-color: #1F8F4E; color: #fff; }
.mini.wa:hover { background: #17733e; color: #fff; }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.note { font-size: 0.85rem; color: var(--muted); }

form.enquiry { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; min-width: 0; }
.bay.alt form.enquiry { background: var(--bg); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } form.enquiry { padding: 20px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font: 600 0.85rem/1.3 var(--font-body); color: var(--fg); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.bay.alt .field input, .bay.alt .field select, .bay.alt .field textarea { background: var(--surface); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px; font-weight: 500; cursor: pointer; background: var(--surface); }
.checks input { width: auto; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.form-msg { border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; }
.form-msg.ok { background: var(--tint); }
.form-msg.err { background: var(--mark); color: var(--mark-fg); }

/* ---------- inner pages ---------- */
.crumbs { font: 500 0.78rem/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: 48px 44px; display: grid; gap: 16px; }
.page-hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-block: 56px 72px; align-items: start; }
@media (max-width: 960px) { .page-body { grid-template-columns: 1fr; gap: 36px; } }
.prose { max-width: 70ch; min-width: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--red); }
.aside { display: grid; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); min-width: 0; }
@media (max-width: 960px) { .aside { position: static; } }
.aside .card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.aside .card li { padding-left: 16px; position: relative; font-size: 0.95rem; }
.aside .card li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 2px; background: var(--red); }
.cta-band { background: var(--deep); color: var(--on-deep); }
.cta-band .wrap { padding-block: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); max-width: 26ch; }
.cta-band p { color: var(--on-deep-muted); margin-top: 8px; }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--deep); }
.related { display: grid; gap: 8px; }
.related a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.meta { font: 500 0.8rem/1.4 var(--font-mono); color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tags button { font: 500 0.8rem/1 var(--font-mono); letter-spacing: 0.05em; padding: 9px 14px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.tags button[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-muted); padding-bottom: 72px; }
.site-footer .wrap { padding-block: 56px 28px; display: grid; gap: 40px; }
.f-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 860px) { .f-top { grid-template-columns: 1fr; } }
.f-top img { height: 64px; width: auto; }
.f-tag { margin-top: 14px; font: 500 0.82rem/1.4 var(--font-mono); letter-spacing: 0.08em; color: var(--on-deep); }
.site-footer h3 { color: #fff; font: 500 0.75rem/1.3 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer a { color: var(--on-deep); }
.site-footer a:hover { color: #fff; }
.f-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 24px; padding: 24px 0; border-top: 1px solid rgba(185, 184, 218, 0.2); border-bottom: 1px solid rgba(185, 184, 218, 0.2); }
.f-links a { text-decoration: none; padding: 6px 0; font-size: 0.92rem; }
.f-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.85rem; }
.f-base nav { display: flex; gap: 18px; }

/* ---------- floating actions ---------- */
.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1F8F4E; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); }
.wa-float:hover { background: #17733e; color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.action-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .action-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08); }
  .action-bar a { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; text-decoration: none; color: var(--fg); font: 600 0.75rem/1 var(--font-body); }
  .action-bar a svg { width: 22px; height: 22px; color: var(--ink); }
  .action-bar a.wa svg { color: #1F8F4E; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* gentle reveal: transform only, content always visible */
.rv { transform: translateY(14px); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.rv.in { transform: none; }
.hero-text > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > *:nth-child(2) { animation-delay: .06s; } .hero-text > *:nth-child(3) { animation-delay: .12s; } .hero-text > *:nth-child(4) { animation-delay: .18s; } .hero-text > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
