/* ==========================================================================
   THE LAWNEDS - Master Stylesheet
   Design system: tokens, base, components, layout, utilities
   ========================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Colour */
  --navy:           #1B3A6B;
  --navy-dark:      #142D55;
  --navy-deeper:    #0F2040;
  --navy-tint:      #EEF2F9;
  --white:          #FFFFFF;
  --grey-light:     #F5F6F8;
  --grey-mid:       #E8EAF0;
  --grey-text:      #5A6070;
  --body:           #1C1C2E;
  --hero-overlay:   rgba(10, 18, 38, 0.68);
  --whatsapp:       #25D366;
  --whatsapp-dark:  #1DA851;

  /* Type */
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.5rem;
  --text-6xl:  4.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:   0 16px 48px rgba(0,0,0,0.14);
  --shadow-navy: 0 8px 32px rgba(27,58,107,0.20);

  /* Layout */
  --container: 1200px;
  --container-narrow: 920px;
  --nav-height: 80px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--body);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 { font-size: var(--text-5xl); font-weight: 800; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }

p { color: var(--grey-text); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, textarea, select { font-family: inherit; font-size: var(--text-base); }

::selection { background: var(--navy); color: var(--white); }

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--space-24) 0; overflow-x: clip; }
.section--tight { padding: var(--space-16) 0; }
.section--grey { background: var(--grey-light); }
.section--tint { background: var(--navy-tint); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.82); }
.section--deep { background: var(--navy-deeper); color: var(--white); }
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--white); }
.section--deep p { color: rgba(255,255,255,0.8); }

/* Section header block */
.section-head { max-width: 760px; margin-bottom: var(--space-12); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-4);
  position: relative;
  padding-left: var(--space-8);
}
.eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 24px; height: 2px; background: var(--navy); transform: translateY(-50%);
}
.section--center .eyebrow, .section-head--center .eyebrow { padding-left: 0; }
.section-head--center .eyebrow::before { display: none; }
.eyebrow--center { padding-left: 0; }
.eyebrow--center::before { display: none; }
.section--navy .eyebrow, .section--deep .eyebrow { color: #7FA8E8; }
.section--navy .eyebrow::before, .section--deep .eyebrow::before { background: #7FA8E8; }

.section-head p { font-size: var(--text-lg); margin-top: var(--space-5); }

/* Grids */
.grid { display: grid; gap: var(--space-8); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 14px 32px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease);
  cursor: pointer; text-align: center; white-space: nowrap;
  border: 2px solid transparent;
}
.btn i { font-size: 0.9em; transition: transform 0.25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-navy); }

.btn--secondary { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--navy-tint); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--lg { padding: 17px 40px; font-size: 1rem; }
.btn--sm { padding: 10px 22px; font-size: var(--text-sm); }

