/*
Theme Name: VEXKANT Corporate
Theme URI: http://vexkant.ru/
Author: VEXKANT
Description: Russian B2B catalog and inquiry theme for VEXKANT.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: vexkant-corporate
*/

:root {
  --ink: #111827;
  --ink-2: #0b1220;
  --ink-3: #151c2b;
  --steel: #64748b;
  --steel-2: #94a3b8;
  --line: #d6dee8;
  --line-dark: rgba(148, 163, 184, 0.28);
  --surface: #f8fafc;
  --surface-2: #eef3f8;
  --surface-3: #e7edf5;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --orange-soft: #ffedd5;
  --green: #15803d;
  --error: #b42318;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(11, 18, 32, 0.16);
  --shadow-soft: 0 14px 34px rgba(11, 18, 32, 0.09);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.42);
  outline-offset: 3px;
}

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

figure {
  margin: 0;
}

.section-inner {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(214, 222, 232, 0.92);
  background: rgba(248, 250, 252, 0.97);
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.05);
  backdrop-filter: blur(18px);
}

.topbar {
  color: #dbe4f0;
  background: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}

.topbar__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-2);
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 172px;
  max-width: 42vw;
}

.brand-tagline {
  max-width: 94px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: normal;
}

.primary-nav {
  flex: 1;
  min-width: 0;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 6px;
  padding: 0 6px;
  text-decoration: none;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--orange-dark);
  background: rgba(249, 115, 22, 0.09);
}

.button,
.header-contact,
.footer-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0 20px;
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.button-primary,
.header-contact {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible,
.header-contact:hover,
.header-contact:focus-visible {
  background: var(--orange-dark);
  box-shadow: 0 14px 28px rgba(194, 65, 12, 0.26);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.button-secondary-dark {
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.98) 0%, rgba(11, 18, 32, 0.94) 45%, rgba(11, 18, 32, 0.76) 68%, rgba(11, 18, 32, 0.36) 100%),
    repeating-linear-gradient(135deg, rgba(248, 250, 252, 0.09) 0 1px, transparent 1px 26px),
    var(--vexkant-bg);
  background-position: center, center, center right;
  background-size: auto, auto, cover;
}

.hero::after,
.page-hero-section--image::after,
.cta-band::after,
.section-docs::after,
.section-muted--media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.16), transparent 18%, transparent 82%, rgba(248, 250, 252, 0.06));
  mix-blend-mode: screen;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.5fr);
  min-height: 636px;
  align-items: center;
  gap: 54px;
  padding: 78px 0;
}

.hero__content {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow,
.section-docs .eyebrow {
  color: #fdba74;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 730px;
  margin: 24px 0 0;
  color: #e8edf5;
  font-size: 20px;
  font-weight: 500;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__visual {
  display: grid;
  gap: 12px;
}

.hero__visual--media {
  position: relative;
  display: block;
  min-height: 520px;
}

.spec-board {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.spec-board__mark {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--orange);
  background: rgba(11, 18, 32, 0.8);
  font-size: 28px;
  font-weight: 900;
}

.spec-board__rows {
  display: grid;
  gap: 10px;
}

.spec-board__rows span,
.hero__spec {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}

.hero__spec {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__visual--media .hero__spec {
  position: absolute;
  right: 18px;
  width: min(320px, calc(100% - 36px));
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(14px);
}

.hero__spec--one {
  bottom: 132px;
}

.hero__spec--two {
  bottom: 74px;
}

.hero__spec--three {
  bottom: 16px;
}

.hero__spec span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 6px;
  color: var(--ink-2);
  background: #fed7aa;
  font-size: 12px;
  font-weight: 900;
}

.section {
  padding: 84px 0;
  background: var(--white);
}

.page-main .section {
  padding-right: 0;
  padding-left: 0;
}

.section-muted {
  background: var(--surface);
}

.section-muted--media {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.96) 0%, rgba(11, 18, 32, 0.84) 50%, rgba(11, 18, 32, 0.5) 100%),
    var(--vexkant-bg);
  background-position: center, center;
  background-size: auto, cover;
}

