:root {
  --om-ink: #0b0f1c;
  --om-navy: #101832;
  --om-navy-soft: #1a2444;
  --om-accent: #f4a63a;
  --om-accent-dark: #c7761a;
  --om-accent-light: #ffd28a;
  --om-cream: #fbf7f0;
  --om-paper: #ffffff;
  --om-text: #141a2b;
  --om-text-soft: #3a4258;
  --om-line: rgba(20, 26, 43, 0.12);
  --om-line-dark: rgba(255, 255, 255, 0.14);
  --om-shadow-sm: 0 6px 20px rgba(11, 15, 28, 0.08);
  --om-shadow-md: 0 18px 42px rgba(11, 15, 28, 0.14);
  --om-shadow-lg: 0 32px 70px rgba(11, 15, 28, 0.22);
  --om-radius-sm: 10px;
  --om-radius-md: 18px;
  --om-radius-lg: 28px;
  --om-radius-pill: 999px;
  --om-container: 1180px;
  --om-font-display: "Poppins", "Segoe UI", Arial, sans-serif;
  --om-font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --om-transition: 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--om-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--om-text);
  background-color: var(--om-paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--om-font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--om-ink);
  margin-top: 0;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--om-text-soft);
}

a {
  color: var(--om-accent-dark);
  text-decoration: none;
  transition: color var(--om-transition), opacity var(--om-transition);
}

a:hover,
a:focus {
  color: var(--om-ink);
}

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

ul {
  padding-left: 1.1rem;
}

::selection {
  background: var(--om-accent);
  color: var(--om-ink);
}

:focus-visible {
  outline: 3px solid var(--om-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.om-container--wide {
  max-width: 1340px;
}

.om-section {
  padding-block: clamp(64px, 8vw, 118px);
  position: relative;
}

.om-section--tight {
  padding-block: clamp(46px, 5vw, 74px);
}

.om-section--dark {
  background-color: var(--om-navy);
  color: var(--om-cream);
}

.om-section--dark h1,
.om-section--dark h2,
.om-section--dark h3,
.om-section--dark h4 {
  color: #ffffff;
}

.om-section--dark p,
.om-section--dark li {
  color: rgba(255, 255, 255, 0.82);
}

.om-section--cream {
  background-color: var(--om-cream);
}

.om-section--photo {
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
}

.om-section--photo h1,
.om-section--photo h2,
.om-section--photo h3 {
  color: #ffffff;
}

.om-section--photo p,
.om-section--photo li {
  color: rgba(255, 255, 255, 0.88);
}

.om-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--om-accent-dark);
  margin-bottom: 18px;
}

.om-section--dark .om-eyebrow,
.om-section--photo .om-eyebrow {
  color: var(--om-accent-light);
}

.om-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.om-lead {
  font-size: 1.13rem;
  max-width: 62ch;
}

.om-section-head {
  max-width: 780px;
  margin-bottom: clamp(34px, 4vw, 56px);
}

.om-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.om-text-accent {
  color: var(--om-accent-dark);
}

.om-section--dark .om-text-accent,
.om-section--photo .om-text-accent {
  color: var(--om-accent-light);
}

.om-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--om-font-display);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--om-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--om-transition), background-color var(--om-transition),
    color var(--om-transition), box-shadow var(--om-transition), border-color var(--om-transition);
}

.om-btn:hover {
  transform: translateY(-3px);
}

.om-btn--primary {
  background-color: var(--om-accent);
  color: var(--om-ink);
  box-shadow: 0 14px 32px rgba(244, 166, 58, 0.36);
}

.om-btn--primary:hover,
.om-btn--primary:focus {
  background-color: var(--om-accent-light);
  color: var(--om-ink);
}

.om-btn--dark {
  background-color: var(--om-ink);
  color: #ffffff;
}

.om-btn--dark:hover,
.om-btn--dark:focus {
  background-color: var(--om-navy-soft);
  color: #ffffff;
}

.om-btn--ghost {
  background-color: transparent;
  border-color: currentColor;
  color: #ffffff;
}

.om-btn--ghost:hover,
.om-btn--ghost:focus {
  background-color: #ffffff;
  color: var(--om-ink);
  border-color: #ffffff;
}

.om-btn--outline {
  background-color: transparent;
  border-color: var(--om-ink);
  color: var(--om-ink);
}

.om-btn--outline:hover,
.om-btn--outline:focus {
  background-color: var(--om-ink);
  color: #ffffff;
}

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

