/* ==========================================================================
   Trisoftic — site styles
   Palette taken from the logo: brand green #46B006 on deep pine.
   Display: Bricolage Grotesque. Text: IBM Plex Sans.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License, see /fonts). No Google Fonts request needed. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-var.woff2") format("woff2-variations"), url("../fonts/bricolage-grotesque-latin-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
    --pine: #12301F;          /* dark surfaces, primary text on light */
    --pine-2: #1C4430;        /* raised dark surfaces */
    --leaf: #46B006;          /* brand green: fills, rules, large accents */
    --leaf-ink: #2D7A04;      /* brand green for text/links on white (AA) */
    --leaf-soft: #E4F3D6;     /* tinted backgrounds */
    --mist: #F1F5EE;          /* alternate light section */
    --paper: #FFFFFF;
    --line: #D6E0D1;
    --text: #1A2B21;
    --muted: #536459;
    --on-dark: #E9F1E5;
    --on-dark-muted: #A9BDAE;
    --danger: #B42318;

    --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-text: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

    /* Type scale (1.25 ratio, fluid at the top end) */
    --step--1: 0.875rem;
    --step-0: 1.0625rem;
    --step-1: 1.25rem;
    --step-2: 1.5625rem;
    --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.44rem);
    --step-4: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem);

    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2.5rem;
    --space-5: 4rem;
    --space-6: clamp(4.5rem, 3rem + 6vw, 8rem);

    --radius-sm: 6px;
    --radius: 14px;
    --wrap: 1200px;
    --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
    margin: 0;
    font-family: var(--font-text);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--pine);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 var(--space-2);
    font-weight: 700;
    text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; }

p { margin: 0 0 var(--space-2); text-wrap: pretty; }

a { color: var(--leaf-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--pine); }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 3px; }

ul { padding-left: 1.2em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 100;
    background: var(--pine); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
    font: 600 1rem/1 var(--font-text);
    padding: 0.95rem 1.5rem; border-radius: 999px;
    border: 2px solid transparent; text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { padding: 0.7rem 1.15rem; font-size: 0.95rem; }
.btn-primary { background: var(--leaf); color: var(--pine); }
.btn-primary:hover { background: #3C9A05; color: #fff; }
.btn-ghost { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-ghost:hover { background: var(--pine); color: #fff; }
.on-dark .btn-ghost { border-color: var(--on-dark); color: var(--on-dark); }
.on-dark .btn-ghost:hover { background: var(--on-dark); color: var(--pine); }
.btn[disabled] { opacity: .6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link { font-weight: 600; color: var(--pine); text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--leaf-ink); }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    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); }

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand img { width: 150px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--text); text-decoration: none; font-weight: 500; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--leaf); color: var(--pine); }

.nav-toggle { display: none; }

@media (max-width: 880px) {
    .nav-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
        background: var(--paper); cursor: pointer;
    }
    .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
        display: block; width: 18px; height: 2px; background: var(--pine); position: relative; transition: transform .2s;
    }
    .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bars::before { top: -6px; }
    .nav-toggle-bars::after { top: 6px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 1rem;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: 1rem var(--gutter) 1.5rem;
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
    .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--leaf-ink); }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--space-6); }
