/* =====================================================
   UrsaCare — design system
   Rebuilt to match the supplied UrsaCare design.
   ===================================================== */

:root {
  /* === Ursa palette — exact tokens from the Figma foundations === */
  /* Primary */
  --primary-light: #ffdce0;
  --primary-pastel: #f59cbb;
  --primary-vibrant: #a11350;
  --primary-medium: #671136;
  --primary-dark: #520a0e;
  /* Support */
  --blood-orange: #fb4e51;
  --violet: #6f1376;
  --cyan: #7548ff;
  --blue: #95baff;
  --light-blue: #c3d8ff;
  --beige: #f6efe4;
  --off-white: #fff9f6;
  /* Neutral */
  --neutral-0: #ffffff;
  --neutral-1: #fefafb;
  --neutral-2: #f7f3f5;
  --neutral-3: #ebe3e6;
  --neutral-4: #cab2bc;
  --neutral-5: #b0949f;
  --neutral-6: #8c6d79;
  --neutral-7: #5f3848;
  --neutral-8: #3b0a1f;
  --neutral-9: #220612;
  --neutral-10: #060606;
  /* System */
  --error-light: #ffe2e6;   --error-dark: #b40926;
  --success-light: #d2fbd0; --success-dark: #1b6d34;
  --info-light: #cef0fc;    --info-dark: #21275b;
  --warning-light: #feefc3; --warning-dark: #84684b;
  --callout: #ffff66;

  /* === Semantic aliases (used throughout the stylesheet) === */
  --cream: var(--off-white);
  --cream-2: var(--neutral-1);
  --sand: var(--neutral-2);
  --peach: var(--primary-light);
  --terracotta: var(--primary-vibrant);
  --terracotta-dark: var(--primary-medium);
  --sage: var(--primary-pastel);
  --sage-dark: var(--primary-vibrant);
  --forest: var(--primary-dark);
  --wine-deep: var(--neutral-8);
  --ink: var(--neutral-10);
  --ink-2: var(--neutral-7);
  --muted: var(--neutral-6);
  --gold: #e3a93a;            /* testimonial stars */
  --line: rgba(82, 10, 14, 0.12);
  --line-strong: rgba(82, 10, 14, 0.2);

  /* === Type — Figma foundations ===
     Display = Sentient (serif, via Fontshare).
     Headlines/body = Google Sans Flex — not licensed for web embedding,
     so Figtree is loaded as the closest free stand-in. */
  --serif: 'Sentient', 'Fraunces', Georgia, serif;
  --sans: 'Google Sans Flex', 'Figtree', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(82, 10, 14, 0.05), 0 6px 18px rgba(82, 10, 14, 0.06);
  --shadow: 0 10px 40px rgba(82, 10, 14, 0.10);
  --shadow-lg: 0 30px 60px rgba(82, 10, 14, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== Type ============== */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--forest);
  margin: 0 0 16px;
}

h3, h4 {
  font-family: var(--serif);
  color: var(--forest);
  margin: 0 0 8px;
  font-weight: 500;
}

p { margin: 0 0 12px; color: var(--ink-2); }

.section-head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head p { font-size: 16px; color: var(--muted); margin: 0; }

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--primary-medium); color: var(--neutral-0); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--sand); }
.btn--light {
  background: var(--neutral-0);
  color: var(--primary-medium);
  border-color: var(--primary-medium);
}
.btn--light:hover { background: var(--off-white); transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: var(--neutral-9); }
.btn--blue:hover { background: var(--light-blue); transform: translateY(-1px); }
.btn--block { width: 100%; justify-content: center; }
.btn__icon {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.btn__icon svg { width: 20px; height: 20px; }
.btn__label--short { display: none; }

/* ============== Top bar ============== */
.topbar {
  background: var(--neutral-8);
  color: var(--neutral-0);
  font-size: 12px;
  line-height: 16px;
}
.topbar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  flex-wrap: wrap;
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--neutral-4);
}

