:root {
  --color-white: #ffffff;
  --color-black: #0d0d0f;
  --color-dark: #101114;
  --color-dark-panel: #17191d;
  --color-gray-50: #f7f8fa;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e4e4e7;
  --color-gray-300: #cfcfd5;
  --color-gray-600: #666b73;
  --color-red: #ef0f0f;
  --color-red-dark: #c90000;

  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container: 1180px;
  --header-height: 84px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 20px;

  --shadow-sm: 0 8px 20px rgba(10, 10, 15, 0.08);
  --shadow-md: 0 18px 45px rgba(10, 10, 15, 0.12);

  --drawer-width: min(84vw, 380px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--color-black);
  background: var(--color-white);
  font-family: var(--font-main);
  line-height: 1.5;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

html.is-nav-locked,
body.is-nav-open {
  width: 100%;
  height: 100%;
  overscroll-behavior: none;
}

body.is-nav-open {
  position: fixed;
  inset: 0;
  overflow: hidden;
  touch-action: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 40px, 960px);
}

.section {
  padding: 92px 0;
}

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

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

.section--dark {
  color: var(--color-white);
  background: #111217;
}

.section--contact {
  background: #eef0f4;
}

.site-header,
main,
.site-footer {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(228, 228, 231, 0.9);
  box-shadow: 0 6px 18px rgba(10, 10, 15, 0.06);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  min-width: 150px;
  flex-direction: column;
  line-height: 1;
}

.brand__title {
  color: #0b0b0d;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 950;
  letter-spacing: -0.065em;
}

.brand__subtitle {
  margin-top: 6px;
  color: var(--color-red);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-weight: 850;
}

.main-nav__head,
.main-nav__close {
  display: none;
}

.main-nav__link {
  position: relative;
  padding: 30px 0;
  transition: color 0.18s ease;
}

.main-nav__link::after {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--color-red);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.18s ease;
}

.main-nav__link:hover,
.main-nav__link:focus-visible,
.main-nav__link.is-active {
  color: var(--color-red);
}

.main-nav__link:hover::after,
.main-nav__link:focus-visible::after,
.main-nav__link.is-active::after {
  width: 26px;
}

.language-switcher,
.footer-languages {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #f1f2f4;
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
}

.language-switcher a,
.footer-languages a {
  display: inline-flex;
  min-width: 36px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--color-gray-600);
  font-size: 12px;
  font-weight: 900;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher a.is-active,
.footer-languages a:hover,
.footer-languages a:focus-visible,
.footer-languages a.is-active {
  color: var(--color-white);
  background: var(--color-red);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--color-black);
  border-radius: 999px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(0, 0, 0, 0.56);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

body.is-nav-open .mobile-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

main,
.site-footer,
.site-header .brand,
.site-header .language-switcher,
.site-header .nav-toggle {
  transition: transform 0.38s var(--ease);
}

body.is-nav-open main,
body.is-nav-open .site-footer,
body.is-nav-open .site-header .brand,
body.is-nav-open .site-header .language-switcher,
body.is-nav-open .site-header .nav-toggle {
  transform: translateX(calc(-1 * var(--drawer-width)));
  pointer-events: none;
}

body.is-nav-open .main-nav,
body.is-nav-open .mobile-nav-backdrop {
  pointer-events: auto;
}

body.is-nav-open .main-nav,
body.is-nav-open .main-nav * {
  touch-action: manipulation;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  color: var(--color-white);
  background: var(--color-red);
  border-color: var(--color-red);
  box-shadow: 0 12px 28px rgba(239, 15, 15, 0.22);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
}

.btn--light {
  color: #111217;
  background: var(--color-white);
  border-color: var(--color-white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn--ghost {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.48);
}

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

.btn__icon {
  font-size: 20px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  color: var(--color-white);
  background: #111217;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 6.5s linear;
}

.hero-bg__media.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.hero-bg__image {
  background-position: center;
  background-size: cover;
}

.hero-bg__video-layer {
  overflow: hidden;
}

.hero-bg__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.68) 34%, rgba(0, 0, 0, 0.36) 68%, rgba(0, 0, 0, 0.26) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.66) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - var(--header-height) - 130px);
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-slider {
  width: min(100%, 830px);
  max-width: 100%;
}

.hero-slider__viewport {
  display: grid;
  position: relative;
  align-items: start;
  max-width: 100%;
}

.hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 830px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.hero-slide .eyebrow,
.hero-slide h1,
.hero-slide .hero__lead,
.hero-slide .hero__actions,
.hero-slide .hero-badges {
  opacity: 0;
  transform: translateY(22px);
}

.hero-slide.is-active .eyebrow {
  animation: heroContentIn 0.72s ease 0.05s forwards;
}

.hero-slide.is-active h1 {
  animation: heroContentIn 0.72s ease 0.16s forwards;
}

.hero-slide.is-active .hero__lead {
  animation: heroContentIn 0.72s ease 0.28s forwards;
}

.hero-slide.is-active .hero__actions {
  animation: heroContentIn 0.72s ease 0.4s forwards;
}

.hero-slide.is-active .hero-badges {
  animation: heroContentIn 0.72s ease 0.52s forwards;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.86;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--color-white);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.075em;
  overflow-wrap: anywhere;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.44);
}

.dot {
  color: var(--color-red);
}

.hero__lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.hero-badges i {
  color: var(--color-red);
}

.hero-slider__controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-top: 6px;
}

.hero-slider__arrow {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.hero-slider__arrow:hover,
.hero-slider__arrow:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.44);
  transform: translateY(-1px);
}

.hero-slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-slider__dots button {
  width: 36px;
  height: 5px;
  padding: 0;
  background: rgba(255, 255, 255, 0.36);
  border: 0;
  border-radius: 999px;
  transition: width 0.18s ease, background 0.18s ease;
}

.hero-slider__dots button.is-active {
  width: 58px;
  background: var(--color-red);
}

.hero-trust-wrap {
  position: relative;
  z-index: 3;
  padding-bottom: 34px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.trust-item {
  display: flex;
  min-height: 108px;
  align-items: center;
  gap: 18px;
  padding: 26px;
  color: var(--color-black);
}

.trust-item + .trust-item {
  border-left: 1px solid var(--color-gray-200);
}

.icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  font-size: 31px;
}

