/*
Theme Name: Kataha Corporate
Theme URI: https://kataha.ru/
Author: Kataha
Description: Russian B2B catalog and inquiry theme for decorative katana supplies.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: kataha-corporate
*/

:root {
  --navy: #0e2a47;
  --navy-2: #14395f;
  --steel: #5d6b78;
  --steel-2: #9aa6b2;
  --line: #d8e0e8;
  --surface: #f3f6f8;
  --surface-2: #e8eef3;
  --signal: #1677c8;
  --signal-dark: #0d5f9f;
  --ink: #162130;
  --muted: #617080;
  --white: #ffffff;
  --ok: #1d7b4f;
  --error: #b93838;
  --shadow: 0 18px 48px rgba(14, 42, 71, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 224, 232, 0.85);
  backdrop-filter: blur(14px);
}

.topbar {
  color: #dbe7f2;
  background: var(--navy);
  font-size: 13px;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 158px;
  max-width: 42vw;
  height: auto;
}

.brand-tagline {
  max-width: 138px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  white-space: normal;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 7px;
  color: var(--white);
  background: var(--navy);
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.12);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.primary-nav {
  flex: 1;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.nav-menu__item {
  position: relative;
}

.nav-menu a,
.nav-menu__link {
  text-decoration: none;
}

.nav-menu__item--has-dropdown > .nav-menu__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-menu__item--has-dropdown > .nav-menu__link::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.nav-menu__submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 20;
  display: grid;
  width: min(360px, 88vw);
  gap: 4px;
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  visibility: hidden;
}

.nav-menu__submenu::before {
  position: absolute;
  top: -18px;
  right: 0;
  left: 0;
  height: 18px;
  content: "";
}

.nav-menu__submenu a {
  display: block;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  line-height: 1.25;
}

.nav-menu__submenu a:hover,
.nav-menu__submenu a:focus-visible {
  color: var(--signal);
  background: var(--surface);
}

.nav-menu__item--has-dropdown:hover .nav-menu__submenu,
.nav-menu__item--has-dropdown:focus-within .nav-menu__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu__link:hover,
.nav-menu__link:focus-visible {
  color: var(--signal);
}

.header-contact,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.header-contact {
  color: var(--white);
  background: var(--signal);
}

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

.button-primary {
  color: var(--white);
  background: var(--signal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--signal-dark);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: transparent;
}

.button-secondary-dark {
  border-color: var(--line);
  color: var(--navy);
}

.hero {
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(14, 42, 71, 0.96), rgba(14, 42, 71, 0.74) 52%, rgba(14, 42, 71, 0.3)),
    url("assets/images/kataha-home-hero-material.jpg"),
    linear-gradient(135deg, #0e2a47, #28455f);
  background-position: center;
  background-size: cover;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.54fr);
  min-height: 650px;
  align-items: center;
  gap: 58px;
  padding: 76px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow {
  color: #8ecbff;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: #e6eef5;
  font-size: 20px;
}

.compliance-note {
  max-width: 720px;
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 3px solid #8ecbff;
  color: #d6e3ee;
  font-size: 15px;
}

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

.hero__visual {
  display: grid;
  gap: 12px;
  align-self: end;
  margin-bottom: 18px;
}

.hero__spec {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero__spec span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  color: var(--navy);
  background: #dceaf5;
  font-size: 13px;
  font-weight: 850;
}

.hero__spec strong {
  display: block;
  line-height: 1.2;
}

.hero__spec p {
  margin: 6px 0 0;
  color: #dbe7f2;
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 84px 0;
}

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

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

.section-heading h2,
.cta-band h2,
.catalog-hero h1,
.page-title-block h1,
.product-summary h1 {
  margin: 0;
  color: var(--navy);
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p,
.catalog-hero p,
.entry-content,
.category-intro,
.product-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

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

.category-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  color: var(--white);
  text-decoration: none;
  background: var(--navy);
  background-position: center;
  background-size: cover;
}

.category-katana {
  background-image: url("assets/images/kataha-category-katany-material.jpg");
}

.category-training {
  background-image: url("assets/images/kataha-category-training-material.jpg");
}

.category-accessory {
  background-image: url("assets/images/kataha-category-accessories-material.jpg");
}

