/* ============================================================
   OASIS HOUSING GROUP — Global Stylesheet
   Production-ready for Cloudflare Pages hosting
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@2.44.0/tabler-icons.min.css');

/* ── CSS Custom Properties ── */
:root {
  --forest:   #1A2E22;
  --green:    #5A8C6E;
  --mint:     #6DBF8A;
  --dew:      #E8F2EC;
  --white:    #FAFAF8;
  --gold:     #C4A96B;
  --charcoal: #3D3D3D;
  --border:   #E0DDD6;
  --muted:    #888;
  --text:     #1A1A1A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);

  --nav-h: 68px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--forest); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--charcoal); line-height: 1.75; }

.eyebrow {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 0.5rem;
}

/* ── Layout Utilities ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 96px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.text-center { text-align: center; }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ── Navigation ── */
.nav {
  background: var(--forest);
  height: var(--nav-h);
  position: sticky;
  top: 0;
  z-index: 101;
  /* Note: box-shadow kept here is fine now that nav__mobile is on <body>,
     no longer a child of this stacking context. */
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo-text .l1 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  line-height: 1;
  display: block;
}
.nav__logo-text .l2 {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  display: block;
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #A8C4B0;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.nav__links a:hover,
.nav__links a.active {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.nav__links a.active {
  color: var(--mint);
}

.nav__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--mint);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
}
.nav__cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #A8C4B0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--forest);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 24px 24px;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #A8C4B0;
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  text-decoration: none;
}
.nav__mobile a:hover { color: #fff; }
.nav__mobile .nav__cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--forest);
  background: var(--mint);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn--primary { background: var(--forest); color: #fff; }
.btn--mint    { background: var(--mint); color: var(--forest); }
.btn--green   { background: var(--green); color: #fff; }
.btn--gold    { background: var(--gold); color: #fff; }
.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.7); }
.btn--outline-dark {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn--outline-dark:hover { background: var(--forest); color: #fff; }
.btn--sm { font-size: 0.8125rem; padding: 9px 18px; }
.btn--lg { font-size: 1rem; padding: 15px 32px; }

/* ── Badges ── */
.badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.badge--green  { background: var(--dew); color: var(--forest); }
.badge--gold   { background: #FBF5E8; color: #7A5E1E; }
.badge--dark   { background: var(--forest); color: var(--mint); }
.badge--forest { background: var(--forest); color: var(--mint); }

/* ── Cards ── */
.card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card--top-green { border-top: 3px solid var(--green); }
.card--top-gold  { border-top: 3px solid var(--gold); }
.card--top-mint  { border-top: 3px solid var(--mint); }

/* ── Divider accent ── */
.divider {
  width: 36px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divider--gold { background: var(--gold); }
.divider--center { margin: 16px auto 24px; }

/* ── Section Header ── */
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header--center .divider { margin: 16px auto 24px; }
.section-header p { max-width: 600px; font-size: 1rem; margin: 0 auto; }
.section-header--center p { margin: 0 auto; }
.section-header.text-center p { margin: 0 auto; }

/* ── HERO ── */
.hero {
  background: var(--forest);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero__bg-mark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.04;
  pointer-events: none;
}

.hero__content { position: relative; z-index: 2; max-width: 640px; }

.hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
  display: block;
}

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p  { color: #A8C4B0; font-size: 1rem; margin-bottom: 32px; max-width: 500px; }

.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Inner page hero (smaller) */
.hero--inner { padding: 56px 0 52px; }
.hero--inner .hero__content { max-width: 760px; }
.hero--inner h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--green);
  padding: 0;
}
.stats-bar__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
}
.stat-item {
  text-align: center;
  padding: 24px 20px;
  flex: 1;
}
.stat-item + .stat-item {
  border-left: 0.5px solid rgba(255,255,255,0.18);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.6875rem;
  color: #D0EDD8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* ── Services grid ── */
.services-section { background: #F5F3EE; }
.service-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border-top: 3px solid var(--green);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card--gold { border-top-color: var(--gold); }
.service-icon {
  font-size: 1.75rem;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}
.service-icon--gold { color: var(--gold); }
.service-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.service-card p  { font-size: 0.875rem; line-height: 1.65; color: #555; }
.service-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 14px;
  display: inline-block;
}
.service-card--gold .service-link { color: var(--gold); }

/* ── Why strip (dark) ── */
.why-strip { background: var(--forest); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.why-item {
  border: 0.5px solid #3A5040;
  border-radius: var(--radius-md);
  padding: 20px;
}
.why-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--mint);
  margin-bottom: 8px;
  display: block;
}
.why-text { font-size: 0.875rem; color: #A8C4B0; line-height: 1.6; }

/* ── Trust bar ── */
.trust-bar {
  background: var(--dew);
  padding: 20px 0;
  border-top: 1px solid #C8E0D0;
  border-bottom: 1px solid #C8E0D0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3A6A4E;
  flex-shrink: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--forest);
  white-space: nowrap;
}
.trust-item i { color: var(--green); font-size: 0.9375rem; }

/* ── Testimonials ── */
.t-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.t-card blockquote {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 16px;
}
.t-card blockquote::before { content: '\201C'; color: var(--mint); font-size: 1.25rem; }
.t-author { font-size: 0.8125rem; font-weight: 600; color: var(--forest); }
.t-role   { font-size: 0.75rem; color: var(--green); }

/* ── CTA Strip ── */
.cta-strip {
  background: var(--green);
  text-align: center;
  padding: 64px 0;
}
.cta-strip h2 { color: #fff; margin-bottom: 12px; }
.cta-strip p  { color: #D0EDD8; font-size: 1rem; margin-bottom: 28px; }
.cta-strip__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: var(--forest);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: #A8C4B0;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
}
.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.8125rem;
  color: #A8C4B0;
  margin-bottom: 8px;
  transition: color 0.15s;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 0.5px solid #3A5040;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span, .footer-bottom a {
  font-size: 0.6875rem;
  color: #5A7060;
  text-decoration: none;
}
.footer-bottom a:hover { color: #A8C4B0; }
.footer-bottom__legal { display: flex; gap: 16px; }

/* ── FAQ Accordion ── */
.faq-item {
  border-bottom: 0.5px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-top: 0.5px solid var(--border); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  gap: 16px;
}
.faq-trigger i {
  font-size: 1.125rem;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-trigger i { transform: rotate(45deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-body p {
  padding-bottom: 20px;
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.75;
}

/* ── How-it-works steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--mint);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.step-card h4 { margin-bottom: 8px; font-size: 1.0625rem; }
.step-card p  { font-size: 0.875rem; color: #555; line-height: 1.65; }

/* ── Services list (checkboxes) ── */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.services-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.services-list li i {
  color: var(--mint);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Partnership types cards ── */
.partner-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border-top: 3px solid var(--gold);
}
.partner-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.partner-card p  { font-size: 0.875rem; color: #555; line-height: 1.65; }

/* ── Values ── */
.value-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border-left: 4px solid var(--green);
}
.value-card h3 { font-size: 1.0625rem; margin-bottom: 10px; color: var(--forest); }
.value-card p  { font-size: 0.9375rem; color: #555; line-height: 1.7; }

/* ── Contact Form ── */
.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: #fff;
  border: 1px solid #C8C4BC;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(90,140,110,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  background: var(--dew);
  border: 1px solid #B0D4BE;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.form-success i { font-size: 2rem; color: var(--green); margin-bottom: 8px; display: block; }
.form-success p { color: var(--forest); font-weight: 500; }

/* ── Page header (inner pages) ── */
.page-header {
  background: var(--forest);
  padding: 52px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236DBF8A' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3E%3C/svg%3E");
  pointer-events: none;
}
.page-header__content { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 12px; }
.page-header p  { color: #A8C4B0; font-size: 1rem; max-width: 600px; line-height: 1.7; }
.page-header .breadcrumb {
  font-size: 0.75rem;
  color: #5A7060;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-header .breadcrumb a { color: var(--mint); text-decoration: none; }
.page-header .breadcrumb a:hover { text-decoration: underline; }

/* ── Credentials strip ── */
.credentials-strip {
  background: var(--dew);
  border-top: 1px solid #C8E0D0;
  border-bottom: 1px solid #C8E0D0;
  padding: 32px 0;
}
.credential-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.credential-item i { font-size: 1.75rem; color: var(--green); }
.credential-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.4;
  text-align: center;
}

/* ── News/Blog card ── */
.news-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card__img {
  height: 180px;
  background: var(--dew);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card__img i { font-size: 2.5rem; color: var(--green); opacity: 0.4; }
.news-card__body { padding: 20px; }
.news-card__date { font-size: 0.6875rem; color: var(--muted); margin-bottom: 6px; }
.news-card__title { font-size: 1rem; font-weight: 600; color: var(--forest); margin-bottom: 8px; font-family: var(--font-display); }
.news-card__excerpt { font-size: 0.875rem; color: #555; line-height: 1.65; margin-bottom: 14px; }
.news-card__link { font-size: 0.8125rem; font-weight: 600; color: var(--green); }

/* ── Gold bar ── */
.gold-bar {
  background: var(--gold);
  height: 4px;
  display: block;
  width: 100%;
}

/* ── Inline icon lists ── */
.icon-list { display: flex; flex-direction: column; gap: 14px; }
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--charcoal);
  line-height: 1.55;
}
.icon-list li i { color: var(--mint); font-size: 1.125rem; flex-shrink: 0; margin-top: 2px; }

/* ── Two-column with image placeholder ── */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-section--reverse .split-content { order: 2; }
.split-section--reverse .split-visual { order: 1; }
.split-visual {
  background: var(--dew);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid #C8E0D0;
  overflow: hidden;
  position: relative;
}
.split-visual__pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 20px,
    rgba(90,140,110,0.07) 20px,
    rgba(90,140,110,0.07) 22px
  );
}
.split-visual svg { position: relative; z-index: 1; opacity: 0.25; }

/* ── Notification banner ── */
.notice-banner {
  background: var(--forest);
  color: #A8C4B0;
  font-size: 0.8125rem;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.notice-banner a { color: var(--mint); text-decoration: underline; }

/* ── Back-to-top ── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--forest);
  color: var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: var(--shadow-md);
  border: none;
  z-index: 90;
  transform: translateY(10px);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--green); }

/* ── Cookie banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--forest);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 200;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
#cookie-banner p { font-size: 0.8125rem; color: #A8C4B0; }
#cookie-banner a { color: var(--mint); text-decoration: underline; }
#cookie-banner__btns { display: flex; gap: 10px; flex-shrink: 0; }
.hidden { display: none !important; }

/* ── Accessibility: focus ring ── */
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split-section { gap: 40px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-section--reverse .split-content,
  .split-section--reverse .split-visual { order: unset; }
  .split-visual { aspect-ratio: 16/9; }

  .stats-bar__inner { flex-wrap: wrap; }
  .stat-item + .stat-item { border-left: none; border-top: 0.5px solid rgba(255,255,255,0.18); }

  .trust-bar__inner { gap: 14px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .services-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .cta-strip__btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  :root { --nav-h: 60px; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero { padding: 64px 0 56px; }
  .page-header { padding: 40px 0 36px; }
  .hero__btns { flex-direction: column; align-items: flex-start; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   COMPONENT STYLES — shared across pages
   ============================================================ */

/* ── Legal pages ── */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 1.25rem; margin: 40px 0 12px; padding-top: 8px; border-top: 0.5px solid var(--border); }
.legal-body h2:first-of-type { border-top: none; margin-top: 0; }
.legal-body h3 { font-size: 1rem; margin: 24px 0 8px; color: var(--forest); }
.legal-body p  { font-size: 0.9375rem; color: var(--charcoal); line-height: 1.8; margin-bottom: 14px; }
.legal-body ul { padding-left: 20px; margin-bottom: 14px; }
.legal-body ul li { font-size: 0.9375rem; color: var(--charcoal); line-height: 1.8; list-style: disc; margin-bottom: 4px; }
.legal-meta { font-size: 0.8125rem; color: var(--muted); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 0.5px solid var(--border); }
.legal-toc { background: var(--dew); border-radius: var(--radius-md); padding: 24px 28px; margin-bottom: 40px; }
.legal-toc h3 { font-size: 0.875rem; margin: 0 0 12px; font-family: var(--font-body); font-weight: 600; color: var(--forest); text-transform: uppercase; letter-spacing: 0.08em; }
.legal-toc ol { padding-left: 20px; }
.legal-toc ol li { font-size: 0.875rem; margin-bottom: 6px; }
.legal-toc ol li a { color: var(--green); text-decoration: underline; }

/* ── Cookie table ── */
.cookie-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.875rem; }
.cookie-table th { background: var(--forest); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; font-size: 0.8125rem; }
.cookie-table td { padding: 10px 14px; border-bottom: 0.5px solid var(--border); color: var(--charcoal); vertical-align: top; }
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:nth-child(even) td { background: #F7F5F0; }

/* ── Cookie preference panel ── */
.cookie-pref-panel { background: var(--dew); border: 1px solid #C8E0D0; border-radius: var(--radius-md); padding: 28px; margin-top: 32px; }
.cookie-pref-panel h3 { font-size: 1rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; color: var(--forest); }
.cookie-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 0.5px solid #C8E0D0; gap: 20px; }
.cookie-toggle-row:last-of-type { border-bottom: none; }
.cookie-toggle-label { font-size: 0.9375rem; font-weight: 600; color: var(--forest); margin-bottom: 2px; }
.cookie-toggle-desc  { font-size: 0.8125rem; color: #555; }

/* Toggle switch */
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider { position: absolute; inset: 0; background: #C8C4BC; border-radius: 24px; cursor: pointer; transition: background 0.2s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle input:checked + .toggle-slider { background: var(--green); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle input:disabled + .toggle-slider { opacity: 0.5; cursor: not-allowed; }
.toggle input:focus-visible + .toggle-slider { outline: 2px solid var(--mint); outline-offset: 2px; }

/* ── Contact detail cards ── */
.contact-detail-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 24px; display: flex; align-items: flex-start; gap: 16px; }
.contact-detail-card i { font-size: 1.5rem; color: var(--mint); flex-shrink: 0; margin-top: 2px; }
.contact-detail-card h4 { font-size: 0.8125rem; font-weight: 600; color: #A8C4B0; font-family: var(--font-body); letter-spacing: 0.04em; margin-bottom: 4px; }
.contact-detail-card p, .contact-detail-card a { font-size: 0.9375rem; color: #fff; text-decoration: none; line-height: 1.5; }
.contact-detail-card a:hover { color: var(--mint); }

/* ── Team grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  justify-items: center;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ── Team cards ── */
.team-card { background: #fff; border: 0.5px solid var(--border); border-radius: var(--radius-md); padding: 28px 24px; text-align: center; transition: box-shadow 0.2s, transform 0.2s; width: 100%; }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.team-card__avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--dew); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 2px solid #C8E0D0; }
.team-card__avatar i { font-size: 2rem; color: var(--green); }
.team-card__name { font-family: var(--font-display); font-size: 1.0625rem; color: var(--forest); margin-bottom: 4px; }
.team-card__role { font-size: 0.8125rem; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.team-card__bio  { font-size: 0.875rem; color: #555; line-height: 1.65; }

/* ── Mission block ── */
.mission-block { background: var(--forest); border-radius: var(--radius-lg); padding: 40px 36px; position: relative; overflow: hidden; }
.mission-block::before { content: '\201C'; position: absolute; top: -10px; left: 24px; font-family: var(--font-display); font-size: 8rem; color: var(--mint); opacity: 0.12; line-height: 1; pointer-events: none; }
.mission-block p { font-family: var(--font-display); font-size: 1.25rem; color: #fff; line-height: 1.6; position: relative; z-index: 1; margin-bottom: 0; }
.mission-block span { display: block; font-family: var(--font-body); font-size: 0.8125rem; color: var(--mint); font-weight: 600; margin-top: 16px; position: relative; z-index: 1; }

/* ── News / article components ── */
.article-meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: 4px; }
.article-tag { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: var(--dew); color: var(--forest); display: inline-block; }
.article-tag--gold { background: #FBF5E8; color: #7A5E1E; }

.featured-article { background: var(--forest); border-radius: var(--radius-lg); padding: 48px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 48px; }
.featured-article h2 { color: #fff; font-size: 1.75rem; margin-bottom: 12px; }
.featured-article p  { color: #A8C4B0; line-height: 1.7; margin-bottom: 20px; }
.featured-article .article-tag { background: rgba(109,191,138,0.15); color: var(--mint); }
.featured-visual { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.featured-visual i { font-size: 3rem; color: rgba(109,191,138,0.3); }

.newsletter-strip { background: var(--dew); border: 1px solid #C8E0D0; border-radius: var(--radius-lg); padding: 40px 36px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; margin-top: 56px; }
.newsletter-strip h3 { font-size: 1.25rem; color: var(--forest); margin-bottom: 6px; }
.newsletter-strip p  { font-size: 0.9375rem; color: #555; max-width: 380px; margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { font-family: var(--font-body); font-size: 0.9375rem; padding: 11px 16px; border: 1px solid #C8C4BC; border-radius: var(--radius-sm); background: #fff; outline: none; transition: border-color 0.15s; min-width: 220px; }
.newsletter-form input:focus { border-color: var(--green); }

/* ── Responsive additions ── */
@media (max-width: 768px) {
  .featured-article { grid-template-columns: 1fr; padding: 28px 24px; }
  .featured-visual  { display: none; }
  .newsletter-strip { flex-direction: column; gap: 20px; }
  .newsletter-form  { width: 100%; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .contact-detail-card { padding: 18px; }
  .mission-block { padding: 28px 24px; }
  .legal-toc { padding: 18px 20px; }
  .cookie-toggle-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}
