/* Kilimanjaro Hong Kong Limited */
:root {
    --navy: #141a4a;
    --navy-deep: #0d1135;
    --navy-soft: #232a6b;
    --gold: #f6b24e;
    --gold-deep: #8f5713;   /* gold that passes contrast on cream backgrounds */
    --cream: #f3eadb;       /* page background */
    --cream-deep: #e9dcc3;  /* alternate sections */
    --paper: #fbf6ec;       /* cards and form */
    --ink: #1b1f3a;
    --muted: #555a78;
    --line: #dccfb3;
    --wrap: 1160px;
    --head: 'Space Grotesk', 'Inter', Arial, sans-serif;
    --body: 'Inter', Arial, sans-serif;
    --serif: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 28px; padding-right: 28px; }

.skip {
    position: absolute; left: -9999px; top: 8px;
    background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.top {
    position: sticky; top: 0; z-index: 50;
    background: rgba(20, 26, 74, .96);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
@supports (backdrop-filter: blur(8px)) {
    .top { background: rgba(20, 26, 74, .85); backdrop-filter: blur(10px); }
}
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.brand__sub { font-family: var(--head); font-weight: 500; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
    color: rgba(255,255,255,.85); text-decoration: none; font-size: .95rem; font-weight: 500;
    padding: 12px 14px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav .nav__cta { color: var(--navy); background: var(--gold); margin-left: 8px; }
.nav .nav__cta:hover { color: var(--navy); background: #ffc56a; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 0 26px; border-radius: 999px;
    font-family: var(--body); font-size: 1rem; font-weight: 600; text-decoration: none;
    border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #ffc56a; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    color: #fff;
    background:
        radial-gradient(900px 500px at 82% 115%, rgba(246,178,78,.16), transparent 60%),
        radial-gradient(700px 500px at 0% 0%, rgba(80,90,200,.22), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero__lines { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; padding-top: clamp(80px, 14vh, 150px); padding-bottom: clamp(90px, 16vh, 170px); }

.eyebrow {
    margin: 0 0 18px;
    font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
    color: var(--gold);
}
.eyebrow--dark { color: var(--gold-deep); }

.hero__title {
    margin: 0; max-width: 13em;
    font-family: var(--head); font-weight: 700;
    font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.04; letter-spacing: -.02em;
}
.hero__title em { color: var(--gold); font-size: 1.04em; letter-spacing: -.01em; }
.hero__intro { max-width: 34em; margin: 26px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 120px) 0; }
.section--cream { background: var(--cream-deep); }
.section--navy { background: var(--navy); color: #fff; }
.section__title {
    margin: 0 0 48px; max-width: 16em;
    font-family: var(--head); font-weight: 700;
    font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -.02em; color: var(--navy);
}
.section__title em { color: var(--gold-deep); }
.section__title--light { color: #fff; margin-bottom: 18px; }
.section__title--light em { color: var(--gold); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
    background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
    padding: 32px 30px 30px; display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(80,55,20,.12); }
.card__num { font-family: var(--head); font-weight: 500; font-size: .95rem; color: var(--gold-deep); letter-spacing: .08em; }
.card__title { margin: 16px 0 6px; font-family: var(--head); font-size: 1.45rem; font-weight: 700; color: var(--navy); }
.card__intro { margin: 0 0 22px; color: var(--muted); font-size: .98rem; }
.card__list { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.card__list li { position: relative; padding-left: 22px; font-weight: 500; color: var(--ink); }
.card__list li::before {
    content: ''; position: absolute; left: 0; top: .62em;
    width: 10px; height: 2px; background: var(--gold);
}

/* Offices */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.office {
    font-style: normal; display: flex; flex-direction: column; gap: 2px;
    padding: 32px 30px; border-radius: 18px; border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.office__name {
    margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
    font-family: var(--head); font-weight: 700; font-size: 1.35rem; color: var(--navy);
}
.office span { color: var(--muted); }
.office__phone {
    align-self: flex-start; margin-top: 16px; padding: 10px 0;
    font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold);
}
.office__phone:hover { color: var(--gold-deep); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__intro p { color: rgba(255,255,255,.8); max-width: 26em; }
.contact__phone a { color: var(--gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

.form {
    background: var(--paper); color: var(--ink); border-radius: 20px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 30px 60px rgba(0,0,20,.25);
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px;
    min-width: 0;
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; color: var(--navy); }
.req { color: #b4231f; }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 13px 15px; min-height: 50px;
    border: 1.5px solid #d6c8aa; border-radius: 12px; background: #fffdf8;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(246,178,78,.35); }
.field--err input, .field--err textarea { border-color: #b4231f; }
.field__err { font-size: .87rem; color: #b4231f; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__note { font-size: .85rem; color: var(--muted); }

.cf-turnstile { min-height: 65px; max-width: 100%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { margin: 0; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.notice--err { background: #fdecea; color: #8a1c18; }
.notice--ok {
    background: rgba(255,255,255,.06); border: 1px solid rgba(246,178,78,.5);
    padding: 36px 32px; border-radius: 20px;
}
.notice--ok h3 { margin: 0 0 6px; font-family: var(--head); font-size: 1.5rem; color: #fff; }
.notice--ok p { margin: 0; color: rgba(255,255,255,.8); }

/* ---------- Footer ---------- */
.foot { background: var(--navy-deep); color: rgba(255,255,255,.72); font-size: .9rem; }
.foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.foot__brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--head); font-weight: 500; letter-spacing: .02em; }
.foot p { margin: 0; }

/* ---------- Cookie notice ---------- */
.cookies {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    display: flex; justify-content: center; pointer-events: none;
}
.cookies__inner {
    pointer-events: auto;
    width: 100%; max-width: 760px;
    display: flex; align-items: center; gap: 20px;
    padding: 18px 20px 18px 24px;
    background: var(--navy-deep); color: rgba(255,255,255,.85);
    border: 1px solid rgba(246,178,78,.35); border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,20,.35);
    font-size: .92rem; line-height: 1.5;
}
.cookies__text { flex: 1 1 auto; min-width: 0; }
.cookies__text p { margin: 0; }
.cookies__text strong { color: #fff; }
.cookies__details { margin-top: 6px; }
.cookies__details summary { cursor: pointer; color: var(--gold); font-weight: 600; padding: 4px 0; width: max-content; }
.cookies__details ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.cookies__details b { color: #fff; font-weight: 600; }
.cookies__ok { flex: 0 0 auto; min-width: 88px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .cards { grid-template-columns: minmax(0, 1fr); }
    .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .wrap { padding-left: 20px; padding-right: 20px; }
    .nav a:not(.nav__cta) { display: none; }
    .nav .nav__cta { margin-left: 0; padding: 10px 16px; }
    .brand__name { font-size: 1rem; }
    .brand__sub { font-size: .58rem; letter-spacing: .24em; }
    .offices, .form__row { grid-template-columns: minmax(0, 1fr); }
    .hero__actions .btn { flex: 1 1 auto; }
    .foot__inner { flex-direction: column; align-items: flex-start; }
    .cookies { left: 10px; right: 10px; bottom: 10px; }
    .cookies__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; }
}

/* Small phones: give the form room for Cloudflare's 300px check box */
@media (max-width: 440px) {
    #contact .wrap { padding-left: 12px; padding-right: 12px; }
    .contact__intro { padding: 0 8px; }
    .form { padding: 22px 16px; border-radius: 16px; gap: 16px; }
    .field input { min-height: 48px; padding: 11px 13px; }
    .field textarea { min-height: 130px; }
    .form__foot { gap: 12px; }
    .form__foot .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
