:root {
  --page-max: 1360px;
  --pad: clamp(16px, 2.78vw, 40px);

  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;

  --accent-bg: #eef2ff;
  --accent-border: #e0e7ff;

  /* Used in updated second half band */
  --brand-blue: #aee1f6;
  --brand-lavender: #cccffb;

  --radius-lg: 0.75rem; /* 12px */
  --radius-md: 0.75rem; /* 12px */
  --radius-sm: 0.75rem; /* 12px */
  --radius-img: 0.75rem; /* 12px */
}

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

html:focus-within {
  scroll-behavior: smooth;
}

/* Prevent sticky header from covering anchor targets */
section[id],
header[id] {
  scroll-margin-top: 72px;
}

@media (max-width: 520px) {
  section[id],
  header[id] {
    scroll-margin-top: 68px;
  }
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: #fff;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  border-radius: var(--radius-img);
}

.container {
  width: min(var(--page-max), calc(100% - (2 * var(--pad))));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  z-index: 999;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   HEADER
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

/* Make the <picture>/<img> behave nicely in the header */
.brand picture {
  display: block;
}

.brand img {
  display: block;
  width: 9.5rem;
  height: auto;
}

@media (max-width: 520px) {
  .brand img {
    width: 8rem;
  }
}


.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav__toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 8px;
  color: var(--text);
  cursor: pointer;
  line-height: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9375rem;
}

.site-nav__list a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}

.site-nav__list a:hover {
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
}

.button--accent {
  border-color: #000;
  color: #000;
}

/* Mobile nav (optional) */
@media (max-width: 900px) {
  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: var(--pad);
    right: var(--pad);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .site-nav__list.is-open {
    display: flex;
  }
}

/* =========================
   HERO
   ========================= */
.hero {
  padding: 7.81rem 0 5.625rem;
}

.hero__inner {
  text-align: center;
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__title-eyebrow {
  font-size: 0.36em;
  line-height: 3;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 600;
}

.hero__subhead {
  max-width: 54rem;
  margin: 0 auto 28px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero__media {
  margin: 0;
}

.hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-img);
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.hero__media picture,
.hero__media img {
  display: block;
  width: 100%;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 5.625rem;
  }

  .hero__media img {
    aspect-ratio: 4 / 3;
  }
}

/* =========================
   SECTION WRAPPER
   ========================= */
.section {
  padding: 5.625rem 0;
}

.section__header {
  margin-bottom: 28px;
}

.section__header--center {
  text-align: center;
}

