/* ============================================================
   Friedler Recruitment & Placement — Global Stylesheet
   Luminous, airy, executive-minimal — RTL Hebrew
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700&display=swap');

/* ----- Design tokens ----- */
:root {
  /* Palette */
  --bg-canvas: #F8F5EE;
  --bg-surface: #FFFFFF;
  --bg-soft: #F1ECDF;
  --text-primary: #1F2A33;
  --text-secondary: #5A6770;
  --hairline: #E8E2D5;
  --accent: #4FB8AC;
  --accent-deep: #2E938A;
  --accent-wash: #E6F2EF;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(31, 42, 51, 0.04), 0 6px 18px rgba(31, 42, 51, 0.04);
  --shadow-card-hover: 0 1px 2px rgba(31, 42, 51, 0.05), 0 12px 28px rgba(31, 42, 51, 0.08);
  --shadow-header: 0 1px 0 rgba(31, 42, 51, 0.05);
  --shadow-hero-block: 0 12px 40px rgba(31, 42, 51, 0.06);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-hover: 240ms;
  --t-reveal: 480ms;
  --t-stagger: 80ms;

  /* Layout */
  --container: 1180px;
  --section-pad-y: 120px;
  --section-pad-y-mobile: 72px;
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Assistant', system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--t-hover) var(--ease);
}
a:hover { color: var(--accent-deep); }

p { margin: 0 0 1em 0; }
p:last-child { margin-bottom: 0; }

/* ----- Typography scale ----- */
h1, h2, h3, h4 {
  margin: 0 0 0.6em 0;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.35;
  font-weight: 600;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text-primary);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}

.caption {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

@media (max-width: 720px) {
  .container { padding: 0 22px; }
}

section {
  padding: var(--section-pad-y) 0;
}

@media (max-width: 900px) {
  section { padding: var(--section-pad-y-mobile) 0; }
}

.section-soft { background: var(--bg-soft); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-hover) var(--ease), color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease), transform var(--t-hover) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-wash);
  color: var(--text-primary);
}

.link-tertiary {
  color: var(--accent);
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.link-tertiary::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 200ms var(--ease);
}
.link-tertiary:hover::after { width: 100%; }

/* ----- Header / Nav ----- */
.site-header {
  position: fixed;
  inset-inline-start: 0;
  inset-inline-end: 0;
  top: 0;
  z-index: 60;
  background: transparent;
  transition: background var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--hairline);
  box-shadow: var(--shadow-header);
}
.site-header.solid {
  background: var(--bg-canvas);
  border-bottom-color: var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.brand img {
  height: 38px;
  width: auto;
  display: block;
}
.brand-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  color: var(--text-primary);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 6px 0;
}
.nav-list a::after {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 200ms var(--ease);
}
.nav-list a:hover { color: var(--accent); }
.nav-list a:hover::after,
.nav-list a.is-active::after { width: 100%; }
.nav-list a.is-active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  position: relative;
  transition: transform var(--t-hover) var(--ease), opacity var(--t-hover) var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform var(--t-hover) var(--ease), top var(--t-hover) var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-cluster {
    position: fixed;
    inset-inline-start: 0;
    inset-inline-end: 0;
    top: 76px;
    background: var(--bg-canvas);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 22px 26px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-hover) var(--ease), opacity var(--t-hover) var(--ease);
    box-shadow: 0 12px 24px rgba(31,42,51,0.05);
  }
  .nav-cluster.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }
  .nav-list a {
    padding: 12px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 1.05rem;
  }
  .nav-list a::after { display: none; }
  .nav-list li:last-child a { border-bottom: none; }
  .nav-cluster .btn { margin-top: 14px; align-self: flex-start; }
}

