:root {
  --color-orange: #f7941d;
  --color-turquoise: #48c7d9;
  --color-blue: #0066b3;
  --color-black: #050505;
  --color-white: #ffffff;
  --color-surface: #f6f8fa;
  --color-border: rgba(5, 5, 5, 0.1);
  --color-text-soft: #4d5a66;
  --shadow-soft: 0 20px 50px rgba(5, 10, 20, 0.08);
  --shadow-strong: 0 28px 70px rgba(5, 10, 20, 0.22);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-height: 76px;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--header-height);
}

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--color-black);
  background:
    radial-gradient(circle at top left, rgba(72, 199, 217, 0.08), transparent 28%),
    linear-gradient(180deg, #fefefe 0%, #f6f8fa 100%);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(5, 10, 20, 0.16);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 34px rgba(5, 10, 20, 0.16);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.site-header.is-scrolled .header-inner {
  min-height: var(--header-height);
  gap: 28px;
}

.brand,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand img,
.custom-logo {
  width: auto;
  max-height: 48px;
}

.site-header.is-scrolled .brand img,
.site-header.is-scrolled .custom-logo {
  max-height: 48px;
}

.site-nav {
  justify-self: center;
}

.site-nav .menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 0 10px;
  text-decoration: none;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-orange), #ffb347);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--color-white);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
  transform: scaleX(1);
}

.header-phone,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-width: 290px;
  justify-content: flex-end;
  gap: 16px;
}

.header-socials,
.nav-socials {
  margin-top: 0 !important;
  align-items: center;
}

.header-socials {
  margin-right: 0;
  display: inline-flex;
}

.nav-socials {
  display: none !important;
}

.header-divider {
  width: 1px;
  height: 22px;
  margin-right: 0;
  background: rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.header-actions .social-links {
  margin-top: 0;
}

.header-phone {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(17, 20, 26, 0.82);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  min-width: auto;
  justify-content: flex-start;
  gap: 10px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.header-phone-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
}

.header-phone-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.header-phone strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.header-phone:hover,
.header-phone:focus-visible {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--color-white);
}

.header-phone:hover strong,
.header-phone:focus-visible strong {
  color: var(--color-orange);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(5, 10, 20, 0.18);
}

.button-primary {
  background: linear-gradient(135deg, var(--color-orange), var(--color-blue));
  color: var(--color-white);
}

.button-secondary {
  background: transparent;
  border-color: rgba(72, 199, 217, 0.75);
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.site-main {
  overflow: hidden;
}

.hero-section {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(2, 8, 14, 0.96) 0%, rgba(2, 8, 14, 0.88) 38%, rgba(2, 8, 14, 0.28) 100%),
    var(--hero-bg, url('../img/hero.webp'));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  color: var(--color-white);
  min-height: 640px;
  padding: 82px 0 72px;
}

.hero-section::after {
  content: none;
}

.hero-section::before {
  content: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: 36px;
  align-items: center;
}

.hero-grid-single {
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-turquoise);
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: 1.05;
  max-width: 720px;
  text-wrap: balance;
}

.hero-copy h1 .accent-orange {
  color: #ffb342;
}

.hero-copy h1 .accent-blue {
  color: #48c7d9;
}

.hero-nowrap {
  white-space: nowrap;
}

.hero-text {
  margin: 0;
  max-width: 38rem;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-visual {
  display: none !important;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-actions .button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  gap: 12px;
}

.hero-actions .button-primary {
  background: linear-gradient(135deg, #F7941D, #FFB347);
  color: var(--color-white);
  box-shadow:
    0 16px 36px rgba(247, 148, 29, 0.28),
    0 0 0 1px rgba(255, 179, 71, 0.18);
}

.hero-actions .button-primary:hover,
.hero-actions .button-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 22px 42px rgba(247, 148, 29, 0.34),
    0 0 26px rgba(247, 148, 29, 0.22);
}

.hero-actions .button-secondary {
  background: rgba(2, 8, 14, 0.35);
  border-color: rgba(72, 199, 217, 0.8);
  color: var(--color-white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 26px rgba(5, 15, 25, 0.18);
}

.hero-actions .button-secondary:hover,
.hero-actions .button-secondary:focus-visible {
  transform: translateY(-3px);
  background: rgba(72, 199, 217, 0.12);
  box-shadow:
    0 18px 36px rgba(5, 15, 25, 0.2),
    0 0 24px rgba(72, 199, 217, 0.18);
}

.section {
  padding: 74px 0;
}

.services-section,
.references-section,
.contact-section,
.page-section {
  background: var(--color-white);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading::after,
.dark-section .section-heading::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--color-orange);
}

.section-heading h2,
.about-copy h2,
.contact-info h2,
.entry-header h1,
.archive-header h1 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.08;
}