.om-card {
  background: var(--om-paper);
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius-md);
  padding: 34px 30px;
  height: 100%;
  transition: transform var(--om-transition), box-shadow var(--om-transition), border-color var(--om-transition);
}

.om-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--om-shadow-md);
  border-color: rgba(244, 166, 58, 0.55);
}

.om-card__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--om-accent), var(--om-accent-dark));
  color: var(--om-ink);
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.om-card__title {
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.om-card--dark {
  background: var(--om-navy-soft);
  border-color: var(--om-line-dark);
  color: var(--om-cream);
}

.om-card--dark h3 {
  color: #ffffff;
}

.om-card--dark p {
  color: rgba(255, 255, 255, 0.8);
}

.om-card--accent {
  background: linear-gradient(160deg, var(--om-accent), var(--om-accent-dark));
  border-color: transparent;
  color: var(--om-ink);
}

.om-card--accent h3,
.om-card--accent p,
.om-card--accent .om-card__title {
  color: var(--om-ink);
}

.om-grid {
  display: grid;
  gap: 26px;
}

.om-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.om-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.om-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.om-stat {
  text-align: center;
  padding: 26px 18px;
  border-radius: var(--om-radius-md);
  border: 1px solid var(--om-line);
  background: var(--om-paper);
}

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

.om-stat__label {
  margin-top: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--om-text-soft);
}

.om-section--dark .om-stat {
  background: var(--om-navy-soft);
  border-color: var(--om-line-dark);
}

.om-section--dark .om-stat__value {
  color: #ffffff;
}

.om-section--dark .om-stat__label {
  color: rgba(255, 255, 255, 0.78);
}

.om-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background-color: rgba(11, 15, 28, 0.96);
  border-bottom: 1px solid var(--om-line-dark);
  padding-block: 14px;
  transition: padding var(--om-transition), background-color var(--om-transition), box-shadow var(--om-transition);
}

.om-header.is-scrolled {
  padding-block: 8px;
  box-shadow: var(--om-shadow-md);
}

.om-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.om-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: var(--om-font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.om-brand:hover,
.om-brand:focus {
  color: var(--om-accent-light);
}

.om-brand__name span {
  color: var(--om-accent);
}

.om-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.om-nav__link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.97rem;
  position: relative;
}

.om-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--om-accent);
  transition: width var(--om-transition);
}

.om-nav__link:hover,
.om-nav__link:focus,
.om-nav__link.is-active {
  color: #ffffff;
}

.om-nav__link:hover::after,
.om-nav__link.is-active::after {
  width: 100%;
}

.om-header__meta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.om-header__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.om-header__meta-item i {
  color: var(--om-accent);
}

.om-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--om-line-dark);
  color: #ffffff;
  border-radius: 12px;
  width: 46px;
  height: 44px;
  font-size: 1.15rem;
  cursor: pointer;
}

.om-mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 88vw);
  background-color: var(--om-navy);
  padding: 88px 28px 40px;
  transform: translateX(105%);
  transition: transform var(--om-transition);
  z-index: 1055;
  overflow-y: auto;
  border-left: 1px solid var(--om-line-dark);
}

.om-mobile-nav.is-open {
  transform: translateX(0);
}

.om-mobile-nav__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 6px;
}

.om-mobile-nav__link {
  display: block;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--om-font-display);
  font-weight: 600;
  font-size: 1.06rem;
  border-bottom: 1px solid var(--om-line-dark);
}

.om-mobile-nav__link:hover,
.om-mobile-nav__link:focus {
  color: var(--om-accent-light);
}

.om-mobile-nav__contacts {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  gap: 10px;
}

.om-mobile-nav__contacts i {
  color: var(--om-accent);
  margin-right: 8px;
}

.om-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--om-transition), visibility var(--om-transition);
  z-index: 1050;
}

.om-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.om-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  padding-block: clamp(90px, 12vw, 150px);
}

.om-hero h1,
.om-hero h2 {
  color: #ffffff;
}

.om-hero p {
  color: rgba(255, 255, 255, 0.88);
}

.om-hero__inner {
  max-width: 720px;
}

.om-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.om-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--om-line-dark);
}

.om-hero__badge {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
}

.om-hero__badge strong {
  display: block;
  font-family: var(--om-font-display);
  font-size: 1.5rem;
  color: var(--om-accent-light);
}

.om-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--om-radius-lg);
  box-shadow: var(--om-shadow-lg);
}

