@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap");

/*
Theme Name: Teodorowscy Clinic
Theme URI: https://example.com
Author: Codex
Author URI: https://example.com
Description: Custom front-page template based on provided Figma site.
Version: 1.2
Text Domain: teodorowscy-clinic
*/

:root {
  --color-ink: #1c1c1c;
  --color-muted: #6d6d6d;
  --color-dark: #0e0e0e;
  --color-light: #ffffff;
  --color-accent: #f26a1b;
  --color-accent-dark: #db5b12;
  --color-blue: #0b76b8;
  --color-blue-dark: #0a5f93;
  --color-blue-soft: #eaf3f8;
  --color-border: #e3e3e3;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lato", "Segoe UI", sans-serif;
  color: var(--color-ink);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

:root {
  --sticky-topbar-height: 30px;
  --sticky-adminbar-height: 0px;
}

body.admin-bar {
  --sticky-adminbar-height: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --sticky-adminbar-height: 46px;
  }
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 0 !important;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

@media (min-width: 1201px) {
  .container {
    width: min(1560px, 98vw);
  }
}

.topbar {
  background: var(--color-blue, #0b76b8);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.6px;
  position: sticky;
  top: var(--sticky-adminbar-height);
  z-index: 1100;
}

.topbar .container {
  width: 100%;
  padding: 0 60px 0 4px;
}

.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 0;
  height: 30px;
  gap: 18px;
}

.topbar__phones {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  scroll-padding-left: 80px;
  text-transform: uppercase;
  grid-column: 2;
}

.topbar__phones span {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.8px;
}

.topbar__social {
  display: flex;
  gap: 10px;
  align-items: center;
  grid-column: 3;
  justify-self: end;
  justify-content: flex-end;
}

.topbar__social img {
  width: 19px;
  height: 19px;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: calc(var(--sticky-adminbar-height) + var(--sticky-topbar-height));
  z-index: 1090;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 90px;
  padding: 0;
  position: relative;
}

.site-logo img {
  width: 238px;
  height: 86px;
  object-fit: contain;
  position: relative;
  display: block;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 18px;
  font-weight: 300;
  color: #333;
  margin-left: auto;
  align-items: center;
  position: relative;
  flex-wrap: nowrap;
}

.site-nav a,
.nav-dropdown__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 0;
  line-height: 1;
  vertical-align: middle;
  min-height: 22px;
  white-space: nowrap;
}

.site-nav > a::after,
.site-nav > .nav-dropdown > .nav-dropdown__toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #db5b12;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.nav-dropdown__toggle::before {
  content: "›";
  font-size: 16px;
  color: #db5b12;
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 32px !important;
}

.nav-dropdown--services {
  position: relative;
}

.nav-dropdown--services::after {
  display: block;
  height: 0;
}

.nav-dropdown__toggle {
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  position: relative;
  margin: 0;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown__mobile-trigger,
.nav-dropdown__mobile-trigger--generic,
.services-mobile-subtoggle {
  display: none;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  width: min(980px, 94vw);
  max-height: none;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 20px;
  display: none;
  z-index: 40;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.nav-dropdown--services .nav-dropdown__menu {
  top: 100%;
  left: -165px;
  right: auto;
  transform: none;
  margin-top: 25px !important;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: grid !important;
}

.nav-freeze .nav-dropdown:hover .nav-dropdown__menu,
.nav-freeze .nav-dropdown:focus-within .nav-dropdown__menu {
  display: none !important;
}

.nav-dropdown.force-close .nav-dropdown__menu {
  display: none !important;
}

.site-nav > a:hover::after,
.site-nav > .nav-dropdown:hover > .nav-dropdown__toggle::after,
.site-nav > .nav-dropdown:focus-within > .nav-dropdown__toggle::after {
  width: 100%;
}

.nav-dropdown:hover .nav-dropdown__toggle::before,
.nav-dropdown:focus-within .nav-dropdown__toggle::before {
  opacity: 1;
}

.nav-dropdown__group {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  position: relative;
}

.nav-dropdown__group a {
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 500;
}

.nav-dropdown__title {
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.nav-dropdown__subtitle {
  font-weight: 600;
  color: var(--color-ink);
  margin-top: 6px;
}

.nav-dropdown__menu--services {
  width: min(860px, 92vw);
  padding: 18px 22px;
}

.services-menu {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
}

.services-menu__list {
  display: grid;
  gap: 10px;
}

.services-menu__item {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  padding: 8px 0;
  font: inherit;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: left;
  cursor: pointer;
  position: relative;
  line-height: 1.1;
  border-bottom: 1px solid #e6e6e6;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.site-nav .services-menu__item {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.services-menu__item:last-child {
  border-bottom: 0;
}

.services-menu__item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: #db5b12;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.services-menu__item::after {
  content: "›";
  color: #db5b12;
  position: absolute;
  left: auto;
  right: -20px;
  bottom: auto;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  top: 50%;
  transform: translateY(-50%) scale(1.2);
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 18px;
}

.services-menu__item.is-active,
.services-menu__item:focus,
.services-menu__item:hover {
  color: var(--color-blue);
}

.services-menu__item.is-active::before,
.services-menu__item:focus::before,
.services-menu__item:hover::before {
  transform: scaleX(1);
}

.services-menu__item.is-active::after,
.services-menu__item:focus::after,
.services-menu__item:hover::after {
  opacity: 1;
}

.site-nav .services-menu a::after {
  content: none !important;
  display: none !important;
}

.services-menu__pane {
  position: relative;
  min-height: 240px;
  padding-left: 16px;
}

.services-menu__pane::before {
  content: "";
  position: absolute;
  left: -20px;
  top: var(--active-offset, 0px);
  width: 1px;
  height: var(--active-height, 120px);
  background: #db5b12;
  opacity: 0;
  transition: opacity 0.25s ease, top 0.25s ease, height 0.25s ease;
}

.services-menu__pane.is-active::before {
  opacity: 1;
}

.services-menu__panel {
  position: absolute;
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.services-menu__panel a {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.1;
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.site-nav .services-menu__panel a {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.services-menu__panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown__menu--simple {
  width: 240px;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px;
}

.nav-dropdown__menu--simple .nav-service-item {
  padding: 8px 10px;
}

.nav-service-item {
  display: grid;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 12px;
  color: var(--color-ink);
}

.nav-service-item--has-children {
  display: block;
  position: relative;
}

.nav-service-item__title-link {
  display: block;
  width: 100%;
  padding: 0 18px 0 0;
  font: inherit;
  line-height: inherit;
  min-height: 0;
  color: inherit;
  text-align: left;
}

.nav-service-item__title-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}

.nav-service-submenu {
  position: absolute;
  top: 0;
  left: calc(100% + 8px);
  display: grid;
  gap: 6px;
  min-width: 160px;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-service-subitem {
  font-size: 13px;
  color: var(--color-ink);
}

.nav-service-subitem:hover {
  color: var(--color-accent);
}

.nav-service-item--has-children:hover .nav-service-submenu,
.nav-service-item--has-children:focus-within .nav-service-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-service-item:hover {
  background: #f3f7fb;
}

.nav-service-item__title {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-blue);
}

.nav-service-item__desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
}

.site-nav li {
  list-style: none;
}

.site-nav li a {
  color: inherit;
}

.site-nav a:hover {
  color: var(--color-accent);
}

.header-cta {
  background: #f26a1b;
  color: #fff;
  padding: 12px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-left: 12px;
}

.breadcrumbs {
  background: #f5f5f5;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-muted);
}

.breadcrumbs__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 60px;
  margin: 0;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs__item::after {
  content: "›";
  color: #a5a5a5;
}

.breadcrumbs__item:last-child::after {
  content: "";
}

.breadcrumbs a {
  color: inherit;
}

@media (max-width: 900px) {
  .breadcrumbs__list {
    padding: 12px 20px;
  }
}

.hero {
  position: relative;
  height: 900px;
  min-height: 900px;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero .container {
  width: min(1920px, 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 0;
  position: absolute;
  left: 374px;
  top: calc(20% + 158px);
}

.hero__eyebrow {
  color: var(--color-accent);
  font-family: "Lato", "Segoe UI", sans-serif;
  letter-spacing: 0;
  font-size: 40px;
  font-weight: 300;
  line-height: 80px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero__title {
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 80px;
  margin: 0 0 8px;
  letter-spacing: 1px;
}

.hero__subtitle {
  font-size: 20px;
  margin: 0 0 10px;
}

.hero__text {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.8);
  max-width: 475px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 180px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.5px;
}

.home .button,
.home .header-cta,
.home .diagnostics-card__cta {
  border-radius: 0;
}

.button:hover {
  background: var(--color-accent-dark);
}

.button--dark {
  background: #111;
}

.section {
  padding: 70px 0;
}

.section--flush {
  padding-top: 0;
}

.section__title {
  font-family: "Lato", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 12px;
  text-align: center;
}

.section__intro {
  color: var(--color-muted);
  max-width: 780px;
  line-height: 1.6;
  margin: 0 auto;
  text-align: center;
}

.why-grid {
  margin-top: 40px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  text-align: center;
}

.why-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.why-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}

#dlaczego {
  padding: 60px 0 70px;
}

#dlaczego .section__title {
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #1f1f1f;
  margin-bottom: 24px;
}

#dlaczego .why-grid {
  margin-top: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  gap: 20px;
  grid-template-columns: repeat(3, 350px);
  justify-content: center;
}

#dlaczego .why-card {
  width: 350px;
  min-height: 228px;
}

#dlaczego .why-card img {
  width: 115px;
  height: 115px;
  margin-bottom: 16px;
  opacity: 0.65;
  filter: grayscale(100%);
  transform: translateY(8px) scale(0.96);
  transition: transform 0.5s ease, opacity 0.5s ease;
  will-change: transform;
}

#dlaczego .why-card.is-visible img {
  transform: translateY(0) scale(1);
  opacity: 0.75;
  animation: whyIconFloat 1.6s ease-out 0.1s both;
}

#dlaczego .why-card:hover img {
  transform: translateY(-4px) scale(1.03);
  opacity: 0.9;
}

