:root {
  --orange: #f7941f;
  --orange-dark: #d97a0a;
  --orange-soft: #fff3e3;
  --ink: #111318;
  --ink-2: #1b1e25;
  --ink-3: #262a33;
  --gray-900: #1f2329;
  --gray-700: #434a55;
  --gray-600: #5b6470;
  --gray-400: #9aa3ae;
  --gray-300: #d9dde3;
  --gray-200: #e9ecf0;
  --gray-100: #f4f5f7;
  --white: #ffffff;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Montserrat", var(--font-body);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(17, 19, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 19, 24, 0.16);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  flex: none;
}

.icon--flip {
  transform: scaleX(-1);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--orange);
  color: var(--ink);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--orange);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--orange-dark);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--ink-3);
}

.btn--ghost {
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 2px var(--white);
}

.btn--outline {
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--gray-300);
}

.btn--outline:hover {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: inherit;
  transition: background-color 0.15s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.icon-btn .icon {
  width: 22px;
  height: 22px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
}

.link .icon {
  transition: transform 0.15s ease;
}

.link:hover .icon {
  transform: translateX(3px);
}

.link--orange {
  color: var(--orange-dark);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.site-header__brand img {
  width: 190px;
  height: auto;
}

.site-nav {
  display: none;
  margin-left: 8px;
}

.site-nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
}

.site-nav__link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.site-header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--orange);
}

.site-header__phone:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-header__cta {
  display: none;
}

.site-header__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.82);
}

.site-header__lang:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .site-nav,
  .site-header__phone,
  .site-header__cta {
    display: inline-flex;
  }

  .site-header__menu {
    display: none;
  }
}

/* Mobile nav */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--white);
  overflow-y: auto;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.mobile-nav__list {
  list-style: none;
  padding-top: 12px;
}

.mobile-nav__link {
  display: block;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__link[aria-current="page"] {
  color: var(--orange);
}

.mobile-nav__actions {
  display: grid;
  gap: 12px;
  padding-block: 28px 40px;
  margin-top: auto;
}

/* Search */

.search {
  position: relative;
}

.search__field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.search__icon {
  width: 22px;
  height: 22px;
  color: var(--gray-600);
}

.search__input {
  flex: 1;
  min-width: 0;
  padding: 10px 4px;
  border: 0;
  background: none;
  font-size: 1rem;
  outline: none;
}

.search__input::-webkit-search-cancel-button {
  appearance: none;
}

.search--inline .search__field {
  box-shadow: inset 0 0 0 2px var(--gray-300);
}

.search--inline .search__field:focus-within {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.search__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: min(70vh, 540px);
  overflow-y: auto;
  padding: 8px;
  background: var(--white);
  color: var(--gray-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.search__results[hidden] {
  display: none;
}

.search__group {
  padding: 10px 12px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.search__item:hover,
.search__item.is-active {
  background: var(--gray-100);
}

.search__item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--gray-100);
  flex: none;
}

.search__item small {
  color: var(--gray-600);
}

.search__item strong {
  color: var(--orange-dark);
}

.search__more {
  justify-content: center;
  margin-top: 4px;
  font-weight: 600;
  color: var(--orange-dark);
}

.search__empty {
  padding: 14px 12px;
  color: var(--gray-600);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding-top: 12px;
  background: rgba(17, 19, 24, 0.96);
  color: var(--white);
}

.search-overlay[hidden] {
  display: none;
}

.search-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  margin-bottom: 12px;
}

.search-overlay__hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.search--overlay .search__results {
  position: static;
  margin-top: 12px;
  max-height: calc(100vh - 200px);
}

/* Sections */

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 64px);
}

.section--muted {
  background: var(--gray-100);
}

.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.section--dark .eyebrow {
  color: var(--orange);
}

.section__title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
}

.section__lead {
  margin-top: 14px;
  font-size: 1.1rem;
  color: var(--gray-600);
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 260px)), 1fr));
}

.grid--2 {
  --min: 340px;
}

.grid--3 {
  --min: 300px;
}

.grid--4 {
  --min: 220px;
}

.grid--6 {
  --min: 160px;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(17, 19, 24, 0.96) 0%,
    rgba(17, 19, 24, 0.85) 45%,
    rgba(17, 19, 24, 0.5) 100%
  );
}

