﻿/* ============================================
   SEMPER FACILIS — Master Stylesheet
   Color scheme from landing.html design system
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy:      #0C2340;
  --navy-deep: #071528;
  --gold:      #B8860B;
  --gold-lt:   #D4A017;
  --blue:      #185FA5;
  --blue-lt:   #E6F1FB;
  --gray-dk:   #3A3A3A;
  --gray-md:   #666666;
  --gray-lt:   #F5F5F5;
  --white:     #FFFFFF;
  --border:    rgba(0,0,0,0.10);
  --teal:      #0F6E56;
  --success:   #0F6E56;
  --success-lt:#E1F5EE;
  --danger:    #E24B4A;
  --warning:   #D4A017;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 2px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 99px;
  --transition: 200ms ease;
  --max-width: 900px;
  --header-height: 60px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-dk);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.125rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
p { margin-bottom: 1rem; color: var(--gray-md); }
p:last-child { margin-bottom: 0; }
.eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
}
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 4.5rem 0; }
section + section { border-top: 1px solid var(--border); }
.section-alt { background: var(--gray-lt); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #85B7EB; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* --- Navigation --- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  border-bottom: 2px solid var(--gold);
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-left: 0.65rem;
  line-height: 1;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--white); }
.nav-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.nav-phone:hover { color: var(--gold-lt); }

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 2rem;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1rem; }
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-lt); color: var(--white); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  border: 1.5px solid var(--blue);
  cursor: pointer;
}
.btn-secondary:hover { background: var(--blue-lt); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; }
.btn-group { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* --- Hero --- */
.hero {
  background: var(--navy);
  padding: 5rem 2rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gold); }