.om-slider__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.om-slider__slide {
  min-width: 100%;
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: clamp(30px, 5vw, 62px);
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.om-slider__caption {
  max-width: 560px;
}

.om-slider__caption h2,
.om-slider__caption h3 {
  color: #ffffff;
}

.om-slider__caption p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.om-slider__controls {
  position: absolute;
  bottom: 26px;
  right: 26px;
  display: flex;
  gap: 12px;
  z-index: 5;
}

.om-slider__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(11, 15, 28, 0.42);
  color: #ffffff;
  cursor: pointer;
  transition: background-color var(--om-transition), transform var(--om-transition);
}

.om-slider__btn:hover {
  background: var(--om-accent);
  color: var(--om-ink);
  transform: scale(1.06);
}

.om-slider__dots {
  position: absolute;
  bottom: 40px;
  left: clamp(30px, 5vw, 62px);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.om-slider__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background-color var(--om-transition), width var(--om-transition);
}

.om-slider__dot.is-active {
  background: var(--om-accent);
  width: 32px;
  border-radius: 999px;
}

.om-steps {
  counter-reset: om-step;
  display: grid;
  gap: 22px;
}

.om-step {
  position: relative;
  padding: 26px 26px 26px 84px;
  background: var(--om-paper);
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius-md);
  counter-increment: om-step;
}

.om-step::before {
  content: counter(om-step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: var(--om-font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--om-accent-dark);
}

.om-step__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.om-gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.om-gallery__item {
  position: relative;
  border-radius: var(--om-radius-md);
  overflow: hidden;
  background: var(--om-navy-soft);
  box-shadow: var(--om-shadow-sm);
}

.om-gallery__item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.om-gallery__item:hover img {
  transform: scale(1.05);
}

.om-gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(rgba(11, 15, 28, 0), rgba(11, 15, 28, 0.88));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.om-testimonial {
  background: var(--om-paper);
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius-md);
  padding: 32px 30px;
  height: 100%;
}

.om-testimonial__quote {
  font-size: 1.04rem;
  color: var(--om-text);
  font-style: italic;
}

.om-testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--om-line);
}

.om-testimonial__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--om-accent-light);
}

.om-testimonial__name {
  font-family: var(--om-font-display);
  font-weight: 700;
  color: var(--om-ink);
  display: block;
  line-height: 1.3;
}

.om-testimonial__role {
  font-size: 0.88rem;
  color: var(--om-text-soft);
}

.om-stars {
  color: var(--om-accent-dark);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.om-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.om-logos__item {
  font-family: var(--om-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--om-text-soft);
  opacity: 0.72;
  transition: opacity var(--om-transition), color var(--om-transition);
}

.om-logos__item:hover {
  opacity: 1;
  color: var(--om-accent-dark);
}

.om-section--dark .om-logos__item {
  color: rgba(255, 255, 255, 0.8);
}

.om-pricing {
  background: var(--om-paper);
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius-md);
  padding: 36px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.om-pricing--featured {
  border-color: var(--om-accent);
  box-shadow: var(--om-shadow-md);
  transform: translateY(-8px);
}

.om-pricing__tag {
  align-self: flex-start;
  background: var(--om-accent);
  color: var(--om-ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--om-radius-pill);
  margin-bottom: 16px;
}

.om-pricing__price {
  font-family: var(--om-font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--om-ink);
  line-height: 1;
}

.om-pricing__period {
  font-size: 0.92rem;
  color: var(--om-text-soft);
}

.om-pricing__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  display: grid;
  gap: 12px;
}

.om-pricing__list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--om-text-soft);
}

.om-pricing__list i {
  color: var(--om-accent-dark);
  margin-top: 5px;
}

.om-accordion {
  display: grid;
  gap: 14px;
}

.om-accordion__item {
  background: var(--om-paper);
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius-sm);
  overflow: hidden;
}

.om-accordion__trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 22px 26px;
  font-family: var(--om-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--om-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.om-accordion__trigger i {
  color: var(--om-accent-dark);
  transition: transform var(--om-transition);
}

.om-accordion__item.is-open .om-accordion__trigger i {
  transform: rotate(45deg);
}

.om-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s ease;
}

.om-accordion__panel-inner {
  padding: 0 26px 24px;
  color: var(--om-text-soft);
}

.om-media {
  border-radius: var(--om-radius-lg);
  overflow: hidden;
  box-shadow: var(--om-shadow-md);
}

.om-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.om-cta {
  background: linear-gradient(140deg, var(--om-navy) 0%, var(--om-navy-soft) 100%);
  color: #ffffff;
  border-radius: var(--om-radius-lg);
  padding: clamp(38px, 5vw, 66px);
  display: grid;
  gap: 26px;
  align-items: center;
  grid-template-columns: 1.4fr 1fr;
}

