:root {
  --teal: #0f8b8d;
  --teal-dark: #0b6466;
  --orange: #f6a623;
  --pink: #e6398f;
  --blue: #2f6fe4;
  --ink: #1d2433;
  --muted: #5b6475;
  --bg: #fffdf8;
  --surface: #ffffff;
  --border: #ece6da;
  --radius: 18px;
  --shadow: 0 10px 30px rgb(29 36 51 / 0.08);
  --wa: #25d366;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.3;
  margin: 0 0 0.5em;
}

.container {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--orange);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgb(246 166 35 / 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn-ghost:hover {
  box-shadow: 0 8px 18px rgb(15 139 141 / 0.2);
}

.btn-small {
  padding: 6px 18px;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 253 248 / 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-direction: row-reverse; /* logo on the left, menu on the right (page is RTL) */
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  flex-direction: row-reverse; /* logo image at the far left */
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.1rem;
  color: var(--teal-dark);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
}

.main-nav a:not(.btn) {
  text-decoration: none;
}

.main-nav a:not(.btn):hover {
  color: var(--teal);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at 85% 15%, rgb(246 166 35 / 0.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgb(15 139 141 / 0.18), transparent 45%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgb(15 139 141 / 0.1);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
}

.hl {
  color: var(--teal);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36ch;
}

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

.hero-art img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* Products */
.products {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 28px;
}

.section-head h2,
.about h2,
.contact h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.chip {
  font: inherit;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip:hover {
  border-color: var(--teal);
}

.chip[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgb(29 36 51 / 0.12);
}

.card[hidden] {
  display: none;
}

.card-media {
  display: block;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  aspect-ratio: 905 / 855;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-media img {
  transform: scale(1.03);
}

.card-body {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--border);
  flex: 1;
}

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

.card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 12px;
  border-radius: 999px;
  background: rgb(246 166 35 / 0.16);
  color: #9a5a00;
  font-size: 0.82rem;
  font-weight: 700;
}

.titles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.titles li {
  padding: 2px 12px;
  border-radius: 8px;
  background: rgb(15 139 141 / 0.08);
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 600;
}

/* About */
.about {
  padding: 64px 0;
  background: linear-gradient(135deg, rgb(15 139 141 / 0.08), rgb(246 166 35 / 0.1));
}

.about-inner {
  text-align: center;
  max-width: 820px;
}

.about p {
  font-size: 1.1rem;
  color: var(--muted);
}

.features {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.features li {
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.features span {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 4px;
}

/* Contact */
.contact {
  padding: 72px 0;
  background: var(--teal-dark);
  color: #fff;
  text-align: center;
}

.contact p {
  margin: 0 0 24px;
  opacity: 0.9;
}

.wa-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.2);
  transition: transform 0.15s ease;
}

.wa:hover {
  transform: translateY(-2px);
}

.wa svg {
  width: 26px;
  height: 26px;
}

/* Footer */
.site-footer {
  background: #0a4f51;
  color: rgb(255 255 255 / 0.8);
  text-align: center;
  font-size: 0.9rem;
  padding: 18px 0;
}

.site-footer p {
  margin: 0;
}

/* Lightbox */
.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(96vw, 1100px);
  max-height: 94vh;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgb(10 20 30 / 0.85);
}

.lightbox img {
  max-height: 90vh;
  width: auto;
  border-radius: 14px;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  inset-inline-end: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .main-nav a:not(.btn) {
    display: none;
  }
}

@media (max-width: 400px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .brand-text small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