.section-mist { background: var(--mist); }
.section-head { max-width: 46rem; margin-bottom: var(--space-5); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.section-head-split { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; max-width: none; }
.section-head-split > div { max-width: 40rem; }

.on-dark { background: var(--pine); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: var(--on-dark-muted); }
.on-dark a:not(.btn) { color: #fff; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) var(--space-6); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { max-width: 13ch; margin-bottom: var(--space-3); }
.hero .lede { margin-bottom: var(--space-4); }
.hero-proof { margin: var(--space-4) 0 0; font-size: var(--step--1); color: var(--muted); max-width: 34em; }
.hero-proof strong { color: var(--text); font-weight: 600; }

.system-map {
    margin: 0;
    position: relative;
    background-color: var(--mist);
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: -1px -1px;
    border-radius: var(--radius);
    padding: clamp(0.75rem, 0.4rem + 1.5vw, 1.5rem);
    border: 1px solid var(--line);
}
.system-map figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.75rem; padding-inline: 0.25rem; }
.system-map svg { width: 100%; }
.system-map .node rect { fill: #fff; stroke: var(--pine); stroke-width: 1.5; }
.system-map .node text { font: 500 15px var(--font-text); fill: var(--pine); }
.system-map .node.is-dark rect { fill: var(--pine); }
.system-map .node.is-dark text { fill: #fff; font-weight: 600; }
.system-map .node.is-accent rect { fill: var(--leaf); stroke: var(--leaf); }
.system-map .node.is-accent text { font-weight: 600; }
.system-map .node.is-data rect { fill: var(--leaf-soft); stroke: var(--leaf-ink); }
.system-map .boundary { fill: none; stroke: var(--leaf-ink); stroke-width: 1.25; stroke-dasharray: 5 5; }
.system-map .boundary-label { font: 600 12px var(--font-text); fill: var(--leaf-ink); }
.system-map .edge { fill: none; stroke: var(--pine); stroke-width: 1.5; opacity: .55; }
.system-map .packet { fill: var(--leaf); stroke: #fff; stroke-width: 2; }

/* The one orchestrated moment on the page: connections draw in on load. */
@media (prefers-reduced-motion: no-preference) {
    .system-map .edge { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1s ease-out forwards; }
    .system-map .edge.e2 { animation-delay: .35s; }
    .system-map .edge.e3 { animation-delay: .7s; }
    .system-map .packet { opacity: 0; animation: appear .3s 1.7s forwards; }
}
@media (prefers-reduced-motion: reduce) {
    .system-map .packet { display: none; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: 16ch; }
}

/* ---------- Services list ---------- */

.services-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.services-layout .section-head { position: sticky; top: 110px; align-self: start; margin-bottom: 0; }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--pine); }
.service-row { border-bottom: 1px solid var(--line); }
.service-row a {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 1.5rem;
    padding: 1.6rem 0; color: inherit; text-decoration: none;
}
.service-row h2, .service-row h3 { margin: 0; font-size: var(--step-2); transition: color .15s; }
.service-row p { margin: 0; color: var(--muted); grid-column: 1; max-width: 36em; }
.service-row .tags { grid-column: 1; margin-top: 0.6rem; }
.service-row .go {
    grid-column: 2; grid-row: 1 / span 3; align-self: center;
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
    display: grid; place-items: center; color: var(--pine); transition: background-color .15s, border-color .15s;
}
.service-row a:hover h2, .service-row a:hover h3 { color: var(--leaf-ink); }
.service-row a:hover .go { background: var(--leaf); border-color: var(--leaf); }

@media (max-width: 900px) {
    .services-layout { grid-template-columns: 1fr; }
    .services-layout .section-head { position: static; }
}

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 0.8125rem; font-weight: 500; color: var(--pine); background: var(--leaf-soft); padding: 0.2rem 0.6rem; border-radius: var(--radius-sm); }
.on-dark .tags li { background: var(--pine-2); color: var(--on-dark); }

/* ---------- Project cards ---------- */

.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-3); }
.work-grid > :first-child { grid-column: span 7; grid-row: span 2; }
.work-grid > :not(:first-child) { grid-column: span 5; }
@media (max-width: 900px) {
    .work-grid > :first-child, .work-grid > :not(:first-child) { grid-column: 1 / -1; grid-row: auto; }
}

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: var(--space-3); }

.project-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; height: 100%;
}
.project-card:hover { border-color: var(--pine); }
.project-card:focus-within { outline: 3px solid var(--leaf); outline-offset: 2px; }
.project-card a.stretched { color: inherit; text-decoration: none; }
.project-card a.stretched::after { content: ""; position: absolute; inset: 0; }
.project-card a.stretched:focus-visible { outline: none; }

