/* ============================================================
   REDEETO — marketing site styles
   Built on the Redeeto design system tokens (ds/styles.css).
   Voice + content: from the approved wireframe (Direction 2).
   ============================================================ */

html { scroll-behavior: smooth; }
body {
  background: var(--surface-page);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}
.wrap.narrow { max-width: 880px; }

.section {
  padding-block: clamp(64px, 9vw, 112px);
}
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.center { text-align: center; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand-accent-strong);
  margin: 0 0 18px;
}
.eyebrow.tcenter { text-align: center; }

h1.h1 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}
h2.h2 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.014em;
  color: var(--text-strong);
  margin: 0;
  text-wrap: balance;
}
h3.h3 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-xl);
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--text-strong);
  margin: 0;
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-body);
  margin: 22px 0 0;
  max-width: 56ch;
  text-wrap: pretty;
}
.center .lead { margin-left: auto; margin-right: auto; }
.body {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
  margin: 0;
  text-wrap: pretty;
}
.mark { color: var(--green-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 16px;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .12s ease,
              box-shadow .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--green-600);
  color: var(--neutral-0);
}
.btn-primary:hover { background: var(--green-700); text-decoration: none; }
.btn-accent {
  background: var(--gold-500);
  color: var(--green-800);
  box-shadow: var(--shadow-gold);
}
.btn-accent:hover { filter: brightness(1.04); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--green-700);
  border-color: var(--border-default);
}
.btn-secondary:hover { border-color: var(--green-600); color: var(--green-700); text-decoration: none; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.center .cta-row { justify-content: center; }

.linky {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: var(--weight-semibold);
  color: var(--green-600);
  cursor: pointer;
  text-decoration: none;
  margin-top: 20px;
}
.linky:hover { color: var(--green-700); text-decoration: none; }
.linky:hover .arw { transform: translateX(3px); }
.arw { transition: transform .15s ease; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 247, 245, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; object-fit: contain; display: block; }
.brand .wm {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-700);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: var(--text-body);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-link:hover { color: var(--green-600); text-decoration: none; }
.nav-link.active { color: var(--green-700); font-weight: var(--weight-semibold); }
.nav-right { display: flex; align-items: center; gap: 18px; }
/* the in-menu CTA only appears in the mobile dropdown */
.nav-links > .btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.split.top { align-items: start; }

.visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3.1;
  background: var(--green-700);
}
.visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 78% 22%, rgba(207,174,96,0.20), transparent 70%);
  pointer-events: none;
}

/* Brand plate — deep green panel with mark + gold glow */
.brand-plate {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: linear-gradient(135deg, var(--green-600), var(--green-900));
  box-shadow: var(--shadow-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  padding: 40px;
  text-align: center;
}
.brand-plate::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(207,174,96,0.28), transparent 70%);
  pointer-events: none;
}
.brand-plate img { width: 96px; height: 96px; object-fit: contain; position: relative; filter: drop-shadow(0 10px 24px rgba(20,36,31,0.35)); }
.brand-plate .pl-line {
  position: relative;
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: 18px;
  line-height: 1.45;
  color: var(--gold-100);
  max-width: 26ch;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card.interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card .body { margin-top: 12px; }

.icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon-chip i { width: 23px; height: 23px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 26px; }
.steps.row { grid-template-columns: repeat(3, 1fr); }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--green-600);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin-bottom: 6px; }

/* ---------- Checks ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--text-body); }
.tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tick i { width: 15px; height: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; margin-top: 40px; }
.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 26px;
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: 18px;
  color: var(--text-strong);
}
.faq-q .pm {
  flex: none;
  width: 30px; height: 30px;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  color: var(--green-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 400;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item.open .pm { transform: rotate(45deg); background: var(--green-600); color: var(--gold-400); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq-a .inner { padding: 0 26px 26px; max-width: 64ch; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- CTA band ---------- */
.band-outer { padding-block: clamp(48px, 6vw, 88px); }
.band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  box-shadow: var(--shadow-brand);
  padding: clamp(48px, 6vw, 76px) clamp(32px, 5vw, 64px);
  text-align: center;
}
.band::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(207,174,96,0.22), transparent 70%);
  pointer-events: none;
}
.band .eyebrow { color: var(--gold-400); position: relative; }
.band h2 { color: var(--neutral-0); position: relative; }
.band .lead { color: var(--green-100); position: relative; margin-left: auto; margin-right: auto; }
.band .cta-row { position: relative; justify-content: center; }

/* ---------- Section variants ---------- */
.surface-card-bg {
  background: var(--surface-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ---------- Contact form ---------- */
.form { display: grid; gap: 18px; margin-top: 32px; max-width: 520px; }
.field { display: grid; gap: 8px; }
.label {
  font-size: 13px;
  font-weight: var(--weight-semibold);
  color: var(--text-strong);
  letter-spacing: 0.01em;
}
.input, .select, .textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-strong);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-input);
  padding: 13px 16px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 110px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--text-subtle); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.contact-aside { display: grid; gap: 22px; align-content: start; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: var(--green-200); margin-top: 0; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-block: 60px 36px;
}
.foot-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.foot-brand img { width: 36px; height: 36px; object-fit: contain; }
.foot-brand .wm {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.foot-tag { font-size: 14px; line-height: 1.6; color: var(--green-200); max-width: 30ch; }
.foot-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 14px;
}
.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--green-100);
  text-decoration: none;
  padding: 5px 0;
}
.foot-col a:hover { color: var(--gold-400); text-decoration: none; }
.foot-bottom {
  border-top: 1px solid rgba(207, 174, 96, 0.15);
}
.foot-bottom .inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 20px;
  font-size: 12px;
  color: var(--green-300);
}

/* ---------- Reveal hook (no-op; content always visible for reliability) ---------- */
.reveal { opacity: 1; }

/* ---------- Mobile nav ---------- */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--green-700); padding: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split .visual, .split .brand-plate { order: -1; }
  .cols-3 { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .steps.row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 32px 24px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open .nav-link { padding: 10px 0; font-size: 17px; }
  .nav-links.open > .btn { display: inline-flex; margin-top: 8px; }
  .nav-toggle { display: inline-flex; }
  .nav-right .btn { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