.om-cta h2 {
  color: #ffffff;
  margin-bottom: 12px;
}

.om-cta p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
}

.om-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.om-form {
  display: grid;
  gap: 20px;
}

.om-form__row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.om-field {
  display: grid;
  gap: 8px;
}

.om-field__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--om-text-soft);
}

.om-section--dark .om-field__label {
  color: rgba(255, 255, 255, 0.82);
}

.om-field__input,
.om-field__select,
.om-field__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius-sm);
  background: var(--om-paper);
  font-family: var(--om-font-body);
  font-size: 1rem;
  color: var(--om-text);
  transition: border-color var(--om-transition), box-shadow var(--om-transition);
}

.om-field__textarea {
  min-height: 148px;
  resize: vertical;
}

.om-field__input:focus,
.om-field__select:focus,
.om-field__textarea:focus {
  border-color: var(--om-accent);
  box-shadow: 0 0 0 4px rgba(244, 166, 58, 0.22);
  outline: none;
}

.om-field__error {
  font-size: 0.84rem;
  color: #b4231f;
  min-height: 1.1em;
}

.om-section--dark .om-field__error {
  color: #ffb3ae;
}

.om-field.is-invalid .om-field__input,
.om-field.is-invalid .om-field__select,
.om-field.is-invalid .om-field__textarea {
  border-color: #c0272d;
}

.om-field--check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.om-field--check input {
  margin-top: 6px;
  width: 18px;
  height: 18px;
  accent-color: var(--om-accent-dark);
}

.om-field--check label {
  font-size: 0.94rem;
  color: var(--om-text-soft);
}

.om-section--dark .om-field--check label {
  color: rgba(255, 255, 255, 0.84);
}

.om-newsletter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.om-newsletter .om-field {
  flex: 1 1 260px;
}

.om-map {
  border-radius: var(--om-radius-lg);
  overflow: hidden;
  box-shadow: var(--om-shadow-md);
  line-height: 0;
}

.om-map iframe {
  width: 100%;
  height: 460px;
  border: 0;
}

.om-article {
  display: grid;
  gap: 28px;
}

.om-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--om-text-soft);
}

.om-article__meta i {
  color: var(--om-accent-dark);
  margin-right: 6px;
}

.om-article__body h2 {
  margin-top: 34px;
}

.om-article__body h3 {
  margin-top: 26px;
}

.om-article__body blockquote {
  border-left: 4px solid var(--om-accent);
  padding: 6px 0 6px 22px;
  margin: 26px 0;
  font-style: italic;
  color: var(--om-text);
}

.om-author {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius-md);
  padding: 22px 24px;
  background: var(--om-cream);
}

.om-author img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.om-post-card {
  background: var(--om-paper);
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--om-transition), box-shadow var(--om-transition);
}

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

.om-post-card__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.om-post-card__body {
  padding: 26px 26px 30px;
  display: grid;
  gap: 12px;
}

.om-post-card__tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--om-accent-dark);
}

.om-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.88rem;
}

.om-breadcrumbs li::after {
  content: "/";
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.om-breadcrumbs li:last-child::after {
  content: "";
  margin: 0;
}

.om-breadcrumbs a {
  color: rgba(255, 255, 255, 0.86);
}

.om-breadcrumbs a:hover {
  color: var(--om-accent-light);
}

.om-breadcrumbs span {
  color: rgba(255, 255, 255, 0.62);
}

.om-timeline {
  position: relative;
  padding-left: 34px;
  display: grid;
  gap: 30px;
}

.om-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--om-line);
}

.om-timeline__item {
  position: relative;
}

.om-timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--om-accent);
  border: 3px solid var(--om-paper);
  box-shadow: 0 0 0 2px var(--om-accent);
}

.om-timeline__year {
  font-family: var(--om-font-display);
  font-weight: 700;
  color: var(--om-accent-dark);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.om-team-card {
  text-align: center;
  background: var(--om-paper);
  border: 1px solid var(--om-line);
  border-radius: var(--om-radius-md);
  padding: 30px 24px;
  height: 100%;
}

.om-team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
}

