:root {
  --bg: #f7fbfb;
  --surface: #ffffff;
  --surface-soft: #eaf5f4;
  --text: #173432;
  --muted: #647776;
  --primary: #087f7b;
  --primary-dark: #05635f;
  --accent: #d8a84a;
  --border: #d9e8e6;
  --shadow: 0 20px 60px rgba(10, 60, 58, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(8, 127, 123, 0.12), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.8;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 232, 230, 0.8);
  background: rgba(247, 251, 251, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #0bb3a7);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(8, 127, 123, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 14px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.nav-links a:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.hero {
  padding: 78px 0 56px;
}

.hero-grid,
.split,
.contact-card {
  display: grid;
  align-items: center;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.hero-content h1,
.section-heading h2,
.split h2,
.contact h2 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  line-height: 1.25;
}

.hero-content h1 {
  max-width: 720px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}

.hero-text {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 22px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(8, 127, 123, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--primary-dark);
}

.hero-card,
.product-card,
.contact-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-card-image {
  aspect-ratio: 4 / 3;
  background: var(--surface-soft);
}

.hero-card-image img,
.product-image img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.store-facts {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 24px;
}

.store-facts div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
}

.store-facts dt {
  color: var(--muted);
  font-weight: 700;
}

.store-facts dd {
  margin: 0;
  font-weight: 800;
}

.section {
  padding: 70px 0;
}

.section.muted {
  background: rgba(234, 245, 244, 0.72);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2,
.split h2,
.contact h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.section-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.inline-code {
  direction: ltr;
  display: inline-block;
  border-radius: 8px;
  background: rgba(8, 127, 123, 0.1);
  color: var(--primary-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 0 6px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 8px 18px;
  outline: none;
}

.search-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(8, 127, 123, 0.12);
}

.filter-group {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 7px 16px;
}

.filter-button.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.catalog-status {
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 700;
}

.catalog-status:empty {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #e2f3f1, #f9f1df);
}

.product-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.product-title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.45;
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-price {
  color: var(--primary-dark);
  font-weight: 800;
}

.product-code {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.product-card .btn {
  width: 100%;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  padding: 32px;
  text-align: center;
}

.split {
  grid-template-columns: 1fr 1fr;
}

.split p {
  margin: 16px 0 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list div {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 18px;
}

.service-list strong,
.service-list span {
  display: block;
}

.service-list strong {
  margin-bottom: 4px;
}

.service-list span {
  color: var(--muted);
}

.contact {
  padding-bottom: 36px;
}

.contact-card {
  grid-template-columns: 1fr auto;
  border-radius: var(--radius-lg);
  padding: 34px;
}

.contact-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  padding: 28px 0;
  color: var(--muted);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--primary-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-card,
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .filter-group {
    align-items: start;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .product-meta,
  .footer-content {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .store-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-card {
    padding: 24px;
  }
}