.hero-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.hero h1 { color: var(--white); line-height: 1.2; max-width: 820px; margin: 0 auto 1.25rem; }
.hero-sub { font-size: 1.05rem; color: #85B7EB; max-width: 640px; margin: 0 auto 1.5rem; line-height: 1.7; }
.hero-pills { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.25rem; }
.pill { font-size: 0.8rem; font-weight: 500; padding: 0.4rem 1rem; border-radius: var(--radius-full); border: 1px solid rgba(55,138,221,0.5); color: #B5D4F4; letter-spacing: 0.02em; }
.hero-tagline { margin-top: 1.5rem; font-size: 0.85rem; color: #5F7A99; font-style: italic; }

/* Hero subcomponents (used by index.html) */
.hero-bg { position: absolute; inset: 0; background: var(--navy); z-index: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-content { position: relative; z-index: 1; color: var(--white); max-width: 600px; text-align: left; }
.hero-content p { color: #85B7EB; font-size: 1.05rem; margin-bottom: 1.5rem; }
.hero-content .btn-primary { background: var(--gold); color: var(--white); }
.hero-content .btn-primary:hover { background: var(--gold-lt); }
.hero-content .btn-outline { border-color: rgba(255,255,255,.35); color: var(--white); }
.hero-content .btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.hero-visual { position: relative; z-index: 1; }
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-content .btn-group { justify-content: center; }
  .hero { min-height: auto; }
}

/* --- Page Header --- */
.page-header {
  background: var(--navy);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  position: relative;
}
.page-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gold); }
.page-header .eyebrow { color: var(--gold); }
.page-header h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-header p { font-size: 1rem; color: #85B7EB; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; margin-bottom: .75rem; justify-content: center; }
.breadcrumb a { color: #85B7EB; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .separator { color: #5F7A99; }

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; }

/* --- Service Cards --- */
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1rem;
}
.service-card:last-child { margin-bottom: 0; }
.svc-num { font-size: 0.7rem; font-weight: 700; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; }
.svc-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.svc-body { font-size: 0.95rem; color: var(--gray-md); margin-bottom: 1rem; line-height: 1.65; }
.svc-bullets { list-style: none; padding: 0; }
.svc-bullets li { font-size: 0.92rem; color: var(--gray-dk); padding: 0.3rem 0 0.3rem 1.1rem; position: relative; line-height: 1.55; }
.svc-bullets li::before { content: '•'; color: var(--blue); position: absolute; left: 0; font-weight: 700; }

/* --- Pricing --- */
.pricing-band {
  background: var(--blue-lt);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.pricing-amount { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1; }
.pricing-period { font-size: 1rem; color: var(--gray-md); font-weight: 500; }
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pricing-card.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.plan-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.plan-desc { font-size: 0.85rem; color: var(--gray-md); margin-bottom: 1.25rem; }
.price-regular { font-size: 1rem; color: var(--gray-md); text-decoration: line-through; }
.price-sale { font-size: 2.5rem; font-family: var(--font-heading); font-weight: 700; color: var(--navy); line-height: 1; margin: .25rem 0; }
.price-sale .currency { font-size: 1.25rem; vertical-align: top; }
.sale-badge { display: inline-block; background: var(--teal); color: var(--white); font-size: .72rem; font-weight: 600; padding: .25rem .6rem; border-radius: var(--radius-full); margin-bottom: 1.25rem; }
.pricing-features { text-align: left; margin: 1.25rem 0; list-style: none; padding: 0; }
.pricing-features li { display: flex; align-items: flex-start; gap: .5rem; padding: .4rem 0; font-size: .92rem; color: var(--gray-dk); border-bottom: 1px solid rgba(0,0,0,.04); }
.pricing-features li:last-child { border: none; }
.pricing-features li svg,
.pricing-features li .check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 0;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Why Grid --- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.why-card { background: var(--gray-lt); border-radius: var(--radius); padding: 1.4rem; }
.why-icon { font-size: 1.4rem; margin-bottom: 0.6rem; }
.why-title { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.why-body { font-size: 0.875rem; color: var(--gray-md); line-height: 1.55; }

/* --- Checklist --- */
.who-list { margin-top: 1.25rem; }
.who-item { display: flex; gap: 0.85rem; padding: 0.9rem 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.who-item:last-child { border-bottom: none; }
.who-check { color: var(--blue); font-size: 1rem; flex-shrink: 0; margin-top: 2px; font-weight: 700; }
.who-text { font-size: 0.95rem; color: var(--gray-dk); line-height: 1.6; }
.who-text strong { color: var(--navy); font-weight: 600; }

/* --- CTA Section --- */
.cta-section {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
  border-top: 3px solid var(--gold);
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section .eyebrow { color: var(--gold); }
.cta-body { font-size: 1rem; color: #85B7EB; max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-price-callout {
  display: inline-block;
  background: rgba(184,134,11,0.15);
  border: 1px solid rgba(184,134,11,0.4);
  border-radius: var(--radius);
  padding: 0.6rem 1.4rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
}

/* --- Forms --- */
.form-group { margin-bottom: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
label .req { color: var(--gold); margin-left: 2px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="password"], input[type="number"], input[type="url"],
select, textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-dk);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24,95,165,0.12);
}
input.error { border-color: var(--danger); }
.form-error { font-size: .78rem; color: var(--danger); margin-top: .25rem; }
.field-hint { font-size: 0.78rem; color: var(--gray-md); margin-top: 0.3rem; }
textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.checkbox-row { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.85rem; }
.checkbox-row input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; accent-color: var(--blue); cursor: pointer; }
.checkbox-row label { font-size: 0.85rem; color: var(--gray-dk); font-weight: 400; margin-bottom: 0; letter-spacing: 0; line-height: 1.55; cursor: pointer; }

/* --- Accordion / FAQ --- */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .5rem; overflow: hidden; }
.accordion-trigger {
  width: 100%; text-align: left; padding: 1rem 1.25rem; font-size: 0.95rem; font-weight: 600;
  color: var(--navy); display: flex; align-items: center; justify-content: space-between;
  background: var(--white); transition: background var(--transition); cursor: pointer; border: none;
}
.accordion-trigger:hover { background: var(--gray-lt); }
.accordion-trigger .icon { transition: transform var(--transition); width: 18px; height: 18px; color: var(--gray-md); }
.accordion-item.open .accordion-trigger .icon { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-content-inner { padding: 0 1.25rem 1.25rem; color: var(--gray-md); font-size: 0.92rem; line-height: 1.7; }

/* --- Tables --- */
.table-container { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
th { background: var(--gray-lt); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-md); text-align: left; padding: .7rem 1rem; }
td { padding: .7rem 1rem; border-top: 1px solid var(--border); font-size: .92rem; }
tr:hover td { background: var(--gray-lt); }

/* --- Badges --- */
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: var(--radius-full); }
.badge-gold { background: rgba(184,134,11,.12); color: var(--gold); }
.badge-blue { background: rgba(24,95,165,.1); color: var(--blue); }
.badge-success { background: var(--success-lt); color: var(--success); }
.badge-danger { background: rgba(226,75,74,.1); color: var(--danger); }

/* --- Alerts --- */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .9rem; display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.alert-info { background: var(--blue-lt); border-left: 3px solid var(--blue); color: var(--navy); }
.alert-success { background: var(--success-lt); border-left: 3px solid var(--success); color: var(--teal); }

/* --- Testimonials --- */
.testimonial-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.75rem; background: var(--white); }
.testimonial-card blockquote { font-size: .95rem; color: var(--gray-dk); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-author .name { font-weight: 600; font-size: .875rem; color: var(--navy); }
.testimonial-author .role { font-size: .8rem; color: var(--gray-md); }

/* --- Blog Cards --- */
.blog-card { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--white); transition: box-shadow var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card-body { padding: 1.25rem; }
.blog-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--blue); }