.trust-item strong {
  display: block;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head {
  max-width: 800px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2 {
  position: relative;
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.section-head h2::after {
  display: block;
  width: 54px;
  height: 4px;
  margin: 16px auto 0;
  content: "";
  background: var(--color-red);
  border-radius: 999px;
}

.section-head--left h2::after {
  margin-left: 0;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--color-gray-600);
}

.section--dark .section-head p,
.section--dark .why-item p {
  color: rgba(255, 255, 255, 0.72);
}

.process-grid,
.projects-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.process-card,
.service-card,
.project-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(10, 10, 15, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.process-card:hover,
.service-card:hover,
.project-card:hover {
  border-color: rgba(239, 15, 15, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.process-card {
  position: relative;
  min-height: 300px;
  padding: 30px 24px;
}

.process-card__num {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(239, 15, 15, 0.14);
  font-size: 54px;
  font-weight: 950;
  line-height: 1;
}

.process-card__icon {
  color: var(--color-red);
  font-size: 42px;
}

.process-card h3,
.service-card h3,
.why-item h3,
.project-card h3 {
  margin: 20px 0 0;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.process-card h3,
.service-card h3 {
  overflow-wrap: anywhere;
}

.process-card h3 {
  font-size: 24px;
}

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

.card-media-link,
.project-card__media,
.map-placeholder-link {
  display: block;
}

.image-placeholder {
  position: relative;
  display: block;
  width: 100%;
  min-height: 190px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 238, 240, 0.9)),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.018) 0 4px, transparent 4px 8px);
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
}

.image-placeholder::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(143, 143, 151, 0.48) 50%, transparent calc(50% + 1px)),
    linear-gradient(to top right, transparent calc(50% - 1px), rgba(143, 143, 151, 0.48) 50%, transparent calc(50% + 1px));
}

.section--dark .image-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 4px, transparent 4px 8px);
  border-color: rgba(255, 255, 255, 0.34);
}

.section--dark .image-placeholder::before {
  background:
    linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(255, 255, 255, 0.34) 50%, transparent calc(50% + 1px)),
    linear-gradient(to top right, transparent calc(50% - 1px), rgba(255, 255, 255, 0.34) 50%, transparent calc(50% + 1px));
}

.service-card .image-placeholder {
  min-height: 190px;
  border-width: 0 0 1px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.service-card--featured {
  border-top: 4px solid var(--color-red);
}

.service-card__body {
  padding: 26px 24px 30px;
}

.service-card__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-red);
  font-size: 45px;
  line-height: 1;
}

.service-card h3 {
  max-width: 260px;
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.055em;
}

.service-card p {
  margin: 16px 0 0;
  color: var(--color-gray-600);
  font-size: 15px;
}

.service-card h3 a:hover,
.project-card h3 a:hover,
.text-link:hover {
  color: var(--color-red-dark);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-red);
  font-size: 14px;
  font-weight: 900;
}

.text-link::after {
  margin-left: 8px;
  content: "→";
}

.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.image-placeholder--large {
  min-height: 430px;
  border-radius: var(--radius-md);
}

.why-list {
  display: grid;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 28px;
}

.why-item + .why-item {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.why-item__icon {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  font-size: 41px;
  line-height: 1;
}

.why-item h3 {
  margin: 0;
  font-size: 22px;
}

.why-item p {
  margin: 8px 0 0;
}

.project-card {
  padding: 14px;
  text-align: center;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ba-box {
  position: relative;
}

.ba-box .image-placeholder {
  min-height: 136px;
  border-radius: 10px;
}

.ba-label {
  position: absolute;
  top: 8px;
  z-index: 2;
  display: inline-flex;
  padding: 4px 8px;
  color: var(--color-white);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  border-radius: 5px;
}

.ba-label--before {
  left: 8px;
  background: #555a62;
}

.ba-label--after {
  right: 8px;
  background: var(--color-red);
}

.project-card h3 {
  margin: 20px 0 4px;
  font-size: 20px;
}

.project-card p {
  margin: 0 0 8px;
  color: var(--color-gray-600);
  font-size: 14px;
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.brand-chips a {
  min-width: 150px;
  padding: 14px 28px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(10, 10, 15, 0.03);
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.brand-chips a:hover,
.brand-chips a:focus-visible {
  color: var(--color-red);
  border-color: rgba(239, 15, 15, 0.5);
  transform: translateY(-1px);
}

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

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 18px rgba(10, 10, 15, 0.03);
}

.faq-item summary {
  position: relative;
  padding: 22px 58px 22px 24px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 24px;
  height: 24px;
  content: "+";
  color: var(--color-black);
  font-size: 22px;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--color-red);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--color-gray-600);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 0.85fr 0.9fr;
  align-items: stretch;
  gap: 34px;
}

.contact__info,
.contact-form {
  padding: 34px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(10, 10, 15, 0.04);
}

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

.contact-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  font-weight: 900;
}

.contact-list li:nth-child(2) {
  font-size: 28px;
  letter-spacing: -0.05em;
}

.contact-list li:nth-child(3) {
  font-size: 22px;
  letter-spacing: -0.035em;
}

.contact-list__icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  font-size: 30px;
}

.contact__placeholder,
.map-placeholder-link {
  display: block;
  min-height: 100%;
}

.image-placeholder--map {
  height: 100%;
  min-height: 430px;
  border-radius: var(--radius-md);
}

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

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

.contact-form span {
  color: var(--color-gray-600);
  font-size: 13px;
  font-weight: 850;
}