/* ============== Nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--neutral-0);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

.logo { display: inline-flex; align-items: center; color: var(--forest); }
.logo__img {
  height: 48px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 48px;
  margin: 0 auto;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: var(--primary-medium);
}
.nav__links a {
  position: relative;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__links a:hover,
.nav__links a:focus-visible { border-bottom-color: var(--primary-medium); }

.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-menu .btn { margin-top: 12px; align-self: flex-start; border-bottom: 0; }

/* ============== Hero ============== */
.hero {
  position: relative;
  /* Fill the fold: viewport minus topbar (~41px) and nav (~73px) */
  min-height: clamp(520px, calc(100svh - 114px), 1100px);
  display: flex;
  align-items: center;
  background-color: var(--forest);
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 6, 18, 0.55) 0%, rgba(34, 6, 18, 0.35) 22%, rgba(34, 6, 18, 0.15) 35%, rgba(34, 6, 18, 0) 50%);
}
.hero__inner {
  position: relative;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 120px;
}
.hero__copy {
  max-width: 556px;
  margin: 0;
  text-align: left;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--neutral-0);
  margin: 0 0 24px;
}
.hero__title em { font-style: normal; color: var(--primary-pastel); }
.hero__sub {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: var(--neutral-0);
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__actions .btn { padding: 16px 24px; }

/* ============== Founder / About ============== */
.founder { padding: 120px 0; background: var(--neutral-0); }
.founder__grid {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 64px;
  align-items: center;
}
.founder__figure { text-align: center; }
.founder__number {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(260px, 46vw, 580px);
  line-height: 0.78;
  letter-spacing: -0.04em;
  background-color: var(--forest);
  background-image: url('assets/founder-15.jpg');
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.founder__caption {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: var(--neutral-9);
}
.founder__copy p {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.13;
  color: var(--neutral-9);
  margin: 0 0 24px;
}
.founder__copy .founder__accent { color: var(--neutral-6); }
.founder__copy .btn { margin-top: 8px; }

/* ============== Services ============== */
.services {
  padding: 120px 0;
  background: var(--off-white);
}
.services .section-head { max-width: 980px; margin-bottom: 64px; }
.services .section-head .h2 {
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.services .section-head p {
  font-size: 18px;
  line-height: 24px;
  color: var(--neutral-9);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--neutral-0);
  border-radius: 24px;
  padding: 24px;
  border: 0.5px solid var(--neutral-3);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.service-card__icon { margin-bottom: 0; }
.service-card__icon img {
  width: 96px;
  height: 96px;
  display: block;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: var(--neutral-8);
  font-weight: 500;
  margin: 0 0 12px;
}
.service-card p {
  font-size: 18px;
  line-height: 24px;
  color: var(--neutral-9);
  margin: 0;
}
.services__cta { text-align: center; margin-top: 48px; }

/* ============== Pricing ============== */
.pricing { padding: 120px 0; background: var(--neutral-0); }
.pricing .section-head { max-width: 980px; margin-bottom: 64px; }
.pricing .section-head .h2 {
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.pricing .section-head p {
  font-size: 18px;
  line-height: 24px;
  color: var(--neutral-9);
}
.pricing__table-wrap { overflow-x: auto; }
.pricing__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 22px;
  min-width: 720px;
}
.pricing__table thead th {
  text-align: left;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--neutral-9);
  padding: 20px 24px;
  border-bottom: 2px solid var(--neutral-7);
}
.pricing__table td {
  padding: 32px 24px;
  color: var(--neutral-9);
  border-bottom: 0.5px solid var(--neutral-3);
  vertical-align: top;
}
.pricing__table tbody tr:nth-child(even) { background: var(--neutral-1); }
.pricing__table td:first-child { font-weight: 600; color: var(--neutral-9); }
.pricing__rate { color: var(--primary-vibrant); font-weight: 600; }
.pricing__note {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--neutral-2);
  border-left: 4px solid var(--primary-dark);
  border-radius: var(--radius);
}
.pricing__note p { font-size: 14px; line-height: 20px; color: var(--neutral-9); margin: 0 0 8px; }
.pricing__note p:last-child { margin-bottom: 0; }
.pricing__note strong { color: var(--neutral-9); font-weight: 700; }
.pricing__note-fine { margin-top: 16px !important; color: var(--neutral-6) !important; }

/* ============== What we bring ============== */
.values {
  padding: 120px 0;
  background: var(--forest);
  color: var(--neutral-0);
}
.values__title {
  color: var(--neutral-0);
  text-align: center;
  margin-bottom: 64px;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.values__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.value {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.value__num {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--neutral-7);
  color: var(--neutral-0);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.02em;
}
.value h3 {
  color: var(--neutral-0);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.value p {
  color: var(--neutral-0);
  font-size: 18px;
  line-height: 24px;
  margin: 0;
}

/* ============== Image banner ============== */
.banner {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: stretch;
  background-color: var(--forest);
  background-image: linear-gradient(180deg, rgba(46, 8, 14, 0.05) 40%, rgba(46, 8, 14, 0.35)), url('assets/banner.jpg');
  background-size: cover;
  background-position: center;
}
.banner__inner {
  position: relative;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 80px;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.banner__logo {
  height: 120px;
  width: auto;
  display: block;
  align-self: flex-end;
}
.banner__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--neutral-0);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin: 0;
  max-width: 760px;
}

/* ============== Products ============== */
.products { padding: 120px 0; background: var(--neutral-0); }
.products__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}
.products__card {
  background: var(--off-white);
  border-radius: 24px;
  padding: 32px;
  border: 0.5px solid var(--neutral-3);
}
.products__card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: var(--neutral-8);
  margin: 0 0 12px;
}
.products__intro {
  font-size: 16px;
  line-height: 22px;
  color: var(--neutral-9);
  margin-bottom: 20px;
}
.products__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.products__list li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 22px;
  color: var(--neutral-9);
  min-height: 20px;
}
.products__list li::before {
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  content: '';
}
.products__list--good li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='10' fill='%231B6D34'/%3E%3Cpath d='M6 10.5L9 13.5L14.5 7.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.products__list--bad li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23B40926'/%3E%3Cpath d='M7 7L13 13M13 7L7 13' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.products__center { text-align: center; padding: 8px 12px 0; }
.products__center .h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.products__center > p {
  font-size: 18px;
  line-height: 24px;
  color: var(--neutral-9);
  margin-bottom: 24px;
}
.products__center .btn { margin-bottom: 28px; }
.products__ref {
  text-align: left;
  padding: 20px 24px;
  background: var(--neutral-2);
  border-left: 4px solid var(--primary-dark);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 20px;
  color: var(--neutral-9);
  margin: 0;
}
.products__ref strong { color: var(--neutral-9); font-weight: 700; }

