/* ==========================================================================
   MAISRS (Pty) Ltd — Stylesheet
   Design language: enterprise IT leadership / cybersecurity consultancy.
   Signature motif: concentric "converging rings" drawn from the MAISRS
   emblem, used to represent Strategy · Security · Operations · Support
   converging into one accountable partner.
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root{
  /* Core brand */
  --navy: #000042;
  --navy-deep: #00002c;
  --navy-mid: #101064;
  --white: #ffffff;

  /* Accents pulled from the logo's ring gradient */
  --accent: #3E7BFA;
  --accent-light: #7FB3FF;
  --accent-dim: #2450a8;
  --silver: #C9CFDC;

  /* Neutrals */
  --ink: #0A0E27;
  --muted: #5B6478;
  --muted-light: #8891A6;
  --bg-light: #F4F6FC;
  --bg-panel: #EEF1FA;
  --border: #E2E6F0;
  --border-dark: rgba(255,255,255,0.14);

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,30,0.06);
  --shadow-md: 0 12px 32px rgba(0,0,66,0.10);
  --shadow-lg: 0 24px 64px rgba(0,0,66,0.16);
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4{ font-family: var(--font-display); margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }
input, select, textarea{ font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link{
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--accent); color: var(--white); padding: 12px 20px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus{ left: 0; }

/* ---------- Utility ---------- */
.container{ max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before{
  content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px;
}
.section{ padding: 100px 0; }
.section--tight{ padding: 72px 0; }
.section--light{ background: var(--bg-light); }
.section--navy{ background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.section-head{ max-width: 720px; margin-bottom: 56px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.section-head p{ margin-top: 18px; font-size: 1.08rem; color: var(--muted); line-height: 1.65; }
.section--navy .section-head p{ color: var(--silver); }
.text-center{ text-align: center; }
.visually-hidden{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Reveal-on-scroll */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: none; }
.reveal-stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  font-family: var(--font-display); border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg{ width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary{ background: var(--accent); color: var(--white); box-shadow: 0 10px 24px rgba(62,123,250,0.35); }
.btn-primary:hover{ background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(62,123,250,0.45); }
.btn-outline{ background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover{ background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }
.btn-dark{ background: var(--navy); color: var(--white); }
.btn-dark:hover{ background: var(--navy-mid); transform: translateY(-2px); }
.btn-ghost{ background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 10px 20px; font-size: 0.88rem; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled{ box-shadow: 0 8px 30px rgba(0,0,20,0.35); background: var(--navy-deep); }
.nav{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max-w); margin: 0 auto;
}
.nav-brand{ display: flex; align-items: center; gap: 12px; }
.nav-brand img{ height: 46px; width: auto; }
.nav-brand-text{ display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-text strong{ font-family: var(--font-display); color: var(--white); font-size: 1.05rem; letter-spacing: 0.02em; }
.nav-brand-text span{ color: var(--silver); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links{ display: flex; align-items: center; gap: 6px; }
.nav-links a{
  color: var(--silver); font-weight: 500; font-size: 0.95rem; padding: 10px 16px;
  border-radius: 999px; position: relative; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover, .nav-links a.active{ color: var(--white); background: rgba(255,255,255,0.08); }

.nav-actions{ display: flex; align-items: center; gap: 12px; }

.nav-toggle{
  display: none; background: transparent; border: none; padding: 8px;
  flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center;
}
.nav-toggle span{ width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px){
  .nav-links{
    position: fixed; inset: 74px 0 0 0; background: var(--navy-deep);
    flex-direction: column; align-items: stretch; padding: 20px 24px 30px;
    gap: 2px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
    overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.is-open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a{ padding: 15px 12px; font-size: 1.05rem; border-radius: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-actions .btn-outline{ display: none; }
  .nav-actions{ order: 3; }
  .nav-toggle{ display: flex; }
  .nav-links .nav-actions-mobile{ display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
  .nav-links .nav-actions-mobile .btn{ width: 100%; }
}
.nav-actions-mobile{ display: none; }
@media (max-width: 980px){ .nav-actions-mobile{ display: flex; } }
@media (min-width: 981px){ .nav-links .nav-actions-mobile{ display: none; } }

/* ==========================================================================
   Ring motif (signature element) — SVG-based concentric arcs
   ========================================================================== */
.ring-field{ position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ring-field svg{ position: absolute; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  background:
    radial-gradient(120% 140% at 82% 18%, rgba(10,10,107,0.94) 0%, rgba(0,0,66,0.96) 42%, rgba(0,0,44,0.98) 100%),
    url('images/network-plexus.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: screen, normal;
  color: var(--white);
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 60px;
}
.hero-inner{
  position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto;
  padding: 60px 24px 80px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
.hero-copy .eyebrow{ color: var(--accent-light); }
.hero-copy .eyebrow::before{ background: var(--accent-light); }
.hero h1{
  font-size: clamp(2.4rem, 5vw, 3.7rem); color: var(--white); margin-bottom: 22px;
}
.hero h1 em{ font-style: normal; color: var(--accent-light); }
.hero-lede{ font-size: 1.2rem; font-weight: 500; color: #DCE4FF; max-width: 560px; margin-bottom: 16px; line-height: 1.6; }
.hero-sub{ font-size: 1.02rem; color: var(--silver); max-width: 560px; margin-bottom: 38px; line-height: 1.75; }
.hero-cta{ display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats{ display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div{ border-left: 2px solid rgba(255,255,255,0.18); padding-left: 16px; }
.hero-stats strong{ display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--white); }
.hero-stats span{ font-size: 0.82rem; color: var(--silver); }

.hero-visual{ position: relative; height: 460px; display: flex; align-items: center; justify-content: center; }
.hero-visual .ring-graphic{ width: 100%; height: 100%; }
.hero-visual .pillar-chip{
  position: absolute; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px); border-radius: 14px; padding: 12px 16px; font-size: 0.82rem;
  font-family: var(--font-display); font-weight: 600; color: var(--white); box-shadow: var(--shadow-md);
  animation: floaty 6s ease-in-out infinite;
}
.pillar-chip span{ display: block; font-size: 0.68rem; font-weight: 500; color: var(--silver); font-family: var(--font-body); margin-top: 2px; }
.chip-strategy{ top: 6%; left: -2%; animation-delay: 0s; }
.chip-security{ top: 20%; right: -4%; animation-delay: 1.2s; }
.chip-operations{ bottom: 18%; left: -6%; animation-delay: 2.4s; }
.chip-support{ bottom: 4%; right: 4%; animation-delay: 3.6s; }
@keyframes floaty{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; padding-top: 30px; }
  .hero-visual{ height: 320px; order: -1; }
  .hero-stats{ gap: 22px; }
}
@media (max-width: 560px){
  .hero-cta{ flex-direction: column; align-items: stretch; }
  .pillar-chip{ font-size: 0.72rem; padding: 8px 12px; }
}

/* Scroll cue */
.scroll-cue{ position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--silver); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-cue .line{ width: 1px; height: 30px; background: linear-gradient(var(--accent-light), transparent); animation: scrolldown 1.8s infinite; }
@keyframes scrolldown{ 0%{ opacity: 0; transform: scaleY(0.3); transform-origin: top;} 40%{ opacity: 1; transform: scaleY(1); transform-origin: top;} 100%{ opacity: 0; transform: scaleY(1); transform-origin: bottom;} }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero{
  position: relative; background: radial-gradient(120% 160% at 85% 0%, #0a0a6b 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white); padding: 76px 0 92px; overflow: hidden;
}
.page-hero .container{ position: relative; z-index: 2; }
.breadcrumb{ display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--silver); margin-bottom: 22px; }
.breadcrumb a{ color: var(--silver); }
.breadcrumb a:hover{ color: var(--white); }
.page-hero h1{ font-size: clamp(2.1rem, 4.4vw, 3.1rem); color: var(--white); max-width: 780px; }
.page-hero p{ margin-top: 20px; font-size: 1.08rem; color: var(--silver); max-width: 680px; line-height: 1.7; }
.page-hero .hero-cta{ margin-top: 32px; margin-bottom: 0; }

/* ==========================================================================
   Cards — services
   ========================================================================== */
.card-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-grid.cols-2{ grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px){ .card-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .card-grid, .card-grid.cols-2, .card-grid.cols-3{ grid-template-columns: 1fr; } }

.service-card{
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 32px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .icon-badge{ margin-bottom: 20px; }
.service-card h3{ font-size: 1.18rem; margin-bottom: 12px; color: var(--navy); }
.service-card p{ color: var(--muted); font-size: 0.95rem; line-height: 1.65; flex-grow: 1; }
.service-card .card-link{ margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 0.9rem; }
.service-card .card-link svg{ width: 14px; height: 14px; transition: transform .25s var(--ease); }
.service-card:hover .card-link svg{ transform: translateX(4px); }

.icon-badge{
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent-dim) 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(62,123,250,0.25);
}
.icon-badge svg{ width: 26px; height: 26px; stroke: var(--white); }

/* ==========================================================================
   Value / pillar cards
   ========================================================================== */
.value-card{
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .num{
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.08em; margin-bottom: 14px; display: block;
}
.value-card h3{ font-size: 1.1rem; margin-bottom: 10px; color: var(--navy); }
.value-card p{ color: var(--muted); font-size: 0.93rem; line-height: 1.6; }

/* ==========================================================================
   Checklist (Why choose us)
   ========================================================================== */
.checklist{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; }
@media (max-width: 720px){ .checklist{ grid-template-columns: 1fr; } }
.checklist li{ display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; line-height: 1.55; }
.checklist .tick{
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: rgba(62,123,250,0.14); display: flex; align-items: center; justify-content: center;
}
.checklist .tick svg{ width: 13px; height: 13px; stroke: var(--accent-light); }
.section--navy .checklist li{ color: #EDF1FF; }
.section--light .checklist .tick, .section--white .checklist .tick{ background: rgba(62,123,250,0.1); }
.section--light .checklist .tick svg, .section--white .checklist .tick svg{ stroke: var(--accent); }

/* ==========================================================================
   Split section (image/graphic + text)
   ========================================================================== */
.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; gap: 40px; } }
.split.reverse .split-media{ order: 2; }
.split h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 20px; }
.split p{ color: var(--muted); font-size: 1.02rem; line-height: 1.75; margin-bottom: 16px; }
.split-media{ position: relative; }
.media-frame{
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(62,123,250,0.22);
}

/* ==========================================================================
   Approach / pillar diagram
   ========================================================================== */
.pillars{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 1; }
@media (max-width: 900px){ .pillars{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .pillars{ grid-template-columns: 1fr; } }
.pillar{
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-md);
  padding: 26px 22px; transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover{ transform: translateY(-6px); background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.3); }
.pillar .ring-icon{ width: 44px; height: 44px; margin-bottom: 16px; }
.pillar h3{ color: var(--white); font-size: 1.06rem; margin-bottom: 10px; }
.pillar p{ color: var(--silver); font-size: 0.9rem; line-height: 1.6; }

/* ==========================================================================
   Stat band
   ========================================================================== */
.stat-band{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 44px 0;
}
@media (max-width: 720px){ .stat-band{ grid-template-columns: repeat(2, 1fr); } }
.stat-band strong{ display: block; font-family: var(--font-display); font-size: 2rem; color: var(--navy); }
.stat-band span{ color: var(--muted); font-size: 0.88rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band{
  position: relative; overflow: hidden;
  background: radial-gradient(120% 220% at 15% 0%, #0a0a6b 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white); border-radius: var(--radius-lg); padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 520px; color: var(--white); }
.cta-band p{ color: var(--silver); margin-top: 12px; max-width: 480px; }
.cta-band .btn-primary{ flex-shrink: 0; }
@media (max-width: 720px){ .cta-band{ padding: 44px 28px; flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   Service detail sections (Services page)
   ========================================================================== */
.service-detail{ border-top: 1px solid var(--border); padding: 72px 0; }
.service-detail:first-of-type{ border-top: none; }
.service-detail-head{ display: flex; gap: 24px; align-items: flex-start; margin-bottom: 34px; flex-wrap: wrap; }
.service-detail-head .icon-badge{ width: 60px; height: 60px; border-radius: 16px; }
.service-detail-head .icon-badge svg{ width: 30px; height: 30px; }
.service-detail-head .tag{ font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; display:block; }
.service-detail-head h2{ font-size: 1.7rem; color: var(--navy); margin-bottom: 8px; }
.service-detail-head p{ color: var(--muted); font-size: 1.02rem; max-width: 640px; line-height: 1.65; }
.service-detail-body{ display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
@media (max-width: 900px){ .service-detail-body{ grid-template-columns: 1fr; } }
.include-list{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
@media (max-width: 640px){ .include-list{ grid-template-columns: 1fr; } }
.include-list li{ display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: var(--ink); line-height: 1.5; }
.include-list li svg{ width: 15px; height: 15px; stroke: var(--accent); flex-shrink: 0; margin-top: 3px; }
.service-note{
  background: var(--bg-light); border-radius: var(--radius-md); padding: 22px 22px; align-self: start;
  border-left: 3px solid var(--accent);
}
.service-note strong{ display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; }
.service-note p{ font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* Packages */
.package-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px){ .package-grid{ grid-template-columns: 1fr; } }
.package-card{
  background: var(--navy); color: var(--white); border-radius: var(--radius-md); padding: 34px 28px;
  border: 1px solid rgba(255,255,255,0.1); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; overflow: hidden;
}
.package-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.package-card.featured{ background: linear-gradient(160deg, var(--accent-dim), var(--navy) 60%); border-color: var(--accent); }
.package-card .badge{
  position: absolute; top: 20px; right: 20px; background: var(--accent); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.05em;
}
.package-card h3{ font-size: 1.25rem; margin-bottom: 12px; }
.package-card p{ color: var(--silver); font-size: 0.92rem; line-height: 1.65; margin-bottom: 22px; }

/* ==========================================================================
   About — story / values
   ========================================================================== */
.timeline-quote{
  border-left: 3px solid var(--accent); padding-left: 24px; margin: 28px 0;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); font-weight: 600; line-height: 1.5;
}

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

.form-card{
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-sm);
}
.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px){ .form-grid{ grid-template-columns: 1fr; } }
.form-field{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field.full{ grid-column: 1 / -1; }
.form-field label{ font-size: 0.86rem; font-weight: 600; color: var(--navy); }
.form-field label .req{ color: var(--accent); }
.form-field input, .form-field select, .form-field textarea{
  padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px; color: var(--ink);
  background: var(--bg-light); transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  border-color: var(--accent); background: var(--white); outline: none;
}
.form-field textarea{ resize: vertical; min-height: 120px; }
.radio-group{ display: flex; gap: 18px; flex-wrap: wrap; }
.radio-group label{ display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.form-note{ font-size: 0.82rem; color: var(--muted-light); margin-top: -8px; margin-bottom: 20px; }
.form-status{ margin-top: 16px; font-size: 0.92rem; font-weight: 600; display: none; padding: 14px 16px; border-radius: 10px; }
.form-status.success{ display: block; background: rgba(62,123,250,0.1); color: var(--accent-dim); }
.form-status.error{ display: block; background: #FDECEC; color: #B3261E; }

.contact-info-card{
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 38px 32px; margin-bottom: 24px;
}
.contact-info-card h3{ color: var(--white); font-size: 1.2rem; margin-bottom: 22px; }
.info-row{ display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child{ margin-bottom: 0; }
.info-row .icon-badge{ width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.1); box-shadow: none; }
.info-row .icon-badge svg{ width: 19px; height: 19px; }
.info-row a, .info-row p{ color: var(--silver); font-size: 0.94rem; line-height: 1.5; }
.info-row a:hover{ color: var(--white); }
.info-row strong{ display: block; color: var(--white); font-size: 0.94rem; margin-bottom: 3px; }

.map-frame{
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); position: relative;
  height: 260px; background: var(--bg-panel);
}
.map-frame iframe{ width: 100%; height: 100%; border: 0; filter: grayscale(0.15); }
.map-badge{
  position: absolute; bottom: 14px; left: 14px; background: var(--white); padding: 10px 16px;
  border-radius: 10px; box-shadow: var(--shadow-sm); font-size: 0.82rem; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}

.hours-card{
  background: var(--bg-light); border-radius: var(--radius-md); padding: 24px 26px; margin-top: 24px;
}
.hours-card h4{ font-size: 1rem; color: var(--navy); margin-bottom: 12px; }
.hours-row{ display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--muted); padding: 6px 0; border-bottom: 1px dashed var(--border); }
.hours-row:last-child{ border-bottom: none; }

/* ==========================================================================
   Legal pages (privacy / PAIA)
   ========================================================================== */
.legal-content{ max-width: 840px; }
.legal-content h2{ font-size: 1.4rem; color: var(--navy); margin-top: 44px; margin-bottom: 16px; }
.legal-content h2:first-child{ margin-top: 0; }
.legal-content h3{ font-size: 1.1rem; color: var(--navy); margin-top: 26px; margin-bottom: 10px; }
.legal-content p{ color: var(--muted); line-height: 1.8; margin-bottom: 14px; font-size: 0.98rem; }
.legal-content ul{ margin-bottom: 14px; }
.legal-content ul li{ color: var(--muted); line-height: 1.8; padding-left: 22px; position: relative; font-size: 0.98rem; }
.legal-content ul li::before{ content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal-content a{ color: var(--accent); font-weight: 600; }
.legal-content a:hover{ text-decoration: underline; }
.legal-meta{
  display: flex; gap: 24px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted-light);
  margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.legal-toc{
  background: var(--bg-light); border-radius: var(--radius-md); padding: 26px 28px; margin-bottom: 44px;
}
.legal-toc h3{ font-size: 0.95rem; color: var(--navy); margin-bottom: 14px; }
.legal-toc ol{ margin: 0; padding-left: 20px; }
.legal-toc li{ color: var(--muted); font-size: 0.92rem; line-height: 2; }
.legal-toc a{ color: var(--muted); }
.legal-toc a:hover{ color: var(--accent); }

/* ==========================================================================
   404-style / empty state (used sparingly)
   ========================================================================== */
.notice-card{ background: var(--bg-light); border-radius: var(--radius-md); padding: 20px 24px; font-size: 0.92rem; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--navy-deep); color: var(--silver); padding: 72px 0 28px; }
.footer-grid{ display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand{ display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img{ height: 40px; width: auto; }
.footer-brand strong{ color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
.footer-tagline{ font-size: 0.85rem; color: var(--silver); margin-bottom: 18px; }
.footer-desc{ font-size: 0.88rem; line-height: 1.7; color: var(--muted-light); max-width: 320px; }
.footer-col h4{ color: var(--white); font-family: var(--font-display); font-size: 0.9rem; margin-bottom: 18px; letter-spacing: 0.03em; }
.footer-col ul li{ margin-bottom: 12px; }
.footer-col a{ font-size: 0.9rem; color: var(--silver); transition: color .2s var(--ease); }
.footer-col a:hover{ color: var(--white); }
.footer-social{ display: flex; gap: 10px; margin-top: 18px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease);
}
.footer-social a:hover{ background: var(--accent); }
.footer-social svg{ width: 17px; height: 17px; stroke: var(--white); }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 0.82rem; color: var(--muted-light); }
.footer-bottom a{ color: var(--muted-light); }
.footer-bottom a:hover{ color: var(--white); }
.footer-disclaimer{ font-size: 0.8rem; color: var(--muted-light); line-height: 1.7; margin-top: 20px; max-width: 900px; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top{
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); border: none; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease); z-index: 900;
}
.back-to-top.is-visible{ opacity: 1; pointer-events: auto; transform: none; }
.back-to-top svg{ width: 18px; height: 18px; }

/* ==========================================================================
   Misc responsive tune-ups
   ========================================================================== */
@media (max-width: 640px){
  .section{ padding: 64px 0; }
  .section--tight{ padding: 48px 0; }
}