/* --- Shopping Cart --- */
.cart-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; color: var(--navy); }
.cart-item-price { font-weight: 700; color: var(--navy); }
.cart-summary { background: var(--gray-lt); border-radius: var(--radius); padding: 1.25rem; }
.cart-summary-row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .92rem; }
.cart-summary-row.total { font-weight: 700; font-size: 1rem; color: var(--navy); border-top: 2px solid var(--navy); margin-top: .5rem; padding-top: .75rem; }

/* --- Footer --- */
footer {
  background: var(--navy-deep);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { font-family: var(--font-heading); font-size: 1rem; color: var(--gold); margin-bottom: 0.5rem; font-weight: 700; }
.footer-text { font-size: 0.78rem; color: #4A6080; line-height: 1.6; max-width: 680px; margin: 0 auto; }
.footer-divider { width: 48px; height: 2px; background: var(--gold); margin: 0.75rem auto; border-radius: var(--radius-full); }
.footer-links { display: flex; gap: 1.25rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-link { font-size: 0.82rem; color: #85B7EB; text-decoration: none; }
.footer-link:hover { color: var(--white); }
.footer-text a { color: #85B7EB; text-decoration: none; }
.footer-text a:hover { color: var(--white); }
.social-icons { display: flex; gap: 1rem; justify-content: center; margin-bottom: .75rem; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06); color: #85B7EB; transition: all .2s; }
.social-icons a:hover { background: var(--gold); color: var(--white); }

/* --- Dashboard Layout --- */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; height: 100vh; overflow: hidden; }
.dashboard-sidebar { background: var(--navy-deep); height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.dashboard-sidebar img { height: 36px; width: auto; }
nav.sidebar-nav { display: flex; flex-direction: column; position: static; background: none; padding: 0; height: auto; border: none; align-items: stretch; justify-content: flex-start; flex: 1; }
.sidebar-nav a { display: flex; align-items: center; gap: .75rem; padding: .6rem 1.5rem; color: rgba(255,255,255,.5); font-size: .9rem; transition: all var(--transition); text-decoration: none; }
.sidebar-nav a:hover { color: var(--white); background: rgba(255,255,255,.04); }
.sidebar-nav a.active { color: var(--white); background: rgba(255,255,255,.08); border-left: 3px solid var(--gold); }
.dashboard-main { padding: 2rem; background: var(--gray-lt); height: 100vh; overflow-y: auto; }
.dash-stat-card { background: var(--white); border-radius: var(--radius-md); padding: 1.25rem; border: 1px solid var(--border); }
.dash-stat-card .label { font-size: .78rem; color: var(--gray-md); margin-bottom: .25rem; }
.dash-stat-card .value { font-size: 1.5rem; font-weight: 700; color: var(--navy); font-family: var(--font-heading); }

@media (max-width: 768px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}

/* --- Toast --- */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 3000; display: flex; flex-direction: column; gap: .5rem; }
.toast { background: var(--navy); color: var(--white); padding: .85rem 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .875rem; display: flex; align-items: center; gap: .75rem; animation: slideIn .3s ease; max-width: 380px; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* --- Utility --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hidden { display: none !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* --- Responsive --- */
@media (max-width: 600px) {
  nav { padding: 0 1rem; }
  .nav-links { gap: .75rem; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  section { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
  .cta-section { padding: 3.5rem 1.25rem; }
  .pricing-band { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* --- Section Header (centered) --- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-header p { margin-top: .5rem; font-size: .95rem; }
.section-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: .5rem;
}

/* --- Card Icon --- */
.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-lt);
  border-radius: 6px;
  margin-bottom: 1rem;
  color: var(--blue);
}
.card-icon svg { width: 22px; height: 22px; }

/* --- Old-compat button aliases --- */
.btn { display: inline-block; font-size: .95rem; font-weight: 600; padding: .85rem 2rem; border-radius: 4px; text-decoration: none; letter-spacing: .03em; transition: all .2s; border: none; cursor: pointer; }
.btn.btn-primary { background: var(--gold); color: var(--white); }
.btn.btn-primary:hover { background: var(--gold-lt); }
.btn.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn.btn-outline:hover { background: var(--blue-lt); }
.btn.btn-ghost { background: transparent; color: var(--gray-md); padding: .5rem 1rem; }
.btn.btn-ghost:hover { color: var(--navy); background: var(--gray-lt); }
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; }

/* --- Form compat classes --- */
.form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.form-required { color: var(--gold); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .65rem .9rem; border: 1px solid var(--border); border-radius: 5px;
  font-family: var(--font-body); font-size: .95rem; color: var(--gray-dk); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,95,165,.12); }
.form-input.error { border-color: var(--danger); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-checkbox { display: flex; align-items: flex-start; gap: .5rem; }
.form-checkbox input[type="checkbox"] { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--blue); }

/* --- Wizard (intake form) --- */
.wizard-progress { display: flex; justify-content: center; margin-bottom: 2rem; gap: 0; }
.wizard-step { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; font-size: .78rem; font-weight: 500; color: var(--gray-md); position: relative; }
.wizard-step .step-num { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gray-lt); font-weight: 700; font-size: .72rem; border: 1.5px solid var(--border); }
.wizard-step.active { color: var(--navy); }
.wizard-step.active .step-num { background: var(--navy); color: var(--white); border-color: var(--navy); }
.wizard-step.completed { color: var(--success); }
.wizard-step.completed .step-num { background: var(--blue); color: var(--white); border-color: var(--blue); }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-actions { display: flex; justify-content: space-between; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* --- Stats row (hero) --- */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.stat-item h3 { font-size: 1.75rem; color: var(--white); margin-bottom: .15rem; }
.stat-item p { font-size: .8rem; color: #85B7EB; }

/* --- Newsletter form --- */
.newsletter-form { display: flex; gap: .5rem; }
.newsletter-form input { flex: 1; }

/* --- Modal --- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.active { display: flex; }
.modal { background: var(--white); border-radius: 8px; max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }

/* --- Testimonial stars --- */
.testimonial-card .stars { color: var(--gold-lt); margin-bottom: .75rem; display: flex; gap: 2px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: .875rem; flex-shrink: 0;
}

/* --- Text utility compat --- */
.text-accent { color: var(--gold); }

/* --- Animation --- */
[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-animate].animated { opacity: 1; transform: translateY(0); }

/* --- Print --- */
@media print {
  nav, footer, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
}