.project-cover { aspect-ratio: 16 / 9; background: var(--mist); overflow: hidden; border-bottom: 1px solid var(--line); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.work-grid > :first-child .project-cover { aspect-ratio: auto; min-height: 280px; flex: 1; }
.work-grid > :first-child .project-body { flex: 0 0 auto; }
.work-grid > :first-child .cover-title { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }

/* Typographic cover for projects without a screenshot */
.project-cover.is-type {
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 1.4rem; background: var(--pine); color: var(--on-dark);
    background-image: radial-gradient(circle at 100% 0, var(--pine-2) 0 38%, transparent 38.2%);
}
.project-cover.is-type .cover-mark { width: 34px; height: 34px; }
.project-cover.is-type .cover-title { font: 800 clamp(1.5rem, 1rem + 2vw, 2.4rem)/1.02 var(--font-display); color: #fff; letter-spacing: -0.03em; max-width: 14ch; }
.project-cover.is-type.is-product { background-color: var(--leaf); background-image: radial-gradient(circle at 100% 0, #52C40C 0 38%, transparent 38.2%); }
.project-cover.is-type.is-product .cover-title { color: var(--pine); }

.project-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.project-meta { font-size: var(--step--1); color: var(--muted); margin: 0; }
.project-meta strong { color: var(--leaf-ink); font-weight: 600; }
.project-body h2, .project-body h3 { margin: 0; font-size: var(--step-1); }
.project-body p { margin: 0; color: var(--muted); font-size: 0.975rem; }
.project-body .tags { margin-top: auto; padding-top: 0.75rem; }

/* ---------- Filters (projects page) ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-4); }
.filters button {
    font: 500 0.9rem var(--font-text); color: var(--pine);
    background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
    padding: 0.5rem 1rem; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.filters button:hover { border-color: var(--pine); }
[hidden] { display: none !important; }

/* ---------- About / process ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.about-grid .lede { color: var(--text); }
.principles { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: 1.25rem; }
.principles li { padding-left: 1.25rem; border-left: 3px solid var(--leaf); }
.principles strong { display: block; font-family: var(--font-display); font-size: var(--step-1); color: var(--pine); }
.principles span { color: var(--muted); }

.process { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0; border-top: 2px solid var(--pine); }
.process li { counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.process li::before {
    content: counter(step); grid-row: span 2;
    font: 800 var(--step-2)/1 var(--font-display); color: var(--leaf-ink);
}
.process h3 { margin: 0 0 0.25rem; }
.process p { margin: 0; color: var(--muted); }

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- POS band ---------- */

.pos-band { position: relative; overflow: hidden; }
.pos-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.pos-band h2 { font-size: var(--step-4); max-width: 12ch; }
.pos-band .lede { color: var(--on-dark-muted); }
.pos-points { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: 0.6rem; }
.pos-points li { display: flex; gap: 0.75rem; align-items: baseline; color: var(--on-dark); }
.pos-points li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--leaf); transform: translateY(-1px); }

.pos-tag { display: inline-block; font-weight: 600; color: var(--pine); background: var(--leaf); padding: 0.25rem 0.75rem; border-radius: 999px; font-size: var(--step--1); margin-bottom: 1rem; }

/* Screenshots of the POS app, shown in a simple desktop-window frame */
.app-frame { margin: 0; background: #0B0F13; border: 1px solid #2A3540; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .65); }
.app-frame img { width: 100%; height: auto; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #141B22; border-bottom: 1px solid #2A3540; font: 500 12px var(--font-text); color: #8A96A3; }
.app-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2F3A45; }
.app-bar span:nth-child(3) { margin-right: 8px; }
.pos-shots { position: relative; padding-bottom: 18%; }
.app-frame-float { position: absolute; width: 58%; right: -4%; bottom: 0; border-color: var(--leaf); }
@media (max-width: 900px) { .app-frame-float { right: 0; } }

@media (max-width: 900px) { .pos-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.contact-details { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: 1.25rem; }
.contact-details li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.contact-details .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--leaf-soft); display: grid; place-items: center; color: var(--leaf-ink); }
.contact-details .label { display: block; font-size: var(--step--1); color: var(--muted); }
.contact-details a, .contact-details .value { font-weight: 600; color: var(--pine); text-decoration: none; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration: underline; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--pine); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; font: 400 1rem/1.4 var(--font-text); color: var(--text);
    background: #fff; border: 1.5px solid #B9C7B3; border-radius: var(--radius-sm);
    padding: 0.75rem 0.85rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf-ink); box-shadow: 0 0 0 3px rgba(70, 176, 6, .25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.875rem; margin-top: 0.3rem; min-height: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.form-actions small { color: var(--muted); }
.form-status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-weight: 500; }
.form-status.is-ok { background: var(--leaf-soft); color: var(--pine); border-left: 4px solid var(--leaf); }
.form-status.is-error { background: #FDECEA; color: var(--danger); border-left: 4px solid var(--danger); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */

.page-head { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1rem + 3vw, 3.5rem); border-bottom: 1px solid var(--line); }
.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0 0 var(--space-3); font-size: var(--step--1); color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-bottom: 0; }

