/* ============================================================
   Zalo Solutions — shared design system
   Schibsted Grotesk + Source Serif 4 · cream / navy / copper
   ============================================================ */

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

html, body { margin: 0; padding: 0; background: #FAF8F4; }

body {
    color: #40474F;
    font-family: 'Schibsted Grotesk', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
::selection { background: #163A5C; color: #FAF8F4; }
input, select, textarea { font-family: 'Schibsted Grotesk', system-ui, sans-serif; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: #163A5C; color: #FAF8F4; padding: 10px 16px;
    border-radius: 6px; z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

.wrap { max-width: 1120px; margin: 0 auto; }

/* ---------- Nav ---------- */
.nav { border-bottom: 1px solid #E8E3D8; background: #FAF8F4; position: sticky; top: 0; z-index: 100; }
.nav-inner { position: relative; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; margin: -6px 0; display: block; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link { color: #40474F; font-weight: 500; font-size: 15.5px; transition: color .15s ease; }
.nav-link:hover { color: #163A5C; }
.nav-link.active { color: #163A5C; font-weight: 700; border-bottom: 2px solid #C9A67F; padding-bottom: 2px; }
.nav-book { color: #163A5C; font-weight: 600; font-size: 15.5px; border: 1.5px solid #163A5C; padding: 9px 20px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.nav-book:hover { background: #163A5C; color: #FAF8F4; }
.nav-toggle {
    display: none; background: none; border: 0; cursor: pointer;
    width: 40px; height: 40px; padding: 8px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 22px; height: 2px; background: #163A5C; position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ---------- Buttons / links ---------- */
.btn-primary { background: #163A5C; color: #FAF8F4; font-weight: 600; font-size: 16px; padding: 14px 28px; border-radius: 999px; white-space: nowrap; display: inline-block; transition: background .15s ease; }
.btn-primary:hover { background: #1E4A73; }
.link-underline { color: #163A5C; font-weight: 600; font-size: 16px; border-bottom: 2px solid #C9A67F; padding-bottom: 2px; white-space: nowrap; transition: border-color .15s ease; }
.link-underline:hover { border-bottom-color: #163A5C; }
.founder-link { color: #A9713F; font-weight: 600; border-bottom: 1px solid #D8BE9F; white-space: nowrap; transition: border-color .15s ease; }
.founder-link:hover { border-bottom-color: #A9713F; }
.cta-primary { background: #FAF8F4; color: #163A5C; font-weight: 700; font-size: 16.5px; padding: 15px 32px; border-radius: 999px; white-space: nowrap; display: inline-block; transition: background .15s ease; }
.cta-primary:hover { background: #EFE8D8; }
.cta-email { color: #FAF8F4; font-weight: 600; font-size: 16px; border-bottom: 2px solid rgba(250, 248, 244, 0.4); padding-bottom: 2px; transition: border-color .15s ease; }
.cta-email:hover { border-bottom-color: #FAF8F4; }

/* ---------- Shared layout blocks ---------- */
.hero { padding: 104px 32px 72px 32px; }
.hero-eyebrow { margin: 0 0 28px 0; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #A9713F; }
.hero-h1 { margin: 0; font-size: clamp(38px, 7vw, 62px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; color: #163A5C; max-width: 820px; text-wrap: balance; }
.hero-lede { margin: 0; font-family: 'Source Serif 4', Georgia, serif; font-size: 22px; line-height: 1.55; color: #4A5058; max-width: 560px; }

.section-h2 { margin: 0; font-size: clamp(28px, 4vw, 34px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: #163A5C; }

.two-col { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

/* two-column split with a product mock on one side */
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split-textfirst { grid-template-columns: minmax(260px, 380px) 1fr; }
.split-mockfirst { grid-template-columns: 1fr minmax(260px, 380px); }

/* contact: content + form */
.contact-grid { display: grid; grid-template-columns: 1fr minmax(340px, 460px); gap: clamp(36px, 6vw, 80px); align-items: start; }

.service-row { display: grid; grid-template-columns: 48px minmax(170px, 300px) 1fr; gap: clamp(20px, 3vw, 32px); align-items: baseline; padding: 28px 0; border-top: 1px solid #DDD6C6; }
.proof-row { display: grid; grid-template-columns: minmax(150px, 260px) 1fr; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid #E8E3D8; }

.cta { background: #163A5C; }
.cta-inner { padding: 88px 32px; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-h2 { margin: 0 0 12px 0; font-size: clamp(30px, 4.5vw, 38px); letter-spacing: -0.02em; font-weight: 700; color: #FAF8F4; max-width: 560px; }
.cta-sub { margin: 0; font-size: 18px; color: #B9C6D4; max-width: 480px; }

/* tinted band used for alternating sections */
.band { background: #F3EFE7; border-top: 1px solid #E8E3D8; border-bottom: 1px solid #E8E3D8; }

/* ---------- Form fields ---------- */
.field { border: 1px solid #DDD6C6; border-radius: 8px; padding: 12px 14px; font-size: 16px; color: #1F2937; background: #FAF8F4; outline: none; transition: border-color .15s ease; }
.field:focus { border-color: #163A5C; }
.field-label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #40474F; }

/* ---------- Footer ---------- */
.site-footer { background: #12304C; }
.site-footer-inner { padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer-copy { margin: 0; font-size: 14px; color: #7E93A8; }
.footer-link { font-size: 14px; color: #B9C6D4; transition: color .15s ease; }
.footer-link:hover { color: #FAF8F4; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #FAF8F4; border-bottom: 1px solid #E8E3D8;
        padding: 8px 24px 20px 24px; display: none;
    }
    .nav-menu.open { display: flex; }
    .nav-menu > a { padding: 12px 0; font-size: 17px; }
    .nav-link.active { border-bottom: 0; padding-bottom: 12px; }
    .nav-book { text-align: center; margin-top: 8px; }
    .nav-toggle { display: inline-flex; }

    .hero { padding: 64px 24px 48px 24px; }
    .two-col { grid-template-columns: 1fr; gap: 20px; }
    .split, .split-textfirst, .split-mockfirst { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .service-row { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
    .proof-row { grid-template-columns: 1fr; gap: 6px; }
    .cta-inner { padding: 64px 24px; gap: 28px; }
    .site-footer-inner { padding: 24px; }
}