.section-heading p:last-child,
.about-copy p:last-child,
.archive-description,
.contact-list,
.entry-content,
.entry-summary,
.post-meta,
.post-card p {
  color: var(--color-text-soft);
}

.cards-grid {
  display: grid;
  gap: 22px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.service-card,
.reference-card,
.benefit-card,
.post-card,
.contact-form-card,
.contact-info {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.service-card {
  padding: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: scale(1);
  box-shadow: 0 22px 52px rgba(5, 10, 20, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-media {
  overflow: hidden;
  border-radius: 22px;
}

.service-media {
  margin: -18px -18px 0;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.08), rgba(72, 199, 217, 0.14));
}

.service-image,
.reference-image img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.service-image {
  transition: transform 0.25s ease;
}

.benefit-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 20px;
}

.icon {
  display: block;
  position: relative;
  width: 22px;
  height: 22px;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
}

.icon-lightning::before {
  inset: 0;
  clip-path: polygon(52% 0, 20% 52%, 43% 52%, 30% 100%, 80% 38%, 56% 38%);
  background: #fff;
}

.icon-camera::before {
  inset: 3px 1px 5px;
  border: 2px solid #fff;
  border-radius: 4px;
}

.icon-camera::after {
  width: 6px;
  height: 6px;
  top: 8px;
  left: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.icon-wifi::before {
  inset: 1px;
  border-top: 3px solid #fff;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-radius: 50%;
  transform: scale(0.95);
}

.icon-wifi::after {
  left: 9px;
  bottom: 2px;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 -5px 0 2px transparent,
    0 -10px 0 4px transparent;
}

.icon-monitor::before {
  inset: 1px 1px 8px;
  border: 2px solid #fff;
  border-radius: 3px;
}

.icon-monitor::after {
  left: 7px;
  bottom: 2px;
  width: 8px;
  height: 2px;
  background: #fff;
  box-shadow: 0 -3px 0 0 #fff;
}

.icon-event::before {
  inset: 3px;
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow:
    -6px 0 0 -5px #fff,
    6px 0 0 -5px #fff;
}

.icon-event::after {
  left: 4px;
  top: 9px;
  width: 14px;
  height: 2px;
  background: #fff;
  box-shadow: 0 -5px 0 0 #fff, 0 5px 0 0 #fff;
}

.icon-tool::before {
  left: 10px;
  top: 1px;
  width: 2px;
  height: 20px;
  background: #fff;
  transform: rotate(45deg);
}

.icon-tool::after {
  left: 2px;
  top: 9px;
  width: 18px;
  height: 2px;
  background: #fff;
  transform: rotate(-45deg);
}

.icon-software::before {
  inset: 2px;
  border: 2px solid #fff;
  border-radius: 5px;
}

.icon-software::after {
  left: 5px;
  top: 7px;
  width: 12px;
  height: 8px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  box-shadow:
    -4px 0 0 -2px #fff,
    4px 0 0 -2px #fff;
}

.icon-shield::before {
  inset: 1px 4px 3px;
  border: 2px solid #fff;
  border-radius: 8px 8px 12px 12px;
  clip-path: polygon(50% 0, 100% 12%, 100% 58%, 50% 100%, 0 58%, 0 12%);
}

.icon-puzzle::before,
.icon-puzzle::after {
  background: #fff;
  border-radius: 4px;
}

.icon-puzzle::before {
  inset: 3px;
}

.icon-puzzle::after {
  width: 8px;
  height: 8px;
  top: -1px;
  left: 7px;
  box-shadow: 0 16px 0 0 #fff, -8px 8px 0 0 #fff, 8px 8px 0 0 #fff;
}

.icon-chart::before {
  left: 3px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.icon-chart::after {
  left: 7px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: skew(-35deg) rotate(8deg);
}

.icon-handshake::before,
.icon-handshake::after {
  width: 12px;
  height: 8px;
  top: 8px;
  border: 2px solid #fff;
}

.icon-handshake::before {
  left: 0;
  border-right: 0;
  border-radius: 12px 0 0 12px;
  transform: rotate(18deg);
}

.icon-handshake::after {
  right: 0;
  border-left: 0;
  border-radius: 0 12px 12px 0;
  transform: rotate(-18deg);
}

.service-card h3,
.benefit-card h3,
.reference-content h3,
.contact-form-card h3,
.footer-grid h3,
.post-card h2,
.service-detail-panel h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.service-card h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.service-card p {
  flex: 1 1 auto;
  margin-bottom: 10px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(0, 102, 179, 0.22);
  box-shadow: 0 34px 72px rgba(5, 10, 20, 0.16);
}

.service-card:hover .service-image,
.service-card:focus-within .service-image {
  transform: scale(1.04);
}

.service-card .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.25s ease;
}

.text-link-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--color-orange);
}