.hero__inner {
  position: relative;
  padding-block: clamp(64px, 10vw, 128px) clamp(48px, 7vw, 88px);
  max-width: 760px;
}

.hero--page .hero__inner {
  padding-block: clamp(56px, 8vw, 96px);
}

.hero__title {
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  color: var(--white);
}

.hero__title em {
  font-style: normal;
  color: var(--orange);
}

.hero__lead {
  margin-top: 20px;
  max-width: 600px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__search {
  margin-top: 36px;
  max-width: 640px;
}

.hero__search .search__field {
  padding: 8px 8px 8px 18px;
}

.hero__note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__kicker .icon {
  color: var(--orange);
}

.trust {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink-2);
  color: var(--white);
}

.trust__list {
  display: grid;
  gap: 16px 28px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-block: 20px;
  list-style: none;
}

.trust__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.trust__list .icon {
  width: 26px;
  height: 26px;
  color: var(--orange);
}

/* Stats */

.stats {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat {
  padding: 26px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.stat__value span {
  color: var(--orange);
}

.stat__label {
  margin: 10px 0 0;
  font-weight: 500;
  color: var(--gray-600);
}

/* Steps */

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 28px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.step__title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step p {
  margin: 0;
  color: var(--gray-600);
}

/* Pillars */

.pillar {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.pillar__icon .icon {
  width: 26px;
  height: 26px;
}

.pillar__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pillar p {
  margin: 0;
  color: var(--gray-600);
}

.section--dark .pillar {
  background: var(--ink-2);
  border-color: rgba(255, 255, 255, 0.08);
}

.section--dark .pillar p {
  color: rgba(255, 255, 255, 0.7);
}

.section--dark .pillar__icon {
  background: rgba(247, 148, 31, 0.15);
  color: var(--orange);
}

/* Split */

.split {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

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

  .split--reverse > :first-child {
    order: 2;
  }
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.split__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.split p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
  color: var(--gray-900);
}

.checklist .icon {
  margin-top: 2px;
  width: 22px;
  height: 22px;
  color: var(--orange-dark);
}

/* Category cards */

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cat-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 18px;
  background: var(--gray-100);
}

.cat-card__media img {
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cat-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.cat-card__title {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.cat-card__count {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--gray-600);
}

.cat-card__body .icon {
  color: var(--orange-dark);
}

/* Product cards */

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 16px;
  background: var(--gray-100);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 16px 18px 18px;
}

.product-card__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange-dark);
}

/* Chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.chip:hover {
  border-color: var(--ink);
}

.chip small {
  color: var(--gray-600);
}

/* Breadcrumb */

