/* ==== GLOBAL ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}
body, html {
  overflow-x: hidden;
}
body {
  background: #f4f5f7;
  color: #1f2933;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.fx-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.fx-container {
  width: 92%;
  max-width: 1160px;
  margin: 0 auto;
}

/* ==== HEADER ==== */
.fx-header {
  background: #ffffffee;
  border-bottom: 1px solid rgba(148,163,184,0.5);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
}

.fx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

/* Logo */
.fx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.fx-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.fx-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fx-logo-main {
  text-transform: lowercase;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: #111827;
}

.fx-logo-sub {
  font-size: 10px;
  color: #6b7280;
}

/* Nav */
.fx-nav {
  display: flex;
  gap: 16px;
  font-size: 13px;
}

.fx-nav a {
  color: #4b5563;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.fx-nav a:hover,
.fx-nav a.active {
  color: #0f766e;
  border-bottom-color: #14b8a6;
}

/* Header contact */
.fx-header-contact {
  font-size: 13px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fx-header-contact a {
  color: inherit;
  text-decoration: none;
}

/* Burger */
.fx-menu-btn {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.fx-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  margin-bottom: 4px;
}

/* Mobile menu */
.fx-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 230px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid rgba(148,163,184,0.7);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 72px;
  padding-left: 24px;
  transition: right 0.3s ease;
  z-index: 100;
}

.fx-mobile-menu a {
  text-decoration: none;
  color: #111827;
  font-size: 14px;
}

.fx-mobile-menu.open {
  right: 0;
}

/* ==== MAIN ==== */
.fx-main {
  flex: 1;
  padding: 18px 0 20px;
}

/* ==== HERO ==== */
.fx-hero {
  padding: 18px 0 20px;
}

.fx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(0,1.3fr);
  gap: 20px;
  align-items: stretch;
}

.fx-hero-text {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 16px 18px 18px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.06);
}

.fx-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0f766e;
}

.fx-hero-text h1 {
  font-size: 28px;
  line-height: 1.2;
  margin-top: 6px;
  color: #111827;
}

.fx-hero-sub {
  margin-top: 10px;
  font-size: 13px;
  color: #4b5563;
}

.fx-hero-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Hero side */
.fx-hero-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fx-hero-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.7);
  max-height: 220px;
  background: #e5e7eb;
}

.fx-hero-photo img {
  width: 100%;
  height: 100%;
}

.fx-hero-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 12px 14px 14px;
  font-size: 13px;
  color: #4b5563;
}

.fx-hero-card h2 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #111827;
}

.fx-hero-card ul {
  list-style: none;
}

.fx-hero-card li {
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
}

.fx-hero-card li span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

/* ==== BUTTONS ==== */
.fx-btn {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.fx-btn-primary {
  background: #0f766e;
  color: #e0f2f1;
  border-color: #0f766e;
  box-shadow: 0 12px 32px rgba(15,118,110,0.35);
}

.fx-btn-primary:hover {
  background: #0d6a63;
  border-color: #0d6a63;
  transform: translateY(-1px);
}

.fx-btn-ghost {
  background: transparent;
  color: #0f766e;
  border-color: rgba(148,163,184,0.8);
}

.fx-btn-ghost:hover {
  background: #ecfdf5;
}

.fx-btn-outline {
  background: transparent;
  color: #0f766e;
  border-color: #0f766e;
}

.fx-btn-outline:hover {
  background: #ecfdf5;
}

/* ==== STRIP (3 факти) ==== */
.fx-strip {
  margin-bottom: 16px;
}

.fx-strip-row {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}

.fx-strip-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px dashed rgba(148,163,184,0.9);
  padding: 8px 10px;
  font-size: 12px;
  color: #111827;
}

.fx-strip-item span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

.fx-strip-item strong {
  display: block;
  margin-top: 2px;
}

/* ==== SECTION HEAD ==== */
.fx-section {
  margin-bottom: 18px;
}

.fx-section-head {
  margin-bottom: 10px;
}

.fx-section-head h2 {
  font-size: 18px;
  margin-bottom: 4px;
  color: #111827;
}

.fx-section-head p {
  font-size: 13px;
  color: #6b7280;
}

/* ==== CATEGORIES ==== */
.fx-cats-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}

.fx-cat-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #4b5563;
  text-align: left;
}

.fx-cat-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
  color: #111827;
}

.fx-cat-icon {
  font-size: 22px;
  margin-bottom: 6px;
  color: #0f766e;
}

/* ==== LAYOUT ALT (підбір + сценарії) ==== */
.fx-layout-alt {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1.3fr);
  gap: 20px;
}

.fx-layout-col h2 {
  font-size: 18px;
  margin: 4px 0;
  color: #111827;
}

.fx-layout-col p {
  font-size: 13px;
  color: #4b5563;
}

.fx-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0f766e;
}

.fx-link {
  display: inline-flex;
  margin-top: 8px;
  font-size: 13px;
  color: #0f766e;
  text-decoration: none;
}

.fx-link:hover {
  text-decoration: underline;
}

.fx-scenarios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fx-scenario {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 9px 11px 11px;
  font-size: 13px;
  color: #4b5563;
}

.fx-scenario h3 {
  font-size: 15px;
  margin-bottom: 3px;
  color: #111827;
}

/* ==== PRODUCTS ==== */
.fx-products-grid,
.fx-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}

