/* ===== GLOBAL ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: #f3f4f6;
  color: #111827;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.hx-container {
  width: 92%;
  max-width: 1150px;
  margin: 0 auto;
}

/* ===== HEADER ===== */

.hx-header {
  background: #111827;
  color: #f9fafb;
}

.hx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.hx-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hx-logo span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f97316;
}

.hx-nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
}

.hx-nav a {
  text-decoration: none;
  color: #d1d5db;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

.hx-nav a:hover,
.hx-nav .active {
  color: #f97316;
  border-bottom-color: #f97316;
}

/* Burger */

.hx-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hx-menu-btn span {
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: #f9fafb;
}

/* Mobile menu */

.hx-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 230px;
  height: 100vh;
  background: #020617;
  padding-top: 80px;
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: 0.3s ease;
  z-index: 999;
}

.hx-mobile-menu a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 15px;
}

.hx-mobile-menu.open {
  right: 0;
}

/* ===== HERO ===== */

.hx-hero {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 26px 0 28px;
}

.hx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 30px;
}

.hx-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}

.hx-hero-main h1 {
  font-size: 30px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hx-hero-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  max-width: 520px;
}

.hx-hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Side blocks */

.hx-hero-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hx-side-block {
  background: #111827;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 14px 16px;
}

.hx-side-block h2 {
  font-size: 15px;
  margin-bottom: 6px;
}

.hx-side-block ul {
  list-style: none;
  font-size: 13px;
}

.hx-side-block li {
  margin-bottom: 5px;
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 10px;
}

.hx-side-block li span {
  color: #9ca3af;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hx-side-note {
  background: #f97316;
  color: #111827;
  font-size: 13px;
}

/* Buttons */

.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.hx-btn-dark {
  background: #111827;
  color: #f9fafb;
}

.hx-btn-dark:hover {
  background: #020617;
}

.hx-btn-outline {
  background: transparent;
  border: 1px solid #111827;
  color: #111827;
}

.hx-btn-outline:hover {
  background: #e5e7eb;
}

/* ===== STEPS ===== */

.hx-steps {
  background: #111827;
  color: #e5e7eb;
  padding: 20px 0 22px;
}

.hx-section-head {
  margin-bottom: 14px;
}

.hx-section-head h2 {
  font-size: 18px;
  margin-bottom: 4px;
}

.hx-section-head p {
  font-size: 13px;
  color: #9ca3af;
}

.hx-steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hx-step {
  background: #020617;
  border-radius: 16px;
  padding: 10px 11px 10px;
  border: 1px solid #1f2937;
}

.hx-step-number {
  font-size: 12px;
  font-weight: 600;
  color: #f97316;
  margin-bottom: 4px;
}

.hx-step h3 {
  font-size: 13px;
  margin-bottom: 4px;
}

.hx-step p {
  font-size: 12px;
  color: #9ca3af;
}

/* ===== SPLIT ALT ===== */

.hx-split-alt {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
  padding: 24px 0 20px;
}

.hx-split-col h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.hx-split-col h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.hx-split-col p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

.hx-list {
  margin-left: 18px;
  margin-top: 6px;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

.hx-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #111827;
  text-decoration: none;
  border-bottom: 1px solid #111827;
}

.hx-link:hover {
  color: #f97316;
  border-bottom-color: #f97316;
}

.hx-note-box {
  background: #fef3c7;
  border-radius: 18px;
  padding: 12px 14px;
}

/* ===== PROJECTS ===== */

.hx-projects {
  background: #f9fafb;
  padding: 22px 0 24px;
  border-top: 1px solid #e5e7eb;
}

.hx-section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.hx-section-head-row p {
  font-size: 13px;
  color: #4b5563;
}

.hx-project-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-auto-rows: minmax(110px, auto);
  gap: 12px;
}

.hx-project-card {
  background: #111827;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 12px 14px;
}


.hx-project-wide {
  grid-column: 1 / -1;
}

.hx-project-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f97316;
  margin-bottom: 4px;
}

.hx-project-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.hx-project-card p {
  font-size: 13px;
  color: #d1d5db;
}

/* ===== STATS ===== */

.hx-stats {
  background: #f97316;
  color: #111827;
  padding: 14px 0 16px;
}

.hx-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hx-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hx-stat strong {
  display: block;
  font-size: 14px;
}

/* ===== CONTACT STRIP ===== */

.hx-contact-strip {
  background: #111827;
  color: #f9fafb;
  padding: 20px 0 22px;
}

.hx-contact-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.hx-contact-strip-inner h2 {
  font-size: 18px;
  margin-bottom: 4px;
}