.text-link:hover .text-link-arrow,
.text-link:focus-visible .text-link-arrow {
  transform: translateX(5px);
}

.dark-section {
  background:
    linear-gradient(135deg, #040608 0%, #08131d 52%, #0d2233 100%),
    radial-gradient(circle at top left, rgba(72, 199, 217, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(247, 148, 29, 0.1), transparent 28%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.dark-section::before,
.dark-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dark-section::before {
  background:
    linear-gradient(90deg, rgba(72, 199, 217, 0.14) 0 2px, transparent 2px) 82% 18% / 120px 120px no-repeat,
    linear-gradient(rgba(72, 199, 217, 0.14) 0 2px, transparent 2px) 82% 18% / 120px 120px no-repeat,
    linear-gradient(90deg, rgba(247, 148, 29, 0.12) 0 2px, transparent 2px) 14% 70% / 96px 96px no-repeat,
    linear-gradient(rgba(247, 148, 29, 0.12) 0 2px, transparent 2px) 14% 70% / 96px 96px no-repeat;
  opacity: 0.5;
}

.dark-section::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(72, 199, 217, 0.65) 0 4px, transparent 5px),
    radial-gradient(circle at 14% 70%, rgba(247, 148, 29, 0.75) 0 4px, transparent 5px);
  opacity: 0.8;
}

.section-heading-light .section-kicker {
  color: var(--color-orange);
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.benefit-card {
  padding: 98px 14px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-width: 0 1px 0 0;
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  text-align: center;
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.benefit-card:last-child {
  border-right: 0;
}

.benefit-icon {
  width: 214px;
  height: 214px;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  overflow: visible;
}

.benefit-card h3 {
  margin-bottom: 6px;
  font-size: 1.14rem;
}

.benefit-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.benefit-icon-orange {
  filter: none;
}

.benefit-icon-turquoise {
  filter: none;
}

.benefit-icon-blue {
  filter: none;
}

.benefit-card p {
  margin-bottom: 0;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.76);
}

.benefit-card:hover,
.benefit-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 44px rgba(0, 0, 0, 0.22);
}

.benefit-card:hover .benefit-icon,
.benefit-card:focus-within .benefit-icon {
  transform: translateX(-50%) translateY(-3px);
}

.benefit-card:hover .benefit-icon img,
.benefit-card:focus-within .benefit-icon img {
  transform: scale(1.06);
}

.benefit-card:hover .benefit-icon-orange img,
.benefit-card:focus-within .benefit-icon-orange img {
  filter: drop-shadow(0 0 20px rgba(247, 148, 29, 0.35));
}

.benefit-card:hover .benefit-icon-turquoise img,
.benefit-card:focus-within .benefit-icon-turquoise img {
  filter: drop-shadow(0 0 20px rgba(72, 199, 217, 0.35));
}

.benefit-card:hover .benefit-icon-blue img,
.benefit-card:focus-within .benefit-icon-blue img {
  filter: drop-shadow(0 0 20px rgba(0, 102, 179, 0.35));
}

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

.reference-card {
  overflow: hidden;
  background: #101722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 22px 52px rgba(3, 10, 18, 0.32);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.reference-image {
  position: relative;
  background: transparent;
  padding: 0;
  min-height: 205px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.reference-image img {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  transition: transform 0.25s ease;
}

.reference-gallery {
  overflow: hidden;
}

.reference-slide {
  opacity: 1;
  transition: none;
}

.reference-gallery .reference-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.02);
}

.reference-gallery .reference-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.reference-gallery.is-ready .reference-slide {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reference-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  padding: 18px 18px 20px;
}

.reference-content h3 {
  color: var(--color-white);
  margin-bottom: 0;
}

.reference-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  flex: 1 1 auto;
}