.contact-form em {
  color: var(--color-gray-600);
  font-style: normal;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  resize: vertical;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form input[type="file"] {
  padding: 14px;
  cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(239, 15, 15, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 15, 15, 0.09);
}

.form-note {
  margin: 2px 0 0;
  color: var(--color-gray-600);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  padding-top: 64px;
  color: var(--color-white);
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand__title {
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.9fr 0.9fr;
  gap: 54px;
  padding-bottom: 48px;
}

.footer-brand p {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.68);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 900;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.socials a:hover,
.socials a:focus-visible {
  color: var(--color-red);
  border-color: rgba(239, 15, 15, 0.65);
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav h3,
.footer-contact h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 950;
}

.footer-nav a,
.footer-contact p,
.footer-contact a {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--color-red);
}

.footer-languages {
  width: max-content;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 28px;
}

.footer-bottom a:hover {
  color: var(--color-red);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide .eyebrow,
  .hero-slide h1,
  .hero-slide .hero__lead,
  .hero-slide .hero__actions,
  .hero-slide .hero-badges {
    animation: none;
    transition: none;
    transform: none;
  }

  .hero-slide.is-active .eyebrow,
  .hero-slide.is-active h1,
  .hero-slide.is-active .hero__lead,
  .hero-slide.is-active .hero__actions,
  .hero-slide.is-active .hero-badges {
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hero__inner {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 70px;
  }

  .process-grid,
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .why__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__placeholder,
  .map-placeholder-link {
    min-height: 320px;
  }

  .image-placeholder--map {
    min-height: 320px;
  }

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

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .nav-toggle,
  .mobile-nav-backdrop {
    display: block;
  }

  .nav-toggle {
    order: 4;
  }

  .language-switcher {
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 140;
    display: flex;
    width: var(--drawer-width);
    max-width: 100dvw;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px;
    overflow: hidden;
    visibility: hidden;
    background: var(--color-white);
    border-left: 1px solid var(--color-gray-200);
    box-shadow: -24px 0 50px rgba(0, 0, 0, 0.22);
    transform: translateX(104%);
    transition: transform 0.38s var(--ease), visibility 0.38s;
    touch-action: none;
    contain: layout paint;
    overscroll-behavior: contain;
  }

  .main-nav.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  .main-nav:not(.is-open) {
    pointer-events: none;
  }

  .main-nav__head {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    color: var(--color-black);
    border-bottom: 1px solid var(--color-gray-200);
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
  }

  .main-nav__close {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    background: #f1f2f4;
    border: 1px solid var(--color-gray-200);
    border-radius: 999px;
    font-size: 22px;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  }

  .main-nav__close:hover,
  .main-nav__close:focus-visible {
    color: var(--color-red);
    background: var(--color-white);
    border-color: rgba(239, 15, 15, 0.35);
  }

  .main-nav__link {
    padding: 18px 4px;
    color: var(--color-black);
    border-bottom: 1px solid var(--color-gray-200);
    font-size: 24px;
    letter-spacing: -0.045em;
  }

  .main-nav__link::after {
    display: none;
  }

  .main-nav__link,
  .main-nav__close {
    touch-action: manipulation;
  }

  .section {
    padding: 70px 0;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--color-gray-200);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--color-gray-200);
  }
}

@media (max-width: 680px) {
  :root {
    --drawer-width: min(88vw, 360px);
  }

  .container,
  .container--narrow {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    min-width: auto;
  }

  .brand__title {
    font-size: 27px;
  }

  .brand__subtitle {
    font-size: 12px;
  }

  .language-switcher a {
    min-width: 30px;
    min-height: 28px;
    padding: 0 7px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-top: 74px;
    padding-bottom: 56px;
  }

  .hero-slider {
    width: 100%;
  }

  .hero-slider__controls {
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 8px;
  }

  .hero-slider__arrow {
    width: 44px;
    height: 44px;
  }

  .hero-slider__dots button {
    width: 28px;
  }

  .hero-slider__dots button.is-active {
    width: 44px;
  }

  .hero-slide {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-badges {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-strip,
  .process-grid,
  .cards-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item,
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--color-gray-200);
  }

  .trust-item {
    min-height: auto;
    padding: 22px;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .why-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }

  .contact__info,
  .contact-form {
    padding: 24px;
  }

  .contact-list li:nth-child(2) {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    display: grid;
    align-items: start;
  }

  .footer-bottom div {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .hero-slider__controls {
    gap: 12px;
  }
}


/* Internal pages */
.inner-hero {
  padding: 76px 0;
  color: var(--color-white);
  background: #111217;
}

.inner-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 54px;
}

.inner-hero h1 {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.07em;
  overflow-wrap: anywhere;
}

.inner-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  line-height: 1.75;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumbs a:hover {
  color: var(--color-red);
}

.inner-hero__media .image-placeholder {
  min-height: 360px;
  border-color: rgba(255,255,255,0.34);
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 4px, transparent 4px 8px);
}

.page-image-placeholder {
  min-height: 320px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 54px;
}

.split-section--reverse {
  grid-template-columns: 0.92fr 1fr;
}

.split-section--reverse .split-section__content {
  order: 2;
}

.split-section h2,
.cta-band h2,
.legal-content h2 {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.split-section p {
  margin: 18px 0 0;
  color: var(--color-gray-600);
  font-size: 17px;
  line-height: 1.75;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 850;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 22px;
  height: 22px;
  content: "✓";
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 999px;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}

.page-cards-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.page-card,
.review-card,
.rating-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(10,10,15,.04);
}

.page-card {
  overflow: hidden;
}

.page-card__body {
  padding: 26px 24px 30px;
}