.btn-text {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; color: var(--navy); font-size: 0.95rem;
  transition: gap 0.25s var(--ease);
}
.btn-text i { transition: transform 0.25s var(--ease); }
.btn-text:hover { gap: var(--space-3); }
.btn-text:hover i { transform: translateX(3px); }
.section--navy .btn-text, .section--deep .btn-text { color: #9DBDEE; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.btn-group--center { justify-content: center; }

/* ---------- 5. NAVIGATION ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: transparent;
}
.nav__inner {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  letter-spacing: -0.02em; color: var(--white); transition: color 0.35s var(--ease);
  display: flex; align-items: center; gap: var(--space-2);
}
.nav__logo span { color: #7FA8E8; }
.nav__links { display: flex; align-items: center; gap: var(--space-6); }
.nav__link {
  font-size: var(--text-sm); font-weight: 500; color: rgba(255,255,255,0.85);
  position: relative; padding: var(--space-2) 0; transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: currentColor; transition: width 0.25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__cta { margin-left: var(--space-4); }
.nav__toggle { display: none; font-size: 1.4rem; color: var(--white); z-index: 1100; transition: color 0.35s var(--ease); }

/* Scrolled state */
.nav.is-scrolled { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav.is-scrolled .nav__logo { color: var(--navy); }
.nav.is-scrolled .nav__link { color: var(--body); }
.nav.is-scrolled .nav__link:hover, .nav.is-scrolled .nav__link.is-active { color: var(--navy); }
.nav.is-scrolled .nav__toggle { color: var(--navy); }
.nav.is-scrolled .nav__cta.btn--ghost { border-color: var(--navy); color: var(--navy); }
.nav.is-scrolled .nav__cta.btn--ghost:hover { background: var(--navy); color: var(--white); }

/* Mobile drawer */
.nav__drawer {
  position: fixed; inset: 0; z-index: 1050;
  background: var(--navy-deeper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-6);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
}
.nav__drawer.is-open { transform: translateX(0); }
.nav__drawer a { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); color: var(--white); }
.nav__drawer a:hover { color: #7FA8E8; }
.nav__drawer .btn { margin-top: var(--space-4); width: auto; min-width: 220px; max-width: calc(100% - var(--space-12)); }
.nav__drawer a.btn--white, .nav__drawer a.btn--white:hover { color: var(--navy); }
.nav__drawer-close { position: absolute; top: var(--space-6); right: var(--space-6); font-size: 1.8rem; color: var(--white); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden; color: var(--white);
}
.hero--short { min-height: 64vh; }
.hero__bg {
  position: absolute; inset: -10% 0 0 0; height: 120%;
  background-size: cover; background-position: center;
  will-change: transform; z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(10,18,38,0.82) 0%, rgba(10,18,38,0.55) 100%);
}
.hero__content { position: relative; z-index: 2; width: 100%; text-align: center; padding: calc(var(--nav-height) + var(--space-12)) 0 var(--space-12); }
.hero__content--left { text-align: left; max-width: 760px; }
.hero h1 { color: var(--white); font-size: var(--text-6xl); margin-bottom: var(--space-6); }
.hero__lead { font-size: var(--text-xl); color: rgba(255,255,255,0.9); max-width: 720px; margin: 0 auto var(--space-8); }
.hero__content--left .hero__lead { margin-left: 0; }
.hero .btn-group { margin-top: var(--space-8); }
.hero__scroll {
  position: absolute; bottom: var(--space-8); left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,0.7); font-size: 1.2rem; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,10px);} }

/* ---------- 7. CARDS ---------- */
.card {
  background: var(--white); border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg); padding: var(--space-8);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #C9D6EC; }
.card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--navy-tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: var(--space-6);
  transition: all 0.3s var(--ease);
}
.card:hover .card__icon { background: var(--navy); color: var(--white); }
.card h3, .card h4 { margin-bottom: var(--space-3); }
.card h4 { font-size: var(--text-xl); }
.card p { font-size: var(--text-base); margin-bottom: var(--space-5); }
.card .btn-text { margin-top: auto; }

/* Feature (dark) card */
.card--feature { background: var(--navy); color: var(--white); border: none; position: relative; overflow: hidden; }
.card--feature::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg,#7FA8E8,#C9D6EC); }
.card--feature h3, .card--feature h4 { color: var(--white); }
.card--feature p { color: rgba(255,255,255,0.8); }
.card--feature:hover { background: var(--navy-dark); }
.card--feature .card__icon { background: rgba(255,255,255,0.12); color: var(--white); }

/* Stat / highlight card */
.stat-card { background: var(--white); border-left: 4px solid var(--navy); border-radius: var(--radius-md); padding: var(--space-6) var(--space-6); box-shadow: var(--shadow-sm); }
.stat-card__num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); color: var(--navy); line-height: 1; }
.stat-card__label { font-size: var(--text-sm); color: var(--grey-text); font-weight: 500; margin-top: var(--space-2); }

/* Industry icon card */
.icon-card {
  background: var(--white); border: 1px solid var(--grey-mid); border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-4); text-align: center;
  transition: all 0.3s var(--ease); cursor: default;
}
.icon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #C9D6EC; }
.icon-card i { font-size: 2rem; color: var(--navy); transition: transform 0.3s var(--ease); display: block; margin-bottom: var(--space-4); }
.icon-card:hover i { transform: scale(1.15); }
.icon-card span { font-size: var(--text-sm); font-weight: 600; color: var(--body); line-height: 1.3; display: block; }

