:root {
    --bg: #f9f8f6;
    --white: #ffffff;
    --ink: #0e110d;
    --ink-mid: #3a3d38;
    --muted: #878c83;
    --line: #e4e3de;
    --accent: #1a5c3a;
    --accent-light: #edf5f0;
    --accent-mid: #2d7a52;
    --warn: #b84a0c;
    --blue: #1e3f8c;
    --card-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 6px 24px rgba(0,0,0,0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Figtree', sans-serif;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.65;
}

/* ─── NAV ─── */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(249,248,246,0.93);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

nav {
    max-width: 1180px; margin: auto;
    padding: 18px 32px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo {
    display: flex; flex-direction: column; gap: 1px;
    text-decoration: none;
}

.logo-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem; font-weight: 700;
    color: var(--ink); letter-spacing: 0.01em;
}

.logo-sub {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent);
}

.nav-right { display: flex; align-items: center; gap: 32px; }

.nav-right a {
    font-size: 0.85rem; font-weight: 500;
    color: var(--muted); text-decoration: none;
    transition: color 0.2s;
}

.nav-right a:hover { color: var(--ink); }

.nav-cta {
    background: var(--accent) !important;
    color: white !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover { background: var(--accent-mid) !important; transform: translateY(-1px) !important; }

/* ─── HERO ─── */
.hero {
    max-width: 1180px; margin: auto;
    padding: 96px 32px 80px;
}

.hero-top {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 80px;
    align-items: start;
}

.hero-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 26px;
}

.hero-kicker span {
    display: block; width: 28px; height: 1.5px;
    background: var(--accent);
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.6rem; font-weight: 600;
    line-height: 1.03; letter-spacing: -0.015em;
    margin-bottom: 30px;
}

.hero h1 em { font-style: italic; color: var(--accent); }

.hero-lead {
    font-size: 1.08rem; color: var(--ink-mid);
    line-height: 1.85; max-width: 540px;
    margin-bottom: 44px; font-weight: 400;
}

.hero-btns { display: flex; align-items: center; gap: 18px; }

.btn-solid {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ink); color: white;
    padding: 14px 28px; border-radius: 7px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 10px rgba(14,17,13,0.18);
}

.btn-solid:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,92,58,0.25); }

.btn-link {
    font-size: 0.88rem; font-weight: 500;
    color: var(--muted); text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.btn-link:hover { color: var(--accent); border-color: var(--accent); }

/* Hero side: problem cards */
.problem-stack { display: flex; flex-direction: column; gap: 10px; }

.problem-stack-label {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
}

.prob-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex; align-items: flex-start; gap: 14px;
    box-shadow: var(--card-shadow);
    transition: border-color 0.2s, transform 0.2s;
}

.prob-card:hover { border-color: var(--accent); transform: translateX(3px); }

.prob-icon {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 8px; display: flex;
    align-items: center; justify-content: center;
    font-size: 1rem;
}

.prob-icon.red { background: #fef2f2; }
.prob-icon.amber { background: #fffbeb; }
.prob-icon.blue { background: #eff6ff; }
.prob-icon.green { background: var(--accent-light); }

.prob-card h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.prob-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ─── TRUST BAR ─── */
.trust-bar {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.trust-inner {
    max-width: 1180px; margin: auto;
    padding: 0 32px;
    display: grid; grid-template-columns: repeat(4, 1fr);
}

.trust-cell {
    padding: 36px 28px;
    border-right: 1px solid var(--line);
    display: flex; align-items: center; gap: 16px;
}

.trust-cell:last-child { border-right: none; }

.trust-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem; font-weight: 700;
    color: var(--accent); line-height: 1;
    letter-spacing: -0.02em;
}

.trust-text h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 2px; }
.trust-text p { font-size: 0.75rem; color: var(--muted); line-height: 1.4; }

/* ─── PROBLEMS SECTION ─── */
.problems-section {
    max-width: 1180px; margin: 90px auto;
    padding: 0 32px;
}

.eyebrow {
    font-size: 0.73rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
}

.eyebrow::before { content: ''; display: block; width: 22px; height: 1.5px; background: var(--accent); }

.section-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem; font-weight: 600;
    line-height: 1.12; letter-spacing: -0.01em;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--line);
    border: 1px solid var(--line);
    border-radius: 16px; overflow: hidden;
    margin-top: 50px;
}