.reference-content .text-link {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.88);
}

.reference-content .text-link:hover,
.reference-content .text-link:focus-visible {
  color: var(--color-orange);
}

.reference-card:hover,
.reference-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(72, 199, 217, 0.2);
  box-shadow: 0 34px 76px rgba(3, 10, 18, 0.4);
}

.reference-card:hover .reference-image img,
.reference-card:focus-within .reference-image img,
.reference-card:hover .reference-gallery .reference-slide.is-active,
.reference-card:focus-within .reference-gallery .reference-slide.is-active {
  transform: scale(1.05);
}

.about-layout {
  display: grid;
  gap: 18px;
  justify-items: center;
  width: min(100%, 1080px);
  margin: 0 auto;
}

.about-copy {
  max-width: 820px;
  text-align: center;
  padding-right: 0;
}

.about-copy p {
  line-height: 1.8;
}

.about-section {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 72px;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 60px auto auto 0;
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 199, 217, 0.12) 0%, rgba(72, 199, 217, 0) 72%);
  pointer-events: none;
}

.about-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 48px;
  width: min(32vw, 360px);
  height: min(32vw, 360px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 148, 29, 0.12) 0%, rgba(247, 148, 29, 0) 72%);
  pointer-events: none;
}

.about-copy > * {
  position: relative;
  z-index: 1;
}

.about-section .about-copy h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.7rem, 3.25vw, 2.7rem);
  line-height: 1.08;
}

.about-lead {
  margin: 0 auto 14px;
  max-width: 720px;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 700;
  line-height: 1.38;
  color: rgba(5, 5, 5, 0.88);
}

.about-highlight {
  margin: 16px auto 18px;
  padding: 16px 18px;
  max-width: 900px;
  background: linear-gradient(180deg, rgba(246, 248, 250, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(5, 5, 5, 0.06);
  border-radius: 14px;
  box-shadow:
    0 8px 18px rgba(5, 15, 25, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.about-highlight p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
}

.about-highlight p:last-child {
  margin-bottom: 0;
  color: rgba(5, 5, 5, 0.82);
}

.footer-grid .menu,
.footer-list,
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1080px);
}

.about-stat-item {
  position: relative;
  min-height: 106px;
  padding: 14px 16px 14px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(246, 248, 250, 0.96));
  border: 1px solid rgba(5, 5, 5, 0.07);
  box-shadow:
    0 8px 18px rgba(5, 15, 25, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  text-align: left;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-orange), #ffb347);
}

.about-stat-item:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, var(--color-turquoise), #7de6f4);
}

.about-stat-item:nth-child(3n)::before {
  background: linear-gradient(90deg, var(--color-blue), #3d8de0);
}

.about-stat-item:hover,
.about-stat-item:focus-within {
  transform: translateY(-4px);
  box-shadow:
    0 12px 22px rgba(5, 15, 25, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  border-color: rgba(5, 5, 5, 0.1);
}

.about-stat-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 8px;
  color: var(--color-orange);
  opacity: 0.92;
  transform: translateY(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.about-stat-icon svg {
  width: 100%;
  height: 100%;
}

.about-stat-icon-turquoise {
  color: var(--color-turquoise);
}

.about-stat-icon-blue {
  color: var(--color-blue);
}

.about-stat-item:hover .about-stat-icon,
.about-stat-item:focus-within .about-stat-icon {
  transform: translateY(-2px);
  opacity: 1;
}

.about-stat-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(2rem, 3.9vw, 3.125rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--color-black);
}

.about-stat-item:nth-child(n + 4) strong {
  font-size: clamp(1.7rem, 2.5vw, 2.125rem);
  letter-spacing: -0.03em;
}

.about-stat-item:nth-child(6) strong {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.about-stat-item span {
  display: block;
  color: rgba(5, 5, 5, 0.66);
  line-height: 1.34;
  font-size: 0.9rem;
}

.footer-grid .menu li,
.footer-list li,
.contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
}

.footer-grid .menu li:last-child,
.footer-list li:last-child,
.contact-list li:last-child {
  border-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
  width: min(100%, 1080px);
  margin: 0 auto;
}

.contact-info,
.contact-form-card {
  padding: 28px;
  border-radius: 16px;
  height: 100%;
}

.contact-info {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 250, 0.96));
  display: flex;
  flex-direction: column;
}