/* Pill / tag */
.pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 8px 16px; border-radius: var(--radius-full);
  background: var(--navy-tint); color: var(--navy);
  font-size: var(--text-sm); font-weight: 600;
}
.pill-group { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.tag {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-sm);
  background: var(--navy); color: var(--white);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}

/* Checklist */
.checklist li { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-3); color: var(--body); }
.checklist li i { color: var(--navy); margin-top: 5px; font-size: 0.9rem; flex-shrink: 0; }
.section--navy .checklist li { color: rgba(255,255,255,0.9); }
.section--navy .checklist li i, .section--deep .checklist li i { color: #7FA8E8; }
.card--feature .checklist li { color: rgba(255,255,255,0.9); }
.card--feature .checklist li i { color: #7FA8E8; }

/* ---------- 8. CTA BANNER ---------- */
.cta-banner { background: var(--navy); color: var(--white); border-radius: var(--radius-xl); padding: var(--space-16); text-align: center; position: relative; overflow: hidden; }
.cta-banner::after { content:''; position:absolute; right:-80px; top:-80px; width:300px; height:300px; border-radius:50%; background: rgba(255,255,255,0.04); }
.cta-banner h2 { color: var(--white); margin-bottom: var(--space-5); }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: var(--text-lg); max-width: 640px; margin: 0 auto var(--space-8); }
.cta-banner .btn-group { justify-content: center; }
.cta-banner .btn { white-space: normal; line-height: 1.3; }

/* ---------- 9. FOOTER ---------- */
.footer { background: var(--navy-deeper); color: rgba(255,255,255,0.7); padding: var(--space-20) 0 var(--space-8); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--space-12); margin-bottom: var(--space-16); }
.footer__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--white); margin-bottom: var(--space-5); }
.footer__logo span { color: #7FA8E8; }
.footer__desc { font-size: var(--text-sm); line-height: 1.7; margin-bottom: var(--space-6); max-width: 320px; color: rgba(255,255,255,0.7); }
.footer__social { display: flex; gap: var(--space-3); }
.footer__social a {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.footer__social a:hover { background: var(--navy); transform: translateY(-3px); }
.footer__col h5 { color: var(--white); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-5); }
.footer__col ul li { margin-bottom: var(--space-3); }
.footer__col a { font-size: var(--text-sm); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__contact li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.footer__contact i { color: #7FA8E8; margin-top: 4px; width: 16px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs); }
.footer__bottom-links { display: flex; gap: var(--space-6); }
.footer__bottom-links a:hover { color: var(--white); }

/* ---------- 10. WHATSAPP FAB ---------- */
.wa-fab {
  position: fixed; right: var(--space-6); bottom: calc(var(--space-6) + env(safe-area-inset-bottom));
  z-index: 1200;
  display: inline-flex; align-items: center; gap: var(--space-3);
  background: var(--whatsapp); color: var(--white);
  padding: 14px 22px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: all 0.25s var(--ease);
}
.wa-fab i { font-size: 1.4rem; }
.wa-fab:hover { background: var(--whatsapp-dark); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37,211,102,0.5); }
.wa-fab.pulse { animation: waPulse 1.6s ease-out 3; }
@keyframes waPulse { 0%{box-shadow:0 8px 24px rgba(37,211,102,0.4),0 0 0 0 rgba(37,211,102,0.5);} 70%{box-shadow:0 8px 24px rgba(37,211,102,0.4),0 0 0 18px rgba(37,211,102,0);} 100%{box-shadow:0 8px 24px rgba(37,211,102,0.4),0 0 0 0 rgba(37,211,102,0);} }

/* ---------- 11. FORMS ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form-field { display: flex; flex-direction: column; gap: var(--space-2); }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: var(--text-sm); font-weight: 600; color: var(--body); }
.form-field label .req { color: #C1440E; }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border: 1px solid var(--grey-mid); border-radius: var(--radius-md);
  background: var(--white); color: var(--body); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input[type="file"] { padding: 10px; cursor: pointer; }

/* ---------- 12. PROCESS TIMELINE ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content:''; position:absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: var(--grey-mid); }
.section--navy .timeline::before, .section--deep .timeline::before { background: rgba(255,255,255,0.2); }
.timeline__step { position: relative; padding-left: 80px; padding-bottom: var(--space-10); }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl);
  z-index: 1;
}
.section--navy .timeline__num, .section--deep .timeline__num { background: var(--white); color: var(--navy); }
.timeline__step h4 { font-size: var(--text-xl); margin-bottom: var(--space-2); }

/* ---------- 13. TABS (Industries) ---------- */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: var(--space-12); }
.tabs__nav { display: flex; flex-direction: column; gap: var(--space-2); }
.tabs__btn {
  text-align: left; padding: var(--space-5) var(--space-5);
  border-radius: var(--radius-md); font-weight: 600; font-size: var(--text-base);
  color: var(--grey-text); transition: all 0.2s var(--ease);
  display: flex; align-items: center; gap: var(--space-4); border-left: 3px solid transparent;
}
.tabs__btn i { font-size: 1.1rem; width: 24px; text-align: center; }
.tabs__btn:hover { background: var(--white); color: var(--navy); }
.tabs__btn.is-active { background: var(--white); color: var(--navy); border-left-color: var(--navy); box-shadow: var(--shadow-sm); }
.tabs__panel { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-12); box-shadow: var(--shadow-sm); }
.tabs__panel[x-cloak] { display: none; }

