/* =====================================================================
   Wise Advice Consultancy — stylesheet
   Palette is taken from the firm's logo: navy wordmark, teal "A",
   deep-teal "W". Mobile-first; no framework.
   ===================================================================== */

:root {
  --navy: #002858;
  --navy-deep: #001b3d;
  --teal: #009898;
  --teal-deep: #006880;
  --teal-bright: #7fd6d6;
  --teal-soft: #e0f3f3;
  --bg: #f5f8fa;
  --surface: #ffffff;
  --ink: #12202f;
  --slate: #475467;
  --muted: #667085;
  --line: #dce5ea;
  --line-soft: #e9eff3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 40, 88, .06), 0 1px 3px rgba(0, 40, 88, .08);
  --shadow: 0 12px 32px rgba(0, 40, 88, .10);
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1140px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-deep); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { max-width: 820px; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head-compact { margin-bottom: 1.5rem; }
.section-intro { color: var(--slate); font-size: 1.08rem; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin-bottom: .75rem; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font: 600 .98rem/1.2 var(--font-body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary, .btn-accent { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-accent:hover { background: #00b0b0; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { border-color: var(--line-soft); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 9px; background: none; border: 0; border-radius: 8px; cursor: pointer; }
.nav-toggle-bar { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: .75rem 1.25rem 1.5rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.site-nav a:not(.btn) { display: block; padding: .7rem .6rem; color: var(--navy); text-decoration: none; font-weight: 500; border-radius: 8px; }
.site-nav a:not(.btn):hover, .site-nav a.is-active { color: var(--teal-deep); background: var(--teal-soft); }
.btn-nav { margin-top: 1rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 1.25rem; }
  .site-nav ul { flex-direction: row; gap: .15rem; }
  .site-nav a:not(.btn) { position: relative; padding: .5rem .75rem; }
  .site-nav a:not(.btn):hover, .site-nav a.is-active { background: none; color: var(--teal-deep); }
  .site-nav a.is-active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .15rem; height: 2px; border-radius: 2px; background: var(--teal); }
  .btn-nav { margin: 0; padding: .65rem 1.1rem; font-size: .92rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 85% 15%, rgba(0, 152, 152, .38), transparent 60%),
    radial-gradient(45% 60% at 8% 95%, rgba(0, 104, 128, .45), transparent 60%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero .eyebrow { color: var(--teal-bright); }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: rgba(255, 255, 255, .85); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.hero-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-chips li { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; padding: .4rem .85rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: rgba(255, 255, 255, .88); }
.hero-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); }

.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.hero-card-kicker { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--teal-deep); }
.hero-card h2 { font-size: 1.35rem; margin: .25rem 0 1rem; }
.calendar { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.calendar li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.cal-name { font-weight: 600; color: var(--navy); }
.cal-when { color: var(--slate); text-align: right; }
.hero-card-note { font-size: .8rem; color: var(--muted); margin: .9rem 0 0; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #bfe2e2; }
.card h3 { font-size: 1.12rem; margin: 1rem 0 .5rem; }
.card p { margin: 0; color: var(--slate); font-size: .95rem; }

.card-icon, .value-icon, .contact-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); }
.card-icon svg, .value-icon svg, .contact-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Why us ---------- */
.values { margin-bottom: 3rem; }
.value h3 { font-size: 1.08rem; margin: 1rem 0 .4rem; }
.value p { margin: 0; color: var(--slate); font-size: .95rem; }
.steps { list-style: none; margin: 0; padding: 2.25rem 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 1.05rem var(--font-head); }
.steps h3 { font-size: 1.08rem; margin: .4rem 0 .35rem; }
.steps p { margin: 0; color: var(--slate); font-size: .95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.about-copy p { color: var(--slate); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--navy); }
.founders { display: grid; gap: 1.25rem; }
.founder { display: flex; gap: 1.1rem; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 600 1.3rem var(--font-head); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--teal); }
.founder h3 { font-size: 1.15rem; margin: 0 0 .15rem; }
.founder-role { color: var(--teal-deep); font-weight: 600; font-size: .85rem; margin-bottom: .5rem; }
.founder p:last-child { margin: 0; color: var(--slate); font-size: .95rem; }
.founder-meta { font-size: .85rem; color: var(--muted); }

/* ---------- Industries ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.chips li { padding: .55rem 1rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--navy); font-weight: 500; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--slate); }

/* ---------- Contact ---------- */
.section-contact { background: var(--navy); color: #fff; }
.section-head-light h2 { color: #fff; }
.section-head-light .eyebrow { color: var(--teal-bright); }
.section-head-light .section-intro { color: rgba(255, 255, 255, .8); }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }
.contact-cards { display: grid; gap: .9rem; }
@media (min-width: 600px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.15rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; overflow-wrap: anywhere; }
a.contact-card:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.contact-card-wide { grid-column: 1 / -1; }
.contact-card strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-bright); margin-bottom: .15rem; }
.contact-card strong + br { display: none; }
.contact-card address { font-style: normal; line-height: 1.5; margin-bottom: .4rem; }
.contact-card .contact-icon { flex: none; background: rgba(0, 152, 152, .22); color: var(--teal-bright); }
.text-link { color: var(--teal-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.contact-form h3 { margin-bottom: .25rem; }
.form-hint { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 152, 152, .2); }
.field textarea { resize: vertical; min-height: 110px; }
.form-status { min-height: 1.2em; font-size: .9rem; color: var(--teal-deep); margin: .75rem 0 0; }
.form-alt { font-size: .9rem; color: var(--slate); margin: .5rem 0 0; }
.contact-form .text-link { color: var(--teal-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding: 3rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; } }
.footer-logo { height: 40px; width: auto; margin-bottom: .75rem; }
.footer-name { font-family: var(--font-head); font-size: 1.3rem; color: #fff; margin-bottom: .5rem; }
.footer-brand p { margin-bottom: .5rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--teal-bright); }
.footer-legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: rgba(255, 255, 255, .6); }
.footer-legal p { margin-bottom: .4rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