/* ----- Hero (full-bleed AI parallax) ----- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-canvas);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding-top: 120px;
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}

@media (hover: none), (max-width: 900px) {
  .hero {
    background-attachment: scroll;
    min-height: 78vh;
    padding-top: 110px;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to left,
    rgba(248, 245, 238, 0.92) 0%,
    rgba(248, 245, 238, 0.7) 35%,
    rgba(248, 245, 238, 0.2) 70%,
    rgba(248, 245, 238, 0) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-block {
  background: var(--bg-surface);
  border-radius: var(--r-md);
  padding: 44px 44px 40px;
  max-width: 580px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  box-shadow: var(--shadow-hero-block);
  border: 1px solid var(--hairline);
}

.hero-block h1 {
  margin: 0 0 18px 0;
}

.hero-block .lead {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero-block { padding: 30px 24px 28px; }
}

/* Slim header band (contact page) */
.header-band {
  background: var(--bg-soft);
  padding: calc(64px + 76px) 0 64px;
  border-bottom: 1px solid var(--hairline);
}
.header-band h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}
.header-band .lead { color: var(--text-secondary); margin-top: 6px; }

/* ----- Content blocks ----- */
.intro-band {
  text-align: center;
}
.intro-band p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-primary);
}

/* Three value props (numbers) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 24px;
}
.value-item .num-soft {
  font-size: 4.4rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.value-item h3 { margin-bottom: 8px; }
.value-item p { color: var(--text-secondary); }

@media (max-width: 820px) {
  .value-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Section headings */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-inline-start: auto;
  margin-inline-end: auto;
  text-align: center;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-secondary); font-size: 1.1rem; }

/* Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.card .icon-chip {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent-wash);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.card .icon-chip svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-secondary); margin-bottom: 18px; flex-grow: 1; }
.card .link-tertiary { align-self: flex-start; margin-top: auto; }

@media (max-width: 600px) {
  .card { padding: 22px; }
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .card-grid-3 { grid-template-columns: 1fr; }
}

/* Service vertical cards (services page) */
.service-card-tall {
  padding: 36px 32px;
}
.service-card-tall .role-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}
.service-card-tall .role-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  padding-inline-start: 18px;
}
.service-card-tall .role-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.7;
}

/* Differentiator (split + numbered list) */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 920px) {
  .split-2 { grid-template-columns: 1fr; gap: 50px; }
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 36px;
}
.steps-list li {
  position: relative;
  padding-inline-start: 0;
}
.step-num {
  font-size: 4.4rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.35;
  line-height: 0.9;
  display: block;
  margin-bottom: -10px;
  letter-spacing: -0.02em;
}
.step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 8px 0 6px;
  color: var(--text-primary);
}
.step-body { color: var(--text-secondary); margin: 0; }

/* Process timeline (services) */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 38px;
  inset-inline-start: 4%;
  inset-inline-end: 4%;
  height: 1px;
  background: var(--hairline);
  z-index: 0;
}
.timeline .step {
  position: relative;
  z-index: 1;
}
.timeline .step .step-num {
  font-size: 3.4rem;
}
@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { display: none; }
}

/* Testimonial */
.testimonial {
  text-align: center;
}
.testimonial blockquote {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.55;
  color: var(--text-primary);
  font-weight: 400;
  font-style: italic;
}
.testimonial blockquote::before {
  content: '”';
  display: block;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.45;
  line-height: 0.6;
  margin-bottom: 18px;
  font-style: normal;
}
.testimonial cite {
  display: block;
  font-style: normal;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Final contact band */
.cta-band {
  text-align: center;
  background: var(--bg-canvas);
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* About — founder narrative */
.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.founder-grid .label-col p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.founder-grid .body-col p {
  color: var(--text-primary);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 22px;
}
@media (max-width: 920px) {
  .founder-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Methodology vertical 4-grid */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
@media (max-width: 980px) {
  .methodology-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .methodology-grid { grid-template-columns: 1fr; }
}

/* Values triplet (about) */
.values-triplet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.values-triplet .value-block h3 { font-size: 1.25rem; margin-bottom: 8px; }
.values-triplet .value-block p { color: var(--text-secondary); }
@media (max-width: 820px) {
  .values-triplet { grid-template-columns: 1fr; gap: 36px; }
}

/* Principles tiles (services) */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.principle-tile {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
}
.principle-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.principle-tile h3 { font-size: 1.1rem; margin-bottom: 6px; }
.principle-tile p { color: var(--text-secondary); margin: 0; font-size: 0.98rem; }

/* FAQ accordion */
.faq-list {
  border-top: 1px solid var(--hairline);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: start;
  line-height: 1.4;
  transition: color var(--t-hover) var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-q .chev {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t-hover) var(--ease);
}
.faq-item.is-open .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease);
}
.faq-a-inner {
  padding: 0 0 22px 0;
  color: var(--text-secondary);
  max-width: 760px;
  font-size: 1.02rem;
  line-height: 1.7;
}
.faq-item.is-open .faq-a { max-height: 600px; }

/* Contact page two-column */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) {
  .contact-card { padding: 28px 22px; }
}