.page-card__media .image-placeholder {
  min-height: 190px;
  border-width: 0 0 1px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.page-card__icon {
  color: var(--color-red);
  font-size: 42px;
}

.page-card h3 {
  margin: 18px 0 0;
  font-size: 25px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

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

.cta-band {
  color: var(--color-white);
  background: #111217;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
}

.cta-band p {
  max-width: 660px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.74);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.cta-band__whatsapp {
  color: var(--color-white);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-bar button {
  padding: 12px 18px;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  font-weight: 900;
}

.filter-bar button.is-active,
.filter-bar button:hover {
  color: var(--color-white);
  background: var(--color-red);
  border-color: var(--color-red);
}

.rating-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding: 28px;
}

.rating-card i {
  color: var(--color-red);
  font-size: 42px;
}

.rating-card h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.rating-card p,
.review-card p,
.legal-content p {
  color: var(--color-gray-600);
}

.review-card {
  padding: 26px;
}

.review-card__stars {
  color: var(--color-red);
  font-weight: 950;
  letter-spacing: 0.05em;
}

.legal-content {
  color: var(--color-black);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(26px, 3vw, 38px);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.not-found-section {
  color: var(--color-white);
  background: #111217;
}

.not-found {
  text-align: center;
}

.not-found span {
  display: block;
  color: var(--color-red);
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 950;
  line-height: 1;
}

.not-found h1 {
  margin: 20px 0 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.not-found p {
  color: rgba(255,255,255,.74);
  font-size: 18px;
}

.not-found .hero__actions {
  justify-content: center;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.quick-links a {
  padding: 10px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-weight: 850;
}

@media (max-width: 1100px) {
  .inner-hero__grid,
  .split-section,
  .split-section--reverse,
  .cta-band__inner {
    grid-template-columns: 1fr;
  }

  .split-section--reverse .split-section__content {
    order: 0;
  }

  .page-cards-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 680px) {
  .inner-hero {
    padding: 58px 0;
  }

  .inner-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .inner-hero p {
    font-size: 16px;
  }

  .page-cards-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .rating-card {
    grid-template-columns: 1fr;
  }

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


/* v2 WordPress integrations */
.messenger-links,
.footer-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messenger-links a,
.footer-messengers a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-weight: 900;
}

.footer-messengers {
  margin-top: 4px;
}

.footer-messengers a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.footer-messengers a:hover {
  color: var(--color-red);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-tags span {
  display: inline-flex;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(10, 10, 15, 0.03);
}

.wpcf7-form {
  display: grid;
  gap: 14px;
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form label {
  display: grid;
  gap: 7px;
  color: var(--color-gray-600);
  font-size: 13px;
  font-weight: 850;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 16px 18px;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: rgba(239, 15, 15, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 15, 15, 0.09);
}

.wpcf7-submit {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  color: var(--color-white);
  background: var(--color-red);
  border: 2px solid var(--color-red);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(239, 15, 15, 0.22);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.lexcor-cookie {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 180;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  width: min(calc(100% - 44px), 680px);
  align-items: center;
  padding: 18px;
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-gray-200);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.lexcor-cookie[hidden] {
  display: none;
}

.lexcor-cookie__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 999px;
  font-size: 22px;
}

.lexcor-cookie__content strong {
  display: block;
  font-size: 18px;
  font-weight: 950;
}

.lexcor-cookie__content p {
  margin: 4px 0 0;
  color: var(--color-gray-600);
  font-size: 13px;
  line-height: 1.45;
}

.lexcor-cookie__actions {
  display: flex;
  gap: 8px;
}

.lexcor-cookie__btn {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
}

.lexcor-cookie__btn--primary {
  color: var(--color-white);
  background: var(--color-red);
  border: 1px solid var(--color-red);
}

.lexcor-cookie__btn--secondary {
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
}

@media (max-width: 680px) {
  .lexcor-cookie {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .lexcor-cookie__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}


/* v3 WordPress standard menu support */
.main-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__list .menu-item {
  margin: 0;
  padding: 0;
}

.main-nav__list .current-menu-item > .main-nav__link,
.main-nav__list .current_page_item > .main-nav__link,
.main-nav__list .current-menu-ancestor > .main-nav__link {
  color: var(--color-red);
}

.main-nav__list .current-menu-item > .main-nav__link::after,
.main-nav__list .current_page_item > .main-nav__link::after,
.main-nav__list .current-menu-ancestor > .main-nav__link::after {
  width: 26px;
}

@media (max-width: 920px) {
  .main-nav__list {
    display: grid;
    width: 100%;
    gap: 0;
  }
}


/* v5 WordPress/ACF editable architecture */
.main-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__list .menu-item {
  margin: 0;
  padding: 0;
}

.main-nav__list .current-menu-item > .main-nav__link,
.main-nav__list .current_page_item > .main-nav__link,
.main-nav__list .current-menu-ancestor > .main-nav__link {
  color: var(--color-red);
}

.main-nav__list .current-menu-item > .main-nav__link::after,
.main-nav__list .current_page_item > .main-nav__link::after,
.main-nav__list .current-menu-ancestor > .main-nav__link::after {
  width: 26px;
}

.brand-chips span {
  min-width: 150px;
  padding: 14px 28px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(10, 10, 15, 0.03);
}

.messenger-links,
.footer-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messenger-links a,
.footer-messengers a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-weight: 900;
}

.footer-messengers a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.footer-messengers a:hover {
  color: var(--color-red);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-tags span {
  display: inline-flex;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(10, 10, 15, 0.03);
}

.wpcf7-form {
  display: grid;
  gap: 14px;
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form label {
  display: grid;
  gap: 7px;
  color: var(--color-gray-600);
  font-size: 13px;
  font-weight: 850;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 16px 18px;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: rgba(239, 15, 15, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 15, 15, 0.09);
}

.wpcf7-submit {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  color: var(--color-white);
  background: var(--color-red);
  border: 2px solid var(--color-red);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(239, 15, 15, 0.22);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.lexcor-cookie {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 180;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  width: min(calc(100% - 44px), 680px);
  align-items: center;
  padding: 18px;
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-gray-200);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.lexcor-cookie[hidden] {
  display: none;
}

.lexcor-cookie__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 999px;
  font-size: 22px;
}

.lexcor-cookie__content strong {
  display: block;
  font-size: 18px;
  font-weight: 950;
}

.lexcor-cookie__content p {
  margin: 4px 0 0;
  color: var(--color-gray-600);
  font-size: 13px;
  line-height: 1.45;
}

.lexcor-cookie__actions {
  display: flex;
  gap: 8px;
}

.lexcor-cookie__btn {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
}

.lexcor-cookie__btn--primary {
  color: var(--color-white);
  background: var(--color-red);
  border: 1px solid var(--color-red);
}

.lexcor-cookie__btn--secondary {
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
}

@media (max-width: 920px) {
  .main-nav__list {
    display: grid;
    width: 100%;
    gap: 0;
  }
}

@media (max-width: 680px) {
  .lexcor-cookie {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .lexcor-cookie__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}


/* v6 page-type templates and WordPress menu support */
.main-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__list .menu-item {
  margin: 0;
  padding: 0;
}

.main-nav__list .current-menu-item > .main-nav__link,
.main-nav__list .current_page_item > .main-nav__link,
.main-nav__list .current-menu-ancestor > .main-nav__link {
  color: var(--color-red);
}

.main-nav__list .current-menu-item > .main-nav__link::after,
.main-nav__list .current_page_item > .main-nav__link::after,
.main-nav__list .current-menu-ancestor > .main-nav__link::after {
  width: 26px;
}

.brand-chips span {
  min-width: 150px;
  padding: 14px 28px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(10, 10, 15, 0.03);
}

.messenger-links,
.footer-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messenger-links a,
.footer-messengers a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-weight: 900;
}

.footer-messengers a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.footer-messengers a:hover {
  color: var(--color-red);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-tags span {
  display: inline-flex;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(10, 10, 15, 0.03);
}

.wpcf7-form {
  display: grid;
  gap: 14px;
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form label {
  display: grid;
  gap: 7px;
  color: var(--color-gray-600);
  font-size: 13px;
  font-weight: 850;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 16px 18px;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: rgba(239, 15, 15, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 15, 15, 0.09);
}

.wpcf7-submit {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  color: var(--color-white);
  background: var(--color-red);
  border: 2px solid var(--color-red);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(239, 15, 15, 0.22);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.lexcor-cookie {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 180;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  width: min(calc(100% - 44px), 680px);
  align-items: center;
  padding: 18px;
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-gray-200);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.lexcor-cookie[hidden] {
  display: none;
}

.lexcor-cookie__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 999px;
  font-size: 22px;
}

.lexcor-cookie__content strong {
  display: block;
  font-size: 18px;
  font-weight: 950;
}

.lexcor-cookie__content p {
  margin: 4px 0 0;
  color: var(--color-gray-600);
  font-size: 13px;
  line-height: 1.45;
}

.lexcor-cookie__actions {
  display: flex;
  gap: 8px;
}

.lexcor-cookie__btn {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
}

.lexcor-cookie__btn--primary {
  color: var(--color-white);
  background: var(--color-red);
  border: 1px solid var(--color-red);
}

.lexcor-cookie__btn--secondary {
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
}

@media (max-width: 920px) {
  .main-nav__list {
    display: grid;
    width: 100%;
    gap: 0;
  }
}

@media (max-width: 680px) {
  .lexcor-cookie {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .lexcor-cookie__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}


/* v6.2 remote free stock photography fallbacks */
.image-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border-radius: inherit;
}

.before-after .image-placeholder img,
.project-card__media .image-placeholder img,
.inner-hero__media .image-placeholder img {
  position: absolute;
  inset: 0;
}

.before-after .image-placeholder,
.project-card__media .image-placeholder,
.inner-hero__media .image-placeholder {
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  opacity: 0.18;
}



/* v6.3 image normalization and premium polish */
.page-cards-grid {
  align-items: stretch;
}

.page-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.page-card__media {
  display: block;
  position: relative;
  width: 100%;
  height: clamp(210px, 22vw, 290px);
  overflow: hidden;
  background: #111;
}

.page-card__media .image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
}

.page-card__media img,
.project-card__media img,
.inner-hero__media img,
.split-section .image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.page-card__body .text-link {
  margin-top: auto;
}

.inner-hero__media {
  min-height: clamp(320px, 32vw, 460px);
}

.inner-hero__media .image-placeholder,
.split-section .image-placeholder {
  height: 100%;
  min-height: clamp(300px, 30vw, 440px);
}

.project-card__media {
  height: clamp(230px, 24vw, 320px);
  overflow: hidden;
}

.before-after {
  height: 100%;
}

.ba-box {
  min-height: 100%;
}

.hero-bg__image,
.hero-bg__video-layer,
.hero-bg__video {
  height: 100%;
}

.contact__placeholder.contact__map {
  position: relative;
  min-height: clamp(360px, 42vw, 540px);
  overflow: hidden;
  border: 1px solid rgba(18, 18, 24, 0.12);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 22px 60px rgba(10, 10, 15, 0.12);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  filter: saturate(0.9) contrast(1.02);
}

.map-open-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 18, 24, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(10, 10, 15, 0.14);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.map-open-link:hover {
  color: var(--color-red);
}

.section--gray {
  background:
    radial-gradient(circle at 18% 12%, rgba(239, 15, 15, 0.04), transparent 28%),
    var(--color-gray-100);
}

.page-card,
.process-card,
.review-card,
.contact__info,
.contact-form {
  box-shadow: 0 18px 45px rgba(10, 10, 15, 0.08);
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 65px rgba(10, 10, 15, 0.12);
}

@media (max-width: 920px) {
  .page-card__media {
    height: 240px;
  }

  .inner-hero__media,
  .inner-hero__media .image-placeholder,
  .split-section .image-placeholder,
  .contact__placeholder.contact__map {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .page-card__media {
    height: 220px;
  }

  .project-card__media {
    height: 250px;
  }

  .map-open-link {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }
}


/* v6.4 visual QA: tighter pages, fixed before/after media, footer map */
@media (min-width: 921px) {
  .section {
    padding: 76px 0;
  }

  .inner-hero {
    padding: 78px 0;
  }
}

.filter-section {
  padding: 46px 0 30px;
}

.filter-section + .gallery-section {
  padding-top: 64px;
}

.gallery-section .section-head {
  margin-bottom: 46px;
}

.project-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.project-card__media {
  flex: 0 0 auto;
  height: clamp(210px, 19vw, 260px);
}

.project-card__media .before-after,
.project-card__media .ba-box,
.project-card__media .ba-box .image-placeholder {
  height: 100%;
  min-height: 0;
}

.project-card__media .ba-box .image-placeholder {
  border-width: 0;
}

.project-card__media .image-placeholder img {
  position: absolute;
  inset: 0;
}

.project-card h3 {
  margin-top: 22px;
}

.page-card__media {
  height: clamp(220px, 20vw, 270px);
}

.split-section {
  align-items: center;
}

.split-section .image-placeholder {
  min-height: clamp(280px, 26vw, 390px);
}

.inner-hero__media {
  min-height: clamp(300px, 29vw, 420px);
}

.inner-hero__media .image-placeholder {
  min-height: inherit;
}

.page-template-lexcor-about .inner-hero,
.page-template-lexcor-realizations .inner-hero,
.page-template-lexcor-contact .inner-hero {
  padding-bottom: 84px;
}

.page-template-lexcor-about .split-section,
.page-template-lexcor-contact .split-section {
  gap: clamp(40px, 5vw, 72px);
}

.footer-map {
  position: relative;
  width: 100%;
  height: 185px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.03) brightness(0.92);
}

.contact__placeholder.contact__map {
  min-height: clamp(380px, 36vw, 500px);
}

.contact__grid {
  align-items: stretch;
}

.contact__info,
.contact-form,
.contact__placeholder.contact__map {
  height: 100%;
}

.page-card,
.project-card,
.contact__info,
.contact-form,
.contact__placeholder.contact__map,
.inner-hero__media .image-placeholder,
.split-section .image-placeholder {
  border-color: rgba(18, 18, 24, 0.10);
}

.page-card__media img,
.project-card__media img,
.inner-hero__media img,
.split-section .image-placeholder img {
  transform: scale(1.01);
}

.page-card:hover .page-card__media img,
.project-card:hover .project-card__media img {
  transform: scale(1.045);
  transition: transform 0.5s ease;
}

.image-placeholder::before {
  opacity: 0.06;
}

@media (max-width: 920px) {
  .filter-section {
    padding: 34px 0 24px;
  }

  .filter-section + .gallery-section {
    padding-top: 48px;
  }

  .project-card__media {
    height: 240px;
  }

  .footer-map {
    height: 220px;
  }
}

@media (max-width: 560px) {
  .project-card__media {
    height: 220px;
  }

  .page-card__media {
    height: 220px;
  }

  .inner-hero {
    padding: 56px 0;
  }
}


/* v6.5 Realizacje QA: remove gray overlay band and make before/after cards 2 per row */
.filter-section {
  background: var(--color-white);
  padding: 32px 0 12px;
}

.filter-section + .gallery-section {
  padding-top: 54px;
}

.page-template-lexcor-realizations .filter-section {
  background: var(--color-white);
}

.page-template-lexcor-realizations .gallery-section {
  background: var(--color-white);
}

.page-template-lexcor-realizations .projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  gap: clamp(24px, 3vw, 36px);
}

.page-template-lexcor-realizations .project-card {
  min-height: auto;
  padding-bottom: 26px;
}

.page-template-lexcor-realizations .project-card__media {
  height: clamp(185px, 15vw, 230px);
  border-radius: 18px 18px 0 0;
}

.page-template-lexcor-realizations .before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
  padding: 10px;
}

.page-template-lexcor-realizations .ba-box {
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.page-template-lexcor-realizations .ba-box .image-placeholder {
  height: 100%;
  min-height: 0;
  border-radius: inherit;
}

.page-template-lexcor-realizations .project-card h3 {
  margin: 22px 22px 4px;
  font-size: clamp(22px, 2vw, 28px);
}

.page-template-lexcor-realizations .project-card p {
  margin: 0 22px;
}

.page-template-lexcor-realizations .ba-label {
  top: 10px;
  left: 10px;
}

.page-template-lexcor-realizations .ba-label--after {
  right: 10px;
  left: auto;
}

.page-template-lexcor-realizations .section--gray.filter-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,1));
}

.page-template-lexcor-realizations .filter-bar {
  margin-bottom: 0;
}

/* Remove accidental gray overlay impression on inner pages. Keep gray sections subtle, not as a heavy overlay. */
.page-template-lexcor-realizations .section--gray,
.page-template-lexcor-about .section--gray,
.page-template-lexcor-contact .section--gray,
.page-template-lexcor-services-archive .section--gray,
.page-template-lexcor-service .section--gray {
  background: #f5f6f8;
}

.page-template-lexcor-realizations .filter-section,
.page-template-lexcor-realizations .gallery-section {
  background: #fff;
}

@media (max-width: 920px) {
  .page-template-lexcor-realizations .projects-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .page-template-lexcor-realizations .project-card__media {
    height: 240px;
  }
}

@media (max-width: 560px) {
  .page-template-lexcor-realizations .project-card__media {
    height: 210px;
  }

  .page-template-lexcor-realizations .before-after {
    gap: 8px;
    padding: 8px;
  }
}


/* v6.6 hard fix: Realizacje grey band/overlay removal */
section.filter-section,
section.filter-section.section--gray,
section.filter-section.section--white {
  background: #fff;
  background-image: none;
  padding: 34px 0 18px;
}

section.filter-section + section.gallery-section,
section.gallery-section,
section.gallery-section.section--white,
section.gallery-section.section--gray {
  background: #fff;
  background-image: none;
}

section.filter-section + section.gallery-section {
  padding-top: 42px;
}

section.gallery-section .section-head {
  margin-top: 0;
  margin-bottom: 38px;
}

section.gallery-section .projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  gap: clamp(26px, 3vw, 40px);
}

section.gallery-section .project-card__media {
  height: clamp(180px, 14vw, 220px);
}

section.gallery-section .before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
  padding: 10px;
}

section.gallery-section .ba-box,
section.gallery-section .ba-box .image-placeholder {
  height: 100%;
  min-height: 0;
}

section.gallery-section .project-card {
  min-height: auto;
  padding-bottom: 26px;
}

@media (max-width: 920px) {
  section.gallery-section .projects-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  section.gallery-section .project-card__media {
    height: 240px;
  }
}

@media (max-width: 560px) {
  section.gallery-section .project-card__media {
    height: 210px;
  }
}


/* v6.9 bugfix: correct gallery-section class placement */
.gallery-section {
  position: relative;
}

.gallery-section.section--white {
  background: #fff;
  background-image: none;
}

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

@media (max-width: 920px) {
  .gallery-section .projects-grid {
    grid-template-columns: 1fr;
  }
}


/* v6.10 overlay bugfix: remove decorative dark media overlays completely */
.page-card__media::after,
.project-card__media::after,
.inner-hero__media::after,
.page-card__media::before,
.project-card__media::before,
.inner-hero__media::before {
  content: none;
  display: none;
  background: none;
  pointer-events: none;
}

.page-card__media,
.project-card__media,
.inner-hero__media {
  isolation: isolate;
}

.page-card__media img,
.project-card__media img,
.inner-hero__media img {
  position: relative;
  z-index: 1;
}


/* v6.11 functional Realizacje filters */
.project-card[hidden],
.project-card.is-filtered-out {
  display: none;
}

.filter-bar [data-filter] {
  cursor: pointer;
}

.filter-bar [data-filter].is-active {
  cursor: default;
}


/* v6.12 structured Realizacje: taxonomy filters, image fields and lightbox */
.project-card__body {
  padding: 0 22px 24px;
}

.project-card__body h3 {
  margin-right: 0;
  margin-left: 0;
}

.project-card__body p {
  margin-right: 0;
  margin-left: 0;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 12px;
}

.project-card__tags span {
  display: inline-flex;
  padding: 6px 9px;
  color: var(--color-red);
  background: rgba(239, 15, 15, 0.08);
  border: 1px solid rgba(239, 15, 15, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.project-card__single-image,
.lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
}

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

.lightbox-trigger {
  cursor: zoom-in;
}

.lexcor-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(10px);
}

.lexcor-lightbox[hidden] {
  display: none;
}

.lexcor-lightbox__figure {
  width: min(1120px, 100%);
  margin: 0;
}

.lexcor-lightbox__figure img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #111;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.lexcor-lightbox__figure figcaption {
  margin-top: 12px;
  color: #fff;
  font-size: 15px;
  text-align: center;
}

.lexcor-lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.has-lightbox-open {
  overflow: hidden;
}

.filter-bar [data-filter] {
  cursor: pointer;
}

.filter-bar [data-filter].is-active {
  cursor: default;
}

.project-card[hidden],
.project-card.is-filtered-out {
  display: none;
}


/* v6.15 Contact Form 7 lead forms */
.lexcor-cf7-form .wpcf7 {
  width: 100%;
}

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

.cf7-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

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

.cf7-field span:first-child,
.cf7-files > span {
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 800;
}

.cf7-field input,
.cf7-field select,
.cf7-field textarea,
.lexcor-cf7-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):not(.wpcf7-file) {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  color: var(--color-dark);
  background: #fff;
  border: 1px solid rgba(18, 18, 24, 0.13);
  border-radius: 14px;
  font: inherit;
  outline: none;
}

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

.cf7-files__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lexcor-cf7-form .wpcf7-file {
  width: 100%;
  padding: 13px;
  background: #fff;
  border: 1px dashed rgba(18, 18, 24, 0.22);
  border-radius: 14px;
}

.cf7-files small {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
}

.cf7-acceptance {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
}

.lexcor-cf7-form .wpcf7-submit {
  border: 0;
  cursor: pointer;
}

.lexcor-cf7-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--color-red);
  font-size: 13px;
  font-weight: 700;
}