#dlaczego .why-card h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #67725F;
  margin-bottom: 8px;
}

#dlaczego .why-card p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #7a7a7a;
  max-width: 200px;
  margin: 0 auto;
}

@keyframes whyIconFloat {
  0% {
    transform: translateY(8px) scale(0.96);
  }
  60% {
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #dlaczego .why-card img,
  #dlaczego .why-card.is-visible img {
    animation: none;
    transition: none;
    transform: none;
  }
}

.specialties {
  background: #F5FAFF;
}

.specialties-grid {
  margin-top: 32px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

#uslugi {
  padding: 70px 0 80px;
}

#uslugi .section__title {
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #1f1f1f;
}

#uslugi .section__intro {
  font-size: 25px;
  line-height: 1.35;
  font-weight: 300;
  max-width: 780px;
}

.specialties-slider {
  position: relative;
  margin-top: 34px;
  overflow: hidden;
}

.specialties-slider::before,
.specialties-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

.specialties-slider::before {
  left: 0;
  width: 96px;
  background: linear-gradient(90deg, #F5FAFF 0%, rgba(245, 250, 255, 0) 100%);
}

.specialties-slider::after {
  right: 0;
  width: 28px;
  background: linear-gradient(270deg, #F5FAFF 0%, rgba(245, 250, 255, 0) 100%);
}

.specialties-track {
  display: flex;
  gap: 30px;
  overflow: visible;
  padding: 0 24px 24px 80px;
  justify-content: flex-start;
  will-change: transform;
}

.specialties-track::-webkit-scrollbar {
  display: none;
}

.specialties-track::-webkit-scrollbar {
  height: 8px;
}

.specialties-track::-webkit-scrollbar-thumb {
  background: rgba(11, 118, 184, 0.25);
  border-radius: 999px;
}

.specialty-slide {
  flex: 0 0 250px;
  height: 408px;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.specialty-slide__image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.28s ease;
}

.specialty-slide__image {
  position: relative;
  overflow: hidden;
}

.specialty-slide__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.specialty-slide__image::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.6s ease;
  z-index: 2;
}

.specialty-slide__image .shape-lines {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.35s ease, transform 0.6s ease;
  z-index: 2;
}

.specialty-slide__title {
  background: rgb(0, 121, 193);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  height: 56px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.specialty-slide__desc {
  background: rgb(0, 121, 193);
  color: #fff;
  text-align: center;
  height: 122px;
  padding: 16px 12px 18px;
  font-size: 18px;
  line-height: 1.2;
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 300;
  border-top: 2px solid #ffffff;
  overflow: hidden;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.specialty-slide.is-exiting .specialty-slide__image img,
.specialty-slide.is-exiting .specialty-slide__title,
.specialty-slide.is-exiting .specialty-slide__desc {
  opacity: 0.45;
}

.specialty-slide.is-exiting-left .specialty-slide__image img,
.specialty-slide.is-exiting-left .specialty-slide__title,
.specialty-slide.is-exiting-left .specialty-slide__desc {
  transform: translateX(-28px);
}

.specialty-slide.is-exiting-right .specialty-slide__image img,
.specialty-slide.is-exiting-right .specialty-slide__title,
.specialty-slide.is-exiting-right .specialty-slide__desc {
  transform: translateX(28px);
}

.specialty-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.specialty-slide:hover .specialty-slide__image img {
  transform: scale(1.03);
}

.specialty-slide:hover .specialty-slide__image::before {
  opacity: 1;
}

.specialty-slide:hover .specialty-slide__image::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.specialty-slide:hover .specialty-slide__image .shape-lines {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.specialty-slide:focus-visible {
  outline: 2px solid #0b76b8;
  outline-offset: 2px;
}

.slider-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 76px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.slider-arrow--prev {
  left: 10px;
}

.slider-arrow--next {
  right: 10px;
}

.slider-arrow::before {
  content: "";
  width: 18px;
  height: 18px;
  border-top: 1px solid #151515;
  border-right: 1px solid #151515;
  display: block;
}

.slider-arrow--prev::before {
  transform: rotate(-135deg);
}

.slider-arrow--next::before {
  transform: rotate(45deg);
}

.slider-arrow:focus-visible {
  outline: 2px solid #0b76b8;
  outline-offset: 2px;
}

.specialty-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.specialty-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.specialty-card__body {
  background: var(--color-blue);
  color: #fff;
  padding: 14px 12px;
}

.specialty-card__body h3 {
  margin: 0 0 6px;
  font-size: 13px;
  text-transform: uppercase;
}

.specialty-card__body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.diagnostics {
  background: #fff;
}

.diagnostics .section__title {
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.diagnostics .section__intro {
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.diagnostics-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  margin-top: 30px;
  padding: 30px;
}

.diagnostics-card {
  border: 1px solid #cdcdcd;
  border-radius: 30px;
  padding: 20px;
  background: #fff;
  text-align: left;
  display: grid;
  grid-template-columns: 142px 1fr;
  column-gap: 20px;
  align-items: start;
  min-height: 160px;
  height: auto;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.diagnostics-card__icon {
  position: relative;
  width: 142px;
  height: 142px;
  margin: -10px 0 0 -10px;
}

/*.diagnostics-card__icon::before,
.diagnostics-card__icon::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(103, 114, 95, 0.2);
  opacity: 0;
  transform: scale(0.85) rotate(0deg);
  transition: opacity 0.4s ease, transform 0.4s ease;
}*/

.diagnostics-card__icon::after {
  inset: 6px;
  border-color: rgba(103, 114, 95, 0.12);
}

.diagnostics-card img {
  width: 142px;
  height: 142px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transform: translateY(6px) scale(0.96);
  transition: transform 0.45s ease;
}

.diagnostics-card__body {
  display: grid;
  row-gap: 15px;
  align-content: start;
  min-width: 0;
}

.diagnostics-card h3 {
  font-family: "Lato", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.02em;
  color: #67725F;
}

.diagnostics-card p {
  margin: 0;
  color: #1f1f1f;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  overflow-wrap: anywhere;
  word-break: normal;
}

.diagnostics-card.is-visible img {
  transform: translateY(0) scale(1);
}

.diagnostics-card.is-visible .diagnostics-card__icon::before,
.diagnostics-card.is-visible .diagnostics-card__icon::after {
  opacity: 1;
  transform: scale(1) rotate(2deg);
}

.diagnostics-card:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 114, 95, 0.4);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.diagnostics-card:hover img {
  transform: translateY(-4px) scale(1.02);
}

.diagnostics-card:hover .diagnostics-card__icon::before,
.diagnostics-card:hover .diagnostics-card__icon::after {
  opacity: 1;
  transform: scale(1.05) rotate(6deg);
}

.diagnostics-card--cta {
  border: none;
  background: transparent;
  grid-template-columns: 1fr;
  padding: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
}

.diagnostics-card__cta {
  background: #f26a1b;
  color: #ffffff;
  height: 44px;
  min-width: 180px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.diagnostics-card--cta:hover {
  transform: none;
  box-shadow: none;
}

.diagnostics-card--cta:hover .diagnostics-card__cta {
  background: #db5b12;
  transform: translateY(-2px);
}

.diagnostics-card--cta .diagnostics-card__icon::before,
.diagnostics-card--cta .diagnostics-card__icon::after {
  content: none;
}

.diagnostics-cta {
  margin-top: 24px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .diagnostics-card,
  .diagnostics-card img,
  .diagnostics-card__icon::before,
  .diagnostics-card__icon::after,
  .diagnostics-card__cta {
    transition: none;
  }
}

.team {
  background: var(--color-blue);
  color: #fff;
  padding: 60px 0 70px;
}

.team-grid {
  margin-top: 34px;
  display: grid;
  gap: 120px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
  justify-items: center;
  align-items: start;
  width: 1200px;
  height: 333px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
}

.team-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 240px;
  text-decoration: none;
  color: inherit;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.team-card img {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  object-fit: cover;
  outline: 2px solid #5b5b5b;
  transition: transform 0.45s ease, box-shadow 0.45s ease, outline-color 0.45s ease;
}

.team-card h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.team-card p {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: rgba(0, 0, 0, 0.7);
}

.team-card.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.team-card:hover img {
  transform: scale(1.03);
  outline-color: #ffffff;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.25);
}

.team-card:hover h3 {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .team-card {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .team-card img {
    transition: none;
  }
}

.team-cta {
  margin-top: 26px;
  text-align: center;
}

.team .section__title {
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #000000;
  margin-bottom: 8px;
}

.team .section__intro {
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.05;
  color: #000000;
  max-width: 720px;
}

.team .team-cta .button {
  background: #fff;
  color: #111;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 22px;
  text-transform: none;
  border: none;
}

.cta-band {
  background: #F5FAFF;
  color: #fff;
  padding: 100px 0;
}

.cta-band .container {
  width: 1290px;
  height: 400px;
}

.cta-band__inner {
  display: grid;
  gap: 40px;
  grid-template-columns: auto 1fr;
  align-items: center;
  background: var(--cta-band-bg, #F15E22);
  width: 1290px;
  height: 400px;
  margin: 0 auto;
  padding: 0 80px;
}

.cta-band__photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: none;
}

.cta-band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band__copy {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.cta-band__content h2 {
  margin: 0 0 6px;
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #000000;
}

.cta-band__content p {
  margin: 0;
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000000;
  text-align: center;
}

.cta-band__action .button {
  background: var(--cta-band-button-bg, #000000);
  color: #ffffff;
  font-weight: 400;
  font-size: 26px;
  width: 491px;
  height: 71px;
  padding: 0;
  border-radius: 0;
}

.section-divider {
  height: 1px;
  background: #007784;
  width: 100%;
}

.testimonials {
  background: #F5FAFF;
}

@media (min-width: 1201px) {
  .testimonials .container {
    width: min(1200px, 92vw);
  }
}

.testimonials .section__title {
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.testimonials__grid {
  margin-top: 30px;
  display: grid;
  gap: 60px;
  grid-template-columns: 360px 1fr;
  align-items: start;
}

.testimonials__list {
  background: transparent;
  border: none;
  padding: 0;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #009091 transparent;
}

.testimonials__list button {
  width: 100%;
  text-align: left;
  padding: 20px 30px;
  border-radius: 10px;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 400;
  color: #3d4b40;
  min-height: 128px;
}

.testimonials__list button.active {
  background: #009091;
  color: #ffffff;
  width: 310px;
  height: 128px;
  border-top: none;
  margin-top: 0;
  padding-top: 20px;
}

.testimonials__list::-webkit-scrollbar {
  width: 2px;
}

.testimonials__list::-webkit-scrollbar-track {
  background: transparent;
}

.testimonials__list::-webkit-scrollbar-thumb {
  background: #009091;
  border-radius: 999px;
}

.testimonials__list button + button {
  margin-top: 16px;
  border-top: 1px solid #d7ddd7;
  padding-top: 18px;
}

.testimonials__list button small {
  display: block;
  font-size: 12px;
  color: #8a9a8e;
  margin-top: 6px;
}

.testimonials__list button.active small {
  color: rgba(255, 255, 255, 0.8);
}

.testimonials__quote {
  background: transparent;
  border: none;
  border-left: none;
  padding: 8px 0 8px 40px;
  min-height: 160px;
}

.testimonials__quote p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: #1d1f22;
}

.testimonials__quote strong {
  display: block;
  margin-top: 22px;
  font-size: 14px;
  color: #1d1f22;
}

.contact-page {
  background: #f7f8f9;
  padding-bottom: 80px;
}

.contact-page .button,
.contact-page .contact-card,
.contact-page .contact-card__cta,
.contact-page .contact-card__map iframe,
.contact-page .contact-card__details-cta {
  border-radius: 0;
}

.contact-hero {
  padding: 40px 0 30px;
  text-align: center;
}

.contact-hero--image {
  position: relative;
  padding: 110px 0 84px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.contact-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 18, 38, 0.82), rgba(4, 18, 38, 0.35));
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
}

.contact-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-hero__title {
  font-family: "Lato", sans-serif;
  font-size: 56px;
  font-weight: 600;
  margin: 12px 0 16px;
}

.contact-hero__intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.contact-locations {
  margin-top: 20px;
}

.contact-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
}

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

.contact-card__title {
  font-family: "Lato", sans-serif;
  font-size: 28px;
  margin: 0;
  color: var(--color-blue);
}

.contact-card__cta {
  background: var(--color-blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.contact-card__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-card__column {
  display: grid;
  gap: 24px;
  align-content: start;
}

.contact-card__column--left .contact-card__image {
  margin-top: 26px;
}

.contact-card__intro p {
  margin: 0 0 10px;
  color: var(--color-ink);
  line-height: 1.4;
}

.contact-card__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.contact-card__list a {
  color: var(--color-ink);
  font-weight: 600;
}

.contact-card__map iframe {
  width: 100%;
  min-height: 260px;
  border: none;
  border-radius: 16px;
}

.contact-card__map {
  text-align: left;
}

.contact-card__map-cta {
  margin-top: 14px;
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.contact-card__details-cta {
  margin-top: 16px;
  display: inline-block;
}

.contact-card__hours {
  margin-top: 0;
}

.contact-card__image {
  width: 100%;
}

.contact-card__image img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.contact-card__hours-body {
  width: 100%;
}

.contact-card__hours-title {
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.contact-card__hours-note {
  margin: 0 0 14px;
  color: var(--color-muted);
}

.contact-card__hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-card__hours-day {
  font-weight: 700;
  color: var(--color-ink);
  display: block;
  margin-bottom: 6px;
}

.contact-card__hours-lines p {
  margin: 0;
  color: var(--color-muted);
}

.contact-form-section {
  margin-top: 40px;
  padding: 60px 0;
  background-size: cover;
  background-position: center;
}

.contact-form-section__inner {
  display: flex;
  justify-content: center;
}

.contact-form-card {
  width: min(860px, 100%);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-form-card__title {
  margin: 0 0 24px;
  font-size: 28px;
  color: var(--color-ink);
}

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

.contact-form-shortcode .wpcf7-form {
  margin: 0;
}

.getresponse-form-wrap {
  width: 100%;
}

getresponse-form {
  display: block;
  width: 100%;
  min-height: 320px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--color-ink);
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d6dde3;
  padding: 12px 14px;
  font-size: 15px;
  font-family: "Lato", sans-serif;
}

.contact-form__captcha img {
  display: block;
  margin-top: 10px;
  border-radius: 8px;
}

.contact-form__captcha .wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.blog-page {
  background: #f6f7f9;
  padding-bottom: 80px;
}

.blog-page .container {
  width: min(1500px, 96vw);
}

.blog-hero {
  padding: 50px 0 30px;
  text-align: center;
}

.blog-hero__title {
  font-family: "Lato", sans-serif;
  font-size: 56px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--color-ink);
}

.blog-hero__intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.6;
}

.blog-categories__layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 610px minmax(0, 1fr);
  gap: 60px;
  align-items: stretch;
  margin-left: auto;
  margin-right: auto;
}

.blog-featured-cat {
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  align-self: stretch;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured-cat__media {
  position: relative;
  display: block;
  color: #fff;
}

.blog-featured-cat__media img {
  width: 100%;
  height: 100%;
  min-height: 930px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-featured-cat__overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 12px;
  background: rgba(0, 0, 0, 0.45);
  padding: 18px 20px;
  border-radius: 0;
}

.blog-featured-cat__overlay h2 {
  margin: 0;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.blog-featured-cat__overlay p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.blog-featured-cat__cta {
  background: #db5b12;
  padding: 8px 14px;
  width: fit-content;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.blog-cat-list {
  display: grid;
  gap: 30px;
  grid-auto-rows: 1fr;
  align-content: space-between;
  height: 100%;
}

.blog-cat-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: start;
  transition: transform 0.3s ease;
  background: #f7f8fa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 16px;
}

.blog-cat-item__thumb img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.3s ease;
}

.blog-featured-cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.blog-featured-cat:hover .blog-featured-cat__media img {
  transform: scale(1.02);
}

.blog-cat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.blog-cat-item:hover .blog-cat-item__thumb img {
  transform: scale(1.03);
}

.blog-cat-item__content h3 {
  margin: 0 0 6px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--color-ink);
}

.blog-cat-item__content p {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.4;
}

.blog-latest {
  padding: 40px 0 80px;
}

.blog-latest__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.blog-latest__header h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

.blog-latest__header p {
  margin: 0;
  color: var(--color-muted);
}

.blog-latest__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.blog-featured {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.blog-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured__body {
  padding: 24px 28px;
  display: grid;
  gap: 12px;
}

.blog-featured__date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: var(--color-muted);
}

.blog-featured__body h3 {
  margin: 0;
  font-size: 24px;
  color: var(--color-blue);
}

.blog-featured__body p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
}

.blog-featured__link {
  color: #db5b12;
  font-weight: 600;
}

.blog-latest__list {
  display: grid;
  gap: 18px;
}

.blog-list-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  background: #fff;
  border-radius: 0;
  padding: 14px 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.blog-list-item__thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.blog-list-item__date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: var(--color-muted);
}

.blog-list-item__content h4 {
  margin: 6px 0;
  font-size: 14px;
  color: var(--color-ink);
}

.blog-list-item__content p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.4;
}

.blog-latest__cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.blog-card-row {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-rows: 180px 1fr;
}

.blog-card-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-row__body {
  padding: 16px 18px 20px;
  display: grid;
  gap: 8px;
}

.blog-card-row__date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: var(--color-muted);
}

.blog-card-row__body h4 {
  margin: 0;
  font-size: 15px;
  color: var(--color-ink);
}

.blog-card-row__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
}

.blog-empty {
  text-align: center;
  background: #fff;
  border-radius: 0;
  padding: 30px;
  color: var(--color-muted);
}

@media (max-width: 980px) {
  .blog-page {
    padding-bottom: 48px;
  }

  .blog-page .container {
    width: min(100%, 100vw);
    padding-left: 14px;
    padding-right: 14px;
  }

  .blog-hero {
    padding: 30px 0 18px;
  }

  .blog-hero__title {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.05;
    margin-bottom: 10px;
  }

  .blog-hero__intro {
    font-size: 16px;
    line-height: 1.45;
    max-width: 100%;
  }

  .blog-categories__layout,
  .blog-latest__grid,
  .blog-featured {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-featured-cat__media img {
    min-height: 360px;
  }

  .blog-featured-cat__overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 8px;
    padding: 12px;
  }

  .blog-featured-cat__overlay h2 {
    font-size: 18px;
  }

  .blog-cat-list {
    gap: 12px;
  }

  .blog-cat-item {
    grid-template-columns: 108px 1fr;
    gap: 12px;
    padding: 10px;
  }

  .blog-cat-item__thumb img {
    width: 108px;
    height: 108px;
  }

  .blog-cat-item__content h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .blog-cat-item__content p {
    font-size: 13px;
    line-height: 1.35;
  }

  .blog-latest {
    padding: 26px 0 36px;
  }

  .blog-latest__header {
    margin-bottom: 20px;
  }

  .blog-latest__header h2 {
    font-size: 26px;
  }

  .blog-featured__body {
    padding: 14px;
    gap: 8px;
  }

  .blog-featured__body h3 {
    font-size: 20px;
    line-height: 1.2;
  }

  .blog-featured__body p,
  .blog-list-item__content p {
    font-size: 14px;
    line-height: 1.45;
  }

  .blog-latest__cards {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .blog-card-row {
    grid-template-rows: 190px 1fr;
  }

  .blog-card-row__body {
    padding: 14px;
  }

  .blog-card-row__body h4 {
    font-size: 17px;
    line-height: 1.3;
  }

  .blog-pagination {
    margin-top: 22px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .blog-pagination a,
  .blog-pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }
}

.blog-single {
  padding: 40px 0 80px;
}

.blog-post-hero {
  padding: 70px 0 40px;
  position: relative;
}

.blog-post-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #e9f0f8;
  border-radius: 0;
  box-shadow: 0 22px 40px rgba(15, 35, 65, 0.08);
  z-index: 0;
}

.blog-post-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  height: 120px;
  bottom: -60px;
  background: #e9f0f8;
  border-radius: 0 0 100% 100%;
  z-index: 0;
}

.blog-post-hero .container {
  position: relative;
  z-index: 1;
}

.blog-post-hero__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}