.prob-block {
    background: var(--white);
    padding: 42px 36px;
    transition: background 0.2s;
    position: relative;
}

.prob-block:hover { background: #fdfcfa; }

.prob-block-icon {
    font-size: 1.8rem; margin-bottom: 20px; display: block;
}

.prob-block h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600;
    margin-bottom: 12px; color: var(--ink);
    line-height: 1.2;
}

.prob-block .symptom {
    font-size: 0.9rem; color: var(--warn);
    font-weight: 500; margin-bottom: 14px;
    font-style: italic;
}

.prob-block p {
    font-size: 0.88rem; color: var(--ink-mid);
    line-height: 1.75;
}

.prob-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--accent); text-decoration: none;
    margin-top: 20px;
    border-bottom: 1px solid var(--accent-light);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.prob-arrow:hover { border-color: var(--accent); }

/* ─── HOW WE WORK ─── */
.process-section {
    background: var(--ink);
    padding: 90px 32px;
}

.process-inner { max-width: 1180px; margin: auto; }

.process-section .eyebrow { color: rgba(255,255,255,0.4); }
.process-section .eyebrow::before { background: rgba(255,255,255,0.25); }

.process-section .section-h { color: white; margin-bottom: 60px; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px; overflow: hidden;
}

.step {
    background: #141710;
    padding: 40px 32px;
    position: relative;
    transition: background 0.2s;
}

.step:hover { background: #1a1e14; }

.step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem; font-weight: 400;
    color: rgba(255,255,255,0.07);
    line-height: 1; margin-bottom: 24px;
}

.step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; font-weight: 600;
    color: white; margin-bottom: 12px;
}

.step p { font-size: 0.87rem; color: rgba(255,255,255,0.45); line-height: 1.75; }

.step-pill {
    display: inline-block;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 100px;
    margin-bottom: 16px;
}

/* ─── SERVICES ─── */
.services-section {
    max-width: 1180px; margin: 90px auto;
    padding: 0 32px;
}

.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    margin-top: 50px;
}

.services-nav { position: sticky; top: 90px; align-self: start; }

.svc-nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem; font-weight: 500;
    color: var(--muted); text-decoration: none;
    transition: color 0.2s;
}

.svc-nav-item:first-child { border-top: 1px solid var(--line); }
.svc-nav-item:hover { color: var(--ink); }
.svc-nav-item.active { color: var(--accent); font-weight: 700; }

.svc-nav-item::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--line);
    flex-shrink: 0;
    transition: background 0.2s;
}

.svc-nav-item.active::before,
.svc-nav-item:hover::before { background: var(--accent); }

.services-detail { display: flex; flex-direction: column; gap: 32px; }

.svc-detail-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 44px;
    box-shadow: var(--card-shadow);
    transition: border-color 0.2s;
}

.svc-detail-card:hover { border-color: rgba(26,92,58,0.25); }

.svc-detail-header {
    display: flex; align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
}

.svc-detail-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem; font-weight: 600;
    color: var(--ink); line-height: 1.2;
}

.svc-detail-header .svc-tag {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 5px 12px; border-radius: 100px;
    white-space: nowrap;
}

.svc-outcomes {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 28px;
}

.outcome {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.87rem; color: var(--ink-mid);
    line-height: 1.55;
}

.outcome::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700; font-size: 0.8rem;
    margin-top: 1px; flex-shrink: 0;
}

.svc-tools {
    display: flex; flex-wrap: wrap; gap: 7px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.tool-tag {
    font-size: 0.75rem; font-weight: 600;
    color: var(--muted);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 4px 12px; border-radius: 100px;
}

/* ─── SECTORS ─── */
.sectors-section {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 80px 32px;
}

.sectors-inner { max-width: 1180px; margin: auto; }

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.sector-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px 26px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.sector-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(26,92,58,0.1);
}

.sector-icon { font-size: 1.8rem; margin-bottom: 16px; display: block; }

.sector-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem; font-weight: 600;
    margin-bottom: 8px;
}