.lexcor-cf7-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.contact-form-notice {
  padding: 22px;
  background: rgba(239, 15, 15, 0.06);
  border: 1px solid rgba(239, 15, 15, 0.14);
  border-radius: 18px;
}

.contact-form-notice p {
  margin: 0;
}

.contact-form-notice p + p {
  margin-top: 8px;
}

@media (max-width: 720px) {
  .cf7-grid,
  .cf7-files__grid {
    grid-template-columns: 1fr;
  }
}


/* v6.21 Contact Form 7 visual rebuild */
.contact-grid {
  align-items: stretch;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr) minmax(420px, 1.2fr);
}

.contact-form-card,
.contact-card,
.contact-map {
  min-width: 0;
}

.lexcor-cf7-form {
  width: 100%;
}

.lexcor-cf7-form .wpcf7 {
  width: 100%;
}

.lexcor-cf7-form .wpcf7-form {
  margin: 0;
}

.lexcor-cf7-form .wpcf7-form p {
  margin: 0;
}

.lexcor-cf7-form .wpcf7-form br {
  display: none;
}

.lexcor-form-grid,
.lexcor-cf7-form .cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
  width: 100%;
}

.lexcor-cf7-form .lexcor-form-grid > p,
.lexcor-cf7-form .cf7-grid > p {
  display: contents;
}