.hx-contact-strip-inner p {
  font-size: 13px;
  color: #e5e7eb;
}

.hx-contact-strip-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.hx-contact-phone {
  font-size: 13px;
}

.hx-contact-phone i {
  margin-right: 6px;
}

/* ===== PAGES / GENERIC ===== */

.hx-page-hero {
  padding: 24px 0 10px;
}

.hx-page-hero h1 {
  font-size: 22px;
  margin-bottom: 6px;
}

.hx-page-hero p {
  font-size: 14px;
  color: #4b5563;
  max-width: 600px;
}

.hx-page-grid {
  padding: 8px 0 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

.hx-page-grid h2 {
  font-size: 17px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.hx-page-grid ul {
  margin-left: 18px;
  margin-bottom: 6px;
}

/* Project list */

.hx-project-list {
  padding: 8px 0 26px;
}

.hx-project-row {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 16px 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  margin-bottom: 14px;
}

.hx-project-row h2 {
  font-size: 18px;
  margin-bottom: 4px;
}

.hx-project-row p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 6px;
}

.hx-project-row ul {
  margin-left: 18px;
  font-size: 14px;
  color: #374151;
}

/* Policy card */

.hx-policy-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 16px 18px;
  margin: 26px auto 32px;
  max-width: 800px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

.hx-policy-card h1 {
  font-size: 22px;
  margin-bottom: 6px;
  color: #111827;
}

.hx-policy-card h2 {
  font-size: 17px;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #111827;
}

.hx-policy-card ul {
  margin-left: 18px;
}

/* ===== CONTACT LAYOUT ===== */

.hx-contact-layout {
  padding: 24px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 22px;
}

.hx-contact-panel {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.hx-contact-panel h1 {
  font-size: 20px;
  margin-bottom: 6px;
}

.hx-contact-panel p {
  font-size: 14px;
  margin-bottom: 4px;
  color: #4b5563;
}

.hx-contact-note {
  margin-top: 8px;
  margin-bottom: 10px;
}

/* Form */

.hx-contact-panel form {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hx-contact-panel label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.hx-contact-panel input,
.hx-contact-panel textarea {
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hx-contact-panel textarea {
  resize: vertical;
  min-height: 110px;
}

.hx-contact-panel input:focus,
.hx-contact-panel textarea:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.25);
}

.hx-contact-panel button {
  margin-top: 4px;
}

.hx-map-panel {
  border-radius: 18px;
  overflow: hidden;
  min-height: 260px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
}

/* ===== FOOTER ===== */

.hx-footer {
  background: #020617;
  color: #9ca3af;
  padding: 14px 0 18px;
  font-size: 12px;
}

.hx-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hx-footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 8px;
}

/* ===== COOKIE BANNER ===== */

#cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  max-width: 320px;
  z-index: 900;
}

.cookie-box {
  background: #020617;
  color: #e5e7eb;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.7);
}

.cookie-box button {
  margin-top: 8px;
  width: 100%;
  padding: 8px 0;
  border-radius: 999px;
  border: none;
  background: #f97316;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 960px) {
  .hx-hero-grid {
    grid-template-columns: 1fr;
  }

  .hx-steps-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hx-split-alt,
  .hx-project-grid,
  .hx-page-grid,
  .hx-contact-layout {
    grid-template-columns: 1fr;
  }

  .hx-contact-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hx-contact-strip-right {
    align-items: flex-start;
  }

  .hx-stats-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .hx-nav {
    display: none;
  }

  .hx-menu-btn {
    display: flex;
  }

  #cookie-banner {
    right: 12px;
    left: 12px;
    max-width: none;
  }
}
/* HERO IMAGE */
.hx-hero-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Блок з картинкою */
.hx-hero-image {
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.55);
}

/* Сама картинка */
.hx-hero-image img {
  width: 100%;
  height: 230px; /* обмеження висоти */
  object-fit: cover; /* акуратно обрізає зайве */
  display: block;
}
@media (max-width: 960px) {
  .hx-hero-image img {
    height: 200px;
  }
}
/* Картинки в карточках проєктів */
.hx-project-card img {
  width: 100%;
  max-height: 170px; /* обмеження висоти */
  object-fit: cover; /* обрізає, але зберігає пропорції */
  border-radius: 12px;
  margin-bottom: 8px;
  display: block;
}

/* Для широкої нижньої картки — трохи нижча */
.hx-project-card.hx-project-wide img {
  max-height: 150px;
}
.hx-project-card img {
  border: 1px solid rgba(148, 163, 184, 0.25);
}