.contact-info h2 {
  margin-bottom: 16px;
  line-height: 1.02;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.contact-intro {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(5, 5, 5, 0.76);
}

.contact-card-grid {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.contact-card-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(5, 5, 5, 0.08);
  box-shadow: 0 16px 36px rgba(5, 15, 25, 0.06);
}

.contact-card-icon {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  color: inherit;
  box-shadow: none;
  background: none;
  position: relative;
  overflow: visible;
}

.contact-card-icon img {
  width: 92px;
  height: 92px;
  display: block;
  object-fit: contain;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.contact-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(5, 5, 5, 0.46);
}

.contact-card-value {
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-black);
  text-decoration: none;
}

.contact-card-value:hover,
.contact-card-value:focus-visible {
  color: var(--color-blue);
}

.contact-form-card {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  box-shadow:
    0 28px 56px rgba(5, 15, 25, 0.08),
    0 0 0 1px rgba(5, 5, 5, 0.05);
}

.contact-form-card h3 {
  margin-bottom: 14px;
  line-height: 1.08;
}

.contact-form {
  display: grid;
  gap: 12px;
  height: 100%;
}

.contact-form-notice {
  margin: 0 0 18px;
  padding: 15px 16px;
  border-radius: 16px;
  font-size: 0.96rem;
  line-height: 1.55;
  border: 1px solid transparent;
}

.contact-form-notice-success {
  background: rgba(72, 199, 217, 0.12);
  border-color: rgba(72, 199, 217, 0.28);
  color: #0b5e69;
}

.contact-form-notice-error {
  background: rgba(247, 148, 29, 0.12);
  border-color: rgba(247, 148, 29, 0.28);
  color: #8a4300;
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-black);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 15px;
  background: #fbfcfd;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  color: var(--color-black);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(5, 5, 5, 0.36);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(72, 199, 217, 0.82);
  background: var(--color-white);
  box-shadow:
    0 0 0 4px rgba(72, 199, 217, 0.14),
    0 14px 28px rgba(72, 199, 217, 0.08);
}

.contact-form textarea {
  min-height: 138px;
  resize: vertical;
}

.contact-form-privacy {
  margin: -2px 0 4px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(5, 5, 5, 0.68);
}

.contact-form-privacy a {
  color: var(--color-blue);
  font-weight: 700;
  text-decoration: none;
}

.contact-form-privacy a:hover,
.contact-form-privacy a:focus-visible {
  color: var(--color-orange);
}

.contact-submit {
  min-height: 48px;
  min-width: 220px;
  width: fit-content;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  align-self: flex-start;
  background: linear-gradient(135deg, #f7941d, #ffb347);
  box-shadow: 0 18px 38px rgba(247, 148, 29, 0.24);
}

.contact-submit:hover,
.contact-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 22px 40px rgba(247, 148, 29, 0.28),
    0 0 24px rgba(247, 148, 29, 0.18);
}

.contact-submit:disabled,
.contact-submit.is-loading {
  cursor: wait;
  opacity: 0.88;
  transform: none;
  box-shadow: 0 12px 26px rgba(247, 148, 29, 0.2);
}

.site-footer {
  background: #050505;
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  max-height: 56px;
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 24, 34, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.social-links a svg {
  width: 15px;
  height: 15px;
  display: block;
}

.social-links a[aria-disabled="true"] {
  pointer-events: none;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
}

.social-links a[aria-label="Facebook"]:hover,
.social-links a[aria-label="Facebook"]:focus-visible {
  border-color: rgba(59, 89, 152, 0.6);
  background: rgba(59, 89, 152, 0.16);
  box-shadow: 0 14px 26px rgba(59, 89, 152, 0.22);
}

.social-links a[aria-label="Instagram"]:hover,
.social-links a[aria-label="Instagram"]:focus-visible {
  border-color: rgba(255, 114, 94, 0.5);
  background: linear-gradient(135deg, rgba(255, 94, 98, 0.18), rgba(255, 153, 51, 0.18), rgba(193, 53, 132, 0.18));
  box-shadow: 0 14px 26px rgba(255, 114, 94, 0.2);
}

.footer-grid h3 {
  color: var(--color-white);
}

.footer-grid .menu a,
.footer-list a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-grid .menu a:hover,
.footer-grid .menu a:focus-visible,
.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--color-turquoise);
}