/* ---------- Detail pages ---------- */

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.detail-aside { position: sticky; top: 110px; display: grid; gap: var(--space-3); }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } .detail-aside { position: static; } }

.prose { max-width: 42rem; }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-5); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-4); }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--leaf-ink); }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--space-2); display: grid; gap: 0.6rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
    background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232D7A04' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.check-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0.6rem 2rem; }

.facts { background: var(--mist); border-radius: var(--radius); padding: 1.5rem; }
.facts dl { margin: 0; display: grid; gap: 0.9rem; }
.facts dt { font-size: var(--step--1); color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--pine); }

.cta-card { background: var(--pine); color: var(--on-dark); border-radius: var(--radius); padding: 1.6rem; }
.cta-card h2 { font-size: var(--step-2); color: #fff; }
.cta-card p { color: var(--on-dark-muted); }

.side-nav { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--pine); }
.side-nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 500; }
.side-nav a[aria-current="page"] { color: var(--leaf-ink); font-weight: 600; }
.side-nav a:hover { color: var(--leaf-ink); }

.story { display: grid; gap: var(--space-3); margin: var(--space-4) 0; }
.story > div { border-left: 3px solid var(--leaf); padding-left: 1.25rem; }
.story h2 { font-size: var(--step-1); margin: 0 0 0.4rem; }
.story p { margin: 0; }

.gallery { display: grid; gap: var(--space-2); margin: var(--space-4) 0; }
.gallery img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; background: var(--mist); }
.gallery-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .gallery-2 { grid-template-columns: 1fr; } }

.faq { border-top: 2px solid var(--pine); margin-top: var(--space-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
    font: 700 var(--step-1)/1.3 var(--font-display); color: var(--pine);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 0.4rem; top: 50%; width: 12px; height: 12px;
    border-right: 2px solid var(--pine); border-bottom: 2px solid var(--pine);
    transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--muted); padding-right: 2rem; }

.live-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }

/* ---------- Legal pages ---------- */