/* ---------- 14. ACCORDION ---------- */
.accordion__item { background: var(--white); border: 1px solid var(--grey-mid); border-radius: var(--radius-lg); margin-bottom: var(--space-4); overflow: hidden; transition: box-shadow 0.25s var(--ease); }
.accordion__item:hover { box-shadow: var(--shadow-sm); }
.accordion__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) var(--space-8); text-align: left; }
.accordion__head h4 { font-size: var(--text-xl); }
.accordion__head .chev { color: var(--navy); font-size: 1.1rem; transition: transform 0.3s var(--ease); flex-shrink: 0; }
.accordion__head.is-open .chev { transform: rotate(180deg); }
.accordion__body { padding: 0 var(--space-8); max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease); }
.accordion__body.is-open { padding: 0 var(--space-8) var(--space-8); max-height: 1200px; }

/* ---------- 15. UTILITIES ---------- */
[x-cloak] { display: none !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: var(--text-lg); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.split--wide-left { grid-template-columns: 1.2fr 0.8fr; }
.media-img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; }
.divider { height: 1px; background: var(--grey-mid); border: none; margin: var(--space-16) 0; }

/* ---------- 16. BLOG / INSIGHTS ---------- */
/* Filter bar (insights archive + category) */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-bottom: var(--space-12); }
.filter-btn { padding: 8px 18px; border-radius: var(--radius-full); background: var(--white); border: 1px solid var(--grey-mid); font-size: var(--text-sm); font-weight: 600; color: var(--grey-text); transition: all 0.2s var(--ease); }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Article meta row (cards + single hero) */
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); font-size: var(--text-xs); color: var(--grey-text); margin-top: var(--space-4); }
.article-meta i { color: var(--navy); }
.hero .article-meta { justify-content: center; color: rgba(255,255,255,0.85); font-size: var(--text-sm); margin-top: var(--space-6); }
.hero .article-meta i { color: #9DBDEE; }

/* Result count line */
.result-count { font-size: var(--text-sm); color: var(--grey-text); margin-bottom: var(--space-8); }
.result-count strong { color: var(--body); }

/* Prose body */
.article-body { font-size: var(--text-lg); line-height: 1.8; }
.article-body > * + * { margin-top: var(--space-6); }
.article-body p { color: var(--grey-text); }
.article-body h2 { font-size: var(--text-3xl); margin-top: var(--space-12); }
.article-body h3 { font-size: var(--text-2xl); margin-top: var(--space-10); }
.article-body h2 + p, .article-body h3 + p { margin-top: var(--space-4); }
.article-body ul, .article-body ol { padding-left: var(--space-6); color: var(--grey-text); }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: var(--space-3); }
.article-body li::marker { color: var(--navy); }
.article-body a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--body); }
.article-body blockquote {
  border-left: 4px solid var(--navy); background: var(--navy-tint);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-6) var(--space-8); font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 600; color: var(--navy); line-height: 1.4;
}
.article-body figure { margin-top: var(--space-8); }
.article-body figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.article-body figcaption { font-size: var(--text-sm); color: var(--grey-text); text-align: center; margin-top: var(--space-3); }