.om-team-card__role {
  font-size: 0.88rem;
  color: var(--om-accent-dark);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.om-team-card__socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.om-team-card__socials a {
  color: var(--om-text-soft);
  font-size: 1rem;
}

.om-team-card__socials a:hover {
  color: var(--om-accent-dark);
}

.om-legal {
  max-width: 860px;
}

.om-legal h2 {
  margin-top: 40px;
  font-size: 1.5rem;
}

.om-legal ul {
  color: var(--om-text-soft);
}

.om-list-check {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.om-list-check li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--om-text-soft);
}

.om-list-check i {
  color: var(--om-accent-dark);
  margin-top: 5px;
}

.om-section--dark .om-list-check li {
  color: rgba(255, 255, 255, 0.84);
}

.om-section--dark .om-list-check i {
  color: var(--om-accent-light);
}

.om-split {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.om-split--media-right .om-split__media {
  order: 2;
}

.om-footer {
  background-color: var(--om-ink);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(56px, 6vw, 84px) 0;
  border-top: 1px solid var(--om-line-dark);
}

.om-footer h3,
.om-footer h4 {
  color: #ffffff;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.om-footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
}

.om-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.om-footer__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.om-footer__links a:hover,
.om-footer__links a:focus {
  color: var(--om-accent-light);
}

.om-footer__contact {
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
}

.om-footer__contact i {
  color: var(--om-accent);
  margin-right: 9px;
}

.om-footer__bottom {
  margin-top: 52px;
  padding-block: 24px;
  border-top: 1px solid var(--om-line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.88rem;
}

.om-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.om-footer__legal a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.om-footer__legal a:hover {
  color: var(--om-accent-light);
}

.om-newsletter-block {
  background: var(--om-navy-soft);
  border: 1px solid var(--om-line-dark);
  border-radius: var(--om-radius-md);
  padding: 26px;
  margin-top: 8px;
}

.om-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--om-accent);
  color: var(--om-ink);
  font-size: 1.05rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--om-transition), visibility var(--om-transition), transform var(--om-transition), background-color var(--om-transition);
  z-index: 1040;
  box-shadow: var(--om-shadow-md);
}

.om-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.om-to-top:hover {
  background: var(--om-accent-light);
}

