/* ═══════════════════════════════════════════════════════════════
   Self Managed Strata Solutions — Shared Stylesheet
   Colour: Teal + Slate + White
════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1e293b;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Colour Tokens ────────────────────────────────────────────── */
:root {
  --teal-900: #134e4a;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --red-600:   #dc2626;
  --red-50:    #fef2f2;
  --green-600: #16a34a;
  --green-50:  #f0fdf4;
  --amber-500: #f59e0b;
  --amber-50:  #fffbeb;
}

/* ── Typography ───────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { color: var(--slate-700); }

/* ── Layout ───────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.text-center { text-align: center; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .8rem 1.75rem;
  border-radius: 8px;
  font-size: .97rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
  line-height: 1;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-primary { background: var(--teal-600); color: #fff; }
.btn-outline  { background: transparent; border: 2px solid var(--teal-600); color: var(--teal-700); }
.btn-white    { background: #fff; color: var(--teal-700); }
.btn-ghost    { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-teal     { background: var(--teal-700); color: #fff; }
.btn-dark     { background: var(--teal-900); color: #fff; }
.btn-sm       { padding: .5rem 1.1rem; font-size: .88rem; }

/* ── ALERT BANNER ─────────────────────────────────────────────── */
.alert-banner {
  background: var(--amber-50);
  border-bottom: 3px solid var(--amber-500);
  padding: .85rem 1.5rem;
  text-align: center;
}
.alert-banner p { color: #92400e; font-size: .92rem; font-weight: 600; }
.alert-banner a { text-decoration: underline; color: #92400e; }

/* ── NAV ──────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.5rem; max-width: 1100px; margin: 0 auto; gap: 1rem;
}
.logo {
  font-size: 1.05rem; font-weight: 800;
  color: var(--teal-700); line-height: 1.25; flex-shrink: 0;
}
.logo span { display: block; font-size: .68rem; font-weight: 500; color: var(--slate-500); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { font-size: .9rem; font-weight: 600; color: var(--slate-700); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-600); }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: #fff;
  padding: 5rem 0 4.5rem;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero p   { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1.75rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: .3rem .85rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600;
}
.badge::before { content: '✓'; font-weight: 800; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px; padding: 2rem;
  backdrop-filter: blur(4px);
}
.card-label { font-size: .82rem; font-weight: 700; color: var(--teal-500); letter-spacing: .07em; text-transform: uppercase; margin-bottom: .6rem; }
.price-display { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: .25rem; }
.price-sub { color: rgba(255,255,255,.65); font-size: .88rem; margin-bottom: 1.5rem; }
.price-includes { list-style: none; }
.price-includes li {
  display: flex; align-items: flex-start; gap: .5rem;
  color: rgba(255,255,255,.82); font-size: .88rem;
  padding: .3rem 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.price-includes li:last-child { border: none; }
.price-includes li::before { content: '✓'; color: var(--teal-500); font-weight: 800; flex-shrink: 0; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* ── PAGE HERO (inner pages) ──────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: #fff; padding: 4rem 0 3.5rem;
}
.page-hero h1 { color: #fff; margin-bottom: .85rem; }
.page-hero p  { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

/* ── SECTION VARIANTS ─────────────────────────────────────────── */
.section-light { background: var(--slate-100); }
.section-teal-mid {
  background: var(--teal-700); color: #fff; padding: 4rem 0;
}
.section-teal-mid h2 { color: #fff; }

/* ── SECTION HEADER ───────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--slate-500); max-width: 580px; margin: .75rem auto 0; }

/* ── HOME: TWO COL ────────────────────────────────────────────── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* ── STAT CARDS ───────────────────────────────────────────────── */
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.stat-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 12px; padding: 1.5rem; text-align: center;
}
.stat-num { font-size: 2rem; font-weight: 800; color: var(--teal-700); line-height: 1; }
.stat-label { font-size: .82rem; color: var(--slate-500); margin-top: .3rem; }

/* ── SERVICES GRID ────────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.service-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 12px; padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(15,118,110,.1); transform: translateY(-2px); }
.service-icon { font-size: 2rem; margin-bottom: .85rem; }
.service-card h3 { color: var(--teal-700); margin-bottom: .4rem; }
.service-card p  { font-size: .9rem; }

/* ── FEEDER BOX ───────────────────────────────────────────────── */
.feeder-box {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 16px; padding: 2.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.feeder-box h2 { color: var(--teal-900); margin-bottom: .5rem; font-size: 1.5rem; }
.feeder-box p  { color: var(--slate-500); max-width: 540px; }

/* ── COMPLIANCE CHECKER ───────────────────────────────────────── */
.checker-grid { display: grid; gap: 1rem; margin-bottom: 2rem; }

.check-item {
  background: #fff; border: 2px solid var(--slate-200);
  border-radius: 12px; padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  transition: border-color .2s, background .2s;
}
.check-item.pass { border-color: var(--green-600); background: var(--green-50); }
.check-item.fail { border-color: var(--red-600);   background: var(--red-50); }

.check-left { display: flex; gap: 1rem; align-items: flex-start; flex: 1; }
.check-num {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--teal-600); color: #fff;
  border-radius: 50%; font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.check-item.pass .check-num { background: var(--green-600); }
.check-item.fail .check-num { background: var(--red-600); }

.check-question { font-weight: 600; font-size: .97rem; margin-bottom: .35rem; }
.check-consequence {
  font-size: .83rem; color: var(--red-600); display: none; line-height: 1.5;
}
.check-item.fail .check-consequence { display: block; }

.check-btns { display: flex; flex-direction: column; gap: .5rem; flex-shrink: 0; }
.check-btn {
  padding: .45rem 1rem; border-radius: 6px;
  border: 2px solid var(--slate-200); background: #fff;
  font-weight: 700; font-size: .83rem; cursor: pointer;
  transition: all .2s; color: var(--slate-700); white-space: nowrap;
}
.check-btn:hover:not(.active) { border-color: var(--teal-600); color: var(--teal-600); }
.check-btn.yes.active { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.check-btn.no.active  { background: var(--red-600);   border-color: var(--red-600);   color: #fff; }

/* Result */
.checker-result {
  background: #fff; border: 2px solid var(--teal-500);
  border-radius: 16px; padding: 2.5rem; text-align: center;
  display: none; margin-top: 1.5rem;
}
.checker-result.visible { display: block; }
.result-score { font-size: 3.5rem; font-weight: 800; line-height: 1; margin-bottom: .25rem; }
.result-score.good { color: var(--green-600); }
.result-score.warn { color: var(--amber-500); }
.result-score.bad  { color: var(--red-600); }
.result-label { font-size: 1.1rem; font-weight: 700; color: var(--slate-700); margin-bottom: .75rem; }
.result-message { color: var(--slate-700); max-width: 540px; margin: 0 auto 1.5rem; }
.result-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── SERVICES DETAIL (services page) ─────────────────────────── */
.service-detail {
  display: flex; gap: 2rem; align-items: flex-start;
  padding: 2.5rem 0; border-bottom: 1px solid var(--slate-200);
}
.service-detail:last-of-type { border: none; }
.service-detail-icon { font-size: 2.5rem; flex-shrink: 0; width: 60px; text-align: center; }
.service-detail h2 { color: var(--teal-900); margin-bottom: .75rem; font-size: 1.35rem; }
.service-detail p  { color: var(--slate-700); }
.service-note {
  margin-top: 1rem; padding: .75rem 1rem;
  background: var(--teal-50); border-left: 3px solid var(--teal-600);
  font-size: .87rem; color: var(--teal-900); border-radius: 0 6px 6px 0;
}

@media (max-width: 600px) {
  .service-detail { flex-direction: column; gap: 1rem; }
}

/* ── HOW IT WORKS ─────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px; background: var(--teal-600); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; margin: 0 auto 1rem;
}
.step h3 { color: var(--teal-900); margin-bottom: .4rem; }
.step p  { font-size: .9rem; }

/* ── WHY US GRID ──────────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.why-card {
  border: 1px solid var(--slate-200); border-radius: 12px; padding: 1.5rem;
  transition: box-shadow .2s;
}
.why-card:hover { box-shadow: 0 6px 20px rgba(15,118,110,.08); }
.why-card .icon { font-size: 1.8rem; margin-bottom: .75rem; }
.why-card h3 { color: var(--teal-700); margin-bottom: .4rem; font-size: 1rem; }
.why-card p  { font-size: .9rem; }

/* ── PRICING (pricing page) ───────────────────────────────────── */
.pricing-feature-card {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 0;
  border: 2px solid var(--teal-600); border-radius: 16px;
  overflow: hidden; box-shadow: 0 8px 32px rgba(15,118,110,.12);
  margin-bottom: 2rem;
}
.pricing-feature-left {
  background: var(--teal-900); color: #fff; padding: 2.5rem;
}
.pricing-feature-left .plan-name {
  font-size: .82rem; font-weight: 700; color: var(--teal-500);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem;
}
.pricing-feature-left .price-display { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: .25rem; }
.pricing-feature-left .price-sub { color: rgba(255,255,255,.6); font-size: .88rem; margin-bottom: .75rem; }
.pricing-feature-left p { color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 1.5rem; }
.pricing-feature-right { background: #fff; padding: 2.5rem; }

.plan-features { list-style: none; }
.plan-features li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .92rem; padding: .5rem 0;
  border-bottom: 1px solid var(--slate-100); color: var(--slate-700);
}
.plan-features li:last-child { border: none; }
.plan-features li::before { content: '✓'; color: var(--teal-600); font-weight: 800; flex-shrink: 0; }

@media (max-width: 768px) {
  .pricing-feature-card { grid-template-columns: 1fr; }
}

/* Keeps card */
.keeps-card {
  background: var(--slate-100); border-radius: 12px; padding: 2rem; margin-bottom: 2rem;
}
.keeps-card h3 { color: var(--teal-900); margin-bottom: .5rem; }
.keeps-card p  { color: var(--slate-500); margin-bottom: 1.25rem; }
.keeps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem;
}
.keep-item {
  background: #fff; border-radius: 8px; padding: .75rem 1rem;
  font-size: .9rem; font-weight: 600; color: var(--slate-500);
  border-left: 3px solid var(--slate-300);
}

/* Add-ons card */
.addons-card {
  background: var(--teal-50); border: 1px solid var(--teal-100);
  border-radius: 12px; padding: 2rem; margin-bottom: 2rem;
}
.addons-card h3 { color: var(--teal-900); margin-bottom: .35rem; }
.addon-table { margin-top: 1rem; }
.addon-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; padding: 1rem 0; border-bottom: 1px solid var(--teal-100);
}
.addon-row strong { display: block; margin-bottom: .2rem; color: var(--teal-900); }
.addon-row p { font-size: .85rem; color: var(--slate-500); }
.addon-price { font-weight: 800; color: var(--teal-700); font-size: .95rem; white-space: nowrap; text-align: right; flex-shrink: 0; }

/* Myth buster */
.myth-card {
  background: #fff; border-radius: 12px; padding: 2rem;
  border-left: 4px solid var(--teal-600);
  box-shadow: 0 4px 16px rgba(15,118,110,.06);
}
.myth-card p { color: var(--slate-700); }

/* Compare table */
.compare-table {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 12px; overflow: hidden;
}
.compare-header {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--teal-900); padding: 1rem 1.5rem; gap: 1rem;
}
.compare-col-head { text-align: center; font-weight: 700; color: #fff; font-size: .9rem; }
.compare-col-head span { display: block; font-weight: 400; font-size: .78rem; color: rgba(255,255,255,.6); margin-top: .2rem; }
.compare-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: .85rem 1.5rem; gap: 1rem;
  border-bottom: 1px solid var(--slate-100); align-items: center;
}
.compare-row:last-child { border: none; }
.compare-row:nth-child(even) { background: var(--slate-100); }
.compare-label { font-size: .9rem; color: var(--slate-700); }
.check-mark { text-align: center; color: var(--green-600); font-weight: 800; font-size: 1.1rem; }

/* ── CONTACT PAGE ─────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: .75rem 0; border-bottom: 1px solid var(--slate-200);
  font-size: .93rem;
}
.contact-detail:last-of-type { border: none; }
.contact-label { font-weight: 700; color: var(--teal-700); min-width: 80px; flex-shrink: 0; }

.contact-notice {
  margin-top: 1.5rem; padding: 1.1rem 1.25rem;
  background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 10px;
  font-size: .9rem; color: var(--teal-900);
}

.contact-form {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 16px; padding: 2rem;
}
.contact-form h3 { color: var(--teal-900); margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; color: var(--slate-700); margin-bottom: .35rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .65rem .9rem;
  border: 2px solid var(--slate-200); border-radius: 8px;
  font-size: .95rem; font-family: inherit;
  transition: border-color .2s; background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--teal-600); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; }

/* Radio group */
.radio-group { display: flex; flex-direction: column; gap: .6rem; }
.radio-option {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem 1rem; border-radius: 10px;
  border: 2px solid var(--slate-200); cursor: pointer;
  transition: border-color .2s, background .2s;
  font-weight: normal;
}
.radio-option:hover { border-color: var(--teal-500); background: var(--teal-50); }
.radio-option input[type="radio"] { margin-top: .2rem; accent-color: var(--teal-600); flex-shrink: 0; }
.radio-option input[type="radio"]:checked ~ span { color: var(--teal-900); }
.radio-option:has(input:checked) { border-color: var(--teal-600); background: var(--teal-50); }

.form-success {
  text-align: center; padding: 2rem;
}
.form-success h3 { font-size: 1.3rem; }
.form-success p { color: var(--slate-500); margin-top: .5rem; }

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  background: var(--teal-900); color: rgba(255,255,255,.65);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem;
}
.footer-logo { font-weight: 800; color: #fff; font-size: 1rem; line-height: 1.3; }
.footer-logo span { display: block; font-size: .72rem; font-weight: 400; color: rgba(255,255,255,.45); margin-top: .2rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--teal-500); }
.footer-note {
  font-size: .78rem; line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem;
}
