/* ==========================================================================
   Planfix IT Consultancy - styles.css
   Brand: #0F2557 (deep IT navy) on #FFFFFF / #f8f8fa
   Single stylesheet, vanilla CSS, no preprocessors.
   ========================================================================== */

/* --- Fonts (self-hosted Poppins, latin subset) ----------------------------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #0F2557;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }

/* --- Tokens -------------------------------------------------------------- */
:root {
  --navy: #0F2557;
  --navy-hover: #1a3a7a;
  --navy-tint: rgba(15, 37, 87, 0.68);
  --gold: #F59E0B;
  --gold-soft: rgba(245, 158, 11, 0.18);
  --bg: #ffffff;
  --bg-light: #f8f8fa;
  --border: #e5e5ec;
  --text: #0F2557;
  --text-body: #444;
  --text-muted: #666;
  --placeholder: #aaa;
  --star: #f59e0b;
  --error: #ef4444;
}

/* --- Skip link (keyboard users jump past the header) ---------------------- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 3000;
  padding: 10px 18px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* --- Container ----------------------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .container { padding: 0 16px; } }

/* --- Typography helpers -------------------------------------------------- */
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-body); }

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section__title { text-align: center; margin-bottom: 12px; }
.section__title--left { text-align: left; }
.section__subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section__cta { text-align: center; margin-top: 48px; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn--outline { color: #fff; border-color: #fff; background: transparent; }
.btn--outline:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn--dark { color: #fff; background: rgba(15, 37, 87, 0.4); border-color: rgba(255,255,255,0.4); backdrop-filter: blur(4px); }
.btn--dark:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-2px); }
.btn--dark-solid { color: #fff; background: var(--navy); border-color: var(--navy); border-radius: 6px; }
.btn--dark-solid:hover { background: var(--navy-hover); border-color: var(--navy-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15, 37, 87, 0.25); }
.btn--white { color: var(--navy); background: #fff; border-color: #fff; border-radius: 6px; }
.btn--white:hover { background: transparent; color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.75rem; }
.btn--icon { display: inline-flex; align-items: center; gap: 10px; }
.btn--icon svg { width: 18px; height: 18px; }

/* --- Header / nav -------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: transparent;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.header--scrolled {
  background: var(--navy);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo { display: inline-flex; color: #fff; }
.header__logo img { height: 32px; width: auto; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header__nav a {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.85;
  position: relative;
  padding: 6px 0;
}
.header__nav a:hover { opacity: 1; }
.header__nav a.active { opacity: 1; font-weight: 600; }
.header__nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: #fff;
}
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}
.header__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}
.header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 768px) {
  .header__hamburger { display: flex; }
  .header__nav {
    position: fixed;
    top: 0; right: 0;
    width: 75%; max-width: 320px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 32px 32px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 100;
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }
  .header__nav.is-open { transform: translateX(0); }
  .header__nav a { font-size: 1rem; }
}

/* --- Hero (home) --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(15,37,87,0.55) 0%, rgba(15,37,87,0.2) 45%, rgba(15,37,87,0.55) 100%),
    url('../images/bg-home-v3.jpg') center/cover no-repeat,
    linear-gradient(135deg, #0F2557 0%, #1a3a7a 50%, #2d5aa8 100%);
  background:
    linear-gradient(180deg, rgba(15,37,87,0.55) 0%, rgba(15,37,87,0.2) 45%, rgba(15,37,87,0.55) 100%),
    image-set(url('../images/bg-home-v3.webp') type('image/webp'), url('../images/bg-home-v3.jpg') type('image/jpeg')) center/cover no-repeat,
    linear-gradient(135deg, #0F2557 0%, #1a3a7a 50%, #2d5aa8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero__overlay,
.hero__wave { overflow: hidden; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,37,87,0.45) 0%, rgba(15,37,87,0.15) 50%, rgba(15,37,87,0.35) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 0 24px;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hero__subtitle {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.5;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__social {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.hero__social a:hover { background: #fff; color: var(--navy); transform: scale(1.08); }
.hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 2;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 60px; display: block; }
.hero__edge {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 25%, var(--gold) 75%, transparent 100%);
  z-index: 3;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 5;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  box-shadow: 0 6px 24px rgba(15, 37, 87, 0.22), 0 0 0 6px rgba(255,255,255,0.6);
  animation: pulse-down 2.4s ease-in-out infinite;
}
.hero__scroll svg { width: 22px; height: 22px; display: block; }
.hero__scroll:hover { transform: translateX(-50%) translateY(-4px); box-shadow: 0 10px 32px rgba(15, 37, 87, 0.28), 0 0 0 6px rgba(255,255,255,0.6); }

@keyframes pulse-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(4px); }
}

@media (max-width: 768px) {
  .hero__social { display: none; }
  .hero { align-items: flex-end; padding-bottom: 120px; }
}
@media (max-width: 480px) {
  .hero__buttons .btn { padding: 12px 20px; font-size: 0.75rem; }
}

/* --- Page hero (sub-pages) ---------------------------------------------- */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    linear-gradient(135deg, rgba(15,37,87,0.85), rgba(26,58,122,0.6)),
    linear-gradient(135deg, #0F2557 0%, #1a3a7a 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,37,87,0.25) 0%, rgba(15,37,87,0.45) 50%, rgba(15,37,87,0.25) 100%);
}
.page-hero__content {
  position: relative; z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }

.page-hero--short { padding: 120px 0 60px; }

.page-hero--about         { background-image: url('../images/bg-about-v3.jpg'); background-image: image-set(url('../images/bg-about-v3.webp') type('image/webp'), url('../images/bg-about-v3.jpg') type('image/jpeg')); }
.page-hero--services      { background-image: url('../images/bg-services-v3.jpg'); background-image: image-set(url('../images/bg-services-v3.webp') type('image/webp'), url('../images/bg-services-v3.jpg') type('image/jpeg')); }
.page-hero--why-us        { background-image: url('../images/bg-why-us-v3.jpg'); background-image: image-set(url('../images/bg-why-us-v3.webp') type('image/webp'), url('../images/bg-why-us-v3.jpg') type('image/jpeg')); }
.page-hero--pricing       { background-image: url('../images/bg-pricing-v3.jpg'); background-image: image-set(url('../images/bg-pricing-v3.webp') type('image/webp'), url('../images/bg-pricing-v3.jpg') type('image/jpeg')); }
.page-hero--discovery-call{ background-image: url('../images/bg-discovery-call-v3.jpg'); background-image: image-set(url('../images/bg-discovery-call-v3.webp') type('image/webp'), url('../images/bg-discovery-call-v3.jpg') type('image/jpeg')); }
.page-hero--contact       { background-image: url('../images/bg-about-v3.jpg'); background-image: image-set(url('../images/bg-about-v3.webp') type('image/webp'), url('../images/bg-about-v3.jpg') type('image/jpeg')); }

@media (max-width: 768px) { .page-hero { padding: 120px 0 60px; } }
@media (max-width: 480px) { .page-hero { padding: 100px 0 48px; } }

/* --- Sections ------------------------------------------------------------ */
.section { padding: 80px 0; }
.section--white { background: #fff; }
.section--light { background: var(--bg-light); }
@media (max-width: 1024px) { .section { padding: 64px 0; } }
@media (max-width: 768px)  { .section { padding: 56px 0; } }
@media (max-width: 480px)  { .section { padding: 44px 0; } }

/* --- Two-column block ---------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col__text { text-align: justify; }
.two-col__text p { margin-bottom: 16px; color: var(--text-body); }
.two-col__text p:last-of-type { margin-bottom: 24px; }
.two-col__text h2 { text-align: left; margin-bottom: 20px; }
.two-col__image img,
.two-col__image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.two-col__image {
  aspect-ratio: 576 / 400;
  background: linear-gradient(135deg, #1a3a7a 0%, #2d5aa8 100%);
}
.two-col__image img { width: 100%; height: 100%; object-fit: cover; }
.two-col__image--price {
  position: relative;
  background-color: var(--navy);
  background-image: url('../images/pricing-from-card-v1.jpg');
  background-image: image-set(url('../images/pricing-from-card-v1.webp') type('image/webp'), url('../images/pricing-from-card-v1.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 40px;
}
.price-tag { text-align: center; }
.price-tag__from { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; margin-bottom: 8px; }
.price-tag__amount { font-size: 3rem; font-weight: 800; line-height: 1; }
.price-tag__note { font-size: 0.9rem; opacity: 0.85; margin-top: 8px; }
.two-col--reverse .two-col__text { order: 2; }
.two-col--reverse .two-col__image { order: 1; }

@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr 40%; gap: 32px; }
}
@media (max-width: 768px) {
  .two-col, .two-col--reverse .two-col__text, .two-col--reverse .two-col__image { grid-template-columns: 1fr; }
  .two-col__text, .two-col--reverse .two-col__text { order: 1; text-align: left; }
  .two-col__image, .two-col--reverse .two-col__image { order: 2; }
}

/* --- Partner-of pill ----------------------------------------------------- */
.partner-of {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  margin-bottom: 20px;
}
.partner-of:hover { border-color: var(--navy); transform: translateY(-1px); }
.partner-of__label { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.partner-of__logo { height: 24px; width: auto; }

/* --- CTA banner ---------------------------------------------------------- */
.cta-banner {
  position: relative;
  margin: 80px 24px;
  padding: 80px 24px;
  border-radius: 30px;
  background-color: #0F2557;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../images/cta-banner-consulting-sydney-v2.jpg'); background-image: image-set(url('../images/cta-banner-consulting-sydney-v2.webp') type('image/webp'), url('../images/cta-banner-consulting-sydney-v2.jpg') type('image/jpeg'));
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.cta-banner--home           { background-image: url('../images/cta-home-v1.jpg'); background-image: image-set(url('../images/cta-home-v1.webp') type('image/webp'), url('../images/cta-home-v1.jpg') type('image/jpeg')); }
.cta-banner--about          { background-image: url('../images/cta-about-v1.jpg'); background-image: image-set(url('../images/cta-about-v1.webp') type('image/webp'), url('../images/cta-about-v1.jpg') type('image/jpeg')); }
.cta-banner--why-us         { background-image: url('../images/cta-why-us-v1.jpg'); background-image: image-set(url('../images/cta-why-us-v1.webp') type('image/webp'), url('../images/cta-why-us-v1.jpg') type('image/jpeg')); }
.cta-banner--services       { background-image: url('../images/cta-services-v1.jpg'); background-image: image-set(url('../images/cta-services-v1.webp') type('image/webp'), url('../images/cta-services-v1.jpg') type('image/jpeg')); }
.cta-banner--pricing        { background-image: url('../images/cta-pricing-v1.jpg'); background-image: image-set(url('../images/cta-pricing-v1.webp') type('image/webp'), url('../images/cta-pricing-v1.jpg') type('image/jpeg')); }
.cta-banner--discovery-call { background-image: url('../images/cta-discovery-call-v1.jpg'); background-image: image-set(url('../images/cta-discovery-call-v1.webp') type('image/webp'), url('../images/cta-discovery-call-v1.jpg') type('image/jpeg')); }
.cta-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,37,87,0.3) 0%, rgba(15,37,87,0.55) 50%, rgba(15,37,87,0.3) 100%);
  border-radius: 30px;
}
.cta-banner__content {
  position: relative; z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 28px; font-size: 1.05rem; }

@media (max-width: 768px) {
  .cta-banner { margin: 48px 16px; padding: 56px 24px; border-radius: 20px; }
  .cta-banner__overlay { border-radius: 20px; }
}
@media (max-width: 480px) {
  .cta-banner { margin: 32px 12px; padding: 44px 20px; border-radius: 16px; }
  .cta-banner__overlay { border-radius: 16px; }
}

/* --- Step cards ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.step-card__image-wrap {
  max-height: 70px;
  overflow: hidden;
}
.step-card__image {
  width: 100%; height: 66px; object-fit: cover;
  background: linear-gradient(135deg, #1a3a7a 0%, #2d5aa8 100%);
}
.step-card__body { padding: 32px 28px; position: relative; }
.step-card__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(15, 37, 87, 0.15);
  margin-bottom: 8px;
  transition: color .3s ease;
}
.step-card:hover .step-card__number { color: var(--gold); }
.step-card__title { margin-bottom: 10px; }
.step-card__text { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step-card:nth-child(3) { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
  .step-card:nth-child(3) { max-width: 100%; }
}

/* --- Benefit cards ------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.benefits--four { grid-template-columns: repeat(4, 1fr); }
.benefits--six  { grid-template-columns: repeat(3, 1fr); }

.benefit-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  text-align: left;
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(0,0,0,0.08); border-color: var(--navy); }
.benefit-card__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--bg-light);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.benefit-card__title { margin-bottom: 8px; }
.benefit-card__text { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 1024px) {
  .benefits--four { grid-template-columns: repeat(2, 1fr); }
  .benefits--six  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .benefits--four, .benefits--six { grid-template-columns: 1fr; }
}

/* --- Values grid --------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-item {
  background: var(--bg-light);
  padding: 28px 24px;
  border-radius: 16px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.value-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.value-item h3 { margin-bottom: 10px; color: var(--navy); }
.value-item p { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 1024px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .values-grid { grid-template-columns: 1fr; } }

/* --- Services list ------------------------------------------------------- */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-item {
  background: var(--bg-light);
  padding: 28px 24px;
  border-radius: 16px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.service-item h3 { margin-bottom: 8px; color: var(--navy); }
.service-item p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 768px) { .services-list { grid-template-columns: 1fr; } }

/* --- Finance / pricing cards -------------------------------------------- */
.finance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.finance-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 36px 28px;
  border-radius: 16px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.finance-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: var(--navy); }
.finance-card__icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--bg-light);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.finance-card h3 { margin-bottom: 10px; }
.finance-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.finance-card__price {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 4px;
}
.finance-card__price-unit { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.finance-card__features { margin-top: 16px; }
.finance-card__features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-body);
}
.finance-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.finance-card--featured { border: 2px solid var(--navy); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(15, 37, 87, 0.15); }
.finance-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1024px) { .finance-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* --- Showcase ------------------------------------------------------------ */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
  margin-bottom: 32px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.showcase--reverse .showcase__card { order: 2; }
.showcase--reverse .showcase__image { order: 1; }
.showcase__card {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase__card--dark { background: var(--navy); color: #fff; }
.showcase__card--dark h3,
.showcase__card--dark .showcase__title { color: #fff; font-size: 1.6rem; margin-bottom: 16px; }
.showcase__card--dark p { color: rgba(255,255,255,0.9); font-size: 0.95rem; text-align: justify; }
.showcase__image {
  background: linear-gradient(135deg, #1a3a7a 0%, #2d5aa8 100%);
  background-size: cover;
  background-position: center;
  min-height: 350px;
}
.showcase__image img { width: 100%; height: 100%; object-fit: cover; }
.showcase__image--advice   { background-image: url('../images/why-us-independent-advice-v3.jpg'); background-image: image-set(url('../images/why-us-independent-advice-v3.webp') type('image/webp'), url('../images/why-us-independent-advice-v3.jpg') type('image/jpeg')); }
.showcase__image--seniors  { background-image: url('../images/why-us-senior-consultants-v3.jpg'); background-image: image-set(url('../images/why-us-senior-consultants-v3.webp') type('image/webp'), url('../images/why-us-senior-consultants-v3.jpg') type('image/jpeg')); }
.showcase__image--outcomes { background-image: url('../images/why-us-outcomes-v3.jpg'); background-image: image-set(url('../images/why-us-outcomes-v3.webp') type('image/webp'), url('../images/why-us-outcomes-v3.jpg') type('image/jpeg')); }

@media (max-width: 1024px) { .showcase { min-height: 350px; } }
@media (max-width: 768px) {
  .showcase { grid-template-columns: 1fr; min-height: auto; }
  .showcase--reverse .showcase__card, .showcase--reverse .showcase__image { order: initial; }
  .showcase__card { padding: 36px 28px; }
  .showcase__image { min-height: 240px; }
}

/* --- Our Approach (cinematic strip, replaces Meet-Founder) -------------- */
.our-approach {
  position: relative;
  padding: 96px 0;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.our-approach__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(45, 90, 168, 0.45) 0%, transparent 70%);
}
.our-approach .container { position: relative; z-index: 2; }
.our-approach__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.our-approach__text h2 { color: #fff; margin-bottom: 20px; }
.our-approach__text p { color: rgba(255,255,255,0.85); margin-bottom: 18px; font-size: 1.05rem; }
.our-approach__pillars {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.our-approach__pillars li {
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,0.92);
}
.our-approach__pillars li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.our-approach__pillars strong { color: #fff; display: block; margin-bottom: 2px; }
.our-approach__pillar-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.our-approach__pillar-text { flex: 1; font-size: 0.95rem; }

@media (max-width: 768px) {
  .our-approach { padding: 64px 0; }
  .our-approach__inner { grid-template-columns: 1fr; gap: 32px; text-align: left; }
}

/* --- Testimonials grid (home page) -------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.testimonial-card__quote { color: var(--navy); margin-bottom: 8px; }
.testimonial-card__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-card > p {
  color: var(--text-body);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .testimonials-grid { grid-template-columns: 1fr; } }

/* --- Testimonials card (sidebar variant) -------------------------------- */
.testimonials-card {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 36px 28px;
}
.testimonials-card h3 { color: #fff; margin-bottom: 20px; }
.testimonials-card .testimonial {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.testimonials-card .testimonial:last-child { border-bottom: 0; padding-bottom: 0; }
.testimonials-card .testimonial:first-child { padding-top: 0; }
.testimonials-card .testimonial p {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonials-card .testimonial cite {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-style: normal;
}

/* --- Contact layout ----------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.contact-layout__form > p { color: var(--text-muted); margin-bottom: 24px; }
.contact-layout__info { display: flex; flex-direction: column; gap: 24px; }

.contact-info-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 32px 28px;
}
.contact-info-card h3 { margin-bottom: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: 0; }
.contact-info-item svg { flex-shrink: 0; color: var(--navy); margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 0.85rem; color: var(--navy); margin-bottom: 2px; }
.contact-info-item p, .contact-info-item a { color: var(--text-body); font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* --- Forms ------------------------------------------------------------- */
.form { display: block; }
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form__group { display: flex; flex-direction: column; }
.form__group--full { grid-column: 1 / -1; margin-bottom: 18px; }
.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.form__required { color: var(--error); }
.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: var(--bg-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--placeholder); }
.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 37, 87, 0.1);
}
.form__input.form--error, .form__textarea.form--error {
  border-color: var(--error);
  background-color: #fff5f5;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.form__group.form--error .form__label { color: var(--error); }
.form__textarea { resize: vertical; min-height: 140px; }
select.form__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230F2557' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
}
.form__checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px; height: 18px;
  accent-color: var(--navy);
  margin-top: 2px;
}
.form__checkbox a { color: var(--navy); text-decoration: underline; }
.form__checkbox.form--error {
  color: var(--error);
  padding: 8px 12px;
  margin: -8px -12px;
  border: 1.5px solid var(--error);
  border-radius: 10px;
  background: #fff5f5;
}
.form__checkbox.form--error input[type="checkbox"] { accent-color: var(--error); outline: 2px solid var(--error); outline-offset: 2px; }
.form__checkbox.form--error a { color: var(--error); }
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form__alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.form__alert--success {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.form__alert--error {
  background: rgba(239, 68, 68, 0.08);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.form__alert--missing {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.form__alert--missing::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--error);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Form success card (after submit) -------------------------------- */
.form-success {
  display: none;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 28px;
  align-items: flex-start;
  gap: 16px;
}
.form-success.is-visible { display: flex; }
.form-success__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.form-success__body { flex: 1; }
.form-success__body h3 {
  color: #065f46;
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.form-success__body p {
  color: #047857;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.form-success__body p + p { margin-top: 8px; }
.form-success__close {
  background: transparent;
  border: 0;
  color: #047857;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}
.form-success__close:hover { background: rgba(4, 120, 87, 0.1); }

@media (max-width: 480px) {
  .form-success { padding: 24px 20px; flex-direction: column; }
}

@media (max-width: 480px) { .form__grid { grid-template-columns: 1fr; } }

/* --- Footer ------------------------------------------------------------ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand { max-width: 400px; }
.footer__logo { display: block; margin-bottom: 22px; color: #fff; }
.footer__logo img { width: 100%; max-width: 380px; height: auto; }
.footer__brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.6; }
.footer__links h4, .footer__contact h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__links nav { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__contact a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 10px; line-height: 1.5; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin: 0; }
.footer__powered a { color: rgba(255,255,255,0.75); font-weight: 600; }
.footer__powered a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__logo img { max-width: 280px; }
}

/* --- Consent banner ----------------------------------------------------- */
.consent-banner {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  max-width: 680px;
  width: calc(100% - 32px);
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 22px 28px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.25);
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .4s ease;
}
.consent-banner.hidden {
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0;
  pointer-events: none;
}
.consent-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.consent-banner p { color: rgba(255,255,255,0.9); font-size: 0.85rem; line-height: 1.5; margin: 0; flex: 1 1 320px; }
.consent-banner p a { color: #fff; text-decoration: underline; }
.consent-banner__buttons { display: flex; gap: 10px; flex-shrink: 0; }
.consent-banner .btn {
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.75rem;
}
.consent-banner .btn--outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.consent-banner .btn--outline:hover { background: #fff; color: var(--navy); }

@media (max-width: 480px) {
  .consent-banner { padding: 18px 20px; bottom: 12px; border-radius: 16px; }
  .consent-banner__buttons { width: 100%; }
  .consent-banner .btn { flex: 1; }
}

/* --- Scroll-to-top ------------------------------------------------------ */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px #fff, 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--navy-hover); transform: translateY(-4px); }

@media (max-width: 480px) { .scroll-top { bottom: 16px; right: 16px; width: 44px; height: 44px; } }

/* --- Legal pages ------------------------------------------------------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { text-align: left; margin: 36px 0 14px; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 14px; color: var(--text-body); }
.legal-content ul { padding-left: 24px; margin-bottom: 18px; }
.legal-content ul li {
  list-style: disc;
  margin-bottom: 6px;
  color: var(--text-body);
}
.legal-content strong { color: var(--navy); }
.legal-content a { color: var(--navy); text-decoration: underline; }
.legal-content__updated {
  display: inline-block;
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* --- 404 page ---------------------------------------------------------- */
.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}
.notfound__code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.notfound__title { margin-bottom: 12px; }
.notfound p { color: var(--text-muted); margin-bottom: 24px; }

/* --- Animate-on-scroll -------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* --- Print ------------------------------------------------------------- */
@media print {
  .header, .hero__social, .consent-banner, .scroll-top, .hero__scroll, .hero__wave, .header__hamburger { display: none !important; }
  .hero, .page-hero { min-height: auto; padding: 24px 0; background: #fff; color: #000; }
  .hero__title, .page-hero h1 { color: #000; }
  body { color: #000; }
  .section { padding: 16px 0; }
}