.fx-product-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 9px 11px 11px;
  font-size: 13px;
  color: #4b5563;
}

.fx-product-card h3 {
  font-size: 15px;
  margin-top: 4px;
  margin-bottom: 3px;
  color: #111827;
}

.fx-product-img {
  border-radius: 12px;
  overflow: hidden;
  max-height: 140px;
  margin-bottom: 4px;
  background: #e5e7eb;
}

/* ==== CONTACT STRIP (головна) ==== */
.fx-contact-strip {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  background: #ffffff;
  padding: 11px 12px 12px;
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1.1fr);
  gap: 16px;
  margin-bottom: 10px;
}

.fx-contact-text h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #111827;
}

.fx-contact-text p {
  font-size: 13px;
  color: #4b5563;
}

.fx-contact-note {
  margin-top: 6px;
  margin-bottom: 8px;
}

.fx-contact-map {
  border-radius: 16px;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid rgba(148,163,184,0.8);
}

/* ==== PAGE HEAD ==== */
.fx-page-head {
  margin-bottom: 10px;
}

.fx-page-head h1 {
  font-size: 20px;
  margin-bottom: 4px;
  color: #111827;
}

.fx-page-head p {
  font-size: 13px;
  color: #6b7280;
}

/* ==== CATALOG LAYOUT ==== */
.fx-catalog-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.7fr);
  gap: 16px;
}

.fx-filter-panel {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #4b5563;
}

.fx-filter-panel h2 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #111827;
}

.fx-filter-block + .fx-filter-block {
  margin-top: 10px;
}

.fx-filter-block h3 {
  font-size: 14px;
  margin-bottom: 4px;
  color: #111827;
}

.fx-filter-block ul {
  list-style: none;
  font-size: 13px;
  color: #6b7280;
}

.fx-filter-block li {
  margin-bottom: 3px;
}

/* ==== BRANDS ==== */
.fx-brands-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.fx-brand-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #4b5563;
}

.fx-brand-card h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #111827;
}

.fx-brand-card ul {
  margin-left: 18px;
}

/* ==== ABOUT ==== */
.fx-about-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.fx-about-col h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #111827;
}

.fx-about-col p,
.fx-about-col li {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.8;
}

.fx-list {
  margin-left: 18px;
  margin-top: 4px;
}

/* ==== CONTACT PAGE ==== */
.fx-contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.fx-contact-panel {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  background: #ffffff;
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #4b5563;
}

.fx-contact-panel p {
  margin-bottom: 4px;
}

.fx-contact-panel form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.fx-contact-panel label {
  font-size: 12px;
  color: #111827;
}

.fx-contact-panel input,
.fx-contact-panel textarea {
  font-size: 13px;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.9);
  background: #f9fafb;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fx-contact-panel textarea {
  resize: vertical;
  min-height: 110px;
}

.fx-contact-panel input:focus,
.fx-contact-panel textarea:focus {
  border-color: #0f766e;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(15,118,110,0.25);
}

.fx-map-panel {
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid rgba(148,163,184,0.7);
}

/* ==== POLICY PAGES ==== */
.fx-page-simple {
  flex-direction: column;
}

.fx-main-simple {
  padding: 20px 0 20px;
}

.fx-policy-card {
  max-width: 820px;
  margin: 18px auto 16px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  background: #ffffff;
  padding: 16px 18px 18px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.8;
}

.fx-policy-card h1 {
  font-size: 20px;
  margin-bottom: 4px;
  color: #111827;
}

.fx-policy-card h2 {
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 4px;
  color: #111827;
}

.fx-policy-card ul {
  margin-left: 18px;
}

/* ==== FOOTER ==== */
.fx-footer {
  border-top: 1px solid rgba(148,163,184,0.7);
  padding: 10px 0 14px;
  font-size: 11px;
  color: #6b7280;
  background: #ffffff;
}

.fx-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fx-footer-links a {
  color: #4b5563;
  text-decoration: none;
  margin-left: 10px;
  font-size: 11px;
}

/* ==== COOKIE BANNER ==== */
#cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  max-width: 320px;
  z-index: 120;
}

.cookie-box {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.9);
  padding: 10px 12px;
  font-size: 12px;
  color: #111827;
  box-shadow: 0 18px 40px rgba(15,23,42,0.2);
}

.cookie-box button {
  margin-top: 8px;
  width: 100%;
  padding: 7px;
  border-radius: 999px;
  border: none;
  background: #0f766e;
  color: #ecfdf5;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ==== REVEAL ==== */
.fx-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fx-reveal.fx-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 960px) {
  .fx-nav {
    display: none;
  }

  .fx-menu-btn {
    display: block;
  }

  .fx-hero-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-layout-alt {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-strip-row {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .fx-cats-grid,
  .fx-products-grid,
  .fx-catalog-grid,
  .fx-brands-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .fx-catalog-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-contact-strip {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-contact-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-about-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .fx-container {
    width: 94%;
  }

  .fx-hero-text h1 {
    font-size: 22px;
  }

  .fx-hero-sub,
  .fx-section-head p {
    font-size: 12px;
  }

  .fx-strip-row,
  .fx-cats-grid,
  .fx-products-grid,
  .fx-catalog-grid,
  .fx-brands-grid {
    grid-template-columns: minmax(0,1fr);
  }

  #cookie-banner {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}