/* ============== Testimonials ============== */
.testimonials { padding: 120px 0; background: var(--beige); } /* #F6EFE4 */
.testimonials__viewport { overflow: hidden; }
.testimonials__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial {
  flex: 0 0 100%;
  text-align: center;
  padding: 0 6%;
}
.testimonial__stars {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.testimonial__stars svg {
  width: 24px;
  height: 24px;
  display: block;
  color: var(--gold);
  fill: currentColor;
}
.testimonial blockquote {
  margin: 0 auto 28px;
  max-width: 860px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.9vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--neutral-9);
}
.testimonial__name {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: var(--neutral-9);
  margin: 0;
}
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.testimonials__dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.testimonials__dots button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--neutral-3);
  transform: translate(-50%, -50%);
  transition: background 0.2s ease;
}
.testimonials__dots button:hover::after { background: var(--neutral-5); }
.testimonials__dots button.is-active::after { background: var(--neutral-9); }

/* ============== FAQ ============== */
.faq { padding: 120px 0; background: var(--neutral-0); }
.faq__grid {
  display: grid;
  grid-template-columns: 368px 1fr;
  gap: 64px;
  align-items: start;
}
.faq__intro { position: sticky; top: 100px; }
.faq__intro .h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.faq__intro p {
  font-size: 18px;
  line-height: 24px;
  color: var(--neutral-9);
  margin-bottom: 28px;
}
.faq__list { list-style: none; padding: 0; margin: 0; }
.faq__item { border-bottom: 0.5px solid var(--neutral-5); }
.faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--neutral-9);
  padding: 24px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq__icon {
  position: relative;
  width: 24px; height: 24px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23220612'/%3E%3Cpath d='M12 7v10M7 12h10' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}
.faq__q[aria-expanded="true"] .faq__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23220612'/%3E%3Cpath d='M7 12h10' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__a p {
  padding: 0 4px 24px;
  font-size: 16px;
  line-height: 22px;
  margin: 0;
  color: var(--neutral-9);
}
.faq__item.is-open .faq__a { max-height: 420px; }