.category-sets,
.category-showcase {
  background-image: url("assets/images/kataha-category-katany-material.jpg");
}

.category-packaging {
  background-image: url("assets/images/kataha-category-accessories-material.jpg");
}

.category-projects {
  background-image: url("assets/images/kataha-category-training-material.jpg");
}

.category-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(14, 42, 71, 0.08), rgba(14, 42, 71, 0.9)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 18px);
  opacity: 0.9;
}

.category-card::after {
  content: none;
}

.category-training::after {
  content: none;
}

.category-accessory::after {
  content: none;
}

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

.category-card span {
  display: block;
  max-width: 280px;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.15;
}

.category-card p {
  max-width: 330px;
  margin: 12px 0 0;
  color: #e1e9f1;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(14, 42, 71, 0.04);
}

.product-card__media {
  display: block;
  aspect-ratio: 1.35;
  overflow: hidden;
  background: var(--surface-2);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(14, 42, 71, 0.05), rgba(14, 42, 71, 0.2)),
    linear-gradient(88deg, transparent 18%, #d7dde4 18% 70%, transparent 70%),
    linear-gradient(92deg, transparent 26%, #33475c 26% 72%, transparent 72%),
    #edf2f6;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-card__meta,
.product-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-card__meta span,
.product-status-row span,
.quote-price {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--navy);
  background: var(--surface);
  font-size: 12px;
  font-weight: 800;
}

.quote-price {
  border-color: #b8d9f3;
  color: var(--signal-dark);
  background: #eaf5ff;
}

.product-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.22;
}

.product-card h3 a {
  text-decoration: none;
}

.product-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-card__facts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: auto 0 18px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.product-card__body .button {
  width: 100%;
}

.product-card--request .product-card__body {
  min-height: 100%;
}

.product-card--request .product-card__facts {
  flex-wrap: wrap;
}

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

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

.process-grid article,
.usage-grid article,
.post-card,
.detail-panel,
.contact-card,
.contact-form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--white);
}

.process-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--navy);
  font-weight: 850;
}

.process-grid h3,
.usage-grid h3,
.detail-panel h2,
.contact-card h2,
.contact-form-panel h2,
.post-card h2 {
  margin: 20px 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.post-card__media {
  display: block;
  margin: -26px -26px 22px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--surface);
}

.post-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

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

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

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

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

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

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

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

.docs-panel {
  display: grid;
  gap: 16px;
}

.docs-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.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: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.check-list li::before {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 14px;
  height: 14px;
  border: 3px solid #8ecbff;
  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: 54px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 850;
}

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

.cta-band {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(14, 42, 71, 0.98), rgba(20, 57, 95, 0.94)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
}

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

.page-shell,
.page-main,
.product-page {
  padding: 42px 0 0;
}

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

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

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

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.42fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
  padding: 42px 0 22px;
}

.catalog-hero h1,
.page-title-block h1 {
  max-width: 850px;
}

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

.catalog-hero__note {
  border-left: 4px solid var(--signal);
  padding: 18px 20px;
  background: var(--surface);
}

.catalog-hero__note strong,
.catalog-hero__note span {
  display: block;
}

.catalog-hero__note strong {
  color: var(--navy);
}

.catalog-hero__note span {
  margin-top: 8px;
  color: var(--muted);
}

.catalog-section {
  margin-bottom: 74px;
}

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

.page-title-block {
  margin-bottom: 24px;
}

.page-featured-image {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
}

.page-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

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

.entry-content a {
  color: var(--signal-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.8fr);
  gap: 24px;
  padding-bottom: 86px;
}

.contact-card h2,
.contact-form-panel h2 {
  margin-top: 0;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 0.54fr);
  gap: 46px;
  align-items: start;
  padding-bottom: 58px;
}