.sector-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-kicker { animation: fadeUp 0.5s ease both; }
.hero h1 { animation: fadeUp 0.5s 0.07s ease both; }
.hero-lead { animation: fadeUp 0.5s 0.14s ease both; }
.hero-btns { animation: fadeUp 0.5s 0.21s ease both; }
.problem-stack { animation: fadeUp 0.55s 0.15s ease both; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-top { grid-template-columns: 1fr; gap: 48px; }
    .problem-stack { max-width: 460px; }
    .trust-inner { grid-template-columns: repeat(2, 1fr); }
    .trust-cell:nth-child(2) { border-right: none; }
    .trust-cell:nth-child(3) { border-top: 1px solid var(--line); }
    .services-layout { grid-template-columns: 1fr; }
    .services-nav { display: none; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .nav-right a:not(.nav-cta) { display: none; }
    .problems-grid { grid-template-columns: 1fr; }
    .svc-outcomes { grid-template-columns: 1fr; }
    .sectors-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .footer-bar { flex-direction: column; gap: 12px; text-align: center; }
}

/* ─── TAB FIX ─── */
.svc-detail-card { display: none; }
.svc-detail-card.active { display: block; }
.svc-nav-item { cursor: pointer; }

/* ─── LANG SWITCH ─── */
.lang-switch {
    font-size: 0.82rem !important; font-weight: 600 !important;
    color: var(--muted) !important;
    border: 1px solid var(--line) !important;
    padding: 6px 14px !important; border-radius: 100px !important;
    transition: border-color 0.2s, color 0.2s !important;
}
.lang-switch:hover { border-color: var(--accent) !important; color: var(--accent) !important; }

/* ─── CONTACT SECTION ─── */
.contact-section {
    max-width: 1180px; margin: 90px auto 0;
    padding: 0 32px;
}
.contact-wrap {
    display: grid; grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 20px; overflow: hidden;
}
.contact-left {
    background: var(--ink);
    padding: 64px 56px;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
}
.contact-left::before {
    content: '';
    position: absolute; bottom: -80px; right: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(26,92,58,0.28), transparent 70%);
    pointer-events: none;
}
.contact-left h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem; font-weight: 600;
    color: white; line-height: 1.1;
    letter-spacing: -0.01em; margin-bottom: 16px;
    position: relative;
}
.contact-left h3 em { font-style: italic; color: rgba(255,255,255,0.42); }
.contact-left > p {
    font-size: 0.93rem; color: rgba(255,255,255,0.4);
    line-height: 1.85; margin-bottom: 48px; position: relative;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; position: relative; }
.contact-item {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none; transition: opacity 0.2s;
}
.contact-item:hover { opacity: 0.85; }
.ci-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.ci-text { display: flex; flex-direction: column; gap: 2px; }
.ci-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.ci-value { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.75); }

.contact-right {
    background: var(--white);
    padding: 64px 56px;
    display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.contact-right h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem; font-weight: 600;
    color: var(--ink); line-height: 1.2;
    margin-bottom: 6px;
}
.contact-right p { font-size: 0.9rem; color: var(--muted); line-height: 1.8; }
.contact-cta-btns { display: flex; flex-direction: column; gap: 12px; }
.contact-btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--ink); color: white;
    padding: 15px 28px; border-radius: 8px;
    text-decoration: none; font-weight: 700; font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 10px rgba(14,17,13,0.15);
}
.contact-btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,92,58,0.22); }
.contact-btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--bg); color: var(--ink);
    border: 1px solid var(--line);
    padding: 14px 28px; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}
.contact-btn-secondary:hover { border-color: var(--accent); background: var(--white); }
.contact-note {
    font-size: 0.78rem; color: var(--muted);
    display: flex; align-items: center; gap: 7px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

/* ─── FOOTER ─── */
.footer-bar {
    border-top: 1px solid var(--line);
    max-width: 1180px; margin: auto;
    padding: 26px 32px;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bar p { font-size: 0.8rem; color: var(--muted); }
.lang-pill {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.75rem; font-weight: 600; color: var(--muted);
    border: 1px solid var(--line); padding: 5px 14px;
    border-radius: 100px; text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.lang-pill:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 900px) {
    .contact-wrap { grid-template-columns: 1fr; }
    .contact-left, .contact-right { padding: 44px 36px; }
}
@media (max-width: 768px) {
    .contact-section { padding: 0 20px; margin-top: 60px; }
    .contact-left, .contact-right { padding: 36px 24px; }
    .contact-left h3 { font-size: 2rem; }
}