.blog-post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.blog-post-hero__content {
  max-width: 840px;
}

.blog-post-hero__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1f2b3a;
  text-transform: none;
}

.blog-post-hero__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.blog-post-hero__cats {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-post-hero__cats a {
  color: #0b8a7c;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.4px;
}

.blog-post-hero__title {
  font-size: 52px;
  margin: 0 0 16px;
}

.blog-post-hero__lead {
  font-size: 20px;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  text-align: left;
}

.blog-post-hero__side {
  display: grid;
  gap: 28px;
  align-items: start;
  justify-items: start;
  position: absolute;
  left: -72px;
  top: 0;
}

.blog-post-hero__date {
  text-align: left;
  color: #9aa3ad;
  font-weight: 600;
}

.blog-post-hero__date-day {
  display: block;
  font-size: 32px;
  line-height: 1;
  color: #8b94a0;
}

.blog-post-hero__date-month {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.blog-post-hero__social {
  display: grid;
  gap: 12px;
}

.blog-post-hero__social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e4e9ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2b3a;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.blog-post-hero__social-link:hover {
  color: #0b8a7c;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(11, 138, 124, 0.12);
}

.blog-post-hero__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.blog-post-featured__media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.blog-post-featured__media {
  max-width: 960px;
  margin: 0 auto;
}

.blog-post-featured {
  position: relative;
  margin-top: -40px;
  z-index: 2;
}

@media (max-width: 900px) {
  .blog-post-hero__inner {
    padding-left: 0;
  }

  .blog-post-hero__side {
    position: static;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: auto 1fr;
    align-items: center;
    margin-bottom: 20px;
  }

  .blog-post-hero__date {
    display: flex;
    gap: 8px;
    align-items: baseline;
  }

  .blog-post-hero__date-day {
    font-size: 24px;
  }

  .blog-post-hero__social {
    grid-auto-flow: column;
    justify-content: start;
  }
}

.blog-post-body {
  padding: 40px 0 80px;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.blog-post-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-ink);
  text-align: left;
}

.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}