.product-gallery {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-gallery img,
.product-image-fallback-large {
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
}

.product-summary {
  position: sticky;
  top: 130px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-summary h1 {
  font-size: 42px;
}

.product-excerpt {
  margin-top: 18px;
}

.product-summary .compliance-note {
  color: var(--muted);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 0.54fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 76px;
}

.detail-panel h2 {
  margin-top: 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  color: var(--navy);
}

.spec-table td {
  color: var(--muted);
}

.product-content-section {
  padding-top: 0;
}

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

.related-products {
  padding-top: 0;
}

.inquiry-form {
  display: grid;
  gap: 16px;
}

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

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.inquiry-form input:not([type="checkbox"]):not([type="file"]),
.inquiry-form textarea,
.inquiry-form input[type="file"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
}

.inquiry-form textarea {
  resize: vertical;
}

.form-wide,
.file-field,
.consent-field {
  grid-column: 1 / -1;
}

.consent-field {
  display: flex !important;
  grid-template-columns: 18px 1fr;
  align-items: flex-start;
  color: var(--muted) !important;
  font-weight: 600 !important;
}

.consent-field input {
  margin-top: 4px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-notice {
  margin-bottom: 18px;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 750;
}

.form-notice-success {
  color: #0f4b32;
  background: #e8f6ef;
}

.form-notice-error {
  color: #782424;
  background: #f8eaea;
}

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

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

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 40, 0.72);
}

.quote-modal__panel {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  border-radius: 8px;
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-modal__panel h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.18;
}

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

.modal-open {
  overflow: hidden;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  color: var(--muted);
  background: var(--white);
}

.floating-inquiry {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  gap: 8px;
  align-items: center;
}

.floating-inquiry__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 42, 71, 0.2);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(14, 42, 71, 0.18);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

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

.floating-inquiry__button:hover,
.floating-inquiry__button:focus-visible {
  color: var(--white);
  background: var(--signal-dark);
}

.site-footer {
  padding: 58px 0 104px;
  color: #d8e3ed;
  background: #0b1d31;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 0.75fr));
  gap: 34px;
}

.brand-footer {
  align-items: flex-start;
  width: fit-content;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--white);
}

.brand-footer .brand-logo {
  width: 198px;
  max-width: 100%;
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: #b9c7d4;
}

.entity-note,
.footer-entity-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.entity-note span {
  display: block;
}

.footer-brand .footer-entity-note {
  color: #8fa2b5;
}

.footer-entity-note a {
  color: #b9c7d4;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 16px;
}

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

.site-footer a {
  color: #d8e3ed;
  text-decoration: none;
}

.site-footer a:hover {
  color: #8ecbff;
}

.site-footer .contact-line {
  align-items: flex-start;
}

.site-footer .contact-icon {
  color: #8ecbff;
  transform: translateY(1px);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9eb0c0;
  font-size: 14px;
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.standalone-faq {
  max-width: 860px;
  padding-bottom: 76px;
}

@media (max-width: 1040px) {
  .site-header {
    position: relative;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .brand-logo {
    width: 178px;
  }

  .primary-nav {
    width: 100%;
  }

  .nav-menu {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .nav-menu__item--has-dropdown {
    flex-basis: 100%;
  }

  .nav-menu__submenu {
    position: static;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-menu__submenu::before {
    content: none;
  }

  .nav-menu__submenu a {
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 14px;
  }

  .hero__inner,
  .catalog-hero,
  .product-hero,
  .product-detail-grid,
  .split,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
  }

  .hero__visual {
    max-width: 520px;
    align-self: auto;
  }

  .product-summary {
    position: static;
  }

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

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

@media (max-width: 700px) {
  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .topbar__inner,
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px 0;
  }

  .header-contact {
    width: 100%;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(14, 42, 71, 0.94), rgba(14, 42, 71, 0.72)),
      url("assets/images/kataha-home-hero-material.jpg"),
      linear-gradient(135deg, #0e2a47, #28455f);
    background-position: 63% center;
    background-size: cover;
  }

  .hero__inner {
    padding: 54px 0;
  }

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

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

  .section {
    padding: 58px 0;
  }

  .section-heading,
  .product-grid,
  .category-grid,
  .process-grid,
  .usage-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .cta-band h2,
  .catalog-hero h1,
  .page-title-block h1,
  .product-summary h1 {
    font-size: 32px;
  }

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

  .quote-modal {
    padding: 12px;
  }

  .quote-modal__panel {
    padding: 24px 18px;
  }

  .floating-inquiry {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 6px;
  }

  .floating-inquiry__button {
    min-width: 0;
    min-height: 46px;
    padding: 0 8px;
    font-size: 12px;
  }

  .site-footer {
    padding-bottom: 120px;
  }
}