.section-muted--media .section-inner,
.section-docs .section-inner,
.cta-band .section-inner,
.page-hero-section--image .section-inner {
  position: relative;
  z-index: 1;
}

.section-muted--media h2,
.section-muted--media p {
  color: var(--white);
}

.section-muted--media .feature-list article {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(248, 250, 252, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.58fr);
  gap: 52px;
  margin-bottom: 38px;
  align-items: end;
}

.section-heading h2,
.cta-band h2,
.page-hero h1,
.page-title-block h1,
.inquiry-block h2 {
  margin: 0;
  color: var(--ink-2);
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.entry-content,
.page-hero p,
.inquiry-block p {
  margin: 0;
  color: var(--steel);
  font-size: 17px;
  font-weight: 500;
}

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

.category-card {
  position: relative;
  display: flex;
  min-height: 318px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(11, 18, 32, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--white);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.12), rgba(11, 18, 32, 0.92)),
    var(--card-bg),
    var(--ink-2);
  background-position: center, center;
  background-size: auto, cover;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(11, 18, 32, 0.6)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 20px);
}

.category-card::after {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 3px;
  content: "";
  background: var(--orange);
}

.category-card:hover,
.category-card:focus-visible {
  border-color: rgba(249, 115, 22, 0.52);
  box-shadow: 0 26px 60px rgba(11, 18, 32, 0.18);
  transform: translateY(-4px);
}

.category-card--orange {
  background-color: #7c2d12;
}

.category-card--graphite {
  background-color: #0b1220;
}

.category-card--steel {
  background-color: #263241;
}

.category-card--blue {
  background-color: #292524;
}

.category-card--slate {
  background-color: #111827;
}

.category-card span,
.category-card p,
.category-card strong {
  position: relative;
  z-index: 2;
}

.category-card span {
  display: block;
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.category-card p {
  margin: 12px 0 18px;
  color: #e7edf5;
  font-size: 15px;
  font-weight: 500;
}

.category-card strong {
  color: #fed7aa;
  font-size: 14px;
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.54fr);
  gap: 52px;
  align-items: center;
}

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

.feature-list article {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.feature-list span,
.process-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 6px;
  color: var(--ink-2);
  background: var(--orange-soft);
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-weight: 900;
}

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

.process-grid article,
.contact-card,
.keyword-panel,
.inquiry-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.process-grid article {
  min-height: 100%;
  border-top: 3px solid var(--orange);
}

.process-grid h3,
.contact-card h2 {
  margin: 20px 0 10px;
  color: var(--ink-2);
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.process-grid p,
.contact-card p {
  margin: 0;
  color: var(--steel);
}

.section-docs {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.98) 0%, rgba(11, 18, 32, 0.88) 52%, rgba(11, 18, 32, 0.6) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 20px),
    var(--vexkant-bg);
  background-position: center, center, center right;
  background-size: auto, auto, cover;
}

.section-docs h2,
.section-docs p {
  color: var(--white);
}

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

.check-list li {
  position: relative;
  padding: 16px 16px 16px 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.check-list li::before {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--orange);
  border-top: 0;
  border-left: 0;
  content: "";
  transform: rotate(45deg);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.8fr);
  gap: 52px;
  align-items: start;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(11, 18, 32, 0.05);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink-2);
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-weight: 900;
}

.faq-list summary::marker {
  color: var(--orange);
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--steel);
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.98) 0%, rgba(11, 18, 32, 0.9) 58%, rgba(11, 18, 32, 0.56) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 20px),
    var(--vexkant-bg);
  background-position: center, center, center right;
  background-size: auto, auto, cover;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.split--cta .cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.page-main {
  padding: 42px 0 0;
  background: var(--surface);
}