.blog-post-content th,
.blog-post-content td {
  border: 1px solid #e2e6eb;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.blog-post-content thead th {
  background: #f7f8fb;
  font-weight: 700;
}

.blog-post-content tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

.blog-post-content table p {
  margin: 0;
}

.blog-post-content .more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 138, 124, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.blog-post-content .more-link::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.2s ease;
}

.blog-post-content .more-link:hover {
  color: var(--color-accent-dark);
  border-bottom-color: rgba(11, 138, 124, 0.7);
}

.blog-post-content .more-link:hover::after {
  transform: translateX(3px);
}

.blog-post-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(11, 138, 124, 0.18);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-post-content .wp-block-button__link:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(11, 138, 124, 0.22);
}

.blog-post-content h2 {
  margin-top: 28px;
  font-size: 28px;
}

.blog-post-content h3 {
  margin-top: 22px;
  font-size: 22px;
}

.blog-post-content blockquote {
  margin: 24px 0;
  padding: 0 0 0 16px;
  border-left: 3px solid #db5b12;
  color: var(--color-muted);
}

.blog-post-aside {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 20px;
}

.blog-post-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 18px;
}

.blog-post-card .button {
  border-radius: 0;
}

.blog-post-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.blog-post-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.blog-post-toc a {
  color: var(--color-ink);
  font-size: 13px;
}

.toc-item--sub a {
  color: var(--color-muted);
  font-size: 12px;
  padding-left: 10px;
}

@media (max-width: 980px) {
  .blog-post-body {
    padding: 28px 0 48px;
  }

  .blog-post-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .blog-post-content {
    min-width: 0;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .blog-post-content article,
  .blog-post-content p,
  .blog-post-content li {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .blog-post-aside {
    position: static;
    top: auto;
    gap: 14px;
  }

  .blog-post-card {
    padding: 16px;
  }

  .blog-post-toc a {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .blog-post-layout {
    gap: 16px;
  }

  .blog-post-card {
    padding: 14px;
  }
}

.blog-related {
  padding-bottom: 80px;
}

.blog-related h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
}

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

@media (max-width: 980px) {
  .blog-related {
    padding-bottom: 48px;
  }

  .blog-related h2 {
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.1;
  }

  .blog-related__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .blog-related__grid .blog-card-row {
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 120px;
  }

  .blog-related__grid .blog-card-row__media {
    display: block;
    height: 100%;
  }

  .blog-related__grid .blog-card-row__media img {
    width: 100%;
    height: 100%;
  }

  .blog-related__grid .blog-card-row__body {
    padding: 12px;
    gap: 6px;
  }

  .blog-related__grid .blog-card-row__body h4 {
    font-size: 16px;
    line-height: 1.25;
  }

  .blog-related__grid .blog-card-row__body p {
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 640px) {
  .blog-related h2 {
    font-size: 24px;
  }

  .blog-related__grid .blog-card-row {
    grid-template-columns: 1fr;
    grid-template-rows: 180px auto;
    min-height: 0;
  }
}

.service-tabs {
  display: grid;
  gap: 18px;
  margin: 24px 0 36px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 16px 18px;
  border: 1px solid #d6dde3;
  color: var(--color-ink);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.3px;
  background: #fff;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-tabs a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1);
  border-color: #b7c0ca;
}

.service-tabs a.is-active {
  background: #f7f8fb;
  color: var(--color-ink);
  border-color: #cfd6de;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.mri-page main,
.mri-page .section,
.mri-page .site-main {
  background: #f5f7fb;
  padding: 60px 0 80px;
}

.mri-page main .container,
.mri-page .section .container,
.mri-page .site-main .container {
  max-width: 1100px;
}

.mri-page .entry-content {
  max-width: 980px;
}

.mri-page h1 {
  font-size: 46px;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase !important;
  display: inline-block;
  width: max-content;
  white-space: nowrap;
  border-bottom: none;
  padding-bottom: 0;
  line-height: 0.77;
  position: relative;
}

.mri-page .service-hero p {
  color: #ffffff !important;
}

.mri-page h1::before {
  content: "";
  position: absolute;
  left: 0;
  width: calc(100% + 50px);
  bottom: -6px;
  height: 6px;
  background: #F15E22;
  transform: scaleX(0);
  transform-origin: left;
  animation: mri-title-line 0.9s ease forwards;
}


@keyframes mri-title-line {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.service-hero__content {
  position: relative;
  padding-bottom: 10px;
}

.service-hero__content::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: -40%;
  bottom: 0;
  height: 1px;
  background: #F15E22;
}

.mri-page h2 {
  font-size: 28px;
  color: #1b2a3a;
  margin-top: 28px;
  margin-bottom: 12px;
}

.mri-page p,
.mri-page li {
  color: #4a5568;
  line-height: 1.7;
}

.mri-page .button,
.mri-page .button--dark {
  background: #1f4b99;
  color: #fff;
  border-radius: 0;
  padding: 12px 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mri-page .service-tabs a {
  border-radius: 12px;
  border: 1px solid #e1e6ef;
  box-shadow: 0 10px 22px rgba(27, 42, 58, 0.06);
  color: #1b2a3a;
  background: #fff;
}

.mri-page .service-tabs a:hover {
  box-shadow: 0 16px 30px rgba(27, 42, 58, 0.12);
  transform: translateY(-3px);
}

.mri-page .service-tabs a.is-active {
  background: #eef3fb;
  border-color: #c9d6eb;
}

.mri-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: center;
  margin: 10px 0 24px;
}

.mri-hero__content h1 {
  margin: 0 0 10px;
}

.mri-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(27, 42, 58, 0.12);
}

.mri-subnav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0 36px;
}

.mri-subnav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 16px 18px;
  border: 1px solid #e1e6ef;
  color: #1b2a3a;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
  background: #fff;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(27, 42, 58, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mri-subnav a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(27, 42, 58, 0.12);
  border-color: #c9d6eb;
}

.mri-subnav a.is-active {
  background: #eef3fb;
  border-color: #c9d6eb;
}

.mri-block {
  margin: 24px 0 36px;
}

.mri-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.mri-block__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(27, 42, 58, 0.1);
}

@media (max-width: 980px) {
  .mri-hero,
  .mri-block__grid {
    grid-template-columns: 1fr;
  }
}

.jobs-page {
  background: #f6f7f9;
  padding-bottom: 80px;
}

.jobs-page .container {
  width: min(1500px, 50vw);
}

.jobs-page .jobs-hero {
  padding: 50px 0 30px;
  text-align: center;
}

.jobs-page .jobs-hero__title {
  font-family: "Lato", sans-serif;
  font-size: 56px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--color-ink);
}

.jobs-page .jobs-hero__intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.6;
}

.jobs-list {
  padding: 10px 0 80px;
}

.jobs-accordion {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.job-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.job-summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  background: #f4f6fb;
  position: relative;
}

.job-summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-accent);
}

.job-summary::-webkit-details-marker {
  display: none;
}

.job-summary span {
  display: block;
}

.job-location {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: right;
}

.job-body {
  border-top: 1px solid #e1e6ef;
  padding: 18px 22px 22px;
  display: grid;
  gap: 12px;
}

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

.job-apply {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #e1e6ef;
}

.job-apply h3 {
  margin: 0 0 6px;
}

.job-apply .wpcf7,
.job-apply form {
  margin-top: 8px;
}

.job-apply .wpcf7-form {
  display: grid;
  gap: 8px;
  max-width: 50%;
}

