:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --text: #1f2937;
  --text-muted: #667085;
  --primary: #0f766e;
  --primary-dark: #0b5a54;
  --border: #e5e7eb;
  --shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
  --radius: 14px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 4.25rem 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-heading {
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.08);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.site-header.scrolled .brand {
  color: var(--text);
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
}

.site-header.scrolled .nav-links a {
  color: #374151;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.site-header.scrolled .nav-toggle span {
  background: #111827;
}

.hero {
  position: relative;
  padding: 7rem 0 6.5rem;
  background-image: url("https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(5, 10, 18, 0.55) 0%,
    rgba(5, 10, 18, 0.62) 40%,
    rgba(5, 10, 18, 0.45) 100%
  );
  z-index: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  color: #ffd166;
  font-weight: 700;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.25;
  color: #fff;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: #c7cdd4;
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-badge-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1rem;
  align-self: center;
}

.hero-badge-card h3 {
  margin: 0 0 0.6rem;
}

.hero-badge-card ul {
  margin: 0;
  padding: 0 1rem 0 0;
}

.hero-badge-card li + li {
  margin-top: 0.35rem;
}

.hero-features {
  margin-top: -2.3rem;
  position: relative;
  z-index: 2;
}

.features-grid {
  display: grid;
  gap: 1rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  padding: 1.1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

.about-card,
.contact-card,
.map-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.about-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.about-list li + li {
  margin-top: 0.5rem;
}

.products-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.05);
}

.product-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.product-content {
  padding: 1rem;
}

.product-content h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.product-content p {
  margin: 0;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-list li + li {
  margin-top: 0.8rem;
}

.contact-list span {
  color: var(--text-muted);
  font-weight: 600;
}

.map-card iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 10px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  background: #fff;
}

.footer-content {
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 1rem;
    left: 1rem;
    top: 76px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    padding-top: 6.25rem;
  }
}

@media (min-width: 821px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

@media (min-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