.legal { max-width: 46rem; }
.legal h2 { font-size: var(--step-2); margin-top: var(--space-4); }
.legal h3 { font-size: var(--step-1); margin-top: var(--space-3); }
.legal p, .legal li { color: #2B3B31; }

/* ---------- Error pages ---------- */

.error-page { padding-block: var(--space-6); min-height: 55vh; }
.error-code { font: 800 clamp(5rem, 3rem + 10vw, 10rem)/0.9 var(--font-display); color: var(--leaf); letter-spacing: -0.05em; margin: 0 0 var(--space-2); }

/* ---------- Footer ---------- */

.site-footer { background: var(--pine); color: var(--on-dark-muted); padding-top: var(--space-5); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-4); padding-bottom: var(--space-5); }
.footer-brand img { width: 150px; margin-bottom: 1rem; }
.footer-brand p { max-width: 24em; }
.footer-title { font: 600 1rem var(--font-text); color: #fff; margin-bottom: 0.9rem; letter-spacing: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-links a { color: var(--on-dark); text-decoration: none; }
.footer-links a:hover { color: var(--leaf); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--pine-2); padding-block: 1.4rem; font-size: var(--step--1); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--on-dark); }
.site-footer :focus-visible { outline-color: var(--leaf); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
.lede-strong { color: var(--text); }
.prose > .gallery:first-child { margin-top: 0; }

/* ---------- POS product page ---------- */

.pos-hero { padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.pos-hero .breadcrumbs a, .pos-hero .breadcrumbs { color: var(--on-dark-muted); }
.pos-hero-text { max-width: 46rem; }
.pos-hero h1 { color: #fff; max-width: 16ch; }
.pos-hero .lede { color: var(--on-dark-muted); margin-bottom: var(--space-4); }
.pos-hero-shot { margin-top: var(--space-5); margin-bottom: calc(-1 * clamp(3rem, 2rem + 6vw, 7rem)); position: relative; z-index: 1; }
.pos-facts { background: var(--mist); padding: calc(clamp(3rem, 2rem + 6vw, 7rem) + var(--space-4)) 0 var(--space-4); }
.pos-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.pos-facts li { border-top: 3px solid var(--leaf); padding-top: 0.9rem; }
.pos-facts strong { display: block; font: 700 var(--step-1)/1.2 var(--font-display); color: var(--pine); margin-bottom: 0.25rem; }
.pos-facts span { color: var(--muted); font-size: 0.95rem; }
.pos-note { margin: var(--space-3) 0 0; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 900px) { .pos-facts ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pos-facts ul { grid-template-columns: 1fr; } }

.feature-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.feature-row + .feature-row { margin-top: var(--space-6); }
.feature-row.is-flipped .feature-text { order: 2; }
.feature-text h2 { max-width: 16ch; }
.feature-text > p { color: var(--muted); font-size: 1.075rem; }
.feature-row figcaption { font-size: var(--step--1); color: var(--on-dark-muted); padding: 0.6rem 0.9rem; background: #141B22; border-top: 1px solid #2A3540; }
@media (max-width: 900px) {
    .feature-row { grid-template-columns: 1fr; }
    .feature-row.is-flipped .feature-text { order: 0; }
}

.pos-grid-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) var(--space-4); }
.pos-grid-features li { padding-left: 1.1rem; border-left: 3px solid var(--leaf); }
.pos-grid-features h3 { margin-bottom: 0.4rem; }
.pos-grid-features p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .pos-grid-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pos-grid-features { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */

.svc-hero { padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) var(--space-6); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: end; }
.svc-hero .breadcrumbs, .svc-hero .breadcrumbs a { color: var(--on-dark-muted); }
.svc-hero h1 { color: #fff; max-width: 15ch; }
.svc-hero .lede { color: var(--on-dark-muted); margin-bottom: var(--space-4); }
.svc-jump { display: grid; gap: 0.6rem; }
.svc-jump a {
    display: grid; gap: 0.15rem; padding: 1rem 3rem 1rem 1.2rem; position: relative;
    background: var(--pine-2); border: 1px solid #2B5A40; border-radius: var(--radius); text-decoration: none;
    transition: border-color .15s, background-color .15s;
}
.svc-jump a::after {
    content: ""; position: absolute; right: 1.2rem; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: translateY(-70%) rotate(45deg);
}
.svc-jump a:hover { border-color: var(--leaf); background: #22503A; }
.svc-jump-title { font: 700 var(--step-1)/1.2 var(--font-display); color: #fff; }
.svc-jump-list { font-size: 0.9rem; color: var(--on-dark-muted); }
@media (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; } }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
    position: relative; display: flex; flex-direction: column; gap: 0.9rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(1.3rem, 1rem + 1vw, 1.9rem);
    transition: border-color .15s, transform .15s;
}
.svc-card:hover { border-color: var(--pine); }
.svc-card:focus-within { outline: 3px solid var(--leaf); outline-offset: 2px; }
.svc-card-top { display: flex; align-items: center; gap: 1rem; }
.svc-card h3 { margin: 0; font-size: var(--step-2); }
.svc-card h3 a { color: var(--pine); text-decoration: none; }
.svc-card a.stretched::after { content: ""; position: absolute; inset: 0; }
.svc-card a.stretched:focus-visible { outline: none; }
.svc-card > p { color: var(--muted); margin: 0; }
.svc-card .check-list { margin: 0; gap: 0.4rem; font-size: 0.97rem; }
.svc-icon-wrap {
    flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    background: var(--leaf-soft); color: var(--leaf-ink); transition: background-color .15s, color .15s;
}
.svc-card:hover .svc-icon-wrap { background: var(--leaf); color: var(--pine); }
.svc-card-foot { margin-top: auto; padding-top: 0.6rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); }
.svc-card-foot .tags { padding-top: 0.6rem; }
.svc-more { flex: none; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; color: var(--leaf-ink); padding-top: 0.6rem; }
.svc-card:hover .svc-more { color: var(--pine); }

.engage-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.engage-grid li { background: var(--pine-2); border-radius: var(--radius); padding: 1.6rem; border-top: 4px solid var(--leaf); }
.engage-grid h3 { color: #fff; }
.engage-grid p { margin: 0; color: var(--on-dark-muted); }
@media (max-width: 900px) { .engage-grid { grid-template-columns: 1fr; } }

.stack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); margin: 0; }
.stack-grid dt { font: 700 var(--step-1) var(--font-display); color: var(--pine); margin-bottom: 0.6rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--leaf); }
.stack-grid dd { margin: 0; }
.stack-grid .tags li { font-size: 0.9rem; padding: 0.3rem 0.7rem; }
@media (max-width: 900px) { .stack-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stack-grid { grid-template-columns: 1fr; } }
.svc-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: var(--space-2); }
.svc-head h1 { margin: 0; }
.svc-icon-lg { width: 72px; height: 72px; border-radius: 18px; }
.svc-icon-lg .svc-icon { width: 36px; height: 36px; }
@media (max-width: 520px) { .svc-icon-lg { width: 56px; height: 56px; } .svc-icon-lg .svc-icon { width: 28px; height: 28px; } }