.job-apply input[type="text"],
.job-apply input[type="email"],
.job-apply input[type="tel"],
.job-apply input[type="url"],
.job-apply input[type="file"],
.job-apply textarea,
.job-apply select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  background: #f7f9fc;
  font-size: 15px;
  font-family: "Lato", sans-serif;
  color: var(--color-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-apply textarea {
  min-height: 140px;
  resize: vertical;
}

.job-apply input[type="file"] {
  padding: 10px 12px;
  background: #fff;
}

.job-apply input:focus,
.job-apply textarea:focus,
.job-apply select:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(11, 118, 184, 0.15);
  background: #fff;
}

.job-apply .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #d53a3a;
  margin-top: 4px;
}

.job-apply .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
}

.job-apply input[type="submit"],
.job-apply button,
.job-apply .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.job-apply input[type="submit"]:hover,
.job-apply button:hover,
.job-apply .wpcf7-submit:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(242, 106, 27, 0.25);
}

.job-apply input[type="submit"]:disabled,
.job-apply button:disabled,
.job-apply .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.downloads-logout {
  margin-top: 24px;
}

.downloads-list {
  margin: 18px 0 28px;
  display: grid;
  gap: 10px;
}

.downloads-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e1e6ef;
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
  color: var(--color-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.downloads-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f3f5f9;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.downloads-item__content {
  display: grid;
  gap: 4px;
}

.downloads-item__title {
  font-weight: 700;
}

.downloads-item__desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
}

.downloads-item:hover {
  border-color: #d3dbea;
  box-shadow: 0 10px 24px rgba(27, 42, 58, 0.12);
  transform: translateY(-1px);
}

.faq-page {
  background: #f6f7f9;
  padding-bottom: 80px;
}

.faq-page .container {
  width: min(1200px, 92vw);
}

.faq-list {
  padding: 20px 0 80px;
}

.faq-group {
  margin-bottom: 32px;
}

.faq-group__title {
  font-family: "Lato", sans-serif;
  font-size: 28px;
  margin: 0 0 16px;
  color: var(--color-blue);
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e1e6ef;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(27, 42, 58, 0.08);
  overflow: hidden;
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question::after {
  content: "–";
  transform: translateY(-1px);
}

.faq-answer {
  border-top: 0;
  padding: 0 18px;
  color: var(--color-ink);
  line-height: 1.6;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.32s ease, opacity 0.24s ease, padding 0.24s ease;
}

.faq-item.is-open .faq-answer {
  border-top: 1px solid #e1e6ef;
  padding: 16px 18px 20px;
  opacity: 1;
}

/* Password-protected page form (Do pobrania) */
.post-password-form {
  max-width: 420px;
  margin: 40px auto 60px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e3e7f0;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(27, 42, 58, 0.12);
  text-align: left;
}

.post-password-form p {
  margin: 0 0 12px;
}

.post-password-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.post-password-form input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9e1ec;
  border-radius: 4px;
  background: #f7f9fc;
  font-size: 15px;
  font-family: "Lato", sans-serif;
}

.post-password-form input[type="submit"] {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: none;
  border-radius: 4px;
  background: var(--color-dark);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .jobs-hero__title {
    font-size: 40px;
  }

  .jobs-hero__intro {
    font-size: 18px;
  }

  .job-summary {
    grid-template-columns: 1fr;
  }

  .job-location {
    text-align: left;
  }
}

.service-hero {
  position: relative;
  margin: 0 0 32px;
  border-radius: 0;
  min-height: 360px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: visible;
}

.service-hero.wp-block-cover {
  padding: 0;
}

.service-hero .wp-block-cover__inner-container {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  padding: 80px 48px;
}

.service-hero .wp-block-cover__background {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 32%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0) 53%) !important;
  background-color: transparent !important;
  opacity: 1 !important;
}

.service-hero .wp-block-cover__image-background {
  object-position: center right;
}

.mri-page .breadcrumbs {
  margin-bottom: 0;
}

.mri-page .section {
  padding-top: 0;
}

.service-hero h1,
.service-hero h2,
.service-hero .wp-block-heading,
.service-hero .wp-block-heading h1,
.service-hero h1.wp-block-heading {
  margin: 0 0 10px;
  font-size: 56px;
  line-height: 1.05;
  text-transform: uppercase !important;
  padding-bottom: 12px;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.service-hero h1::before,
.service-hero h2::before,
.service-hero .wp-block-heading::before,
.service-hero .wp-block-heading h1::before,
.service-hero h1.wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: calc(100% + 50px);
  background: #F15E22;
  transform-origin: left;
  animation: mri-title-line 0.8s ease-out both;
}

.service-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  box-shadow: 0 18px 40px rgba(27, 42, 58, 0.12);
}

.service-hero--dog {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 32%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0) 53%), url("assets/figma/1584bfc4e6f1d57817ee36aabab77da4848e8635.png");
  background-size: cover;
  background-position: center right;
}

.service-hero,
.service-hero h1,
.service-hero p,
.service-hero .wp-block-heading,
.service-hero .wp-block-heading * {
  color: #ffffff !important;
}

.service-subnav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0 36px;
}

.service-subnav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 16px 18px;
  border: 1px solid #009091;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
  background: #009091;
  text-align: center;
  border-radius: 0;
  box-shadow: 0 10px 22px rgba(27, 42, 58, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-subnav a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(27, 42, 58, 0.12);
  border-color: #007e7f;
  background: #007e7f;
}

.service-subnav a.is-active {
  background: #007e7f;
  border-color: #007e7f;
}

.service-layout .service-hero {
  margin-top: 0;
}

.service-layout .service-hero__media img,
.service-layout .service-block__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(27, 42, 58, 0.12);
}

.service-layout .service-subnav .wp-block-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.service-layout .service-subnav .wp-block-button__link {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 160px;
  padding: 18px 20px;
  border: none;
  color: #ffffff;
  font-size: 21px;
  letter-spacing: 0.6px;
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--color-blue-dark); /* <--- ZMIANA 8.04.2026 */
  text-align: left;
  border-radius: 0;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.service-layout .service-subnav .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  background: #d9521f;
}

.service-layout .service-subnav .wp-block-button.is-active .wp-block-button__link,
.service-layout .service-subnav .wp-block-button__link.is-active {
  background: #d9521f;
  color: #ffffff;
}

.service-layout .service-subnav .wp-block-button__link::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 1);
}

.service-layout .service-subnav .wp-block-button__link::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.service-layout .service-subnav .wp-block-button__link:hover::after {
  left: 140%;
}

.service-block {
  margin: 24px 0 36px;
}

.service-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.service-block__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  box-shadow: 0 16px 32px rgba(27, 42, 58, 0.1);
}

.service-blog {
  margin-top: 60px;
}

.service-blog h2 {
  margin: 0 0 20px;
}

.service-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-blog__grid .blog-card-row {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
}

.service-blog__grid .blog-card-row__media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-blog__grid .blog-card-row__body h4 {
  font-size: 16px;
  margin: 6px 0 8px;
}

.service-blog__grid .blog-card-row__body p {
  font-size: 14px;
  color: var(--color-muted);
}

@media (max-width: 980px) {
  .service-blog__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .service-hero .wp-block-cover__inner-container {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 30px 20px !important;
  }

  .service-hero,
  .service-block__grid {
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding: 32px 24px;
    background-position: center;
  }

  .service-hero .wp-block-columns {
    display: block !important;
  }

  .service-hero .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .service-hero .wp-block-column:last-child {
    display: none !important;
  }

  .mri-page h1,
  .service-hero h1,
  .service-hero .wp-block-heading {
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.05 !important;
    font-size: clamp(34px, 10vw, 48px) !important;
  }

  .mri-page .service-hero p,
  .service-hero p {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    writing-mode: horizontal-tb !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.25 !important;
    font-size: 16px !important;
    margin-top: 10px !important;
  }
}

.blog-pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--color-ink);
  font-size: 13px;
}

.blog-pagination .current {
  background: #db5b12;
  color: #fff;
  border-color: #db5b12;
}

.store-page {
  background: #f7f8fa;
  padding-bottom: 80px;
}

.store-hero {
  position: relative;
  padding: 60px 0 40px;
  color: #fff;
  background: radial-gradient(circle at top, rgba(11, 118, 184, 0.35), transparent 60%), #0b1c2b;
}

.store-hero__inner {
  display: grid;
  justify-items: start;
}

.store-hero__eyebrow {
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.store-hero__title {
  font-size: 46px;
  margin: 10px 0 8px;
}

.store-hero__intro {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.store-layout__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  margin-top: -24px;
  align-items: start;
}

.store-sidebar {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  height: fit-content;
  position: sticky;
  top: 110px;
}

.store-sidebar__block + .store-sidebar__block {
  margin-top: 22px;
}

.store-sidebar h2 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--color-ink);
}

.store-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.store-categories li a {
  color: var(--color-ink);
  font-weight: 500;
  padding: 6px 0;
  display: inline-flex;
}

.store-products__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--color-muted);
}

.store-products ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  width: 100%;
}

.store-products ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
}

.store-products {
  min-width: 0;
}

.store-product-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(220px, auto) 1fr;
  box-shadow: none;
}

.store-product-card__media {
  position: relative;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.store-product-card__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.store-product-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #f0622b;
  color: #fff;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.store-product-card__body {
  padding: 18px 18px 20px;
  display: grid;
  gap: 8px;
  text-align: center;
}

.store-product-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.store-product-card__title a {
  color: var(--color-ink);
}

.store-product-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.store-product-card__price {
  font-weight: 700;
  color: #111;
}

.store-product-card__actions .button {
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  width: 100%;
  justify-content: center;
}

.store-sidebar .woocommerce-product-search {
  display: grid;
  gap: 10px;
}

.store-sidebar .woocommerce-product-search input[type="search"] {
  border-radius: 12px;
  border: 1px solid #d6dde3;
  padding: 10px 12px;
}

.store-sidebar .woocommerce-product-search button {
  background: #db5b12;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
}

.single-product .store-single {
  padding: 40px 0 80px;
}

.single-product .store-single__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 56px;
  align-items: start;
}

.single-product .store-single__media {
  background: #fff;
  border: none;
  padding: 0;
  box-shadow: none;
  width: 100%;
}