/* Article footer: tags + share */
.article-foot { margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--grey-mid); display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; justify-content: space-between; }
.article-tags { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.article-share { display: flex; align-items: center; gap: var(--space-3); }
.article-share span { font-size: var(--text-sm); font-weight: 600; color: var(--body); }
.article-share a {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--navy-tint); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.article-share a:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }

/* Author bio */
.author-bio { display: flex; gap: var(--space-5); align-items: center; background: var(--grey-light); border: 1px solid var(--grey-mid); border-radius: var(--radius-lg); padding: var(--space-6); margin-top: var(--space-10); }
.author-bio img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio__role { color: var(--navy); font-weight: 600; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-2); }
.author-bio h5 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.author-bio p { font-size: var(--text-sm); margin: 0; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: var(--space-2); margin-top: var(--space-16); }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 var(--space-3);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); border: 1px solid var(--grey-mid);
  font-size: var(--text-sm); font-weight: 600; color: var(--body);
  transition: all 0.2s var(--ease);
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .is-disabled { opacity: 0.4; pointer-events: none; }

/* Empty state (search no-results / 404) */
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; }
.empty-state__icon { font-size: 3rem; color: var(--navy); margin-bottom: var(--space-6); }
.empty-state h2 { margin-bottom: var(--space-4); }
.empty-state p { font-size: var(--text-lg); margin-bottom: var(--space-8); }
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 22vw, 12rem); line-height: 1; color: var(--navy); letter-spacing: -0.04em; }

