/* =====================================================================
   Audit fixes stylesheet (voll.com.ua audit 05.2026)
   Loaded after style.css; overrides/extends the base theme.
   Brand: gold #C59E68 / #FED060, dark #31383E, text #202020, bg #F7F7F7.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Phase 0 — Foundations
   Inner (light) pages: solid header + spacer so the white menu is always
   visible and content never slides under the fixed header (audit 2.1, 2.2).
   --------------------------------------------------------------------- */
.header--inner {
  background-color: #31383E;
}

.padding-top {
  /* JS sets the exact header height; this is a safe fallback before load. */
  min-height: 92px;
}

/* ---------------------------------------------------------------------
   Readable content pages (Contacts text, Privacy policy, any plain Page).
   Brings legal/text pages into the site style (audit 2.1, 2.2).
   --------------------------------------------------------------------- */
.page-main {
  padding: 50px 0 80px;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 56px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.page-content__title {
  font-weight: 600;
  line-height: 115%;
  margin-bottom: 28px;
  color: #202020;
}

.page-content__body {
  color: #3a3f44;
  font-size: clamp(1rem, calc(0.95rem + 0.2vw), 1.125rem);
  line-height: 1.7;
}

.page-content__body h2,
.page-content__body h3,
.page-content__body h4 {
  color: #31383E;
  font-weight: 600;
  line-height: 125%;
  margin: 1.6em 0 0.6em;
}

.page-content__body h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.page-content__body h3 { font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); }
.page-content__body h4 { font-size: 1.2rem; }

.page-content__body p { margin: 0 0 1.1em; }

.page-content__body a {
  color: #C59E68;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content__body a:hover { color: #b08d55; }

.page-content__body ul,
.page-content__body ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.page-content__body li { margin-bottom: 0.5em; }

.page-content__body ul li { list-style: disc; }
.page-content__body ol li { list-style: decimal; }

.page-content__body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5em 0;
}

.page-content__body blockquote {
  margin: 1.5em 0;
  padding: 16px 24px;
  border-left: 4px solid #C59E68;
  background-color: #faf7f2;
  border-radius: 0 12px 12px 0;
  color: #555;
}

.page-content__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
}

.page-content__body th,
.page-content__body td {
  border: 1px solid #e7e7e7;
  padding: 12px 14px;
  text-align: left;
}

.page-content__body th {
  background-color: #31383E;
  color: #fff;
  font-weight: 600;
}

.page-content__body tr:nth-child(even) td { background-color: #fafafa; }

/* ---------------------------------------------------------------------
   Phase 1 — Critical mobile menu fix (audit 2.9)
   Parent items ("Послуги") now navigate; a chevron toggles the submenu.
   Harden stacking so the hamburger/logo stay above the overlay and the
   Services menu is always reachable and tappable.
   --------------------------------------------------------------------- */
.submenu-toggle { display: none; }

@media (max-width: 1100px) {
  /* Keep the bar controls above the full-screen overlay. */
  .header-wrap__logo,
  .header-wrap__flex { z-index: 110; }
  .header-wrap__icon { z-index: 110; position: relative; }
  .header-wrap__nav { z-index: 105; }

  /* Lock background scroll while the overlay is open. */
  body.menu-open { overflow: hidden; }

  /* Parent menu rows: link on the left (tappable), chevron on the right. */
  .header-wrap__nav--menu ul li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .header-wrap__nav--menu ul li.menu-item-has-children > a { flex: 1; }

  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 8px;
    background: none;
    border: 1px solid #4a525a;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .submenu-toggle span {
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.3s;
  }
  .header-wrap__nav--menu ul li.menu-item-has-children.open .submenu-toggle span {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  /* The submenu spans the full row width below the link + chevron. */
  .header-wrap__nav--menu ul li.menu-item-has-children .sub-menu { flex-basis: 100%; }

  /* Long services list: scroll inside the overlay instead of overflowing. */
  .header-wrap__nav--menu ul li.menu-item-services .sub-menu {
    max-height: min(50vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 0;
    margin-top: 8px;
    border-left: 2px solid rgba(197, 158, 104, 0.35);
  }

  .header-wrap__nav--menu ul li.menu-item-services .sub-menu li {
    margin-bottom: 12px;
  }

  .header-wrap__nav--menu ul li.menu-item-services .sub-menu li a {
    font-size: 16px;
    font-weight: 500;
    color: #c5c9cc;
    padding-left: 12px;
  }

  .header-wrap__nav--menu ul li.menu-item-services .sub-menu li a:hover {
    color: #FED060;
  }
}

/* ---------------------------------------------------------------------
   Desktop services dropdown — replaces legacy narrow/h misaligned submenu.
   --------------------------------------------------------------------- */
@media (min-width: 1101px) {
  .header-wrap__nav--menu ul li.menu-item-services > a::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    opacity: 0.85;
  }

  /* Lift above sibling nav items so the wide panel stays hoverable. */
  .header-wrap__nav--menu ul li.menu-item-services:hover,
  .header-wrap__nav--menu ul li.menu-item-services:focus-within {
    z-index: 130;
  }

  .header-wrap__nav--menu,
  .header-wrap__nav--menu ul {
    overflow: visible;
  }

  .header-wrap__nav--menu ul li.menu-item-services > .sub-menu {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: min(520px, calc(100vw - 40px));
    min-width: 360px;
    /* Transparent top padding bridges the gap so hover is not lost in transit. */
    padding: 16px 0 10px;
    margin: 0;
    background: rgba(35, 41, 46, 0.97);
    background-clip: padding-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .header-wrap__nav--menu ul li.menu-item-services:hover > .sub-menu,
  .header-wrap__nav--menu ul li.menu-item-services:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Invisible hover bridge above the visible panel (covers padding-top gap). */
  .header-wrap__nav--menu ul li.menu-item-services > .sub-menu::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 16px;
  }

  .header-wrap__nav--menu ul li.menu-item-services > .sub-menu::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(35, 41, 46, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
  }

  .header-wrap__nav--menu ul li.menu-item-services > .sub-menu li {
    width: 100%;
    margin: 0;
  }

  .header-wrap__nav--menu ul li.menu-item-services > .sub-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #e8eaec;
    white-space: normal;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .header-wrap__nav--menu ul li.menu-item-services > .sub-menu li a:hover {
    background-color: rgba(197, 158, 104, 0.12);
    color: #FED060;
  }

  /* Inner-page header: solid bar, dropdown still floats above content. */
  .header--inner .header-wrap__nav--menu ul li.menu-item-services > .sub-menu {
    background: #fff;
    border-color: rgba(32, 32, 32, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }

  .header--inner .header-wrap__nav--menu ul li.menu-item-services > .sub-menu::before {
    background: #fff;
    border-color: rgba(32, 32, 32, 0.08);
  }

  .header--inner .header-wrap__nav--menu ul li.menu-item-services > .sub-menu li a {
    color: #31383E;
  }

  .header--inner .header-wrap__nav--menu ul li.menu-item-services > .sub-menu li a:hover {
    background-color: rgba(197, 158, 104, 0.1);
    color: #C59E68;
  }
}

/* ---------------------------------------------------------------------
   Phase 2 — Header top-bar: schedule, address, messengers, socials (audit 2.6)
   --------------------------------------------------------------------- */
.header-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: #d6dadd;
}

.header-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 0;
}

