/* O'Sense — Solution page design system
   Light editorial layout: white ground, charcoal ink, forest-green accent,
   italic-serif emphasis. Shared by every page in /solutions/. */

:root {
    --ink: #101613;
    --muted: #5a655f;
    --faint: #8a948e;
    --forest: #1e3932;
    --green: #2e6b5e;
    --green-tint: #eaf1ed;
    --bg: #ffffff;
    --bg-alt: #f6f7f4;
    --line: #e5e8e2;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--forest); color: #fff; }

img { max-width: 100%; display: block; }

/* ── Navigation ─────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 48px 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 34px; height: 34px;
    background: var(--forest);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #f4f1e8;
    font-weight: 500;
    font-size: 14px;
}

.nav-links { display: flex; gap: 32px; align-items: center; }

.nav-links > a,
.nav-drop > button {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-links > a:hover,
.nav-drop > button:hover { color: var(--ink); }

/* Solutions dropdown */
.nav-drop { position: relative; }

.nav-drop > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.nav-drop > button svg { transition: transform 0.25s ease; }
.nav-drop:hover > button svg { transform: rotate(180deg); }

.nav-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    margin-top: 14px;
    min-width: 270px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(16, 22, 19, 0.14);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* hover bridge so the menu doesn't close in the gap */
.nav-drop::after {
    content: '';
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: 18px;
}

.nav-drop:hover .nav-menu,
.nav-drop.open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-menu a {
    display: block;
    padding: 11px 14px;
    border-radius: 9px;
    text-decoration: none;
    color: var(--ink);
    transition: background 0.15s ease;
}

.nav-menu a:hover { background: var(--bg-alt); }
.nav-menu a.current { background: var(--green-tint); }

.nav-menu strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.nav-menu span {
    display: block;
    font-size: 12.5px;
    color: var(--faint);
    margin-top: 2px;
    line-height: 1.45;
}

.nav-cta {
    background: var(--forest);
    color: #fff !important;
    padding: 11px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--green); }

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 34px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--forest);
    border: 1px solid var(--forest);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(30, 57, 50, 0.18);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #cfd6d0;
    color: var(--ink);
}

.btn-secondary:hover { border-color: var(--ink); background: var(--bg-alt); }

/* ── Hero ───────────────────────────────────────────────── */
.sol-hero {
    padding: 160px 24px 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}

.sol-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.2s ease;
}

.crumb:hover { color: var(--green); }

.eyebrow {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--green);
    background: var(--green-tint);
    border-radius: 100px;
    padding: 7px 16px;
    margin-bottom: 24px;
}

.sol-hero h1 {
    font-size: clamp(38px, 5.5vw, 62px);
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: 1.08;
    margin-bottom: 22px;
}

.sol-hero h1 em,
h2 em, h3 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--green);
}

.sol-hero p.lede {
    font-size: 19px;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* Screenshot in browser chrome */
.shot {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-bottom: none;
    background: #fff;
    box-shadow: 0 -20px 60px -25px rgba(16, 22, 19, 0.25);
    max-width: 1000px;
    margin: 0 auto;
}

.shot.framed {
    border-radius: 12px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 60px -30px rgba(16, 22, 19, 0.3);
}

.shot-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}

.shot-dot { width: 8px; height: 8px; border-radius: 50%; background: #d3d9d2; }

.shot-url {
    margin-left: 8px;
    font-size: 11.5px;
    color: var(--faint);
    font-family: 'SF Mono', ui-monospace, monospace;
}

/* ── Section furniture ──────────────────────────────────── */
section { padding: 100px 24px; }

.wrap { max-width: 1100px; margin: 0 auto; }
.wrap-narrow { max-width: 860px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 60px; }

.label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--green);
    margin-bottom: 14px;
}

h2 {
    font-size: clamp(29px, 3.6vw, 42px);
    font-weight: 700;
    letter-spacing: -1.2px;
    line-height: 1.14;
}

.section-head p {
    color: var(--muted);
    font-size: 17.5px;
    max-width: 620px;
    margin: 18px auto 0;
}

/* ── Capability cards ───────────────────────────────────── */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 16px 40px rgba(16, 22, 19, 0.10);
    transform: translateY(-3px);
}

.card-icon {
    width: 46px; height: 46px;
    border-radius: 10px;
    background: var(--green-tint);
    display: flex; align-items: center; justify-content: center;
    font-size: 21px;
    margin-bottom: 18px;
}

.card h3 {
    font-size: 17.5px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ── Alternating detail rows ────────────────────────────── */
.rows { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.row + .row { margin-top: 96px; }

.row.flip .row-media { order: 2; }

.row-text h3 {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.16;
    margin-bottom: 16px;
}

.row-text > p {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.ticks li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 15px;
    line-height: 1.5;
}

.tick {
    width: 19px; height: 19px;
    border-radius: 50%;
    background: var(--green-tint);
    flex-shrink: 0;
    margin-top: 2px;
    display: flex; align-items: center; justify-content: center;
}

.tick svg { width: 10px; height: 10px; color: var(--green); }

.row-media img, .shot img { width: 100%; height: auto; }

.photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px -30px rgba(16, 22, 19, 0.4);
}

/* ── Forest highlight band ──────────────────────────────── */
.band {
    background: var(--forest);
    color: #fff;
    text-align: center;
}

.band h2 { color: #fff; margin-bottom: 18px; }
.band h2 em { color: #9fe8cd; }
.band p { color: rgba(255,255,255,0.78); font-size: 17.5px; max-width: 620px; margin: 0 auto; }

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.stat strong {
    display: block;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat span { color: rgba(255,255,255,0.7); font-size: 14.5px; }

/* ── Related solutions ──────────────────────────────────── */
.related {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.related a {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.related a:hover {
    border-color: var(--green);
    box-shadow: 0 12px 30px rgba(16, 22, 19, 0.08);
    transform: translateY(-3px);
}

.related .card-icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 14px; }
.related strong { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.2px; margin-bottom: 5px; }
.related span { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── Closing CTA ────────────────────────────────────────── */
.cta { text-align: center; border-top: 1px solid var(--line); }
.cta h2 { margin-bottom: 18px; }
.cta p { color: var(--muted); font-size: 17.5px; max-width: 520px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────── */
footer { padding: 44px 24px; border-top: 1px solid var(--line); }

.footer-content {
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    flex-wrap: wrap;
}

.footer-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; }
.footer-logo .logo-mark { width: 24px; height: 24px; font-size: 11px; }
footer p { color: var(--faint); font-size: 13.5px; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--ink); }

.company-bar { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 26px 24px; text-align: center; }
.company-bar p { color: var(--faint); font-size: 12px; line-height: 1.6; }
.company-bar strong { color: var(--muted); font-weight: 600; }

/* ── WhatsApp float ─────────────────────────────────────── */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 968px) {
    nav { padding: 16px 24px; }
    .nav-links { display: none; }
    section { padding: 72px 20px; }
    .sol-hero { padding-top: 120px; }
    .cards { grid-template-columns: 1fr; }
    .related { grid-template-columns: repeat(2, 1fr); }
    .row { grid-template-columns: 1fr; gap: 32px; }
    .row.flip .row-media { order: 0; }
    .row + .row { margin-top: 64px; }
    .stats { grid-template-columns: 1fr; gap: 32px; }
    .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
    .related { grid-template-columns: 1fr; }
    .hero-actions, .cta-actions { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
