/* ============================================================
   Kestrel Advisory — Strategy Consulting (clean corporate, multipage)
   AnubTech demo
============================================================ */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-soft: #eef2f8;
  --ink: #1c2b3a;
  --slate: #4a5a6a;
  --muted: #6b7a8a;
  --line: #dfe5ec;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --gold: #c8a15a;      /* premium accent */
  --gold-dark: #a9843f;
  --gold-soft: #f7f0e2;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(11,37,69,.06);
  --shadow: 0 22px 48px -26px rgba(11,37,69,.28);
  --maxw: 1180px;
  --font-head: "Spectral", Georgia, serif;
  --font-body: "Libre Franklin", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #dbe4f0; }

.eyebrow { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .74rem; color: var(--gold-dark); margin-bottom: 16px; }
.eyebrow--light { color: var(--gold); }
.h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.7rem); letter-spacing: -.01em; line-height: 1.08; }
.h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.01em; line-height: 1.14; }
.h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.24rem); color: var(--slate); }
.muted { color: var(--muted); }
.section__head { max-width: 660px; margin-bottom: 54px; }
.center { text-align: center; margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font-body); font-weight: 600; cursor: pointer; border: none; padding: 13px 26px; border-radius: var(--radius); transition: transform .16s, box-shadow .16s, background .16s, color .16s, border-color .16s; font-size: .96rem; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--primary { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px -12px rgba(200,161,90,.9); }
.btn--primary:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; color: var(--navy); }
.logo__mark { width: 34px; height: 34px; display: grid; place-items: center; }
.logo__mark svg { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; color: var(--slate); font-size: .96rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--navy); }
.nav-links a.is-active { font-weight: 600; }
.nav-links .btn { color: var(--navy); }
.nav-links .btn:hover { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(11,37,69,.96) 0%, rgba(11,37,69,.82) 46%, rgba(19,49,92,.7) 100%), url("../assets/img/hero-bg.jpg") center/cover; z-index: -1; }
.hero__inner { padding: clamp(70px, 11vw, 150px) 0 clamp(60px, 9vw, 120px); max-width: 720px; }
.hero .lead { color: #c3d0e0; }
.hero__title { margin: 16px 0 24px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero__trust { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 52px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__trust strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--gold); }
.hero__trust span { color: #a9b8ca; font-size: .88rem; }

/* Logos */
.logos { padding: 34px 0; border-bottom: 1px solid var(--line); }
.logos__label { text-align: center; color: var(--muted); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 22px; }
.logos__row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 46px; }
.logos__row span { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--navy); opacity: .45; }

/* Cards / services */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; transition: transform .22s, box-shadow .22s, border-color .22s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__num { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold-dark); font-weight: 700; margin-bottom: 14px; letter-spacing: .05em; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .98rem; }
.card__link { display: inline-block; margin-top: 16px; color: var(--gold-dark); font-weight: 600; font-size: .92rem; }
.card__link:hover { color: var(--navy); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; color: var(--slate); }
.checklist li::before { content: "✦"; color: var(--gold); font-weight: 800; }

/* Stats band */
.stats-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-b { text-align: center; }
.stat-b strong { display: block; font-family: var(--font-head); font-size: clamp(2.1rem, 4vw, 3rem); color: var(--gold); }
.stat-b span { color: #a9b8ca; font-size: .92rem; }

/* Approach steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { border-top: 3px solid var(--gold); padding-top: 22px; }
.step__num { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--gold-dark); letter-spacing: .08em; }
.step h3 { margin: 8px 0; font-size: 1.15rem; }
.step p { color: var(--slate); font-size: .95rem; }

/* Testimonial */
.testi { max-width: 860px; margin-inline: auto; text-align: center; }
.testi blockquote { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 500; line-height: 1.4; font-style: italic; }
.testi__by { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; }
.testi__by img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testi__by div { text-align: left; }
.testi__by span { display: block; color: var(--muted); font-size: .9rem; }

/* Case study cards */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform .22s, box-shadow .22s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.case__body { padding: 26px; }
.case__tag { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.case__body h3 { margin: 8px 0 10px; font-size: 1.2rem; }
.case__body p { color: var(--slate); font-size: .95rem; }
.case__result { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--navy); }

/* Page hero */
.page-hero { background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 104px) 0; }
.page-hero .lead { color: #c3d0e0; margin-top: 14px; max-width: 640px; }

/* Industries list */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind { display: flex; gap: 16px; align-items: flex-start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .2s, box-shadow .2s; }
.ind:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.ind .ic { font-size: 1.6rem; color: var(--gold-dark); }
.ind h3 { font-size: 1.1rem; margin-bottom: 4px; }
.ind p { color: var(--slate); font-size: .92rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 14px; filter: grayscale(.15); }
.team-card h3 { font-size: 1.1rem; }
.team-card span { color: var(--gold-dark); font-size: .88rem; font-weight: 600; }

/* CTA */
.cta { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 76px); text-align: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; top: -80px; right: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(200,161,90,.25), transparent 70%); }
.cta h2 { color: #fff; position: relative; }
.cta p { color: #c3d0e0; max-width: 540px; margin: 14px auto 30px; position: relative; }
.cta .btn { position: relative; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contact-info li { list-style: none; display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info strong { display: block; }
.contact-info span { color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; color: var(--ink); background: #fff; transition: border .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form-note { margin-top: 14px; text-align: center; font-weight: 600; color: #1a7f4b; }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 24px 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--gold-dark); transition: transform .25s; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--slate); }
.faq__a p { padding-bottom: 24px; }

/* Footer */
.site-footer { background: var(--navy); color: #a9b8ca; padding-top: 66px; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer p { color: #8ea0b6; font-size: .95rem; max-width: 300px; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { color: #8ea0b6; font-size: .94rem; }
.site-footer ul a:hover { color: var(--gold); }
.site-footer__base { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #8ea0b6; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px 24px; box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s; }
  .nav-links.is-open { transform: none; }
  .nav-links a { width: 100%; padding: 12px 0; }
  .nav-links .btn { width: 100%; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .grid-3, .steps, .stats-4, .team-grid, .cases, .ind-grid { grid-template-columns: 1fr 1fr; }
  .split, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .steps, .stats-4, .team-grid, .cases, .ind-grid, .form-row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 26px; }
}