.page-hero-section--image {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.98) 0%, rgba(11, 18, 32, 0.9) 46%, rgba(11, 18, 32, 0.62) 74%, rgba(11, 18, 32, 0.82) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.065) 0 1px, transparent 1px 22px),
    var(--vexkant-bg);
  background-position: center, center, center right;
  background-size: auto, auto, cover;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--orange-dark);
  text-decoration: none;
}

.breadcrumbs a::after {
  margin-left: 8px;
  color: var(--steel-2);
  content: "/";
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.48fr);
  gap: 48px;
  align-items: center;
  padding: 38px 0 70px;
}

.page-hero h1 {
  max-width: 860px;
}

.page-hero p {
  max-width: 780px;
  margin-top: 18px;
}

.page-hero-section--image .page-hero h1,
.page-hero-section--image .page-hero p {
  color: var(--white);
}

.page-hero-section--image .button-secondary-dark {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.keyword-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.keyword-panel span,
.quote-price {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--ink-2);
  background: var(--surface);
  font-size: 12px;
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-weight: 850;
}

.keyword-panel--hero {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(14px);
}

.keyword-panel--hero span {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink-2);
  background: var(--white);
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.04);
}

.related-links a:hover,
.related-links a:focus-visible {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.form-section {
  padding-top: 48px;
  padding-bottom: 92px;
  background: linear-gradient(180deg, var(--white), var(--surface));
}

.inquiry-block {
  max-width: 1080px;
  margin: 0 auto;
  border-top: 4px solid var(--orange);
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
    repeating-linear-gradient(135deg, rgba(11, 18, 32, 0.035) 0 1px, transparent 1px 22px);
}

.inquiry-block__intro {
  margin-bottom: 22px;
}

.inquiry-block__intro p {
  max-width: 760px;
  margin-top: 12px;
}

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

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
  outline: 0;
}

.inquiry-form textarea {
  resize: vertical;
}

.form-wide,
.consent-field {
  margin-top: 14px;
}

.consent-field {
  display: flex !important;
  grid-template-columns: auto 1fr;
  gap: 10px !important;
  align-items: flex-start;
  color: var(--steel) !important;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 650 !important;
}

.consent-field input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
}

.inquiry-form .button {
  margin-top: 18px;
}

.hp-field {
  position: absolute;
  width: 1px !important;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.form-notice {
  margin-bottom: 16px;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-weight: 800;
}

.form-notice-success {
  color: var(--green);
  background: #ecfdf3;
}

.form-notice-error {
  color: var(--error);
  background: #fff1f1;
}

.contact-hero {
  align-items: start;
}

.contact-line {
  display: flex;
  gap: 10px;
  align-items: center;
  line-height: 1.45;
}

.contact-line a,
.contact-line span,
.footer-grid a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-card .contact-line + .contact-line {
  margin-top: 12px;
}

.contact-card {
  border-top: 4px solid var(--orange);
}

.page-hero-section--image .contact-card h2 {
  color: var(--ink-2);
}

.page-hero-section--image .contact-card p,
.page-hero-section--image .contact-card a,
.page-hero-section--image .contact-card span:not(.contact-icon) {
  color: var(--steel);
}

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

.contact-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  color: #d9e2ee;
  background: var(--ink-2);
  border-top: 4px solid var(--orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) repeat(3, minmax(160px, 0.7fr));
  gap: 34px;
  padding: 58px 0 28px;
}

.brand-footer {
  border-radius: var(--radius);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.96);
}

.footer-grid h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-size: 18px;
}

.footer-grid p {
  max-width: 360px;
  color: #cbd5e1;
  font-weight: 500;
}

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