.single-product .woocommerce-product-gallery {
  width: 100%;
}

.single-product div.product div.images,
.single-product .woocommerce div.product div.images,
.single-product .woocommerce-page div.product div.images,
.single-product #content div.product div.images,
.single-product .woocommerce #content div.product div.images,
.single-product .woocommerce-page #content div.product div.images {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  max-width: none !important;
}

.single-product div.product div.summary,
.single-product .woocommerce div.product div.summary,
.single-product .woocommerce-page div.product div.summary,
.single-product #content div.product div.summary,
.single-product .woocommerce #content div.product div.summary,
.single-product .woocommerce-page #content div.product div.summary {
  width: 100% !important;
  float: none !important;
  clear: none !important;
  max-width: none !important;
}

.single-product .woocommerce-product-gallery__wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.single-product .store-single__summary {
  background: #fff;
  border: none;
  padding: 0;
  box-shadow: none;
  width: auto !important;
  float: none !important;
}

.single-product .store-single__summary .product_title {
  font-size: 44px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.05;
  font-weight: 800;
  color: #111;
}

.single-product .store-single__badge {
  display: inline-block;
  background: #f0622b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 6px 10px;
  border-radius: 0;
  margin-bottom: 12px;
}

.single-product .store-single__category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #2aa6a1;
  margin: 4px 0 16px;
}

.single-product .store-single__summary .price {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px;
}

.single-product .store-single__summary .price .amount {
  color: #000 !important;
}

.single-product .store-single__summary .price,
.single-product .store-single__summary .price * {
  color: #000 !important;
}

.single-product .woocommerce-product-rating {
  margin: 10px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
}

.single-product .woocommerce-product-rating a {
  color: #111;
  font-weight: 600;
}

.single-product .store-single__summary .woocommerce-product-details__short-description {
  color: var(--color-ink);
  line-height: 1.6;
  margin: 12px 0 22px;
  padding: 18px 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.single-product form.cart {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: nowrap;
}

.single-product form.cart .quantity {
  flex: 0 0 88px;
}

.single-product form.cart .single_add_to_cart_button {
  flex: 1 1 auto;
}

.single-product .store-single__summary .quantity input[type="number"] {
  min-height: 56px;
  width: 88px;
  padding: 0 10px;
  border: 1px solid #111;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  appearance: auto;
  -webkit-appearance: auto;
}

.single-product .store-single__summary .quantity input[type="number"]::-webkit-inner-spin-button,
.single-product .store-single__summary .quantity input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

.single-product .store-single__summary .single_add_to_cart_button {
  background: #000 !important;
  color: #fff !important;
  border-radius: 0;
  min-height: 56px;
  padding: 0 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  width: 100%;
  justify-content: center;
  font-size: 14px;
}

.single-product .store-single__summary .single_add_to_cart_button:hover {
  background: #000 !important;
}

.single-product .product_meta {
  display: none;
}

.single-product .woocommerce-tabs {
  margin-top: 40px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #e6e6e6;
  padding: 0 0 10px;
  margin: 0 0 20px;
}

.single-product .woocommerce-tabs ul.tabs li {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.single-product .woocommerce-tabs ul.tabs li a {
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.single-product .woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid #111;
}

.single-product .woocommerce-tabs .panel {
  margin: 0;
  line-height: 1.7;
}

.single-product .related.products,
.single-product .up-sells {
  margin-top: 40px;
}

@media (max-width: 1100px) {
  .single-product .store-single__hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .store-layout__inner {
    grid-template-columns: 1fr;
  }

  .store-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .store-hero__title {
    font-size: 32px;
  }
}

.blog-category-card--featured .blog-category-card__body {
  align-content: center;
}

.blog-category-card--featured .blog-category-card__body h2 {
  font-size: 22px;
}

.blog-category-card--featured .blog-category-card__body p {
  font-size: 16px;
}

@media (max-width: 640px) {
  .blog-hero__title {
    font-size: 40px;
  }

  .blog-category-card {
    grid-template-rows: 200px 1fr;
  }
}

@media (max-width: 900px) {
  .blog-categories__grid {
    grid-template-columns: 1fr;
  }

  .blog-category-card--featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 200px 1fr;
  }
}

.contact-form__message {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .contact-card__content {
    grid-template-columns: 1fr;
  }

  .contact-card__column--left .contact-card__image {
    margin-top: 0;
  }

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

@media (max-width: 640px) {
  .contact-hero__title {
    font-size: 40px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-form-card {
    padding: 24px;
  }
}

.stats {
  position: relative;
  width: 1920px;
  max-width: 100%;
  height: 754px;
  padding-top: 40px;
  color: #fff;
  background: url("assets/figma/1584bfc4e6f1d57817ee36aabab77da4848e8635.png") center/cover no-repeat;
}

.stats::before {
  content: none;
}

.stats__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  height: 100%;
  width: 100%;
}

.stats .section__title {
  font-family: "Lato", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  white-space: nowrap;
}

.stats-grid {
  display: grid;
  gap: 90px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  max-width: none;
  width: 100%;
  padding: 0 60px;
  padding-top: 150px;
  margin: 0;
}

.stat {
  text-align: center;
  font-size: 30px;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat h3 {
  margin: 0;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.stats-cta {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
}

.stats .button {
  background: #ffffff;
  color: #111111;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 40px;
  border-radius: 0;
}

.blog {
  background: #ffffff;
}

.blog__header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 80px;
  margin-bottom: 48px;
}

.blog__title {
  margin: 0;
  font-size: 60px;
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.blog__title-link {
  color: inherit;
  text-decoration: none;
}

.blog__title-link:hover {
  text-decoration: underline;
}

.blog__intro {
  margin: 10px 0 0;
  max-width: 560px;
  justify-self: end;
  font-size: 16px;
  color: #2b2b2b;
}

.blog__content {
  position: relative;
  padding-right: 56px;
}

.blog-grid {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-grid::-webkit-scrollbar {
  display: none;
}

.blog-card {
  flex: 0 0 calc(100% / 3);
  border-left: 1px solid #5f6f58;
  padding: 20px 40px 12px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
}

.blog-card__icon {
  width: 24px;
  height: 24px;
}

.blog-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  text-decoration: underline;
}

.blog-card__meta {
  margin: 0;
  font-size: 14px;
  color: #2f3c24;
}

.blog-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4a4a4a;
}

.blog__arrow {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 76px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.blog__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  border-right: 1px solid #151515;
  border-top: 1px solid #151515;
  transform: translate(-50%, -50%) rotate(45deg);
}

.promo-duo {
  padding: 0;
  min-height: 503px;
  display: flex;
  align-items: center;
}

.promo-duo .container {
  width: min(1840px, 100%);
  height: auto;
}

.promo-duo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.promo-duo__panel {
  position: relative;
  height: 403px;
  min-height: 403px;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
}

.promo-duo__panel-link {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.promo-duo__panel--bank {
  background: #0079c1;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  overflow: visible;
}

.promo-duo__copy {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 3;
}

.promo-duo__copy h3 {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.promo-duo__copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.promo-duo__media {
  position: relative;
}

.promo-duo__shape {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.promo-duo__shape::after {
  content: "";
  position: absolute;
  width: 45%;
  height: 45%;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.promo-duo__media img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 389px;
  height: 433px;
  object-fit: cover;
}

.promo-duo__panel--conference {
  overflow: hidden;
  background: #0f1c24;
}

.promo-duo__panel--conference img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  transform: scale(1.05);
  transform-origin: center;
}

.promo-duo__panel--conference::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.promo-duo__panel:hover .promo-duo__shape {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.03);
}

.promo-duo__panel:hover .promo-duo__shape::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.03);
}

.promo-duo__panel:hover .promo-duo__media img {
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.promo-duo__panel--conference:hover img {
  transform: scale(1.08);
  transition: transform 0.6s ease;
}

.promo-duo__panel--conference img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-duo__panel--conference h3 {
  position: absolute;
  right: 80px;
  bottom: 34px;
  margin: 0;
  color: #ffffff;
  font-size: 42px;
}

@media (max-width: 1400px) {
  .promo-duo .container {
    width: min(1280px, calc(100% - 32px));
  }

  .promo-duo__panel--conference h3 {
    right: 40px;
    left: 40px;
    font-size: 34px;
  }
}

@media (max-width: 1100px) {
  .promo-duo {
    min-height: 0;
  }

  .promo-duo__grid {
    grid-template-columns: 1fr;
  }

  .promo-duo__panel {
    height: 360px;
    min-height: 360px;
  }

  .promo-duo__panel--bank {
    overflow: hidden;
  }

  .promo-duo__copy {
    padding: 42px 36px;
  }

  .promo-duo__copy h3 {
    font-size: 34px;
  }

  .promo-duo__panel--conference h3 {
    right: 32px;
    left: 32px;
    bottom: 28px;
    font-size: 30px;
    line-height: 1.08;
  }
}

@media (max-width: 767px) {
  .promo-duo .container {
    width: 100%;
    max-width: none;
  }

  .promo-duo__grid {
    gap: 16px;
  }

  .promo-duo__panel {
    height: auto;
    min-height: 0;
  }

  .promo-duo__panel--bank {
    grid-template-columns: 1fr;
  }

  .promo-duo__copy {
    padding: 28px 24px;
  }

  .promo-duo__copy h3 {
    font-size: 30px;
  }

  .promo-duo__media {
    min-height: 220px;
  }

  .promo-duo__media img {
    position: relative;
    width: 100%;
    height: 220px;
  }

  .promo-duo__panel--conference {
    min-height: 260px;
  }

  .promo-duo__panel--conference h3 {
    right: 20px;
    left: 20px;
    bottom: 20px;
    font-size: 24px;
  }
}
  font-weight: 400;
  line-height: 1.15;
  text-align: right;
  max-width: 70%;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  z-index: 3;
  font-family: "Lato", "Segoe UI", sans-serif;
}

.button--ghost {
  background: #ffffff;
  color: #111111;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
}

.button--ghost:hover {
  background: #f0f0f0;
}

.locations {
  background: #f5f5f5;
  height: 651px;
  display: flex;
  align-items: center;
}

.locations .section__title {
  font-size: 60px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #111111;
}

.locations .section__intro {
  font-size: 16px;
  font-weight: 400;
  color: #2b2b2b;
  max-width: none;
}

.locations-grid {
  display: grid;
  gap: 80px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 60px;
}

.location-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.location-card h3 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 400;
}

.location-sub {
  margin: 0 0 20px;
  font-size: 18px;
  color: #111111;
}

.location-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.location-detail__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 400;
  color: #111111;
  margin-bottom: 6px;
}