.contact-side {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}
.contact-side .info-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.contact-side .info-row:last-of-type { border-bottom: none; }
.contact-side .info-row .label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  font-weight: 500;
}
.contact-side .info-row .value {
  font-size: 1.04rem;
  color: var(--text-primary);
  font-weight: 500;
}
.contact-side .info-row .value a { color: var(--text-primary); }
.contact-side .info-row .value a:hover { color: var(--accent); }
.contact-side .copy-btn {
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  margin-inline-start: 10px;
  transition: background var(--t-hover) var(--ease), color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease);
}
.contact-side .copy-btn:hover {
  background: var(--accent-wash);
  border-color: var(--accent);
  color: var(--accent-deep);
}
.contact-side .reassure {
  margin-top: 22px;
  padding: 18px;
  background: var(--accent-wash);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field label {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.field .helper {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-inline-start: 6px;
  font-weight: 400;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--bg-canvas);
  color: var(--text-primary);
  transition: border-color var(--t-hover) var(--ease), background var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(79, 184, 172, 0.18);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.radio-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-pill span {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--bg-canvas);
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease);
}
.radio-pill input:checked + span {
  background: var(--accent-wash);
  border-color: var(--accent);
  color: var(--accent-deep);
  font-weight: 500;
}
.radio-pill:hover span { border-color: var(--accent); }

/* Honeypot — hide visually & from a11y tree */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  min-height: 1.2em;
}

.form-status {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--r-md);
  font-size: 0.98rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: var(--accent-wash);
  border: 1px solid rgba(79, 184, 172, 0.5);
  color: var(--accent-deep);
}
.form-status.is-error {
  background: #FAF2EE;
  border: 1px solid #E0C8BB;
  color: var(--text-primary);
}

.submit-row {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
}
.submit-row .btn { min-width: 200px; }
.submit-row .btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* Reassurance band */
.reassurance {
  text-align: center;
  padding: 80px 0;
}
.reassurance p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 0 28px;
  background: var(--bg-canvas);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-col li a { color: var(--text-primary); }
.footer-col li a:hover { color: var(--accent); }
.footer-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom .copyright {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.footer-signature {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
  text-align: center;
  margin: 18px 0 0;
  width: 100%;
  flex-basis: 100%;
}
.footer-signature a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.footer-signature a:hover { color: var(--accent); }

/* ----- Scroll reveal (used by IntersectionObserver in script.js) ----- */
.reveal-child {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
  will-change: opacity, transform;
}
.reveal-child.is-visible {
  opacity: 1;
  transform: none;
}

/* ----- Multi-step container pattern (for any wizard / funnel additions) ----- */
.funnel-page,
.quote-step,
.wizard-step,
.step-page {
  display: none;
}
.funnel-page.active,
.quote-step.active,
.wizard-step.active,
.step-page.active {
  display: block;
}

/* ----- Misc utilities ----- */
.text-center { text-align: center; }
.muted { color: var(--text-secondary); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.no-wrap { white-space: nowrap; }
.bdi-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .hero { background-attachment: scroll; }
  .reveal-child { opacity: 1; transform: none; }
}
