/* ======================================================
   RAIDEN — MAIN STYLES
   Архитектура файла:
   01. DESIGN TOKENS
   02. BASE
   03. LAYOUT
   04. COMPONENTS
   05. SITE CHROME
   06. HOME BLOCKS
   6.1. GOODS CARDS
   07. SEARCH DROPDOWN
   08. ANIMATIONS
   09. RESPONSIVE
====================================================== */


/* ======================================================
   01. DESIGN TOKENS
====================================================== */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f8fbff;

  --text: #0b0b0c;
  --muted: #60636b;
  --text-soft: #4b5563;

  --accent1: #4e7cb4;
  --accent2: #95bff9;
  --accent3: #7ab9b8;

  --border: #e9edf3;
  --border-strong: #d8dee8;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 14px 32px rgba(15, 23, 42, 0.12);

  --transition: 0.25s ease;
  --container: 1200px;

  --section-y: 56px;
  --section-y-mobile: 44px;

  --card-pad: 24px;
  --card-pad-md: 20px;
  --card-pad-sm: 16px;
}


/* ======================================================
   02. BASE
====================================================== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-top: 88px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition), transform var(--transition);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(78, 124, 180, 0.35);
  outline-offset: 3px;
}


/* ======================================================
   03. LAYOUT
====================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-y) 0;
}

.section h2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 26px;
}

.section h2::after {
  content: "";
  width: 72px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--accent1);
}

.section-lead {
  max-width: 900px;
  margin: 0 auto 22px;
  text-align: center;
  color: var(--text-soft);
}


/* ======================================================
   04. COMPONENTS
====================================================== */

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
}

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

.btn-accent {
  background: var(--accent1);
}

.btn-accent:hover {
  filter: brightness(0.96);
}


/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(78, 124, 180, 0.55);
  box-shadow: 0 0 0 3px rgba(149, 191, 249, 0.18);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-note a {
  color: var(--accent1);
}

.form-note a:hover {
  color: var(--accent3);
}


/* ---------- Generic cards ---------- */

.logo-card,
.contact-card,
.contact-info-card,
.cat-card,
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}


/* ======================================================
   05. SITE CHROME
====================================================== */

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.header.scrolled {
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(78, 124, 180, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 50px;
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #222222;
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.9;
}

.header-nav a:hover {
  color: var(--accent3);
}

.header-nav a.active,
.header-nav a.nav-active {
  color: var(--accent1);
  font-weight: 700;
}

.header-cta {
  white-space: nowrap;
  flex-shrink: 0;
}


/* ---------- Mobile Toggle ---------- */

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.mobile-toggle:hover {
  background: #f3f6ff;
}

.mobile-toggle:active {
  transform: scale(0.96);
}

.mobile-toggle__lines {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
}

.mobile-toggle__lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.mobile-toggle__lines span:nth-child(1) { top: 0; }
.mobile-toggle__lines span:nth-child(2) { top: 7px; }
.mobile-toggle__lines span:nth-child(3) { top: 14px; }

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

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

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


/* ---------- Mobile Menu ---------- */

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(15, 23, 42, 0.26);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.mobile-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}

.mobile-menu.is-open {
  pointer-events: auto;
}

.mobile-menu__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(248, 251, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: -12px 0 30px rgba(15, 23, 42, 0.16);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.08) 28%,
    rgba(255, 255, 255, 0) 58%
  );
  pointer-events: none;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 20px 10px;
}

.mobile-menu__close {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.mobile-menu__close span {
  position: absolute;
  top: 21px;
  left: 11px;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--text);
}

.mobile-menu__close span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu__inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px 40px;
  overflow-y: auto;
}

.mobile-menu__nav {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
}

.mobile-menu__nav a {
  display: block;
  padding: 18px 0;
  color: #1f2937;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 1px solid rgba(78, 124, 180, 0.12);
  transition:
    color var(--transition),
    transform var(--transition),
    font-size var(--transition),
    font-weight var(--transition);
}

.mobile-menu__nav a:not(:last-child).active,
.mobile-menu__nav a:not(:last-child).nav-active {
  color: var(--accent1);
  font-size: 22px;
  font-weight: 800;
  transform: translateX(6px);
}

.mobile-menu__nav a:last-child {
  margin: 18px auto 0;
  width: auto;
  min-width: 220px;
  padding: 11px 20px;
  border-bottom: 0;
  border-radius: 12px;
  background: rgba(78, 124, 180, 0.92);
  color: #ffffff;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(78, 124, 180, 0.16);
}

.mobile-menu__nav a:last-child:hover {
  background: rgba(78, 124, 180, 1);
  color: #ffffff;
  transform: none;
}