.location-detail__label img {
  width: 14.25px;
  height: 17.42px;
}

.location-detail__text {
  font-size: 18px;
  line-height: 1.45;
  color: #111111;
}

.locations-cta {
  text-align: center;
  margin-top: 60px;
}

.locations-cta .button {
  background: #f26a1b;
  color: #ffffff;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 500;
}

.site-footer {
  background: var(--color-blue);
  color: #fff;
  padding: 18px 0;
}

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

.site-footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__links a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__inner img {
  width: 180px;
}

@media (max-width: 900px) {
  .site-header__inner {
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__content {
    padding: 60px 0;
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .specialties-track {
    padding: 12px 24px 20px;
  }

  .specialty-slide {
    flex-basis: 240px;
  }


  .topbar .container,
  .hero .container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .stats,
  .promo-duo .container,
  .locations {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    justify-content: center;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1200px) {
  .hero {
    height: auto;
    min-height: 720px;
    align-items: flex-start;
  }

  .hero__content {
    position: relative;
    left: auto;
    top: auto;
    padding: 140px 60px 120px;
  }

  #dlaczego .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
  }

  .specialty-slide {
    flex-basis: 240px;
  }

  .diagnostics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px;
  }

  .team-grid {
    width: auto;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    padding-left: 0;
  }

  .cta-band .container {
    width: min(1200px, 92vw);
    height: auto;
  }

  .cta-band__inner {
    width: 100%;
    height: auto;
    padding: 40px;
  }

  .cta-band__photo {
    width: 220px;
    height: 220px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .stats {
    height: auto;
    padding-bottom: 120px;
  }

  .stats .section__title {
    font-size: 48px;
    white-space: normal;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    padding-top: 80px;
  }

  .promo-duo {
    height: auto;
    padding: 60px 0;
  }

  .promo-duo .container {
    width: min(1200px, 92vw);
    height: auto;
  }

  .promo-duo__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
  }

  .promo-duo__panel {
    height: 360px;
    min-height: 360px;
  }

  .promo-duo__media img {
    width: 320px;
    height: 360px;
  }

  .blog__header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog__intro {
    justify-self: start;
    margin: 0;
  }

  .blog-grid {
    display: flex;
  }

  .blog-card {
    flex-basis: 50%;
  }

  .locations {
    height: auto;
    padding: 90px 0;
  }

  .locations-grid {
    gap: 40px;
  }
}

@media (max-width: 1500px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(1280px, 96vw);
  }

  .promo-duo {
    height: auto;
    padding: 48px 0;
  }

  .promo-duo .container {
    width: min(1280px, 96vw);
    height: auto;
  }

  .promo-duo__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: auto;
  }

  .promo-duo__panel {
    min-height: 320px;
    height: 320px;
  }

  .promo-duo__media img {
    width: min(320px, 46%);
    height: 100%;
  }

  .stats {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero__content {
    padding: 120px 40px 100px;
  }

  .diagnostics-card {
    height: auto;
  }

  .stats-grid {
    padding-top: 60px;
  }
}