.header-topbar__left,
.header-topbar__right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.header-topbar__item svg { color: #C59E68; flex-shrink: 0; }

/* Messenger icon buttons (shared: top-bar + contacts). */
.messengers {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.messengers__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s, opacity 0.2s;
}

.messengers__item:hover { transform: translateY(-2px); opacity: 0.9; }
.messengers__item--telegram { background-color: #2aabee; }
.messengers__item--viber { background-color: #7360f2; }
.messengers__item--whatsapp { background-color: #25d366; }

/* On the homepage the header overlays the dark hero, so light text is fine.
   The top-bar simply sits above the main nav row. */

@media (max-width: 1100px) {
  /* Hide the address text on tablets/phones to keep the bar compact. */
  .header-topbar__item--address { display: none; }
  .header-topbar__inner { gap: 12px; padding: 7px 0; }
  .header-topbar { font-size: 12px; }
}

@media (max-width: 600px) {
  .header-topbar__item--schedule span:not(:first-child) { display: none; }
  .header-topbar__item--schedule { gap: 0; }
}

/* Language switcher (UK / RU, text only — no flags) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.header-wrap__nav--meta .lang-switcher {
  margin-right: 16px;
}
.lang-switcher__sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}
.lang-switcher__item {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}
.lang-switcher__item:hover {
  color: #fff;
}
.lang-switcher__item--active {
  color: #FED060;
  cursor: default;
}

/* ---------------------------------------------------------------------
   Phase 3 — Services hub, services grid block, prices table (audit 1.2, 1.4, 2.5)
   --------------------------------------------------------------------- */

/* Shared service cards (archive + services-grid block). */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: #C59E68;
}

.service-card__image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img { transform: scale(1.05); }

.service-card__placeholder {
  background: #eee;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}

.service-card__content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
  flex-grow: 1;
}

.service-card__btn {
  font-weight: 600;
  color: #C59E68;
  margin-top: auto;
  display: flex;
  align-items: center;
  font-size: 15px;
  transition: color 0.3s;
}

.service-card__btn svg { margin-left: 8px; transition: transform 0.3s; }
.service-card:hover .service-card__btn { color: #b08d55; }
.service-card:hover .service-card__btn svg { transform: translateX(5px); }

/* Services archive (the /services/ hub). */
.services-archive { padding: 60px 0 80px; }

.services-archive__header { margin-bottom: 40px; text-align: center; }

.services-archive__title {
  font-weight: 600;
  margin-bottom: 14px;
}

.services-archive__desc {
  max-width: 720px;
  margin: 0 auto 26px;
  color: #666;
}

.services-archive__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.services-archive__filter-item {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 200px;
  border: 1px solid #d8d8d8;
  color: #31383E;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s;
}

.services-archive__filter-item:hover { border-color: #C59E68; color: #C59E68; }

.services-archive__filter-item.is-active {
  background-color: #31383E;
  border-color: #31383E;
  color: #fff;
}

/* Services grid block (on pages, e.g. homepage). */
.services-block { padding: 80px 0; }

.services-block__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.services-block__title { font-weight: 400; }
.services-block__more { margin-top: 40px; text-align: center; }
.services-block__more .btn-primary { display: inline-flex; }

/* Prices table block. */
.prices-table-block { padding: 80px 0; }

.prices-table-block__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.prices-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.prices-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.prices-table th,
.prices-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.prices-table thead th {
  background-color: #31383E;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.prices-table tbody tr:hover td { background-color: #faf7f2; }
.prices-table__service { font-weight: 600; color: #31383E; }
.prices-table__service a { color: #31383E; text-decoration: none; }
.prices-table__service a:hover { color: #C59E68; }
.prices-table__price { font-weight: 700; color: #C59E68; white-space: nowrap; }

.prices-table-block__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.prices-table-block__note { color: #787878; font-size: 14px; max-width: 70%; }

@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card__image { height: 200px; }
  .services-block__top,
  .prices-table-block__top { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Stacked, card-style price rows on phones. */
  .prices-table-wrap { overflow: visible; box-shadow: none; background: transparent; }
  .prices-table { min-width: 0; }
  .prices-table thead { display: none; }
  .prices-table,
  .prices-table tbody,
  .prices-table tr,
  .prices-table td { display: block; width: 100%; }
  .prices-table tr {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 14px;
    padding: 6px 0;
  }
  .prices-table td {
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    text-align: right;
  }
  .prices-table td:last-child { border-bottom: none; }
  .prices-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #31383E;
    text-align: left;
  }
  .prices-table-block__note { max-width: 100%; }
}

/* ---------------------------------------------------------------------
   Phase 4 — Portfolio / cases (audit 1.1, 2.3)
   --------------------------------------------------------------------- */
.portfolio-wrap__more { margin: 32px 0 0; text-align: center; }
.portfolio-wrap__more .btn-primary { display: inline-flex; }

.portfolio-archive { padding: 60px 0 80px; }
.portfolio-archive__header { margin-bottom: 40px; text-align: center; }
.portfolio-archive__title { font-weight: 600; margin-bottom: 14px; }
.portfolio-archive__desc { max-width: 760px; margin: 0 auto 26px; color: #666; }

.portfolio-archive__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.portfolio-archive__filter-item {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 200px;
  border: 1px solid #d8d8d8;
  color: #31383E;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s;
}

.portfolio-archive__filter-item:hover { border-color: #C59E68; color: #C59E68; }
.portfolio-archive__filter-item.is-active { background-color: #31383E; border-color: #31383E; color: #fff; }

.portfolio-archive__empty {
  text-align: center;
  color: #666;
  padding: 48px 0 64px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: #C59E68;
}

.portfolio-card__image { position: relative; height: 250px; overflow: hidden; }
.portfolio-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.portfolio-card:hover .portfolio-card__image img { transform: scale(1.05); }

.portfolio-card__placeholder {
  background: #eee; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; color: #ccc;
}

.portfolio-card__date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(49, 56, 62, 0.9);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 200px;
  z-index: 1;
}

.portfolio-card__category {
  position: absolute;
  top: 14px;
  right: 14px;
  max-width: calc(100% - 28px);
  background: rgba(32, 32, 32, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  padding: 6px 12px;
  border-radius: 200px;
  z-index: 1;
}

.portfolio-card__content { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.portfolio-card__title { font-size: 21px; font-weight: 700; color: #222; line-height: 1.3; margin-bottom: 12px; }

.portfolio-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
  color: #787878;
  font-size: 14px;
}

.portfolio-card__meta span { position: relative; }
.portfolio-card__meta span:not(:last-child)::after { content: '•'; margin-left: 14px; color: #ccc; }
.portfolio-card__summary { color: #666; font-size: 15px; line-height: 1.6; margin-bottom: 22px; flex-grow: 1; }

.portfolio-card__btn {
  font-weight: 600; color: #C59E68; margin-top: auto;
  display: flex; align-items: center; font-size: 15px; transition: color 0.3s;
}
.portfolio-card__btn svg { margin-left: 8px; transition: transform 0.3s; }
.portfolio-card:hover .portfolio-card__btn svg { transform: translateX(5px); }

/* Single case */
.portfolio-single { padding: 40px 0 80px; }
.portfolio-single__breadcrumb { display: flex; gap: 8px; color: #999; font-size: 14px; margin-bottom: 24px; }
.portfolio-single__breadcrumb a { color: #999; }
.portfolio-single__breadcrumb a:hover { color: #C59E68; }
.portfolio-single__header { max-width: 820px; margin-bottom: 30px; }
.portfolio-single__title { font-weight: 600; margin-bottom: 14px; }
.portfolio-single__summary { color: #666; font-size: 1.1rem; line-height: 1.6; }

.portfolio-single__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: #e7e7e7;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 36px;
}

.portfolio-single__facts li {
  list-style: none;
  background: #fff;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portfolio-single__facts span { color: #999; font-size: 13px; }
.portfolio-single__facts strong { color: #31383E; font-size: 16px; }

.portfolio-single__cover { margin-bottom: 36px; border-radius: 16px; overflow: hidden; }
.portfolio-single__cover img { width: 100%; height: auto; display: block; }

.portfolio-single__section { margin-bottom: 40px; max-width: 900px; }
.portfolio-single__section h2 { font-weight: 600; margin-bottom: 16px; }

.portfolio-single__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: none;
}

.portfolio-single__gallery-item { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.portfolio-single__gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.portfolio-single__gallery-item:hover img { transform: scale(1.06); }

.portfolio-single__navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 36px;
}

.portfolio-single__navigation-link {
  min-height: 112px;
  padding: 20px 22px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #fff;
  color: #31383E;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.portfolio-single__navigation-link:hover {
  border-color: #C59E68;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(49, 56, 62, 0.08);
}

.portfolio-single__navigation-link--next { text-align: right; }
.portfolio-single__navigation-direction { color: #C59E68; font-size: 14px; font-weight: 600; }
.portfolio-single__navigation-link strong { font-size: 17px; line-height: 1.35; }

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 90px 52px;
  background: rgba(20, 24, 27, 0.96);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.portfolio-lightbox.is-open { opacity: 1; visibility: visible; }
.portfolio-lightbox-open { overflow: hidden; }

.portfolio-lightbox__figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.portfolio-lightbox__image {
  display: block;
  width: 100%;
  max-width: 1200px;
  max-height: calc(100vh - 140px);
  height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 10px;
}

.portfolio-lightbox__counter { color: #fff; font-size: 14px; }

.portfolio-lightbox__close,
.portfolio-lightbox__arrow {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.portfolio-lightbox__close:hover,
.portfolio-lightbox__arrow:hover {
  color: #202020;
  background: #FED060;
}

.portfolio-lightbox__close {
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.portfolio-lightbox__arrow {
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 22px;
}

.portfolio-lightbox__arrow--previous { left: 24px; }
.portfolio-lightbox__arrow--next { right: 24px; }

.portfolio-single__facts strong a { color: inherit; text-decoration: none; }
.portfolio-single__facts strong a:hover { color: #C59E68; }

.portfolio-single__videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: none;
}

.portfolio-single__video {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.portfolio-single__video-title {
  padding: 14px 16px 0;
  font-weight: 600;
  color: #31383E;
  font-size: 15px;
}

.portfolio-single__video-player,
.portfolio-single__video-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.portfolio-single__video-player { object-fit: cover; }

.portfolio-single__video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.portfolio-single__video-link {
  display: block;
  padding: 16px;
  color: #C59E68;
  word-break: break-all;
}

.portfolio-single__cta {
  text-align: center;
  background: #31383E;
  color: #fff;
  border-radius: 18px;
  padding: 44px 24px;
}
.portfolio-single__cta h2 { color: #fff; font-weight: 600; margin-bottom: 22px; }
.portfolio-single__cta .btn-primary { display: inline-flex; margin: 0 auto; }
.portfolio-single__back { display: inline-block; margin-top: 18px; color: #C59E68; width: 100%; }

@media (min-width: 769px) {
  .portfolio-archive {
    padding: 36px 0 64px;
  }

  .portfolio-archive__header {
    margin-bottom: 28px;
  }

  .portfolio-archive__title {
    font-size: clamp(1.75rem, 1.4rem + 1vw, 2.35rem);
    line-height: 1.15;
  }

  .portfolio-single {
    padding: 24px 0 64px;
  }

  .portfolio-single .container {
    max-width: 960px;
  }

  .portfolio-single__breadcrumb {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .portfolio-single__header {
    max-width: 680px;
    margin-bottom: 18px;
  }

  .portfolio-single__title {
    font-size: clamp(1.625rem, 1.35rem + 0.7vw, 2.1rem);
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .portfolio-single__summary {
    font-size: 1rem;
    line-height: 1.55;
  }

  .portfolio-single__facts {
    max-width: 100%;
    margin-bottom: 22px;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .portfolio-single__facts li {
    padding: 12px 14px;
  }

  .portfolio-single__facts span {
    font-size: 12px;
  }

  .portfolio-single__facts strong {
    font-size: 14px;
    line-height: 1.35;
  }

  .portfolio-single__cover {
    margin-bottom: 24px;
    max-height: 400px;
  }

  .portfolio-single__cover img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
  }

  .portfolio-single__section {
    max-width: 760px;
    margin-bottom: 28px;
  }

  .portfolio-single__section h2 {
    font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.6rem);
    margin-bottom: 12px;
  }

  .portfolio-single__gallery,
  .portfolio-single__videos {
    max-width: 100%;
  }

  .portfolio-single__videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .portfolio-single__cta {
    max-width: 100%;
    padding: 32px 24px;
  }

  .portfolio-single__cta h2 {
    font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.6rem);
    margin-bottom: 18px;
  }
}

@media (max-width: 992px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-single__gallery { grid-template-columns: repeat(2, 1fr); }
  .portfolio-single__navigation { grid-template-columns: 1fr; }
  .portfolio-single__navigation-spacer { display: none; }
  .portfolio-single__navigation-link--next { text-align: left; }
  .portfolio-lightbox { padding: 70px 14px 50px; }
  .portfolio-lightbox__arrow {
    top: auto;
    bottom: 14px;
    width: 46px;
    height: 46px;
    transform: none;
  }
  .portfolio-lightbox__arrow--previous { left: calc(50% - 54px); }
  .portfolio-lightbox__arrow--next { right: calc(50% - 54px); }
  .portfolio-lightbox__close { top: 14px; right: 14px; }
  .portfolio-lightbox__image { max-height: calc(100vh - 160px); }
  .portfolio-lightbox__counter { margin-bottom: 42px; }
}

/* ---------------------------------------------------------------------
   Phase 5 — About page blocks: stats, team, documents (audit 1.3, 2.8)
   --------------------------------------------------------------------- */
.stats-block { padding: 60px 0; }
.stats-block__title { text-align: center; font-weight: 400; margin-bottom: 40px; }

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

.stats-block__item {
  background: #fff;
  border-radius: 16px;
  padding: 34px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stats-block__number {
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem);
  font-weight: 700;
  color: #C59E68;
  line-height: 1;
}

.stats-block__number span { font-size: 0.6em; }
.stats-block__label { margin-top: 10px; color: #555; font-size: 15px; }

.team-block { padding: 80px 0; }
.team-block__top,
.documents-block__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.team-block__title,
.documents-block__title { font-weight: 400; }

.team-block__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.team-member { text-align: center; }
.team-member__photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
  background: #ececec;
}
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member__name { font-weight: 600; font-size: 18px; color: #31383E; }
.team-member__role { color: #787878; font-size: 14px; margin-top: 4px; }

.documents-block { padding: 80px 0; }
.documents-block__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.document-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  color: #31383E;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.document-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08); border-color: #C59E68; }

.document-card__preview {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f1ec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C59E68;
  margin-bottom: 14px;
}
.document-card__preview img { width: 100%; height: 100%; object-fit: cover; }
.document-card__title { font-weight: 500; font-size: 15px; }

@media (max-width: 992px) {
  .team-block__grid,
  .documents-block__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .team-block__top,
  .documents-block__top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .team-block__grid,
  .documents-block__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ---------------------------------------------------------------------
   Phase 6 — Contacts block (audit 2.1)
   --------------------------------------------------------------------- */
.contacts-block { padding: 70px 0 80px; }
.contacts-block__top { margin-bottom: 36px; }
.contacts-block__title { font-weight: 500; margin-top: 8px; }

.contacts-block__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: stretch;
}

.contacts-block__info {
  background: #fff;
  border-radius: 18px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contacts-block__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.contacts-block__item:last-child { border-bottom: none; }
.contacts-block__item-label { color: #999; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.contacts-block__item-value { color: #31383E; font-size: 18px; font-weight: 500; }
a.contacts-block__item-value:hover { color: #C59E68; }

.contacts-block__form { margin-top: 18px; }

.contacts-block__map {
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
  background: #ececec;
}
.contacts-block__map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contacts-block__map-placeholder {
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #999;
  padding: 24px;
}

/* Messenger buttons sit inline within the contacts info card. */
.messengers--contacts { margin-top: 4px; }

@media (max-width: 860px) {
  .contacts-block__grid { grid-template-columns: 1fr; }
  .contacts-block__map,
  .contacts-block__map iframe,
  .contacts-block__map-placeholder { min-height: 320px; }
}

/* ---------------------------------------------------------------------
   Phase 7 — Reviews authenticity: avatar, source link, leave-review (audit 2.7)
   --------------------------------------------------------------------- */
.reviews-feed .item-top__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews-feed .item-top__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #ececec;
}
.reviews-feed .item-top__avatar img { width: 100%; height: 100%; object-fit: cover; }

.reviews-feed .item-meta__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #C59E68;
  font-size: 13px;
  font-weight: 600;
}
.reviews-feed .item-meta__source:hover { color: #b08d55; }

.reviews-feed__empty { color: #787878; padding: 20px 0 30px; }

.reviews-feed__leave { margin-top: 36px; text-align: center; }
.reviews-feed__leave-btn { display: inline-flex; margin: 0 auto; }

/* Review submission modal — single column, no side image */
.modal--review .modal-wrap {
  max-width: 620px;
  display: block;
}

.modal--review .modal-wrap__content {
  max-width: 100%;
  padding: 28px 32px 32px;
}

.modal-review__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.modal-review__heading {
  flex: 1;
  min-width: 0;
}

.modal-review__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(49, 56, 62, 0.08);
  color: #787878;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}

.modal-review__close:hover {
  background: rgba(49, 56, 62, 0.14);
  color: #31383E;
}

.modal--review .modal-wrap__content--title {
  margin-top: 12px;
  margin-bottom: 10px;
}

.modal--review .modal-wrap__content--text {
  margin-bottom: 20px;
}

.modal--review .modal-wrap__content--form .row {
  gap: 16px;
  margin-bottom: 14px;
}

.modal--review .modal-wrap__content--form .row-item {
  width: 100%;
  margin-bottom: 14px;
}

.modal--review .modal-wrap__content--form .row .row-item {
  width: calc(50% - 8px);
  margin-bottom: 0;
}

.modal--review .modal-wrap__content--form .row-item--half {
  max-width: 240px;
}

.modal--review .modal-wrap__content--form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.modal--review .modal-wrap__content--form input,
.modal--review .modal-wrap__content--form select,
.modal--review .modal-wrap__content--form textarea {
  width: 100%;
}

.modal--review .modal-wrap__content--form textarea {
  min-height: 96px;
  resize: vertical;
}

.modal--review .wpcf7-acceptance {
  display: block;
  margin: 4px 0 18px;
}

.modal--review .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

.modal--review .modal-wrap__content--form .btn {
  margin-top: 0;
}

@media (max-width: 620px) {
  .modal--review .modal-wrap__content {
    padding: 22px 20px 24px;
  }

  .modal--review .modal-wrap__content--form .row {
    flex-direction: column;
    gap: 0;
  }

  .modal--review .modal-wrap__content--form .row .row-item {
    width: 100%;
    margin-bottom: 14px;
  }

  .modal--review .modal-wrap__content--form .row-item--half {
    max-width: 100%;
  }
}

/* ---------------------------------------------------------------------
   Phase 8 — Blog: archive listing + single post
   --------------------------------------------------------------------- */
.blog-archive { padding: 60px 0 80px; }

.blog-archive__header { margin-bottom: 40px; text-align: center; }

.blog-archive__title {
  font-weight: 600;
  margin-bottom: 14px;
}

.blog-archive__desc {
  max-width: 720px;
  margin: 0 auto;
  color: #787878;
  font-size: 1.1rem;
  line-height: 1.6;
}

.blog-archive__empty { color: #787878; text-align: center; padding: 20px 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: #C59E68;
}

.blog-card__image { position: relative; height: 220px; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card__image img { transform: scale(1.05); }

.blog-card__placeholder {
  background: #eee; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; color: #ccc;
}

.blog-card__content { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card__title { font-size: 21px; font-weight: 700; color: #222; line-height: 1.3; margin-bottom: 12px; }
.blog-card__summary { color: #666; font-size: 15px; line-height: 1.6; margin-bottom: 22px; flex-grow: 1; }

.blog-card__btn {
  font-weight: 600; color: #C59E68; margin-top: auto;
  display: flex; align-items: center; font-size: 15px; transition: color 0.3s;
}
.blog-card__btn svg { margin-left: 8px; transition: transform 0.3s; }
.blog-card:hover .blog-card__btn svg { transform: translateX(5px); }

/* Archive pagination (blog, portfolio, services) */
.blog-archive .nav-links,
.portfolio-archive .nav-links,
.services-archive .nav-links,
.blog-archive .pagination .nav-links,
.portfolio-archive .pagination .nav-links,
.services-archive .pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 8px;
}

.blog-archive .page-numbers,
.portfolio-archive .page-numbers,
.services-archive .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 200px;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #31383E;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.blog-archive .page-numbers:hover,
.portfolio-archive .page-numbers:hover,
.services-archive .page-numbers:hover {
  border-color: #C59E68;
  color: #C59E68;
}

.blog-archive .page-numbers.current,
.portfolio-archive .page-numbers.current,
.services-archive .page-numbers.current {
  background: #31383E;
  border-color: #31383E;
  color: #fff;
  box-shadow: 0 8px 20px rgba(49, 56, 62, 0.18);
}

.blog-archive .page-numbers.dots,
.portfolio-archive .page-numbers.dots,
.services-archive .page-numbers.dots {
  min-width: auto;
  padding: 0 6px;
  border: none;
  background: transparent;
  color: #999;
  box-shadow: none;
}

.blog-archive .page-numbers.prev,
.blog-archive .page-numbers.next,
.portfolio-archive .page-numbers.prev,
.portfolio-archive .page-numbers.next,
.services-archive .page-numbers.prev,
.services-archive .page-numbers.next {
  font-size: 18px;
}

.blog-archive .pagination .screen-reader-text,
.portfolio-archive .pagination .screen-reader-text,
.services-archive .pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Single post */
.blog-single { padding: 40px 0 80px; }
.blog-single__container { max-width: 860px; }

.blog-single__breadcrumb { display: flex; gap: 8px; color: #999; font-size: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.blog-single__breadcrumb a { color: #999; }
.blog-single__breadcrumb a:hover { color: #C59E68; }

.blog-single__header { margin-bottom: 28px; }
.blog-single__date { display: inline-block; color: #C59E68; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.blog-single__title { font-weight: 600; line-height: 1.2; }

.blog-single__cover { margin-bottom: 36px; border-radius: 16px; overflow: hidden; }
.blog-single__cover img { width: 100%; height: auto; display: block; }

.blog-single__body { margin-bottom: 48px; }

.blog-single__cta {
  text-align: center;
  background: #31383E;
  color: #fff;
  border-radius: 18px;
  padding: 44px 24px;
}
.blog-single__cta h2 { color: #fff; font-weight: 600; margin-bottom: 12px; }
.blog-single__cta p { color: #c7ccd0; margin-bottom: 22px; }
.blog-single__cta .btn-primary { display: inline-flex; margin: 0 auto; }
.blog-single__back { display: inline-block; margin-top: 18px; color: #C59E68; width: 100%; }

@media (max-width: 992px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* About company page */
.company-about {
  --about-dark: #31383E;
  --about-gold: #C59E68;
  --about-yellow: #FED060;
  overflow: hidden;
}

.company-about__hero {
  position: relative;
  padding: 38px 0 92px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 83% 22%, rgba(197, 158, 104, 0.23), transparent 28%),
    linear-gradient(135deg, #282e33 0%, #31383E 66%, #3c444a 100%);
}

.company-about__hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -190px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.company-about__breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-bottom: 70px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}
.company-about__breadcrumb a { color: inherit; }
.company-about__breadcrumb a:hover { color: var(--about-yellow); }

.company-about__hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.5fr);
  align-items: end;
  gap: 80px;
}

.company-about__hero-content { max-width: 890px; }
.company-about__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--about-gold);
  font-size: 15px;
  font-weight: 600;
}

.company-about__hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(2.7rem, 2rem + 3vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.company-about__hero h1 strong {
  display: block;
  color: var(--about-yellow);
  font-weight: 500;
}

.company-about__lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  line-height: 1.55;
}

.company-about__hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}
.company-about__text-link { color: #fff; font-weight: 600; transition: color 0.25s; }
.company-about__text-link span { margin-left: 8px; }
.company-about__text-link:hover { color: var(--about-yellow); }

.company-about__promise {
  padding: 26px 0 4px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.company-about__promise-number {
  display: block;
  color: #fff;
  font-size: clamp(3rem, 2.3rem + 2vw, 5rem);
  font-weight: 600;
  line-height: 1;
}
.company-about__promise p { margin: 14px 0 22px; color: rgba(255, 255, 255, 0.68); line-height: 1.5; }
.company-about__promise-line { width: 54px; height: 2px; margin-bottom: 18px; background: var(--about-yellow); }
.company-about__promise > span:last-child { color: #fff; font-size: 14px; }

.company-about__proof { position: relative; z-index: 2; margin-top: -38px; }
.company-about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 55px rgba(31, 37, 41, 0.13);
}
.company-about__stat { position: relative; padding: 34px 28px; }
.company-about__stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24%;
  right: 0;
  width: 1px;
  height: 52%;
  background: #e8e8e8;
}
.company-about__stat-value {
  color: var(--about-dark);
  font-size: clamp(2.1rem, 1.7rem + 1.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
}
.company-about__stat p { margin-top: 9px; color: #777; font-size: 14px; }

.company-about__story,
.company-about__leader,
.company-about__process,
.company-about__cta { padding: 110px 0; }

.company-about__section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 54px;
}
.company-about__section-heading h2,
.company-about__leader h2,
.company-about__cta h2 {
  color: var(--about-dark);
  font-size: clamp(2rem, 1.5rem + 1.7vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.company-about__section-heading h2 strong,
.company-about__leader h2 strong {
  display: block;
  color: var(--about-gold);
  font-weight: 600;
}
.company-about__section-heading > p { color: #707070; font-size: 17px; line-height: 1.65; }

.company-about__principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.company-about__principles article {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  background: #fff;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.company-about__principles article:hover {
  z-index: 1;
  transform: translateY(-6px);
  border-color: var(--about-gold);
  box-shadow: 0 18px 40px rgba(49, 56, 62, 0.09);
}
.company-about__principles article > span { display: block; margin-bottom: 64px; color: var(--about-gold); font-weight: 600; }
.company-about__principles h3 { margin-bottom: 12px; color: var(--about-dark); font-size: 20px; }
.company-about__principles p { color: #737373; font-size: 15px; line-height: 1.55; }

.company-about__leader { padding-top: 70px; background: #fff; }
.company-about__leader-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}
.company-about__leader-photo { position: relative; max-width: 520px; }
.company-about__leader-photo::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 44%;
  height: 44%;
  border-top: 2px solid var(--about-gold);
  border-right: 2px solid var(--about-gold);
  border-radius: 0 18px 0 0;
}
.company-about__leader-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  object-fit: cover;
}
.company-about__leader-badge {
  position: absolute;
  z-index: 2;
  right: -38px;
  bottom: 34px;
  width: 210px;
  padding: 20px;
  border-radius: 12px;
  background: var(--about-yellow);
  color: #202020;
  box-shadow: 0 14px 34px rgba(31, 37, 41, 0.16);
}
.company-about__leader-badge strong,
.company-about__leader-badge span { display: block; }
.company-about__leader-badge strong { margin-bottom: 5px; font-size: 18px; }
.company-about__leader-badge span { font-size: 13px; line-height: 1.35; }

.company-about__leader-content { max-width: 680px; }
.company-about__leader-content blockquote {
  margin: 34px 0 26px;
  padding: 26px 0 26px 34px;
  border-left: 3px solid var(--about-yellow);
  color: var(--about-dark);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.55rem);
  font-weight: 500;
  line-height: 1.5;
}
.company-about__leader-content > p { color: #707070; font-size: 17px; line-height: 1.65; }
.company-about__leader-signature { margin-top: 30px; padding-top: 24px; border-top: 1px solid #e7e7e7; }
.company-about__leader-signature strong,
.company-about__leader-signature span { display: block; }
.company-about__leader-signature strong { color: var(--about-dark); }
.company-about__leader-signature span { margin-top: 4px; color: #888; font-size: 14px; }

.company-about__process { color: #fff; background: var(--about-dark); }
.company-about__section-heading--light h2 { color: #fff; }
.company-about__section-heading--light > p { color: rgba(255, 255, 255, 0.62); }
.company-about__process-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 60px;
  align-items: stretch;
}
.company-about__process-tabs { display: flex; flex-direction: column; }
.company-about__process-tabs button {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 21px 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 18px;
  transition: color 0.25s, padding-left 0.25s;
}
.company-about__process-tabs button span { color: var(--about-gold); font-size: 13px; }
.company-about__process-tabs button:hover,
.company-about__process-tabs button.is-active { padding-left: 18px; color: #fff; }

.company-about__process-panels {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}
.company-about__process-panel { animation: aboutPanelIn 0.35s ease; }
.company-about__process-panel > span { color: var(--about-yellow); font-size: 14px; font-weight: 600; }
.company-about__process-panel h3 {
  max-width: 610px;
  margin: 18px 0;
  color: #fff;
  font-size: clamp(1.7rem, 1.35rem + 1vw, 2.5rem);
  line-height: 1.15;
}
.company-about__process-panel p { max-width: 650px; color: rgba(255, 255, 255, 0.66); font-size: 17px; line-height: 1.7; }

@keyframes aboutPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.company-about__cta { padding: 90px 0 0; }
.company-about__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 56px;
  border-radius: 20px;
  background: #f1ece3;
}
.company-about__cta-inner > div:first-child { max-width: 710px; }
.company-about__cta-inner p { margin-top: 14px; color: #6e6e6e; font-size: 17px; line-height: 1.55; }
.company-about__cta-actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.company-about__cta-actions a { color: var(--about-dark); font-size: 14px; font-weight: 600; }
.company-about__cta-actions a:hover { color: var(--about-gold); }

@media (max-width: 1050px) {
  .company-about__hero-grid { gap: 40px; }
  .company-about__principles { grid-template-columns: repeat(2, 1fr); }
  .company-about__principles article { min-height: 230px; }
  .company-about__principles article > span { margin-bottom: 40px; }
  .company-about__leader-grid { gap: 60px; }
}

@media (max-width: 768px) {
  .company-about__hero { padding: 28px 0 74px; }
  .company-about__breadcrumb { margin-bottom: 42px; }
  .company-about__hero-grid,
  .company-about__section-heading,
  .company-about__leader-grid,
  .company-about__process-grid { grid-template-columns: 1fr; }
  .company-about__hero-grid { gap: 48px; }
  .company-about__hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .company-about__hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .company-about__promise { max-width: 340px; }

  .company-about__proof { margin-top: -28px; }
  .company-about__stats { grid-template-columns: repeat(2, 1fr); }
  .company-about__stat { padding: 26px 20px; }
  .company-about__stat:nth-child(2)::after { display: none; }
  .company-about__stat:nth-child(-n+2) { border-bottom: 1px solid #e8e8e8; }

  .company-about__story,
  .company-about__leader,
  .company-about__process,
  .company-about__cta { padding: 76px 0; }
  .company-about__section-heading { gap: 20px; margin-bottom: 36px; }
  .company-about__principles { grid-template-columns: 1fr; }
  .company-about__principles article { min-height: 0; }
  .company-about__principles article > span { margin-bottom: 28px; }

  .company-about__leader-photo { width: calc(100% - 24px); }
  .company-about__leader-badge { right: -24px; bottom: 24px; }
  .company-about__leader-content blockquote { margin-top: 26px; padding-left: 22px; }

  .company-about__process-grid { gap: 30px; }
  .company-about__process-tabs { overflow-x: auto; flex-direction: row; gap: 8px; padding-bottom: 8px; }
  .company-about__process-tabs button {
    flex: 0 0 auto;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    font-size: 15px;
  }
  .company-about__process-tabs button:hover,
  .company-about__process-tabs button.is-active { padding-left: 18px; border-color: var(--about-yellow); color: #fff; }
  .company-about__process-panels { min-height: 330px; padding: 30px 24px; }

  .company-about__cta { padding-top: 64px; padding-bottom: 0; }
  .company-about__cta-inner { align-items: flex-start; flex-direction: column; padding: 34px 24px; }
  .company-about__cta-actions { align-items: flex-start; }
}

@media (max-width: 430px) {
  .company-about__stats { grid-template-columns: 1fr; }
  .company-about__stat:not(:last-child) { border-bottom: 1px solid #e8e8e8; }
  .company-about__stat::after { display: none; }
  .company-about__leader-badge { width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .company-about__principles article,
  .company-about__process-tabs button,
  .company-about__process-panel {
    transition: none;
    animation: none;
  }
}

/* Editorial hero shared by the homepage and every service page. */
.hero--editorial {
  --hero-gold: #C59E68;
  --hero-yellow: #FED060;
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(197, 158, 104, 0.22), transparent 27%),
    linear-gradient(135deg, #282e33 0%, #31383E 64%, #3c444a 100%);
}

.hero--editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent, #000 58%, #000);
}

.hero__orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero__orbit--large {
  right: -170px;
  bottom: -250px;
  width: 590px;
  height: 590px;
  box-shadow:
    0 0 0 82px rgba(255, 255, 255, 0.022),
    0 0 0 164px rgba(255, 255, 255, 0.014);
}

.hero__orbit--small {
  top: 24%;
  right: 32%;
  width: 12px;
  height: 12px;
  border-color: var(--hero-yellow);
  background: var(--hero-yellow);
  box-shadow: 0 0 32px rgba(254, 208, 96, 0.62);
}

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

.hero__breadcrumb {
  position: absolute;
  z-index: 3;
  top: clamp(150px, 15vw, 186px);
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  pointer-events: auto;
}

.hero__breadcrumb a { position: relative; z-index: 1; color: inherit; transition: color 0.25s; }
.hero__breadcrumb a:hover { color: var(--hero-yellow); }

.hero--editorial .hero-wrap {
  min-height: 760px;
  align-items: flex-end;
  gap: clamp(42px, 7vw, 110px);
  padding-bottom: 78px;
}

.hero--editorial .hero-wrap__content {
  max-width: 900px;
  padding-top: 72px;
}

.hero__eyebrow,
.hero-wrap__cta--eyebrow {
  display: inline-block;
  color: var(--hero-gold);
  font-size: 15px;
  font-weight: 600;
}

.hero--editorial .hero-wrap__content--title {
  max-width: 880px;
  margin: 18px 0 24px;
  color: #fff;
  font-size: clamp(3rem, 2.15rem + 3.6vw, 6.1rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero--editorial .hero-wrap__content--title strong,
.hero--editorial .hero-wrap__content--title span {
  color: var(--hero-yellow);
  font-weight: 500;
}

.hero--editorial .hero-wrap__content--title span:last-child { display: inline; }

.hero--editorial .hero-wrap__content--subtitle {
  max-width: 720px;
  padding-left: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.05rem, 0.96rem + 0.36vw, 1.28rem);
  line-height: 1.55;
}

.hero--editorial .hero-wrap__content--subtitle::after { display: none; }
.hero--editorial .hero-wrap__content--subtitle p { margin: 0; }
.hero--editorial .hero-wrap__content--subtitle strong { color: #fff; font-weight: 500; }

.hero__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero--editorial .hero-wrap__content--text {
  display: grid;
  gap: 7px;
  font-size: inherit;
}

.hero__price-label {
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero--editorial .hero-wrap__content--text-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
  backdrop-filter: none;
}

.hero--editorial .hero-wrap__content--text-price span,
.hero--editorial .hero-wrap__content--text-price small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
}

.hero--editorial .hero-wrap__content--text-price strong {
  color: var(--hero-yellow);
  font-size: clamp(2rem, 1.7rem + 1vw, 3rem);
  font-weight: 500;
}

.hero__portfolio-link {
  flex: 0 0 auto;
  padding-bottom: 8px;
  color: #fff;
  font-weight: 600;
  transition: color 0.25s;
}

.hero__portfolio-link span { margin-left: 8px; color: var(--hero-yellow); }
.hero__portfolio-link:hover { color: var(--hero-yellow); }

.hero--editorial .hero-wrap__cta {
  max-width: 390px;
  padding: 34px 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(26, 31, 35, 0.58);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero--editorial .hero-wrap__cta::after {
  left: auto;
  right: -70px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  opacity: 0.24;
  filter: blur(70px);
}

.hero--editorial .hero-wrap__cta--title {
  margin: 16px 0 24px;
  color: #fff;
  font-size: clamp(1.25rem, 1.08rem + 0.6vw, 1.7rem);
  line-height: 1.25;
}

.hero--editorial .hero-wrap__cta--title p { margin: 0; }
.hero--editorial .hero-wrap__cta--title strong { font-weight: 500; }
.hero--editorial .hero-wrap__cta--title span { color: var(--hero-yellow) !important; }

.hero--editorial .hero-wrap__cta ul {
  display: grid;
  gap: 12px;
  margin: 0;
}

.hero--editorial .hero-wrap__cta ul li {
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.hero--editorial .hero-wrap__cta ul li::after {
  width: 8px;
  height: 8px;
  background: transparent;
  border: 2px solid var(--hero-yellow);
}

.hero--editorial .hero-wrap__cta .btn {
  width: 100%;
  margin-top: 28px;
}

.hero-wrap__cta--meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-wrap__cta--meta strong {
  color: #fff;
  font-size: 28px;
  font-weight: 500;
}

.hero-wrap__cta--meta span {
  max-width: 130px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .hero--editorial,
  .hero--editorial .hero-wrap { min-height: auto; }
  .hero--editorial .hero-wrap {
    align-items: stretch;
    gap: 48px;
    padding-bottom: 70px;
  }
  .hero--editorial .hero-wrap__content { max-width: 840px; padding-top: 90px; }
  .hero--editorial .hero-wrap__cta { max-width: 620px; }
  .hero__breadcrumb { top: 138px; }
}

@media (max-width: 600px) {
  .hero--editorial .hero-wrap { gap: 38px; padding-bottom: 48px; }
  .hero--editorial .hero-wrap__content { padding-top: 64px; }
  .hero__breadcrumb { position: static; padding-top: 128px; margin-bottom: -98px; }
  .hero--editorial .hero-wrap__content--title {
    margin-top: 14px;
    font-size: clamp(2.65rem, 13vw, 4rem);
  }
  .hero__footer { align-items: flex-start; flex-direction: column; margin-top: 30px; }
  .hero__portfolio-link { padding-bottom: 0; }
  .hero--editorial .hero-wrap__cta { padding: 28px 22px 24px; }
  .hero--editorial .hero-wrap__cta--title { padding-right: 64px; }
  .hero__orbit--large { right: -310px; bottom: -160px; }
}

/* The mobile navigation receives a cloned CTA; keep it compact there. */
@media (max-width: 992px) {
  .header-wrap__nav--mobile .hero-wrap__cta {
    max-width: 100%;
    padding: 24px 20px;
  }
  .header-wrap__nav--mobile .hero-wrap__cta--meta { display: none; }
}

/* About-style contacts page */
.company-contacts {
  --contacts-dark: #31383E;
  --contacts-gold: #C59E68;
  --contacts-yellow: #FED060;
  overflow: hidden;
}

.company-contacts__hero {
  position: relative;
  padding: 38px 0 92px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 83% 22%, rgba(197, 158, 104, 0.23), transparent 28%),
    linear-gradient(135deg, #282e33 0%, #31383E 66%, #3c444a 100%);
}

.company-contacts__hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -190px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.company-contacts__breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-bottom: 70px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.company-contacts__breadcrumb a { color: inherit; }
.company-contacts__breadcrumb a:hover { color: var(--contacts-yellow); }

.company-contacts__hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.5fr);
  align-items: end;
  gap: 80px;
}

.company-contacts__hero-content { max-width: 920px; }

.company-contacts__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--contacts-gold);
  font-size: 15px;
  font-weight: 600;
}

.company-contacts__hero h1 {
  max-width: 920px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(2.7rem, 2rem + 3vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.company-contacts__hero h1 strong {
  display: block;
  color: var(--contacts-yellow);
  font-weight: 500;
}

.company-contacts__hero-content > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  line-height: 1.55;
}

.company-contacts__hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.company-contacts__text-link {
  padding: 0;
  border: 0;
  color: #fff;
  background: none;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s;
}

.company-contacts__text-link span { margin-left: 8px; color: var(--contacts-yellow); }
.company-contacts__text-link:hover { color: var(--contacts-yellow); }

.company-contacts__availability {
  padding: 26px 0 4px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.company-contacts__availability-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.company-contacts__availability-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #63d28d;
  box-shadow: 0 0 0 5px rgba(99, 210, 141, 0.12);
}

.company-contacts__availability > div {
  margin: 22px 0;
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
}

.company-contacts__availability > span:last-child {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.company-contacts__channels { position: relative; z-index: 2; margin-top: -38px; }

.company-contacts__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(31, 37, 41, 0.13);
}

.company-contacts__card {
  position: relative;
  min-height: 270px;
  padding: 34px 32px;
}

.company-contacts__card:not(:last-child) { border-right: 1px solid #e8e8e8; }

.company-contacts__card-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 600;
}

.company-contacts__card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--contacts-dark);
  background: var(--contacts-yellow);
}

.company-contacts__card-icon svg { width: 22px; height: 22px; }

.company-contacts__card-label {
  display: block;
  margin-bottom: 12px;
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.company-contacts__card a {
  display: block;
  margin: 5px 0;
  color: var(--contacts-dark);
  font-size: clamp(1.05rem, 0.92rem + 0.35vw, 1.28rem);
  font-weight: 600;
  line-height: 1.35;
}

.company-contacts__card a:hover { color: var(--contacts-gold); }
.company-contacts__card p { margin-top: 12px; color: #858585; font-size: 14px; line-height: 1.45; }

.company-contacts__location { padding: 116px 0 96px; }

.company-contacts__section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 44px;
}

.company-contacts__section-heading h2,
.company-contacts__details h2,
.company-contacts__cta h2 {
  color: var(--contacts-dark);
  font-size: clamp(2rem, 1.55rem + 1.8vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.company-contacts__section-heading h2 strong { color: var(--contacts-gold); font-weight: 500; }
.company-contacts__section-heading p { color: #737373; font-size: 17px; line-height: 1.55; }

.company-contacts__map-wrap {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 22px;
  background: #e8e8e8;
  box-shadow: 0 20px 60px rgba(31, 37, 41, 0.11);
}

.company-contacts__map-wrap iframe {
  display: block;
  width: 100%;
  height: 540px;
  border: 0;
  filter: saturate(0.72) contrast(0.95);
}

.company-contacts__map-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(360px, calc(100% - 56px));
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #fff;
  background: rgba(40, 46, 51, 0.94);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.company-contacts__map-card > span:first-child { color: var(--contacts-gold); font-size: 13px; font-weight: 600; }
.company-contacts__map-card strong { display: block; margin: 10px 0 18px; font-size: 20px; line-height: 1.4; }
.company-contacts__map-card a { color: #fff; font-size: 14px; font-weight: 600; }
.company-contacts__map-card a span { margin-left: 8px; color: var(--contacts-yellow); }
.company-contacts__map-card a:hover { color: var(--contacts-yellow); }

.company-contacts__details {
  padding: 96px 0;
  color: #fff;
  background: var(--contacts-dark);
}

.company-contacts__details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.company-contacts__details article {
  min-height: 330px;
  padding: clamp(32px, 5vw, 60px);
  background: var(--contacts-dark);
}

.company-contacts__details h2 { margin-bottom: 24px; color: #fff; }
.company-contacts__details article > p { max-width: 540px; color: rgba(255, 255, 255, 0.62); line-height: 1.6; }

.company-contacts__schedule {
  margin-bottom: 20px;
  color: var(--contacts-yellow);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.55;
}

.messengers--contact-page { gap: 14px; margin-top: 28px; }
.messengers--contact-page .messengers__item { width: 48px; height: 48px; }
.messengers--contact-page .messengers__item svg { width: 24px; height: 24px; }

.company-contacts__cta { padding: 96px 0 0; }

.company-contacts__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 56px;
  border-radius: 20px;
  background: #f1ece3;
}

.company-contacts__cta-inner > div { max-width: 760px; }
.company-contacts__cta-inner p { margin-top: 14px; color: #6e6e6e; font-size: 17px; line-height: 1.55; }
.company-contacts__cta-inner > button { flex: 0 0 auto; }

@media (max-width: 900px) {
  .company-contacts__hero-grid,
  .company-contacts__section-heading { grid-template-columns: 1fr; gap: 42px; }
  .company-contacts__cards { grid-template-columns: 1fr; }
  .company-contacts__card { min-height: 0; }
  .company-contacts__card:not(:last-child) { border-right: 0; border-bottom: 1px solid #e8e8e8; }
  .company-contacts__details-grid { grid-template-columns: 1fr; }
  .company-contacts__cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .company-contacts__hero { padding: 28px 0 72px; }
  .company-contacts__breadcrumb { margin-bottom: 42px; }
  .company-contacts__hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .company-contacts__hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .company-contacts__availability { padding-left: 22px; }
  .company-contacts__channels { margin-top: -28px; }
  .company-contacts__card { padding: 28px 24px; }
  .company-contacts__location,
  .company-contacts__details { padding: 76px 0; }
  .company-contacts__map-wrap,
  .company-contacts__map-wrap iframe { min-height: 500px; height: 500px; }
  .company-contacts__map-card { left: 16px; bottom: 16px; width: calc(100% - 32px); padding: 22px; }
  .company-contacts__details article { min-height: 0; padding: 34px 24px; }
  .company-contacts__cta { padding: 64px 0 0; }
  .company-contacts__cta-inner { padding: 34px 24px; }
}

/* Compact homepage process section; the full company story lives on /about/. */
.home-process {
  padding: 112px 0;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(197, 158, 104, 0.18), transparent 25%),
    #31383E;
}

.home-process__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.55fr);
  align-items: end;
  gap: 90px;
  margin-bottom: 54px;
}

.home-process__eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: #C59E68;
  font-size: 15px;
  font-weight: 600;
}

.home-process__heading h2 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.3rem, 1.75rem + 2.15vw, 4.25rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.home-process__heading h2 strong {
  display: block;
  color: #FED060;
  font-weight: 500;
}

.home-process__intro p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  line-height: 1.55;
}

.home-process__intro a {
  display: inline-block;
  margin-top: 22px;
  color: #fff;
  font-weight: 600;
}

.home-process__intro a span { margin-left: 8px; color: #FED060; }
.home-process__intro a:hover { color: #FED060; }

.home-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.home-process__item {
  position: relative;
  min-height: 300px;
  padding: 34px 28px;
  transition: background-color 0.25s;
}

.home-process__item:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.12); }
.home-process__item:hover { background: rgba(255, 255, 255, 0.035); }

.home-process__number {
  display: block;
  margin-bottom: 66px;
  color: #C59E68;
  font-size: 13px;
  font-weight: 600;
}

.home-process__item h3 {
  margin-bottom: 15px;
  color: #fff;
  font-size: clamp(1.2rem, 1.06rem + 0.45vw, 1.55rem);
  font-weight: 400;
  line-height: 1.2;
}

.home-process__item h3 p { margin: 0; }
.home-process__item h3 strong { color: #FED060; font-weight: 500; }
.home-process__item > p { color: rgba(255, 255, 255, 0.58); font-size: 14px; line-height: 1.55; }

@media (max-width: 1000px) {
  .home-process__heading { grid-template-columns: 1fr; gap: 28px; }
  .home-process__intro { max-width: 680px; }
  .home-process__grid { grid-template-columns: repeat(2, 1fr); }
  .home-process__item:nth-child(2) { border-right: 0; }
  .home-process__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
}

@media (max-width: 600px) {
  .home-process { padding: 76px 0; }
  .home-process__heading { margin-bottom: 36px; }
  .home-process__grid { grid-template-columns: 1fr; }
  .home-process__item { min-height: 0; padding: 28px 24px; }
  .home-process__item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .home-process__number { margin-bottom: 30px; }
}