.lexcor-form-field,
.lexcor-cf7-form .cf7-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.lexcor-form-field--full,
.lexcor-cf7-form .cf7-field--full {
  grid-column: 1 / -1;
}

.lexcor-form-field > label,
.lexcor-cf7-form .cf7-field > span:first-child,
.lexcor-cf7-form .cf7-files > span,
.lexcor-cf7-form .cf7-files > p > span {
  display: block;
  margin: 0 0 8px;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.lexcor-cf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.lexcor-cf7-form input[type="text"],
.lexcor-cf7-form input[type="tel"],
.lexcor-cf7-form input[type="email"],
.lexcor-cf7-form select,
.lexcor-cf7-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  color: var(--color-dark);
  background: #fff;
  border: 1px solid rgba(18, 18, 24, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(18, 18, 24, 0.05);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lexcor-cf7-form select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-red) 50%),
    linear-gradient(135deg, var(--color-red) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 15px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.lexcor-cf7-form textarea {
  min-height: 132px;
  resize: vertical;
}

.lexcor-cf7-form input:focus,
.lexcor-cf7-form select:focus,
.lexcor-cf7-form textarea:focus {
  border-color: rgba(239, 15, 15, 0.48);
  box-shadow: 0 0 0 4px rgba(239, 15, 15, 0.10), 0 12px 34px rgba(18, 18, 24, 0.07);
}

.lexcor-cf7-form .wpcf7-not-valid {
  border-color: rgba(239, 15, 15, 0.70);
  background: rgba(239, 15, 15, 0.035);
}

.lexcor-form-files,
.lexcor-cf7-form .cf7-files {
  padding: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(18, 18, 24, 0.08);
  border-radius: 20px;
}

.lexcor-form-files__grid,
.lexcor-cf7-form .cf7-files__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lexcor-cf7-form .cf7-files__grid > p {
  display: contents;
}

.lexcor-file-control,
.lexcor-cf7-form .cf7-files__grid .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}