@media (max-width: 900px) {
  .hero__content {
    max-width: 620px;
  }

  .diagnostics .section__intro {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: 0;
  }

  .diagnostics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 8px;
  }

  .diagnostics-card {
    height: auto;
    min-height: 0;
    border-radius: 20px;
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 12px;
    padding: 14px;
    align-items: start;
  }

  .diagnostics-card__icon,
  .diagnostics-card img {
    width: 88px;
    height: 88px;
    margin: 0;
  }

  .diagnostics-card__body {
    row-gap: 8px;
    align-content: start;
  }

  .diagnostics-card h3 {
    font-size: 22px;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .diagnostics-card p {
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .diagnostics-card--cta {
    grid-template-columns: 1fr;
    justify-content: flex-start;
    align-items: center;
    padding: 6px 0 0;
    height: auto;
  }

  .diagnostics-card__cta {
    min-width: 0;
    width: auto;
    height: 40px;
    padding: 0 18px;
    font-size: 12px;
  }

  .promo-duo__panel--conference h3 {
    right: 32px;
    font-size: 36px;
  }

  .blog__arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 520px;
  }

  .hero__eyebrow {
    font-size: 28px;
    line-height: 1.1;
  }

  .hero__title {
    font-size: 56px;
  }

  .hero__subtitle {
    font-size: 22px;
  }

  .hero__text {
    font-size: 14px;
    max-width: 100%;
  }

  #dlaczego .section__title,
  .specialties .section__title,
  .diagnostics .section__title,
  .team .section__title,
  .stats .section__title,
  .locations .section__title,
  .blog__title {
    font-size: 44px;
  }

  #dlaczego .why-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  #dlaczego .why-card {
    width: auto;
  }

  #dlaczego .why-card img {
    width: 90px;
    height: 90px;
  }

  .specialties-slider::before {
    width: 36px;
  }

  .specialties-slider::after {
    width: 16px;
  }

  .specialties-track {
    justify-content: flex-start;
    padding-top: 12px;
    padding-bottom: 20px;
    padding-left: max(16px, calc((100% - 220px) / 2));
    padding-right: max(16px, calc((100% - 220px) / 2));
    scroll-padding-left: max(16px, calc((100% - 220px) / 2));
    scroll-padding-right: max(16px, calc((100% - 220px) / 2));
  }

  .specialty-slide {
    flex-basis: 220px;
    scroll-snap-align: center;
  }

  .diagnostics-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .diagnostics-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .diagnostics-card__icon {
    margin: 0 auto;
  }

  .diagnostics-card img {
    margin: 0 auto;
  }

  .diagnostics-card__body {
    justify-items: center;
    text-align: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-card img {
    width: 200px;
    height: 200px;
  }

  .team-card h3 {
    font-size: 26px;
  }

  .team-card p {
    font-size: 18px;
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .cta-band__photo {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .cta-band__copy {
    width: 100%;
    gap: 12px;
  }

  .cta-band__content {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-band__content h2 {
    font-size: clamp(36px, 11vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
  }

  .cta-band__content p {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0;
  }

  .cta-band__action {
    width: 100%;
    max-width: 320px;
  }

  .cta-band__action .button {
    width: 100%;
    height: auto;
    min-height: 54px;
    padding: 12px 14px;
    font-size: 18px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 50px;
  }

  .stat {
    font-size: 22px;
  }

  .stat h3 {
    font-size: 48px;
  }

  .promo-duo__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .promo-duo__panel {
    height: auto;
    min-height: 320px;
  }

  .promo-duo__panel--bank {
    grid-template-columns: 1fr;
  }

  .promo-duo__copy {
    padding: 40px 32px 20px;
  }

  .promo-duo__media {
    height: 220px;
  }

  .promo-duo__media img {
    width: 220px;
    height: 250px;
    right: 20px;
  }

  .promo-duo__panel--conference h3 {
    right: 24px;
    font-size: 32px;
  }

  .blog-grid {
    display: flex;
  }

  .blog-card {
    flex-basis: 100%;
    min-height: auto;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .location-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero__content {
    padding: 110px 20px 80px;
  }

  .hero__title {
    font-size: 44px;
  }

  #dlaczego .section__title,
  .specialties .section__title,
  .diagnostics .section__title,
  .team .section__title,
  .stats .section__title,
  .locations .section__title,
  .blog__title {
    font-size: 36px;
  }

  .promo-duo__copy h3 {
    font-size: 32px;
  }

  .promo-duo__panel--conference h3 {
    font-size: 28px;
  }

  .locations-cta .button {
    width: 100%;
    max-width: 260px;
  }

  .cta-band__content h2 {
    font-size: clamp(28px, 12.5vw, 44px);
  }

  .cta-band__content p {
    font-size: 20px;
  }
}

.team-directory {
  background: #f7f7f7;
  padding: 60px 0 120px;
}

.team-directory .container {
  width: min(1400px, 94vw);
}

.team-directory__hero {
  text-align: center;
  padding: 20px 0 40px;
}

.team-directory__title {
  font-family: "Lato", sans-serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--color-ink);
}

.team-directory__intro {
  font-size: 20px;
  font-weight: 300;
  max-width: 860px;
  margin: 0 auto;
  color: var(--color-muted);
}

.team-directory__group {
  padding: 40px 0 20px;
}

.team-directory__heading {
  font-family: "Lato", sans-serif;
  font-size: 36px;
  margin: 0 0 12px;
  color: var(--color-blue);
  text-align: center;
}

.team-directory__group-intro {
  text-align: center;
  color: var(--color-muted);
  max-width: 900px;
  margin: 0 auto 32px;
  font-size: 18px;
}

.team-directory__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, 220px);
  justify-content: center;
}

.team-member-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  border-radius: 0;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  overflow: hidden;
  will-change: transform;
}

.team-member-card[open] {
  grid-column: 1 / -1;
  animation: team-card-open 0.6s ease;
}

.team-member-card[open] .team-member-card__summary {
  max-width: 260px;
  margin: 24px auto 0;
  padding: 24px 18px 20px;
}

.team-member-card[open] .team-member-card__photo {
  height: 200px;
}

.team-member-card__summary {
  list-style: none;
  padding: 0 0 20px;
  text-align: center;
  cursor: pointer;
}

.team-member-card__summary .team-member-card__photo {
  margin-left: 0;
  margin-right: 0;
}

.team-member-card__summary::-webkit-details-marker {
  display: none;
}

.team-member-card__summary::marker {
  content: "";
}

.team-member-card:hover,
.team-member-card[open] {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.team-member-card[open] {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

@keyframes team-card-open {
  from {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }
  to {
    transform: translateY(-6px) scale(1);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
  }
}

.team-member-card__photo {
  width: 100%;
  height: 240px;
  margin: 0 0 16px;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: #e9eef3;
}

.team-member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-card__name {
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--color-dark);
  padding: 0 18px;
}

.team-member-card__role {
  margin: 0;
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.3;
  padding: 0 18px;
}

.team-member-card__bio {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
  color: var(--color-ink);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.5s ease;
}

.team-member-card[open] .team-member-card__bio {
  opacity: 1;
}

.team-member-card__email {
  margin: 16px 0 8px;
}

.team-member-card__email a {
  color: var(--color-blue);
  font-weight: 600;
}

.team-member-card__content {
  line-height: 1.5;
  color: var(--color-ink);
}

@media (max-width: 900px) {
  .team-directory__title {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .team-directory {
    padding: 40px 0 80px;
  }

  .team-member-card__photo {
    height: 200px;
  }
}

.mobile-nav-toggle {
  display: none;
}

@media (max-width: 980px) {
  :root {
    --sticky-topbar-height: 0px;
    --mobile-header-height: 96px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  #wpadminbar {
    width: 100% !important;
    min-width: 0 !important;
    left: 0 !important;
    right: 0 !important;
    overflow-x: hidden !important;
  }

  .topbar {
    display: none;
  }

  .site-header {
    position: fixed !important;
    top: var(--sticky-adminbar-height);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1200;
  }

  body {
    padding-top: var(--mobile-header-height);
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px;
    padding-right: 16px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 0;
    margin-top: 0;
    flex-direction: column;
    gap: 4px;
    width: 38px;
    height: 34px;
    padding: 0;
    border: 1px solid #d9dfe8;
    background: #ffffff;
    cursor: pointer;
  }

  .mobile-nav-toggle__line {
    width: 14px;
    height: 2px;
    background: #141414;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
    margin-left: 0;
  }

  body.mobile-nav-open .mobile-nav-toggle__line:nth-child(1) {
    transform: translateX(-2px) translateY(6px) rotate(45deg);
  }

  body.mobile-nav-open .mobile-nav-toggle__line:nth-child(2) {
    opacity: 0;
  }

  body.mobile-nav-open .mobile-nav-toggle__line:nth-child(3) {
    transform: translateX(-2px) translateY(-6px) rotate(-45deg);
  }

  .site-header__inner {
    height: auto;
    min-height: 72px;
    padding: 10px 0;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }

  .site-logo {
    order: 1;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-logo img {
    width: 198px;
    height: auto;
    max-width: 100%;
  }

  .mobile-nav-toggle {
    order: 2;
    align-self: center;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
  }

  .hero {
    min-height: 640px;
    height: auto;
  }

  .hero .container {
    width: 100% !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .hero__content {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    max-width: min(320px, 88vw) !important;
    padding: 120px 0 70px !important;
    margin: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.25) 68%, rgba(0, 0, 0, 0) 100%);
  }

  .hero__eyebrow {
    font-size: clamp(16px, 5vw, 22px);
    line-height: 1.12;
    margin-bottom: 6px;
  }

  .hero__title {
    font-size: clamp(30px, 9.2vw, 44px);
    line-height: 1.02;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero__subtitle {
    font-size: clamp(16px, 6.4vw, 24px);
    line-height: 1.1;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero__text {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0;
    word-break: break-word;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 12px 0;
    border-top: 1px solid #eceff4;
    align-items: flex-start;
  }

  .site-nav > a,
  .site-nav > .nav-dropdown > .nav-dropdown__toggle {
    width: 100%;
    padding: 12px 10px;
    border-bottom: 1px solid #eceff4;
    font-size: 16px;
    font-weight: 400;
    min-height: 0;
  }

  .nav-dropdown__toggle--services {
    display: block !important;
  }

  .nav-dropdown--services {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  .nav-dropdown--services > .nav-dropdown__toggle {
    grid-column: 1;
    border-bottom: 1px solid #eceff4;
  }

  .nav-dropdown__mobile-trigger {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 10px 0 8px;
    padding: 0;
    border: 1px solid #d9dfe8;
    background: #fff;
    color: #1f2937;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .nav-dropdown__mobile-trigger.is-open {
    background: #f6f8fb;
    border-color: #cfd7e2;
    transform: scale(1.03);
  }

  .nav-dropdown__mobile-trigger--generic.is-open {
    transform: translateY(-50%) scale(1.03);
  }

  .nav-dropdown__mobile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 18px;
    line-height: 1;
    color: #1f2937;
    margin-left: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-dropdown__mobile-trigger.is-open .nav-dropdown__mobile-icon {
    transform: rotate(180deg);
  }

  .nav-dropdown--services > .nav-dropdown__menu {
    grid-column: 1 / -1;
    display: block !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.28s ease;
  }

  .site-nav a::after,
  .nav-dropdown__toggle::after,
  .nav-dropdown__toggle::before,
  .nav-dropdown::after {
    display: none !important;
  }

  .nav-dropdown,
  .nav-dropdown--services {
    width: 100%;
    display: block;
  }

  .nav-dropdown:not(.nav-dropdown--services) {
    position: relative;
  }

  .nav-dropdown:not(.nav-dropdown--services) > .nav-dropdown__toggle {
    padding-right: 48px !important;
  }

  .nav-dropdown__mobile-trigger--generic {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
  }

  .nav-dropdown:not(.nav-dropdown--services) .nav-dropdown__menu {
    display: none !important;
  }

  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    display: none !important;
  }

  body.mobile-nav-open .nav-dropdown.mobile-open:not(.nav-dropdown--services) > .nav-dropdown__menu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 4px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body.mobile-nav-open .nav-dropdown.mobile-open:not(.nav-dropdown--services) .nav-service-item {
    display: block !important;
    width: 100% !important;
    padding: 10px 10px !important;
    border-bottom: 1px solid #eceff4;
  }

  body.mobile-nav-open .nav-dropdown.mobile-open:not(.nav-dropdown--services) .nav-service-item__title-link,
  body.mobile-nav-open .nav-dropdown.mobile-open:not(.nav-dropdown--services) .nav-service-item {
    display: block !important;
    width: 100% !important;
    font-size: 14px !important;
    color: #1f2937 !important;
  }

  body.mobile-nav-open .nav-dropdown.mobile-open:not(.nav-dropdown--services) .nav-service-item--has-children {
    position: relative;
    padding-right: 46px !important;
  }

  body.mobile-nav-open .nav-dropdown.mobile-open:not(.nav-dropdown--services) .nav-service-item__title-link::after {
    display: none;
  }

  body.mobile-nav-open .nav-dropdown.mobile-open:not(.nav-dropdown--services) .nav-service-subtoggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #d9dfe8;
    background: #fff;
    color: #1f2937;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  body.mobile-nav-open .nav-dropdown.mobile-open:not(.nav-dropdown--services) .nav-service-submenu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 0 0 0 14px !important;
    margin-top: 4px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  body.mobile-nav-open .nav-dropdown.mobile-open:not(.nav-dropdown--services) .nav-service-item--has-children.mobile-sub-open .nav-service-submenu {
    max-height: 240px;
    padding-top: 6px !important;
  }

  body.mobile-nav-open .nav-dropdown.mobile-open:not(.nav-dropdown--services) .nav-service-subitem {
    display: block;
    width: 100%;
    padding: 8px 10px 8px 0;
    font-size: 13px;
    border-top: 1px solid #f1f3f6;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .nav-dropdown__menu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 72vh;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-menu {
    display: block !important;
    width: 100% !important;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-menu__list {
    display: block !important;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-mobile-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-bottom: 1px solid #eceff4;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-menu__item {
    display: block !important;
    width: 100% !important;
    padding: 10px 10px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    border-bottom: 1px solid #eceff4 !important;
    color: #1f2937 !important;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-mobile-row .services-menu__item {
    border-bottom: 0 !important;
    padding-right: 12px !important;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-mobile-subtoggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 10px 0 8px;
    border: 1px solid #d9dfe8;
    background: #fff;
    color: #1f2937;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-mobile-row.is-open .services-mobile-subtoggle {
    background: #f6f8fb;
    border-color: #cfd7e2;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-mobile-submenu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition: max-height 0.28s ease, opacity 0.2s ease, transform 0.24s ease;
    border-bottom: 1px solid #eceff4;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-mobile-submenu.is-open {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-mobile-submenu-link {
    display: block;
    padding: 9px 10px 9px 20px;
    font-size: 13px;
    color: #374151;
    line-height: 1.25;
    text-decoration: none;
    border-top: 1px solid #f1f3f6;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-menu__item::before,
  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-menu__item::after {
    display: none !important;
  }

  body.mobile-nav-open .nav-dropdown--services.mobile-services-open .services-menu__pane {
    display: none !important;
  }

  .header-cta {
    order: 4;
    flex-basis: 100%;
    display: none;
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
  }

  body.mobile-nav-open .site-nav {
    display: flex;
  }

  body.mobile-nav-open .header-cta {
    display: inline-flex;
  }

  .container,
  .team .container,
  .cta-band .container,
  .promo-duo .container,
  .locations .container,
  .blog .container,
  .stats .container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .team-grid,
  .cta-band__inner,
  .promo-duo__grid {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .site-header,
  .hero,
  .section,
  .promo-duo,
  .cta-band,
  .locations,
  .blog,
  main {
    overflow-x: clip;
  }
}

@media (max-width: 980px) {
  .site-header .site-header__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 12px !important;
    row-gap: 0 !important;
    min-height: 76px !important;
    padding: 10px 0 !important;
  }

  .site-header .site-logo {
    grid-column: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 48px !important;
  }

  .site-header .site-logo img {
    width: 215px !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .site-header .mobile-nav-toggle {
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .site-header .site-nav,
  .site-header .header-cta {
    grid-column: 1 / -1 !important;
  }

  .service-hero .wp-block-cover__background {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.68) 32%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.1) 53%) !important;
    background-color: transparent !important;
    opacity: 1 !important;
  }
}