.section__title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.section__subtitle {
  margin: 0 auto;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.section__subtitle + .section__subtitle {
  margin-top: 1.25rem;
}


/* =========================
   CAROUSEL (REUSABLE)
   ========================= */
.carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel__track {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 0 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel__track:focus {
  outline: 2px solid rgba(99, 102, 241, 0.35);
  outline-offset: 6px;
  border-radius: 10px;
}

.carousel__btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
  font-size: 1.25rem;
}

.carousel__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.carousel__btn--prev,
.carousel__btn--next {
  /* positioned by flex; no absolute offsets needed */
}

/* Card subcomponent */
.card {
  scroll-snap-align: start;
  width: min(330px, 78vw);
  list-style: none;
}

@media (min-width: 900px) {
  .card {
    width: 330px;
  }
}

.card__media {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: var(--radius-img);
  background: #fff;
  overflow: hidden;
}

.card__media picture,
.card__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.card__media img {
  object-fit: cover;
}

.card__text {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

.card__text strong {
  color: var(--text);
}


/* =========================
   VALUES ICON CHIP (Values carousel only)
   ========================= */
.carousel--values .card__media{
  display: grid;
  place-items: center;
  background: #fff;
}

.carousel--values .card__media picture,
.carousel--values .card__media img{
  width: auto;
  height: auto;
}

.carousel--values .card__media img{
  object-fit: contain;
}


/* =========================
   TESTIMONIAL
   ========================= */
.testimonial {
  margin: 5.625rem 0; 
  padding: 70px 0;
  background: linear-gradient(90deg, #f5e6ff, #eaf1ff);
}

.testimonial__figure {
  margin: 0;
}

.testimonial__quote {
  margin: 0 0 26px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.015rem;
}

.testimonial__quote p {
  margin: 0;
}

.testimonial__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial__name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.testimonial__role {
  font-size: 0.875rem;
  color: var(--muted);
}


/* =========================
   ACCORDION (REUSABLE)
   ========================= */
.accordion {
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.accordion__heading {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.accordion__item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.accordion__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9375rem;
  font-weight: 700;
}

.accordion__summary::-webkit-details-marker {
  display: none;
}

.accordion__chev {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.accordion__item[open] .accordion__chev {
  transform: rotate(180deg);
}

.accordion__panel {
  padding: .625rem 0  0 2.125rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 56rem;
}

/* =========================
   SECTION CONTENT (generic body copy)
   ========================= */
.section__content {
  margin: 18px auto 0;
  max-width: 56rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section__content p {
  margin: 0 0 12px;
}

.section__content p:last-child {
  margin-bottom: 0;
}

/* =========================
   WHO WE ARE (updated structure)
   ========================= */
.who-we-are {
  padding: 5.625rem 0;
}

/* Audience switcher (Who we serve) */
.audience-switcher {
  margin-top: 2rem;
}

.audience-switcher__tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.audience-switcher__tab {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  opacity: 0.92;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.audience-switcher__tab:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
}

.audience-switcher__tab:focus {
  outline: 2px solid rgba(99, 102, 241, 0.35);
  outline-offset: 3px;
}

.audience-switcher__tab.is-active {
  opacity: 1;
  background: var(--accent-bg);
  border-color: var(--accent-border);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.10);
}

.audience-switcher__panels {
  margin-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.audience-switcher__panel {
  margin: 0 auto;
  max-width: 56rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
}

.audience-switcher__title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.audience-switcher__text {
  margin: 0 2.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 520px) {
  .audience-switcher__tab {
    width: 100%;
    justify-content: center;
  }
  .audience-switcher__text {
    margin: 0;
  }
}


/* =========================
   TEAM (updated structure)
   ========================= */
.team__inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .team__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

.team__media {
  margin: 0;
  border-radius: var(--radius-img);
  background: #e9eaed;
  aspect-ratio: 4 / 3;
  min-height: 280px;
  overflow: hidden;
}

.team__media picture,
.team__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.team__media img {
  object-fit: cover;
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
  padding: 18px 0 26px;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

.social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.social__link {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  background: #fff;
}

.social__link svg {
  width: 16px;
  height: 16px;
}

/* Hide scrollbars for carousel tracks */
.carousel__track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 719px) {
  .carousel__btn {
    display: none;
  }
}

/* =========================
   PROBLEM GRID (Health Delivery Gap)
   ========================= */
.problem-grid {
  display: grid;
  gap: 18px;
  margin-top: 2rem;
}

@media (min-width: 520px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .problem-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.problem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.problem-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.01em;
}

.problem-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* =========================
   SOLUTION POINTS (Our Solution)
   ========================= */
.solution-points {
  display: grid;
  gap: 18px;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .solution-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

.solution-point {
  background: var(--accent-bg);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
}


.solution-point__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.solution-point__text strong {
  display: block;
  color: var(--text);
  margin-bottom: 10px;
}

/* =========================
   IN ACTION: SAFE FAMILIES
   ========================= */
.in-action__band {
  margin-top: 2rem;
  background: var(--brand-lavender);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.in-action__grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .in-action__grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

.in-action__block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.in-action__block-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.in-action__block-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.in-action__outcomes-wrapper {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 16px;
}

.in-action__outcomes {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.in-action__outcomes li {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  padding-left: 1.25rem;
  position: relative;
}

.in-action__outcomes li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--text);
  font-weight: 700;
}

/* =========================
   WHY HUDDY HEALTH IS DIFFERENT
   ========================= */

.difference__inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.difference__lead {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0 0 14px;
}

.difference__body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* =========================
   RESPONSIBLE AI
   ========================= */
.ai-guardrails {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 44rem;
}

.ai-guardrails li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.ai-guardrails li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--text);
  font-weight: 700;
}

.ai-chips-label {
  margin: 2rem auto 0.625rem;
  max-width: 44rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ai-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

/* =========================
   PRINCIPLES LIST (static 6-item grid)
   ========================= */
.principles-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 18px;
}

@media (min-width: 520px) {
  .principles-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .principles-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.principle-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.principle-item__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at center,
    rgba(174, 225, 246, 0.6) 0%,
    rgba(174, 225, 246, 0.2) 45%,
    rgba(255, 255, 255, 1) 95%
  );
  flex-shrink: 0;
}

.principle-item__icon img {
  width: 28px;
  height: 28px;
  border-radius: 0;
}

.principle-item__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.principle-item__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* =========================
   FINAL CTA
   ========================= */
.final-cta {
  padding: 5.625rem 0;
  background: linear-gradient(135deg, var(--accent-bg) 0%, #fff 60%);
}

.final-cta__inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta__title {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.final-cta__body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 2.5rem;
}

.final-cta__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.final-cta__label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Honeypot field — off-screen, not display:none so bots don't skip it */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.email-reveal__btn {
  background: none;
  border: none;
  border-bottom: 1.5px dashed var(--brand-blue);
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.email-reveal__btn:hover {
  border-bottom-color: var(--brand-lavender);
}

.final-cta__email {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid var(--brand-blue);
  line-height: 1.3;
}

.final-cta__email:hover {
  border-bottom-color: var(--brand-lavender);
}

.final-cta__cta-btn {
  margin-top: 28px;
  align-self: flex-start;
}

/* ── Scroll fade-in ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll-to-top button ─────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16%;
  border: none;
  background: var(--text);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  pointer-events: none;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--brand-blue);
  color: var(--text);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--brand-lavender);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: none;
  }
}

@media (max-width: 520px) {
  .scroll-top {
    bottom: 16px;
    right: 16px;
  }
}

/* =========================
   CONTACT PAGE
   ========================= */

.contact-page {
  padding: 72px 0 96px;
}

.contact-page__header {
  max-width: 640px;
  margin: 0 0 48px;
}

.contact-page__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 12px;
}

.contact-page__subtitle {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.contact-page__layout {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 400px);
  gap: 64px;
  align-items: start;
}

/* --- Form Column --- */

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form__row--two {
  flex-direction: row;
  gap: 20px;
}

.contact-form__row--two .contact-form__field {
  flex: 1;
  min-width: 0;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form__label span {
  color: var(--muted);
  font-weight: 400;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #b0b8c9;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--brand-lavender);
  box-shadow: 0 0 0 3px rgba(204, 207, 251, 0.35);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__select-wrap {
  position: relative;
}

.contact-form__select {
  padding-right: 36px;
  cursor: pointer;
}

.contact-form__select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.contact-form__required-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

.contact-form__submit {
  flex-shrink: 0;
}

.contact-form__privacy-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 12px 0 0;
}

.contact-form__privacy-link {
  color: var(--muted);
}

.contact-form__privacy-link:hover {
  color: var(--text);
}

.contact-form__error {
  font-size: 0.875rem;
  color: #b91c1c;
  margin: 0 0 8px;
}

.contact-form__success {
  padding: 48px 0;
}

.contact-form__success-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.contact-form__success-body {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}

/* --- Site footer link --- */

.site-footer__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__link:hover {
  opacity: 0.8;
}

/* --- Info Column --- */

.contact-info {
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}

.contact-info__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.contact-info__email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1.5px solid var(--brand-blue);
}

.contact-info__email:hover {
  color: var(--text);
  border-bottom-color: var(--brand-lavender);
}

.contact-info__text {
  font-size: 0.9375rem;
  color: var(--text);
  margin: 0;
}

/* --- Contact Page Responsive --- */

@media (max-width: 900px) {
  .contact-page__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-page__info-col {
    order: -1;
  }
}

@media (max-width: 520px) {
  .contact-page {
    padding: 48px 0 72px;
  }

  .contact-form__row--two {
    flex-direction: column;
  }

  .contact-form__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form__submit {
    width: 100%;
    text-align: center;
  }

  .contact-info {
    padding: 28px 24px;
  }
}

/* =========================
   PRIVACY PAGE
   ========================= */

.privacy-page {
  padding: 80px 0 100px;
}

.privacy-page__header {
  max-width: 720px;
  margin: 0 auto 48px;
}

.privacy-page__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.privacy-page__meta {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
}

.privacy-page__body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.privacy-page__body h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 40px 0 10px;
  color: var(--text);
}

.privacy-page__body p,
.privacy-page__body ul,
.privacy-page__body address {
  margin: 0 0 16px;
}

.privacy-page__body ul {
  padding-left: 1.5rem;
}

.privacy-page__body li {
  margin-bottom: 4px;
}

.privacy-page__address {
  font-style: normal;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  line-height: 1.8;
}

.privacy-page__email {
  color: var(--text);
}

@media (max-width: 520px) {
  .privacy-page {
    padding: 48px 0 72px;
  }
}