.footer-grid a,
.footer-button {
  color: #d9e2ee;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.footer-button {
  min-height: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.footer-grid a:hover,
.footer-grid a:focus-visible,
.footer-button:hover,
.footer-button:focus-visible {
  color: #fed7aa;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0 28px;
  color: #94a3b8;
  font-size: 14px;
}

.floating-inquiry {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  gap: 8px;
  justify-items: end;
  max-width: calc(100vw - 44px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.floating-inquiry.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-inquiry__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink-2);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.2);
  font-family: "Exo 2", "Manrope", "Segoe UI", sans-serif;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease;
}

.floating-inquiry__button--primary {
  border-color: var(--orange);
  color: var(--white);
  background: var(--orange);
}

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

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

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.76);
  backdrop-filter: blur(7px);
}

.quote-modal__panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.quote-modal__panel .inquiry-block {
  border: 0;
  margin: 0;
  box-shadow: none;
}

.quote-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  background: var(--white);
  font-size: 24px;
  line-height: 1;
}

.modal-open {
  overflow: hidden;
}

.content-page {
  max-width: 860px;
  padding-bottom: 56px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: var(--ink-2);
  line-height: 1.2;
}

@media (max-width: 1180px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0 10px;
  }

  .primary-nav {
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .nav-menu {
    width: max-content;
    min-width: 100%;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

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

@media (max-width: 900px) {
  .section-inner {
    width: min(100% - 32px, 720px);
  }

  .topbar__inner,
  .hero__inner,
  .section-heading,
  .split,
  .faq-layout,
  .page-hero,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar__inner {
    display: grid;
    gap: 4px;
    min-height: 0;
    padding: 8px 0;
  }

  .hero__inner {
    min-height: 0;
    gap: 32px;
    padding: 48px 0 56px;
  }

  .hero,
  .cta-band,
  .section-docs,
  .page-hero-section--image {
    background-position: center, center, center;
  }

  .section-muted--media {
    background-position: center, center;
  }

  .split--cta .cta-actions {
    justify-content: flex-start;
    margin-top: 32px;
  }

  .keyword-panel--hero {
    align-self: stretch;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .category-grid,
  .process-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 240px;
  }

  .page-hero {
    padding-bottom: 42px;
  }

  .footer-grid {
    gap: 24px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 70px;
  }

  .topbar {
    font-size: 12px;
  }

  .topbar__inner span:nth-child(2) {
    display: none;
  }

  .header-inner {
    min-height: 0;
  }

  .brand-logo {
    width: 146px;
  }

  .brand-tagline {
    display: none;
  }

  .header-contact {
    width: 100%;
  }

  .nav-menu {
    gap: 10px;
    font-size: 13px;
  }

  .nav-menu a {
    min-height: 34px;
    padding: 0 7px;
  }

  .hero h1,
  .section-heading h2,
  .cta-band h2,
  .page-hero h1,
  .page-title-block h1,
  .inquiry-block h2 {
    font-size: 33px;
  }

  .hero-copy,
  .section-heading p,
  .entry-content,
  .page-hero p,
  .inquiry-block p {
    font-size: 16px;
  }

  .button,
  .header-contact {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .inquiry-block,
  .process-grid article,
  .contact-card,
  .keyword-panel {
    padding: 22px;
  }

  .quote-modal {
    align-items: end;
    padding: 12px;
  }

  .quote-modal__panel {
    max-height: min(88vh, 780px);
  }

  .floating-inquiry {
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 8px;
    max-width: none;
    padding: 10px;
    background: rgba(11, 18, 32, 0.94);
    box-shadow: 0 -12px 28px rgba(11, 18, 32, 0.22);
    backdrop-filter: blur(14px);
  }

  .floating-inquiry__button {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    font-size: 13px;
    box-shadow: none;
  }
}

@media (max-width: 390px) {
  .section-inner {
    width: min(100% - 24px, 720px);
  }

  .hero h1,
  .section-heading h2,
  .cta-band h2,
  .page-hero h1,
  .page-title-block h1,
  .inquiry-block h2 {
    font-size: 30px;
  }
}