/* ---------- Home page additions ---------- */

.hero { background: radial-gradient(ellipse 60% 70% at 85% 40%, var(--leaf-soft), transparent 70%); }
.hero-facts { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; color: var(--muted); font-size: 0.95rem; }
.hero-facts li { padding-left: 0.9rem; border-left: 3px solid var(--leaf); line-height: 1.3; }
.hero-facts strong { display: block; font: 800 var(--step-2)/1.1 var(--font-display); color: var(--pine); }

.clients { border-block: 1px solid var(--line); background: var(--paper); }
.clients-inner { display: flex; align-items: center; gap: 1rem 2.5rem; padding-block: 1.6rem; flex-wrap: wrap; }
.clients h2 { font: 500 0.95rem var(--font-text); color: var(--muted); margin: 0; letter-spacing: 0; flex: none; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; flex: 1; justify-content: space-between; }
.clients li { font: 700 1.05rem var(--font-display); color: #5E6E63; letter-spacing: -0.01em; white-space: nowrap; }

.home-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.svc-card-sm { gap: 0.7rem; }
.svc-card-sm h3 { font-size: var(--step-1); margin-top: 0.4rem; }
.svc-card-sm > p { font-size: 0.97rem; flex: 1; }
.svc-card-sm .svc-more { padding-top: 0.2rem; }
@media (max-width: 960px) { .home-svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .home-svc-grid { grid-template-columns: 1fr; } }

.work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-grid > :first-child, .work-grid > :not(:first-child) { grid-column: auto; grid-row: auto; }
.work-grid > :first-child .project-cover { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
.work-grid > :first-child .cover-title { font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }

.industry-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.industry-grid li { background: var(--pine-2); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; border-top: 4px solid var(--leaf); }
.industry-grid h3 { color: #fff; }
.industry-grid p { color: var(--on-dark-muted); margin: 0 0 1rem; }
.industry-links { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.92rem; }
.on-dark .industry-links a { color: #9BE36A; text-decoration: underline; text-decoration-color: rgba(155,227,106,.45); }
.on-dark .industry-links a:hover { color: #fff; }
@media (max-width: 1000px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }

/* ---------- Admin area ---------- */

.admin { background: var(--mist); }
.admin-alert { background: #FFF4E5; border: 1px solid #F0B35B; color: #5A3A00; border-radius: 10px; padding: 0.9rem 1.1rem; margin-bottom: 1.25rem; line-height: 1.5; }
.admin-alert code { overflow-wrap: anywhere; }
.admin-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-bar-inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.admin-bar .brand img { width: 120px; }
.admin-label { font-weight: 600; color: var(--muted); border-left: 1px solid var(--line); padding-left: 1rem; }
.admin-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.admin-nav a { color: var(--text); font-weight: 500; }
.admin-nav form { margin: 0; }
.admin-main { padding-block: var(--space-4) var(--space-5); }
.admin-main h1 { font-size: var(--step-3); margin-bottom: 0.25rem; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--space-3); }
.admin-head p { margin: 0; }
.admin-tools { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--space-2); }
.admin-tools .filters { margin: 0; }
.filter { display: inline-flex; gap: 0.4rem; align-items: center; padding: 0.45rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--pine); text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.filter span { font-size: 0.8rem; background: var(--mist); border-radius: 999px; padding: 0 0.45rem; }
.filter.is-on { background: var(--pine); color: #fff; border-color: var(--pine); }
.filter.is-on span { background: var(--pine-2); }
.admin-search { display: flex; gap: 0.5rem; }
.admin-search input { min-width: 260px; font: 400 0.95rem var(--font-text); padding: 0.55rem 0.8rem; border: 1.5px solid #B9C7B3; border-radius: var(--radius-sm); }
.admin-table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.admin-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 0.82rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr { position: relative; }
.admin-table tr:hover td { background: #FAFCF8; }
.admin-table tr.is-new td { background: #F6FBF1; }
.admin-table tr.is-new .row-link { font-weight: 700; }
.row-link { color: var(--pine); font-weight: 600; }
.row-link::after { content: ""; position: absolute; inset: 0; }
.admin-snippet { color: var(--muted); max-width: 420px; }
.nowrap { white-space: nowrap; }
.small { font-size: 0.8rem; }
.badge { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; }
.badge-new { background: var(--leaf); color: var(--pine); }
.badge-read { background: #E6ECF2; color: #34465A; }
.badge-replied { background: var(--leaf-soft); color: var(--leaf-ink); }
.admin-empty { background: var(--paper); border: 1px dashed #B9C7B3; border-radius: var(--radius); padding: var(--space-4); text-align: center; }
.admin-detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
@media (max-width: 860px) { .admin-detail { grid-template-columns: 1fr; } .admin-search input { min-width: 0; flex: 1; } }
.admin-facts { margin: 0 0 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-facts dt { font-size: 0.82rem; color: var(--muted); }
.admin-facts dd { margin: 0; font-weight: 600; color: var(--pine); overflow-wrap: anywhere; }
.admin-subhead { font-size: var(--step-1); }
.admin-message { white-space: pre-wrap; background: var(--mist); border-radius: var(--radius-sm); padding: 1rem; margin: 0; }
.admin-delete { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.link-danger { background: none; border: 0; padding: 0; color: var(--danger); font: 600 0.92rem var(--font-text); cursor: pointer; text-decoration: underline; }
.admin-login { max-width: 420px; margin: var(--space-4) auto; }
.admin-login code { font-size: 0.85em; background: rgba(0,0,0,.06); padding: 0.05rem 0.3rem; border-radius: 4px; overflow-wrap: anywhere; }

/* ---------- Testimonials ---------- */

.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); align-items: start; }
.quote-grid > :first-child { grid-row: span 2; }
.quote-card { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); display: flex; flex-direction: column; gap: 1.1rem; height: 100%; }
.quote-grid > :first-child { background: var(--pine); border-color: var(--pine); }
.quote-grid > :first-child blockquote p { color: #fff; font-size: var(--step-1); }
.quote-grid > :first-child figcaption strong { color: #fff; }
.quote-grid > :first-child figcaption span span { color: var(--on-dark-muted); }
.quote-mark { color: var(--leaf); }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { margin: 0 0 0.8rem; color: var(--text); font-size: 1.05rem; line-height: 1.65; }
.quote-card blockquote p:last-child { margin-bottom: 0; }
.quote-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 0.85rem; padding-top: 0.4rem; }
.quote-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--leaf); color: var(--pine); display: grid; place-items: center; font: 800 1rem var(--font-display); }
.quote-card figcaption strong { display: block; color: var(--pine); font-weight: 600; }
.quote-card figcaption span span { display: block; color: var(--muted); font-size: 0.92rem; }
.quote-single { max-width: 52rem; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } .quote-grid > :first-child { grid-row: auto; } }

/* ---------- Company facts ---------- */
.company-facts { margin: var(--space-4) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.company-facts dt { font-size: 0.82rem; color: var(--muted); }
.company-facts dd { margin: 0; font-weight: 600; color: var(--pine); }
@media (max-width: 520px) { .company-facts { grid-template-columns: 1fr; } }
.footer-legal { font-size: 0.8rem; opacity: .85; }

/* ---------- WhatsApp buttons ---------- */
.btn-wa { background: #25D366; color: var(--pine); }
.btn-wa:hover { background: #1EBE5A; color: var(--pine); }
.btn-wa .wa-icon { flex: none; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.cta-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.cta-actions .btn { width: 100%; }
.wa-quick {
    margin-top: var(--space-4); padding: 1rem 1.15rem; border-radius: var(--radius);
    background: var(--leaf-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
}
.wa-quick p { margin: 0; flex: 1 1 16rem; color: var(--pine); font-weight: 500; }
@media (max-width: 1100px) { .nav-actions .btn-wa { padding-inline: 0.8rem; } }
@media (max-width: 880px) { .nav-actions { flex-direction: column; align-items: stretch; } }

/* Fixed to the bottom-right corner on every page. */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    display: inline-flex; align-items: center; gap: 0.6rem;
    height: 58px; min-width: 58px; padding: 0 14px; border-radius: 999px;
    background: #25D366; color: #fff; text-decoration: none;
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45);
    transition: transform .15s, box-shadow .15s;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .5); }
.wa-float:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }
.wa-label { font-weight: 600; font-size: 0.95rem; white-space: nowrap; color: #fff; }
@media (max-width: 720px) {
    .wa-float { right: 16px; bottom: 16px; padding: 0; width: 56px; height: 56px; justify-content: center; }
    .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media print { .wa-float { display: none; } }
.ico-wa { background: #DDF7E7 !important; color: #128C4B !important; }