.footer-hours {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-hours strong {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--color-white);
}

.footer-hours p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-hours p + p {
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-main-inner {
  padding-top: 24px;
}

.service-detail-hero {
  padding-top: 48px;
  background:
    radial-gradient(circle at top left, rgba(72, 199, 217, 0.1), transparent 30%),
    linear-gradient(180deg, #fff, #f6f8fa);
}

.service-detail-layout,
.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.service-detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.04;
}

.service-detail-lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--color-text-soft);
  max-width: 48rem;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.service-detail-outline {
  background: transparent;
  color: var(--color-black);
  border-color: rgba(5, 5, 5, 0.14);
}

.service-detail-visual,
.service-detail-panel,
.service-detail-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.service-detail-visual {
  overflow: hidden;
}

.service-detail-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.service-detail-content {
  padding-top: 0;
}

.service-detail-grid {
  align-items: start;
}

.service-detail-card,
.service-detail-panel {
  padding: 30px;
}

.service-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  color: var(--color-text-soft);
}

.service-feature-list li:last-child {
  border-bottom: 0;
}

.content-narrow {
  width: min(840px, 100%);
}

.legal-page-shell {
  width: min(900px, 100%);
}

.content-entry,
.post-card {
  padding: 28px;
}

.legal-page-entry {
  padding: 40px 0 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.legal-page-entry .entry-header {
  margin-bottom: 28px;
}

.legal-page-entry .entry-header h1 {
  max-width: 900px;
}

.legal-page-entry .entry-content {
  max-width: 900px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.legal-page-entry .entry-content h2,
.legal-page-entry .entry-content h3 {
  color: var(--color-black);
  line-height: 1.16;
  margin-top: 2.4em;
  margin-bottom: 0.8em;
}

.legal-page-entry .entry-content h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.legal-page-entry .entry-content h3 {
  font-size: clamp(1.18rem, 1.9vw, 1.42rem);
}

.legal-page-entry .entry-content p,
.legal-page-entry .entry-content ul,
.legal-page-entry .entry-content ol {
  margin: 0 0 1.15em;
}

.legal-page-entry .entry-content ul,
.legal-page-entry .entry-content ol {
  padding-left: 1.4rem;
}

.legal-page-entry .entry-content li + li {
  margin-top: 0.45em;
}

.legal-page-entry .entry-content a {
  color: var(--color-blue);
}

.legal-page-entry .entry-content a:hover,
.legal-page-entry .entry-content a:focus-visible {
  color: var(--color-orange);
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card h2 a {
  color: var(--color-black);
  text-decoration: none;
}

.post-card h2 a:hover,
.post-card h2 a:focus-visible {
  color: var(--color-blue);
}

.post-meta {
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

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

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

@media (max-width: 900px) {
  :root {
    --header-height: 78px;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-block;
    order: 3;
  }

  .header-actions {
    display: inline-flex;
    order: 2;
    min-width: auto;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 0 4px;
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
    padding: 12px 0;
  }

  .site-nav a::after {
      bottom: 2px;
  }

  .nav-socials {
    display: flex !important;
    justify-content: center;
    padding: 12px 0 4px;
  }

  .header-socials,
  .header-divider {
    display: none;
  }

  .hero-grid,
  .contact-layout,
  .service-detail-layout,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-section {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 60px;
    background-position: 68% center;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.2rem, 7vw, 3.3rem);
    line-height: 1.08;
  }

  .hero-nowrap {
    white-space: normal;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .benefit-icon {
    width: 160px;
    height: 160px;
    top: -14px;
  }
}

@media (max-width: 640px) {
  .section,
  .hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .services-grid,
  .benefit-grid,
  .reference-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 80px 12px 12px;
  }

  .benefit-icon {
    width: 134px;
    height: 134px;
    top: -8px;
  }

  .benefit-card:last-child {
    border-bottom: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .header-phone {
      width: auto;
      min-height: 38px;
      padding: 0 12px;
  }

  .header-phone strong {
      font-size: 15px;
  }

  .service-card,
  .reference-content,
  .benefit-card,
  .contact-info,
  .contact-form-card,
  .content-entry,
  .post-card {
    padding: 18px;
  }

  .legal-page-entry {
    padding-top: 30px;
  }

  .legal-page-entry .entry-header {
    margin-bottom: 22px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

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