/* Search form (search results + 404) */
.search-form { display: flex; gap: var(--space-3); max-width: 520px; margin: var(--space-8) auto 0; }
.search-form input { flex: 1; padding: 14px 20px; border: 1px solid var(--grey-mid); border-radius: var(--radius-full); background: var(--white); color: var(--body); }
.search-form input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,58,107,0.1); }

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 980px) {
  :root { --text-6xl: 3rem; --text-5xl: 2.6rem; --text-4xl: 2.1rem; --text-3xl: 1.7rem; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
  .tabs { grid-template-columns: 1fr; }
  .tabs__nav { flex-direction: row; flex-wrap: wrap; }
  .tabs__btn { flex: 1 1 auto; border-left: none; border-bottom: 3px solid transparent; }
  .tabs__btn.is-active { border-left: none; border-bottom-color: var(--navy); }
}

@media (max-width: 768px) {
  :root { --text-6xl: 2.5rem; --text-5xl: 2.2rem; --text-4xl: 1.9rem; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .section { padding: var(--space-16) 0; }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: var(--space-8); }
  .split .split__media { order: -1; }
  .grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: var(--space-12) var(--space-6); }
  .hero { min-height: 78vh; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__bottom-links { justify-content: center; }
  .wa-fab span { display: none; }
  .wa-fab { padding: 16px; }
  .wa-fab i { font-size: 1.5rem; }
  .article-body { font-size: var(--text-base); }
  .article-foot { flex-direction: column; align-items: flex-start; }
  .author-bio { flex-direction: column; text-align: center; }
  .search-form { flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --text-6xl: 2.1rem; --text-5xl: 1.9rem; --text-4xl: 1.7rem; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-5); }
  .btn { width: 100%; white-space: normal; }
  .hero .btn { width: auto; }
  .btn-group { flex-direction: column; width: 100%; }
  .hero .btn-group { align-items: stretch; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__bg { transform: none !important; }
}

/* ==========================================================================
   WORDPRESS INTEGRATION ADDITIONS
   (admin-bar offset, Alpine x-cloak safety, WP alignment helpers)
   ========================================================================== */

/* Alpine.js: keep cloaked elements hidden until Alpine initialises */
[x-cloak] { display: none !important; }

/* Admin-bar awareness — only the fixed nav + drawer need an explicit offset.
   The hero clears the nav via its own top padding and <html> already gains
   WordPress' margin-top, so background and content stay below the bar.
   Desktop (>782px): the WP admin bar is 32px tall. */
body.admin-bar .nav         { top: 32px; }
body.admin-bar .nav__drawer { top: 32px; }

/* Mobile/tablet (≤782px): the WP admin bar is 46px tall. */
@media screen and (max-width: 782px) {
  body.admin-bar .nav         { top: 46px; }
  body.admin-bar .nav__drawer { top: 46px; }
}

/* WordPress core alignment / caption helpers for post content (.article-body) */
.article-body .alignleft   { float: left;  margin: 0 var(--space-6) var(--space-4) 0; }
.article-body .alignright  { float: right; margin: 0 0 var(--space-4) var(--space-6); }
.article-body .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.article-body img          { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.article-body .wp-caption-text,
.article-body figcaption   { font-size: var(--text-sm); color: var(--grey-text); margin-top: var(--space-2); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Contact page (ported from the static contact.html inline styles) ---- */
.reason-card { cursor:pointer; text-align:center; border:1px solid var(--grey-mid); border-radius:var(--radius-lg); padding:var(--space-6) var(--space-4); background:var(--white); transition:all .25s var(--ease); }
.reason-card:hover { border-color:var(--navy); transform:translateY(-4px); box-shadow:var(--shadow-md); }
.reason-card.is-selected { border-color:var(--navy); background:var(--navy-tint); box-shadow:var(--shadow-md); }
.reason-card i { font-size:1.6rem; color:var(--navy); margin-bottom:var(--space-3); }
.reason-card span { display:block; font-weight:600; font-size:var(--text-sm); color:var(--body); }
.contact-panel { background:var(--navy); color:#fff; border-radius:var(--radius-xl); padding:var(--space-10); height:100%; }
.contact-panel h3 { color:#fff; }
.contact-panel a { color:#cfe0f7; }
.contact-line { display:flex; align-items:flex-start; gap:var(--space-4); margin-bottom:var(--space-6); }
.contact-line i { color:#7FA8E8; font-size:1.2rem; margin-top:4px; width:22px; text-align:center; }
.assurance { display:flex; gap:var(--space-8); flex-wrap:wrap; justify-content:center; }
.assurance__item { display:flex; align-items:center; gap:var(--space-3); font-weight:600; color:var(--body); }
.assurance__item i { color:var(--navy); font-size:1.3rem; }

/* ---- Contact form: AJAX states, captcha, validation ---- */
.form-notice { display:none; border-radius:var(--radius-md); padding:var(--space-4) var(--space-5); margin-bottom:var(--space-5); font-weight:500; font-size:var(--text-sm); }
.form-notice.is-visible { display:block; }
.form-notice--success { background:#E7F6EC; color:#1B7A3D; border:1px solid #BCE6CB; }
.form-notice--error { background:#FBEAEA; color:#B23B3B; border:1px solid #F1C9C9; }
.form-field .field-error { display:none; color:#B23B3B; font-size:var(--text-xs); margin-top:var(--space-2); }
.form-field.has-error .field-error { display:block; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color:#B23B3B; }
.captcha-row { display:flex; align-items:flex-end; gap:var(--space-4); flex-wrap:wrap; }
.captcha-row .captcha-q { font-weight:700; font-family:var(--font-display); font-size:var(--text-lg); color:var(--navy); white-space:nowrap; }
.captcha-row input { max-width:120px; }
.captcha-refresh { background:none; border:0; color:var(--navy); cursor:pointer; font-size:var(--text-sm); display:inline-flex; align-items:center; gap:6px; padding:var(--space-2) 0; }
.captcha-refresh:hover { text-decoration:underline; }