.breadcrumb {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

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

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb .icon {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.hero .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.hero .breadcrumb a:hover {
  color: var(--white);
}

/* Catalog pages */

.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.catalog-count {
  margin: 0;
  color: var(--gray-600);
}

.pagination {
  margin-top: 36px;
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.pagination a:hover {
  background: var(--gray-200);
}

.pagination [aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}

.pagination .dots {
  color: var(--gray-400);
}

.product {
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

@media (min-width: 900px) {
  .product {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}

.product__media {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 48px);
  background: var(--gray-100);
  border-radius: var(--radius);
}

.product__media img {
  max-height: 480px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product__title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 10px 0 16px;
}

.product__desc {
  font-size: 1.08rem;
  color: var(--gray-600);
}

.product__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.product__actions p {
  margin: 0;
  color: var(--gray-600);
}

.product__actions p a {
  font-weight: 700;
  color: var(--ink);
}

/* Posts */

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.post-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 20px 22px 22px;
}

.post-card__meta {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
}

.post-card__title {
  font-size: 1.2rem;
}

.post-card p {
  margin: 0;
  color: var(--gray-600);
}

.post-card .link {
  margin-top: auto;
  padding-top: 6px;
  color: var(--orange-dark);
}

.post-card--feature {
  display: grid;
}

@media (min-width: 900px) {
  .post-card--feature {
    grid-template-columns: 1.3fr 1fr;
  }

  .post-card--feature .post-card__media img {
    height: 100%;
    aspect-ratio: auto;
  }

  .post-card--feature .post-card__body {
    justify-content: center;
    padding: 36px;
  }

  .post-card--feature .post-card__title {
    font-size: 1.8rem;
  }
}

.post-hero {
  padding-block: clamp(40px, 6vw, 72px) 0;
}

.post-hero__title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: 12px 0 16px;
}

.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.post-hero__media {
  margin-top: 32px;
}

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

/* Prose */

.prose {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--gray-700);
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  font-size: 1.6rem;
  margin: 2em 0 0.6em;
}

.prose h3 {
  font-size: 1.25rem;
  margin: 1.6em 0 0.5em;
}

.prose h4 {
  font-size: 1.05rem;
  margin: 1.4em 0 0.4em;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.2em;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose img {
  border-radius: var(--radius);
  margin-block: 1.5em;
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--orange);
  font-style: italic;
}

.prose strong {
  color: var(--ink);
}

.prose--lead > p:first-of-type {
  font-size: 1.25rem;
  color: var(--ink);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5em;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

/* Testimonials */

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 32px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial__quote {
  width: 34px;
  height: 34px;
  color: var(--orange);
}

.testimonial blockquote {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink);
}

.testimonial figcaption {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.testimonial figcaption strong {
  display: block;
  color: var(--ink);
}

.section--dark .testimonial {
  background: var(--ink-2);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section--dark .testimonial blockquote {
  color: var(--white);
}

.section--dark .testimonial figcaption {
  color: rgba(255, 255, 255, 0.65);
}

.section--dark .testimonial figcaption strong {
  color: var(--white);
}

/* CTA band */

.cta-band {
  position: relative;
  padding-block: clamp(56px, 8vw, 88px);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 148, 31, 0.35), transparent 65%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: 1.4fr 1fr;
  }

  .cta-band__actions {
    justify-content: flex-end;
  }
}

.cta-band__title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  color: var(--white);
}

.cta-band__body {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.75);
}

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

/* Contact */

.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.contact-card__icon .icon {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.contact-card a,
.contact-card strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.contact-card p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Forms */

.form-panel {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form-panel__title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.form-panel > p {
  color: var(--gray-600);
}

.form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.form__grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field {
  display: block;
}

.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.field__label abbr {
  color: var(--orange-dark);
  text-decoration: none;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.15s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #d92d20;
}

.field__error {
  display: none;
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: #d92d20;
}

.field.is-invalid .field__error {
  display: block;
}

.field--check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.field--check input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--orange-dark);
  flex: none;
}

.field--check a {
  text-decoration: underline;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form__status {
  margin: 0;
  font-size: 0.95rem;
  color: #d92d20;
}

.form__status:empty {
  display: none;
}

.form__success {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  margin-top: 20px;
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
  color: var(--ink);
  font-weight: 500;
}

.form__success .icon {
  width: 26px;
  height: 26px;
  color: var(--orange-dark);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__fine {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* Founders */

.founder {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

@media (min-width: 640px) {
  .founder {
    grid-template-columns: 160px 1fr;
  }
}

.founder img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.founder h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.founder__role {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 10px;
}

.founder p:last-child {
  margin: 0;
  color: var(--gray-600);
}

/* Search page */

.search-page__summary {
  color: var(--gray-600);
}

/* 404 */

.error-page {
  text-align: center;
  padding-block: clamp(64px, 12vw, 140px);
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
}

/* Consent */

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 720px;
  margin-inline: auto;
  padding: 16px 20px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
}

.consent[hidden] {
  display: none;
}

.consent p {
  margin: 0;
}

.consent a {
  text-decoration: underline;
}

.consent__actions {
  display: flex;
  gap: 8px;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding-block: clamp(48px, 7vw, 72px) 28px;
}

.site-footer__grid {
  display: grid;
  gap: 36px 28px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer__brand {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }
}

.site-footer__brand img {
  width: 190px;
  margin-bottom: 18px;
}

.site-footer__brand p {
  max-width: 360px;
}

.site-footer__social {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.site-footer__links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer__links a:hover {
  color: var(--white);
}

.site-footer__contact a,
.site-footer__contact span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-footer__contact .icon {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.site-footer__legal p {
  margin: 0;
}

.site-footer__legal ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

/* Reveal */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