.lexcor-cf7-form input[type="file"],
.lexcor-cf7-form .wpcf7-file {
  width: 100%;
  min-height: 48px;
  padding: 10px;
  color: var(--color-muted);
  background: #fff;
  border: 1px dashed rgba(18, 18, 24, 0.24);
  border-radius: 14px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
}

.lexcor-cf7-form input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 8px 10px;
  color: var(--color-dark);
  background: rgba(18, 18, 24, 0.06);
  border: 0;
  border-radius: 10px;
  font-weight: 850;
  cursor: pointer;
}

.lexcor-form-files small,
.lexcor-cf7-form .cf7-files small {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
}

.lexcor-form-consent,
.lexcor-cf7-form .cf7-acceptance {
  padding: 14px 16px;
  background: rgba(18, 18, 24, 0.035);
  border: 1px solid rgba(18, 18, 24, 0.08);
  border-radius: 18px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
}

.lexcor-cf7-form .wpcf7-acceptance,
.lexcor-cf7-form .wpcf7-list-item,
.lexcor-cf7-form .wpcf7-list-item label {
  display: block;
  margin: 0;
}

.lexcor-cf7-form .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.lexcor-cf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--color-red);
}

.lexcor-form-submit,
.lexcor-cf7-form .cf7-field.cf7-field--full:last-child {
  margin-top: 2px;
}

.lexcor-cf7-form .wpcf7-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.lexcor-cf7-form .wpcf7-spinner {
  position: absolute;
  margin: 16px 0 0 12px;
}

.lexcor-cf7-form .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: var(--color-red);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.lexcor-cf7-form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.lexcor-cf7-form .screen-reader-response {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.contact-form-notice {
  padding: 22px;
  background: rgba(239, 15, 15, 0.06);
  border: 1px solid rgba(239, 15, 15, 0.14);
  border-radius: 18px;
}

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

  .contact-form-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .contact-grid,
  .lexcor-form-grid,
  .lexcor-cf7-form .cf7-grid,
  .lexcor-form-files__grid,
  .lexcor-cf7-form .cf7-files__grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    grid-column: auto;
  }
}


/* v6.25 Minimal CF7 form aligned with Lex Cor visual style */
.contact-form-card {
  align-self: start;
}

.lexcor-cf7-form .lexcor-form--minimal {
  display: grid;
  gap: 16px;
  width: 100%;
}

