/* ==========================================================================
   Illuma Care Consulting — Design tokens (from ILLUMA-BRAND-GUIDELINES.pdf)
   ========================================================================== */
:root {
  --teal: #a5dce2;
  --teal-tint: #eaf7f9;
  --teal-compass: #046261;
  --navy: #020d3a;
  --gold: #906b26;
  --gold-light: #b8925a;
  --brand-white: #f0f0f0;
  --pure-white: #ffffff;
  --border: #d8e9ec;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 13, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(2, 13, 58, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--pure-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p { color: #2c3560; }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--pure-white);
  box-shadow: 0 10px 24px rgba(144, 107, 38, 0.3);
}
.btn-gold:hover { background: #7a5a1f; }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--pure-white); }
.btn-outline-white {
  background: transparent;
  border-color: rgba(240,240,240,0.5);
  color: var(--brand-white);
}
.btn-outline-white:hover { background: var(--brand-white); color: var(--navy); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.top-bar {
  background: var(--navy);
  color: var(--brand-white);
  font-size: 0.82rem;
}
.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.top-bar a { opacity: 0.9; }
.top-bar a:hover { opacity: 1; color: var(--teal); }
.top-bar .emergency { color: var(--teal); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.brand img { height: 46px; width: auto; }
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.main-nav a.active,
.main-nav a:hover { color: var(--teal-compass); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--pure-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  .top-bar .container { justify-content: center; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #0a1f5c 55%, var(--teal-compass) 130%);
  color: var(--brand-white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165,220,226,0.18), transparent 70%);
}
.hero .container {
  position: relative;
  padding-top: 90px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--pure-white); }
.hero p.lead {
  color: rgba(240,240,240,0.88);
  font-size: 1.12rem;
  margin: 20px 0 32px;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge-list {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-badge-list div strong {
  display: block;
  font-size: 1.5rem;
  color: var(--teal);
}
.hero-badge-list div span { font-size: 0.8rem; color: rgba(240,240,240,0.75); }

.hero-panel {
  background: rgba(240,240,240,0.06);
  border: 1px solid rgba(240,240,240,0.18);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-panel h3 { color: var(--pure-white); margin-bottom: 16px; }
.hero-panel ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.hero-panel li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(240,240,240,0.9);
}
.hero-panel li::before { content: '✓'; color: var(--teal); font-weight: 700; }

@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--teal-tint);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-strip strong {
  display: block;
  font-size: 1.6rem;
  color: var(--teal-compass);
}
.stats-strip span { font-size: 0.85rem; color: #445; }
@media (max-width: 760px) {
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Cards / Services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.94rem; flex-grow: 1; }
.service-card ul { margin: 16px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.service-card li {
  font-size: 0.88rem;
  color: #2c3560;
  padding-left: 20px;
  position: relative;
}
.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.service-card .card-link {
  font-weight: 700;
  color: var(--teal-compass);
  font-size: 0.9rem;
  margin-top: auto;
}

/* ---------- Why-choose / checklist section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.check-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
}
.check-list .tick {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-compass);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.info-panel {
  background: var(--navy);
  color: var(--brand-white);
  border-radius: var(--radius);
  padding: 40px;
}
.info-panel h3 { color: var(--pure-white); margin-bottom: 12px; }
.info-panel p { color: rgba(240,240,240,0.85); }
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.stat-row strong { display: block; font-size: 1.8rem; color: var(--teal); }
.stat-row span { font-size: 0.82rem; color: rgba(240,240,240,0.75); }

/* ---------- Section backgrounds ---------- */
.bg-teal-tint { background: var(--teal-tint); }
.bg-navy { background: var(--navy); color: var(--brand-white); }
.bg-navy h2 { color: var(--pure-white); }
.bg-navy p { color: rgba(240,240,240,0.85); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  background: var(--teal);
}
.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  background: linear-gradient(135deg, var(--teal), var(--teal-compass));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 2.4rem;
  font-weight: 700;
}
.team-body { padding: 24px; }
.team-role {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.team-exp { font-size: 0.82rem; color: #566; margin-bottom: 12px; }
.team-body p.bio { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--teal-compass), var(--navy));
  color: var(--pure-white);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-banner h2 { color: var(--pure-white); }
.cta-banner p { color: rgba(240,240,240,0.9); max-width: 560px; margin: 14px auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Emergency banner ---------- */
.emergency-banner {
  background: #fff4e8;
  border: 1px solid #f0cf9e;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.emergency-banner strong { color: var(--navy); display: block; margin-bottom: 4px; }
.emergency-banner p { font-size: 0.92rem; }
.emergency-banner .btn-gold { flex-shrink: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(2, 13, 58, 0.22);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--pure-white);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--teal-compass);
  outline-offset: 1px;
}
.form-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: #566; margin-top: 14px; }
.hp-field { position: absolute; left: -9999px; }
.form-success {
  display: none;
  background: var(--teal-tint);
  border: 1px solid var(--teal);
  border-radius: 10px;
  padding: 18px;
  font-weight: 600;
  color: var(--teal-compass);
}

.contact-method {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-method:last-child { border-bottom: none; }
.contact-method .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-tint);
  color: var(--teal-compass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-method h4 { margin-bottom: 4px; }
.contact-method p { font-size: 0.9rem; }
.contact-method a { color: var(--teal-compass); font-weight: 700; }

.steps-list { counter-reset: step; margin-top: 8px; }
.steps-list li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  padding: 14px 0;
}
.steps-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--pure-white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-list strong { display: block; font-size: 0.95rem; }
.steps-list span { font-size: 0.85rem; color: #566; }

/* ---------- Page hero (non-home) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy), var(--teal-compass) 140%);
  color: var(--brand-white);
  padding: 76px 0 64px;
}
.page-hero h1 { color: var(--pure-white); }
.page-hero p.lead { color: rgba(240,240,240,0.88); max-width: 640px; margin-top: 16px; font-size: 1.05rem; }
.page-hero .hero-ctas { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(240,240,240,0.8); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(240,240,240,0.14);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-brand span { color: var(--pure-white); font-weight: 700; }
.site-footer h4 { color: var(--pure-white); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.site-footer a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.8rem;
  color: rgba(240,240,240,0.55);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */
.mt-lg { margin-top: 48px; }
.text-center { text-align: center; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy);
  color: var(--brand-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner p {
  color: rgba(240,240,240,0.88);
  font-size: 0.88rem;
  flex: 1 1 320px;
  margin: 0;
}
.cookie-banner a { color: var(--teal); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner .btn { padding: 11px 20px; font-size: 0.85rem; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
}