/* ============== Footer / Contact ============== */
.footer { background: var(--neutral-9); color: var(--neutral-0); }
.footer__grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 60px;
  padding: 120px 24px 64px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}
.footer__intro .h2 {
  color: var(--neutral-0);
  margin-bottom: 16px;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.footer__intro > p {
  color: var(--neutral-0);
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 32px;
}
.footer__contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.footer__contacts li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--neutral-0);
  align-items: start;
}
.footer__label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--neutral-5);
}
.footer__contacts a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--neutral-0);
}
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  transition: transform 0.15s ease;
}
.footer__socials a:hover { transform: translateY(-2px); }
.footer__socials img { width: 100%; height: 100%; display: block; }

.footer__form {
  background: var(--neutral-0);
  color: var(--neutral-9);
  padding: 40px;
  border-radius: 24px;
  border: 0.5px solid var(--neutral-3);
}
.footer__form h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: var(--neutral-8);
  margin: 0 0 24px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.footer__form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--neutral-9);
  margin-bottom: 16px;
}
.form__row label { margin-bottom: 0; }
.footer__form input,
.footer__form select,
.footer__form textarea {
  font: inherit;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--neutral-5);
  background: var(--neutral-0);
  color: var(--neutral-9);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  transition: border-color 0.2s ease;
}
.footer__form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23220612' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.footer__form input:focus,
.footer__form select:focus,
.footer__form textarea:focus {
  outline: none;
  border-color: var(--primary-medium);
}
.footer__form textarea { resize: vertical; min-height: 96px; }
.footer__form .btn { margin-top: 8px; }
.form__note { font-size: 14px; color: var(--primary-vibrant); margin: 12px 0 0; min-height: 20px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(176, 148, 159, 0.25);
  font-size: 14px;
  line-height: 20px;
  color: rgba(202, 178, 188, 0.7);
}
.footer__legal { display: flex; gap: 16px; align-items: center; color: rgba(255, 255, 255, 0.7); }
.footer__legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}
.footer__legal span[aria-hidden] {
  display: inline-block;
  width: 1px;
  height: 24px;
  background: var(--neutral-4);
}
.footer__copy {
  margin: 0;
  text-align: right;
  line-height: 20px;
  color: rgba(202, 178, 188, 0.7);
  font-size: 14px;
}
.footer__copy br + * { color: var(--primary-pastel); font-weight: 700; }
.footer__credit {
  background: #333333;
  text-align: center;
  padding: 12px 80px;
  font-family: 'Inter', var(--sans);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--neutral-0);
}
.footer__credit a {
  color: var(--neutral-0);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .founder__grid { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .products__grid { grid-template-columns: 1fr; gap: 22px; }
  .products__center { order: -1; }
  .faq__grid { grid-template-columns: 1fr; gap: 36px; }
  .faq__intro { position: static; }
  .footer__grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (min-width: 901px) {
  .mobile-menu, .nav__toggle { display: none !important; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn { padding: 8px 16px; font-size: 14px; line-height: 20px; }
  .btn__label--long { display: none; }
  .btn__label--short { display: inline; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .logo__img { height: 36px; }

  .topbar__inner { font-size: 12px; gap: 8px; padding: 10px 16px; }

  /* Mobile hero: full-bleed photo with bottom-up dark fade behind copy */
  .hero {
    min-height: 700px;
    max-height: 95vh;
    display: flex;
    align-items: flex-end;
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center top;
  }
  .hero__overlay {
    background:
      linear-gradient(0deg,
        rgba(34, 6, 18, 1) 0%,
        rgba(34, 6, 18, 0.92) 35%,
        rgba(34, 6, 18, 0.7) 50%,
        rgba(34, 6, 18, 0) 75%);
  }
  .hero__inner {
    padding-top: 0;
    padding-bottom: 48px;
  }
  .hero__copy {
    max-width: 100%;
    width: 100%;
  }
  .hero__title {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.018em;
    max-width: 280px;
    overflow-wrap: break-word;
  }
  .hero__sub {
    font-size: 16px;
    line-height: 22px;
    max-width: 320px;
    overflow-wrap: break-word;
  }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Section padding */
  .founder, .services, .pricing, .products, .faq { padding: 64px 0; }
  .values { padding: 64px 0; }
  .testimonials { padding: 64px 0; }

  /* Display 4 headings on mobile */
  .services .section-head .h2,
  .pricing .section-head .h2,
  .values__title {
    font-size: 32px;
    line-height: 36px;
    font-weight: 500;
    letter-spacing: -0.02em;
  }
  .products__center .h2,
  .testimonial blockquote,
  .faq__intro .h2,
  .footer__intro .h2,
  .banner__title {
    font-size: 32px;
    line-height: 36px;
    font-weight: 500;
    letter-spacing: -0.02em;
  }

  /* Founder mobile */
  .founder__copy p {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
  }
  .founder__copy .btn { width: 100%; justify-content: center; }
  .founder__number { font-size: clamp(280px, 78vw, 380px); }
  .founder__caption { font-size: 16px; line-height: 22px; }

  /* Services mobile */
  .services__grid { grid-template-columns: 1fr; }
  .service-card { gap: 24px; }

  /* Values mobile */
  .values__grid { grid-template-columns: 1fr; gap: 32px; }

  /* Banner mobile */
  .banner { min-height: 560px; }
  .banner__inner {
    padding-top: 40px;
    padding-bottom: 40px;
    min-height: 560px;
  }
  .banner__logo {
    height: 36px;
    align-self: flex-start;
  }

  /* Footer mobile */
  .footer__grid { padding: 64px 16px 48px; gap: 40px; }
  .footer__form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__contacts li { grid-template-columns: 120px 1fr; gap: 12px; font-size: 14px; line-height: 20px; }
  .footer__label { font-size: 14px; line-height: 20px; }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer__legal {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .footer__legal span[aria-hidden] { display: none; }
  .footer__copy { text-align: center; }
  .footer__credit { padding: 12px 16px; font-size: 13px; }

  /* Pricing table -> stacked cards */
  .pricing__table { min-width: 0; }
  .pricing__table thead { display: none; }
  .pricing__table, .pricing__table tbody, .pricing__table tr, .pricing__table td { display: block; width: 100%; }
  .pricing__table tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .pricing__table tbody tr:nth-child(even) { background: var(--sand); }
  .pricing__table td {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 0.5px solid var(--neutral-3);
    text-align: right;
  }
  .pricing__table td:last-child { border-bottom: 0; }
  .pricing__table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--neutral-9);
    text-align: left;
  }
}

/* ============== Reduced motion ============== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