body.menu-open {
  overflow: hidden;
}


/* ---------- Footer ---------- */

.footer {
  position: relative;
  margin-top: 32px;
  padding: 46px 0 24px;
  color: #1f2937;
  background: linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
  border-top: 1px solid rgba(78, 124, 180, 0.14);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78, 124, 180, 0.28), transparent);
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 14px 28px rgba(255, 255, 255, 0.28);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-logo-block {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: auto;
  height: 50px;
}

.footer-logo-text {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1f2937;
}

.footer-brand-text {
  margin-top: 16px;
  max-width: 380px;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.7;
}

.footer-copy {
  margin-top: 18px;
  color: #7a8696;
  font-size: 13px;
  line-height: 1.6;
}

.footer h4 {
  margin: 0 0 14px;
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 10px;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.6;
}

.footer li:last-child {
  margin-bottom: 0;
}

.footer a {
  color: #5f6b7a;
  transition: color var(--transition);
}

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


/* ======================================================
   06. HOME BLOCKS
====================================================== */

/* ---------- Hero ---------- */

.hero-cover {
  position: relative;
  min-height: clamp(420px, 70vh, 640px);
  background:
    linear-gradient(135deg, rgba(78, 124, 180, 0.18), rgba(122, 185, 184, 0.08)),
    url("/images/hero.webp") center / cover no-repeat;
}

.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.60) 0%,
    rgba(0, 0, 0, 0.52) 45%,
    rgba(0, 0, 0, 0.58) 100%
  );
}

.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 16px;
  color: #ffffff;
}

.hero-inner h1 {
  max-width: 980px;
  margin-bottom: 10px;
  font-family: "Raleway", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.hero-line {
  width: min(360px, 90%);
  height: 5px;
  margin: 8px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-inner .subtitle {
  max-width: 860px;
  margin: 0;
  font-family: "Raleway", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions .btn {
  min-width: 220px;
  min-height: 50px;
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.42);
}


/* ---------- Catalog ---------- */

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(78, 124, 180, 0.28);
}

.cat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent1);
  opacity: 0;
}

.cat-card:hover::before {
  opacity: 1;
}

.cat-card .pic {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f5f7fb;
}

.cat-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.cat-card .caption {
  padding: 16px 16px 18px;
  border-top: 1px solid var(--border);
}

.cat-card h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

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


/* ---------- About ---------- */

#about {
  text-align: center;
}

.about-intro,
.about-outro {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--text-soft);
}

.about-intro {
  margin-bottom: 18px;
}

.about-outro {
  margin-top: 18px;
}

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

.about-card {
  padding: var(--card-pad-md);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(78, 124, 180, 0.18);
}

.about-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}


/* ---------- Trust ---------- */

.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 22px;
}

.logo-card {
  position: relative;
  min-height: 110px;
  padding: 20px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.logo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(78, 124, 180, 0.18);
  background: #fcfdff;
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent1);
  opacity: 0;
}

.logo-card:hover::before {
  opacity: 1;
}

.logo-card img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}

.logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.02);
}


/* ---------- Contact ---------- */

.contact-section {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-stack {
  display: grid;
  grid-template-rows: auto auto;
  gap: 18px;
  height: 100%;
}

.contact-card,
.contact-info-card,
.contact-form {
  height: 100%;
}

.contact-card,
.contact-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card {
  padding: 18px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-card:hover,
.contact-form:hover {
  border-color: rgba(78, 124, 180, 0.12);
}

.contact-info-card {
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-info-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 16px;
}

.contact-form {
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form .btn {
  min-width: 240px;
  min-height: 48px;
  width: auto;
  justify-self: start;
  padding: 12px 28px;
  font-size: 15px;
}

.contact-form .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(78, 124, 180, 0.25);
}

.contact-form-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-form-text {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  line-height: 1.5;
}

.bullets li {
  color: var(--text);
}

/* ---------- Honeypot поле (проверка на бота, если заполняет все поля включая это - значит БОТ) ---------- */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 22px;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
}

.form-status.success {
  color: #2e7d32;
}

.form-status.error {
  color: #c62828;
}

.contact-form.is-submitting .btn {
  opacity: 0.85;
  cursor: wait;
}

/* ======================================================
   6.1 . GOODS CARDS
====================================================== */

/* ---------- Pop-up request ---------- */
.request-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}

.request-modal.is-open {
  display: block;
}

.request-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.request-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: 16px auto;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.24);
}

.request-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #f3f6fb;
  cursor: pointer;
}

.request-modal__close span {
  position: absolute;
  top: 20px;
  left: 10px;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #111827;
}

.request-modal__close span:nth-child(1) {
  transform: rotate(45deg);
}