.om-cookie {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1080;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.om-cookie__panel {
  pointer-events: auto;
  width: 100%;
  max-width: 1080px;
  background: rgba(11, 15, 28, 0.97);
  border: 1px solid var(--om-line-dark);
  border-left: 5px solid var(--om-accent);
  border-radius: var(--om-radius-md);
  padding: 24px 28px;
  color: rgba(255, 255, 255, 0.86);
  box-shadow: var(--om-shadow-lg);
  display: grid;
  gap: 22px;
  grid-template-columns: 1.7fr 1fr;
  align-items: center;
  backdrop-filter: blur(6px);
}

.om-cookie__title {
  color: #ffffff;
  font-family: var(--om-font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.om-cookie__title i {
  color: var(--om-accent);
}

.om-cookie__text {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.82);
}

.om-cookie__link {
  color: var(--om-accent-light);
  text-decoration: underline;
}

.om-cookie__link:hover,
.om-cookie__link:focus {
  color: #ffffff;
}

.om-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.om-cookie__btn {
  border-radius: var(--om-radius-pill);
  padding: 12px 24px;
  font-family: var(--om-font-display);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--om-transition), color var(--om-transition), border-color var(--om-transition), transform var(--om-transition);
}

.om-cookie__btn:hover {
  transform: translateY(-2px);
}

.om-cookie__btn--decline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.om-cookie__btn--decline:hover,
.om-cookie__btn--decline:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.om-cookie__btn--accept {
  background: var(--om-accent);
  color: var(--om-ink);
  border-color: var(--om-accent);
}

.om-cookie__btn--accept:hover,
.om-cookie__btn--accept:focus {
  background: var(--om-accent-light);
  border-color: var(--om-accent-light);
  color: var(--om-ink);
}

.om-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.om-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .om-nav,
  .om-header__meta {
    display: none;
  }

  .om-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .om-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .om-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .om-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .om-cta {
    grid-template-columns: 1fr;
  }

  .om-cta__actions {
    justify-content: flex-start;
  }

  .om-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .om-split {
    grid-template-columns: 1fr;
  }

  .om-split--media-right .om-split__media {
    order: 0;
  }

  .om-cookie__panel {
    grid-template-columns: 1fr;
  }

  .om-cookie__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .om-grid--2,
  .om-grid--3,
  .om-grid--4 {
    grid-template-columns: 1fr;
  }

  .om-gallery {
    grid-template-columns: 1fr;
  }

  .om-form__row {
    grid-template-columns: 1fr;
  }

  .om-footer__grid {
    grid-template-columns: 1fr;
  }

  .om-slider__slide {
    min-height: 440px;
  }

  .om-cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .om-cookie__panel {
    padding: 20px;
  }

  .om-cookie__actions {
    flex-direction: column;
  }

  .om-cookie__btn {
    width: 100%;
  }

  .om-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
/* ===== Contrast fixes (opaque backgrounds so text/background pairs are readable) ===== */

/* Header: use fully opaque navy so white nav links have strong contrast */
.om-header {
  background-color: #0b0f1c;
}

/* Hero (article): give the image hero an opaque dark base color */
.om-hero {
  background-color: #0b0f1c;
}

/* Hero eyebrow: use the light accent on the dark hero for AA contrast */
.om-hero .om-eyebrow {
  color: var(--om-accent-light);
}

/* CTA block: opaque navy base behind the gradient */
.om-cta {
  background-color: #101832;
}

/* Footer / newsletter labels: light text on the dark newsletter panel */
.om-footer .om-field__label,
.om-newsletter-block .om-field__label {
  color: rgba(255, 255, 255, 0.88);
}

/* --- Contrast fixes (append overrides) --- */

/* Darken the accent used for text on light backgrounds so it meets WCAG AA (>=4.5:1) */
:root {
  --om-accent-dark: #9c560f;
}

/* Give the hero an explicit dark background-color so text contrast is measurable
   (the dark gradient/image sits on top of this colour, so appearance is unchanged). */
.om-hero {
  background-color: #0b0f1c;
}

/* Eyebrows sitting on the dark hero should use the light accent (not the dark one) */
.om-hero .om-eyebrow {
  color: var(--om-accent-light);
}

/* Give the CTA band an explicit dark background-color behind its gradient */
.om-cta {
  background-color: #101832;
}

/* ===== Contrast fixes (appended overrides) ===== */
/* Darken the accent used for links, eyebrows, tags and stars so they meet 4.5:1 on light and cream backgrounds */
:root {
  --om-accent-dark: #a05310;
}

/* The hero uses a background image with no solid colour fallback; add one so white text sits on a dark surface */
.om-hero {
  background-color: #101832;
}

/* Hero is not .om-section--photo, so its eyebrow kept the dark accent colour - force the light accent */
.om-hero .om-eyebrow,
.om-hero .om-text-accent {
  color: var(--om-accent-light);
}

/* CTA block uses a gradient with no solid colour fallback */
.om-cta {
  background-color: #101832;
}

/* Testimonial cards are white cards placed inside a dark section; the dark-section paragraph
   rule was recolouring the quote text to white (white on white). Restore readable colours. */
.om-section--dark .om-testimonial p,
.om-section--dark .om-testimonial__quote {
  color: var(--om-text);
}

.om-section--dark .om-testimonial__name {
  color: var(--om-ink);
}

.om-section--dark .om-testimonial__role {
  color: var(--om-text-soft);
}

/* ===== Contacts page fix: footer-style link lists used inside light cards =====
   The "Looking for something specific?" card reuses the footer link class, but the
   footer styles its links as near-white for the dark footer background. Inside a
   white card that produced white-on-white text (1:1). Restore readable colours. */
.om-card .om-footer__links a {
  color: var(--om-text-soft);
}

.om-card .om-footer__links a:hover,
.om-card .om-footer__links a:focus {
  color: var(--om-accent-dark);
}

/* ===== Fix: timeline year labels inside dark sections used the dark accent
   (#a05310) which only reaches 3.12:1 on the navy background. Use the light
   accent so they meet WCAG AA. */
.om-section--dark .om-timeline__year,
.om-section--photo .om-timeline__year {
  color: var(--om-accent-light);
}

/* ===== Contrast fix: accent card title =====
   .om-card--accent uses a linear-gradient with no solid background-color, so the
   heading's dark ink text (#0b0f1c) was measured against the underlying hero navy
   (#101832) instead of the orange accent surface. Add an explicit solid accent
   background-color (matching the gradient's first stop) so the dark title text
   has strong contrast and the pair is measurable. */
.om-card--accent {
  background-color: var(--om-accent);
}

/* The accent card's paragraph was picking up the hero's white paragraph colour
   (.om-hero p beats .om-card--accent p at equal specificity and appears later).
   On the orange accent surface that produced 2.03:1. Force the dark ink text. */
.om-hero .om-card--accent p,
.om-hero .om-card--accent .om-card__title,
.om-card--accent p,
.om-card--accent .om-card__title {
  color: var(--om-ink);
}