.lexcor-cf7-form .lexcor-form--minimal .lexcor-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lexcor-cf7-form .lexcor-form--minimal .lexcor-form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.lexcor-cf7-form .lexcor-form--minimal label {
  margin: 0;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.lexcor-cf7-form .lexcor-form--minimal p,
.lexcor-cf7-form .lexcor-form--minimal br {
  display: contents;
  margin: 0;
}

.lexcor-cf7-form .lexcor-form--minimal .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.lexcor-cf7-form .lexcor-form--minimal input[type="text"],
.lexcor-cf7-form .lexcor-form--minimal input[type="tel"],
.lexcor-cf7-form .lexcor-form--minimal textarea {
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;
  color: var(--color-dark);
  background: #fff;
  border: 1px solid rgba(18, 18, 24, 0.10);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(18, 18, 24, 0.06);
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lexcor-cf7-form .lexcor-form--minimal textarea {
  min-height: 118px;
  resize: vertical;
}

.lexcor-cf7-form .lexcor-form--minimal input:focus,
.lexcor-cf7-form .lexcor-form--minimal textarea:focus {
  border-color: rgba(239, 15, 15, 0.46);
  box-shadow: 0 0 0 4px rgba(239, 15, 15, 0.09), 0 16px 46px rgba(18, 18, 24, 0.08);
}

.lexcor-cf7-form .lexcor-form--minimal .wpcf7-not-valid {
  border-color: rgba(239, 15, 15, 0.68);
  background: rgba(239, 15, 15, 0.035);
}

.lexcor-cf7-form .lexcor-form--minimal .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: var(--color-red);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.lexcor-cf7-form .lexcor-form--minimal .lexcor-form-consent {
  padding: 14px 16px;
  background: rgba(18, 18, 24, 0.035);
  border: 1px solid rgba(18, 18, 24, 0.08);
  border-radius: 18px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
}

.lexcor-cf7-form .lexcor-form--minimal .wpcf7-acceptance,
.lexcor-cf7-form .lexcor-form--minimal .wpcf7-list-item,
.lexcor-cf7-form .lexcor-form--minimal .wpcf7-list-item label {
  display: block;
  margin: 0;
}

.lexcor-cf7-form .lexcor-form--minimal .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 650;
}

.lexcor-cf7-form .lexcor-form--minimal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--color-red);
}

.lexcor-cf7-form .lexcor-form--minimal .wpcf7-submit {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(239, 15, 15, 0.22);
}

.lexcor-cf7-form .lexcor-form--minimal .wpcf7-spinner {
  position: absolute;
  margin: 17px 0 0 12px;
}

.lexcor-cf7-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .lexcor-cf7-form .lexcor-form--minimal .lexcor-form-row {
    grid-template-columns: 1fr;
  }
}


/* v6.26 Contact form card background fix */
.contact-form-card {
  width: 100%;
  padding: clamp(26px, 3vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(18, 18, 24, 0.08);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(18, 18, 24, 0.12);
}

.contact-form-card .lexcor-cf7-form {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.lexcor-cf7-form .lexcor-form--minimal .wpcf7-submit {
  color: #fff;
  background: var(--color-red);
}

.lexcor-cf7-form .lexcor-form--minimal .wpcf7-submit:hover {
  background: var(--color-red-dark);
}

@media (max-width: 1180px) {
  .contact-form-card {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .contact-form-card {
    padding: 22px;
    border-radius: 22px;
  }
}


/* v6.27 Reviews language filter + long review modal */
.reviews-grid {
  align-items: start;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.review-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--color-text);
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
}

.review-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.review-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--color-red);
  background: rgba(239, 15, 15, 0.07);
  border: 1px solid rgba(239, 15, 15, 0.14);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.review-card__more:hover {
  background: rgba(239, 15, 15, 0.11);
}

.review-card__actions a {
  margin-top: 0;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(4, 5, 8, 0.78);
  backdrop-filter: blur(10px);
}

.review-modal[hidden] {
  display: none;
}

.review-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, 86vh);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
}

.review-modal__close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  margin: -10px -10px 10px 16px;
  color: var(--color-dark);
  background: rgba(18, 18, 24, 0.06);
  border: 1px solid rgba(18, 18, 24, 0.10);
  border-radius: 999px;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.review-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.review-modal__top h3 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.review-modal__top p {
  margin: 0;
  color: var(--color-muted);
  font-weight: 700;
}

.review-modal__stars {
  color: #f5a400;
  white-space: nowrap;
  font-size: 16px;
  letter-spacing: 1px;
}

.review-modal__text {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.has-review-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .review-modal__top {
    flex-direction: column;
  }
}


/* v6.28 Contact page: remove top map and use clean 2-column layout */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.contact-grid .contact-card,
.contact-grid .contact-form-card {
  min-width: 0;
  width: 100%;
}

.contact-grid .contact-card {
  height: 100%;
}

.contact-grid .contact-form-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  margin: 0;
}

.contact-grid .contact-map {
  display: none;
}

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

  .contact-grid .contact-form-card {
    justify-content: flex-start;
  }
}


/* v6.29 Contact section: no duplicate top map, real two-column layout */
.contact__grid.contact__grid--two {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.contact__grid--two .contact__map,
.contact__grid--two .contact__placeholder {
  display: none;
}

.contact__grid--two .contact-card,
.contact__grid--two .contact-form-card {
  min-width: 0;
  width: 100%;
}

.contact__grid--two .contact-card {
  height: 100%;
  padding: clamp(30px, 4vw, 56px);
  background: #fff;
  border: 1px solid rgba(18, 18, 24, 0.08);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(18, 18, 24, 0.12);
}

.contact__grid--two .contact-form-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  margin: 0;
  padding: clamp(26px, 3vw, 42px);
  background: #fff;
  border: 1px solid rgba(18, 18, 24, 0.08);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(18, 18, 24, 0.12);
}

.contact__grid--two .lexcor-cf7-form {
  width: 100%;
}

@media (max-width: 980px) {
  .contact__grid.contact__grid--two {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .contact__grid--two .contact-form-card {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .contact__grid--two .contact-card,
  .contact__grid--two .contact-form-card {
    padding: 22px;
    border-radius: 22px;
  }
}


/* v6.30 Footer menu bullet cleanup */
.site-footer ul,
.footer ul,
.footer-menu,
.footer-nav,
.footer-links,
.footer-services,
.footer-column ul,
.footer-col ul,
.footer__nav ul,
.footer__services ul,
.footer-widgets ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li,
.footer li,
.footer-menu li,
.footer-nav li,
.footer-links li,
.footer-services li,
.footer-column li,
.footer-col li,
.footer__nav li,
.footer__services li,
.footer-widgets li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li::marker,
.footer li::marker,
.footer-menu li::marker,
.footer-nav li::marker,
.footer-links li::marker,
.footer-services li::marker,
.footer-column li::marker,
.footer-col li::marker,
.footer__nav li::marker,
.footer__services li::marker,
.footer-widgets li::marker {
  content: "";
}

.site-footer .menu,
.site-footer .sub-menu {
  display: grid;
  gap: 10px;
}

.site-footer .menu a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer .menu a:hover {
  color: #fff;
}