.request-modal__close span:nth-child(2) {
  transform: rotate(-45deg);
}

.request-modal__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.request-modal__text {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.request-form .btn {
  min-width: 220px;
}

.request-form.is-submitting .btn {
  opacity: 0.85;
  cursor: wait;
}

/* ======================================================
   07. SEARCH DROPDOWN
====================================================== */

.search-wrapper {
  position: relative;
  z-index: 50;
  overflow: visible !important;
}

.catalog-search {
  position: relative;
  z-index: 1200;
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #cccccc;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.catalog-search:focus {
  border-color: var(--accent1);
  box-shadow: 0 6px 14px rgba(78, 124, 180, 0.18);
}

.search-suggestions,
.search-suggestions-global {
  display: none;
  max-height: 320px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 1200;
}

.search-suggestions-global {
  position: fixed;
  z-index: 1201;
  margin-top: -1px;
  border-top: none;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  animation: slideFadeIn 0.25s ease;
  transform-origin: top;
}

.search-suggestions-global.hide {
  animation: fadeOut 0.25s ease forwards;
}

.search-suggestions-global .suggestion-item:first-child {
  border-top: 1px solid #eeeeee;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  width: 100%;
  border: 0;
  background: #ffffff;
  text-align: left;
}

.suggestion-item.is-active {
  background: #fff7d1;
}

.suggestion-empty {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.suggestion-item:hover {
  background: #fff7d1;
}

.suggestion-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
}

.suggestion-item span {
  font-size: 16px;
  font-weight: 600;
  color: #222222;
}

.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ======================================================
   08. ANIMATIONS
====================================================== */

@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}


/* ======================================================
   09. RESPONSIVE
====================================================== */

@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .header-right {
    gap: 20px;
  }

  .header-nav {
    gap: 24px;
  }
}

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

  .mobile-toggle {
    display: inline-flex;
  }

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

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

  .contact-stack {
    grid-template-rows: auto;
    height: auto;
  }

  .contact-card,
  .contact-info-card,
  .contact-form {
    height: auto;
  }

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

@media (max-width: 768px) {
  .section {
    padding: var(--section-y-mobile) 0;
  }

  .section h2 {
    font-size: 18px;
    margin-bottom: 22px;
  }

  .section h2::after {
    width: 56px;
    height: 3px;
    margin-top: 10px;
  }

  .hero-inner h1 {
    font-size: 25px;
    line-height: 1.18;
  }

  .hero-line {
    height: 3px;
    margin: 8px auto 12px;
  }

  .hero-inner .subtitle {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-top: 18px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .about-card {
    padding: var(--card-pad-sm);
  }

  .contact-form-title {
    font-size: 18px;
  }

  .footer {
    margin-top: 32px;
    padding: 34px 0 22px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .footer-copy {
    order: 3;
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
  }

  .footer-brand {
    order: 1;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(78, 124, 180, 0.15);
  }

  .footer-col:last-child {
    order: 2;
    padding-top: 20px;
  }

  .footer-logo-text {
    font-size: 24px;
  }

  .footer-brand-text,
  .footer li {
    font-size: 14px;
  }

  .footer h4 {
    font-size: 15px;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col:nth-child(2) {
    display: none;
  }

  .catalog-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .cat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .cat-card .pic {
    flex: 0 0 65px;
    width: 65px;
    height: 50px;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
  }

  .cat-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .cat-card .caption {
    flex: 1;
    padding: 0;
    border-top: 0;
  }

  .cat-card h3 {
    margin: 0 0 4px;
    font-size: 14px;
  }

  .cat-card p {
    font-size: 12px;
    line-height: 1.4;
  }

  .cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(78, 124, 180, 0.16);
    background: rgba(78, 124, 180, 0.05);
  }

  .cat-card:active {
    transform: scale(0.98);
    background: rgba(78, 124, 180, 0.12);
    box-shadow: inset 0 0 10px rgba(78, 124, 180, 0.2);
  }

  .contact-card,
  .form {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 78px;
  }

  .header-inner {
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .logo-text {
    font-size: 20px;
  }

  .logo img {
    height: 46px;
  }

  .mobile-toggle {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .logo-card {
    min-height: 88px;
    padding: 14px;
  }

  .logo-card img {
    max-height: 56px;
  }

  .footer {
    padding: 30px 0 20px;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-logo {
    height: 44px;
  }

  .footer-logo-text {
    font-size: 22px;
  }

  .footer-brand-text,
  .footer li,
  .footer-copy {
    font-size: 13px;
  }

  .request-modal__dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    padding: 18px;
    border-radius: 16px;
  }

  .request-modal__title {
    font-size: 22px;
    padding-right: 44px;
  }

}