:root {
  color-scheme: light;
  --bg: #f5efe5;
  --surface: #fff5ed;
  --surface-strong: #f7ede2;
  --surface-muted: #fdfff9;
  --text: #2d1f16;
  --text-soft: #5b4a3b;
  --accent: #a66e3b;
  --accent-dark: #7d4d28;
  --accent-light: #d9b38e;
  --border: rgba(57, 35, 15, 0.12);
  --shadow: 0 24px 60px rgba(34, 24, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.page-shell {
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(250, 244, 239, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(117, 87, 66, 0.08);
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand > div {
  min-width: 0;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--accent-dark);
  cursor: pointer;
  padding: 4px 12px;
}

.desktop-only {
  display: inline-flex;
}

.main-nav a {
  color: var(--text-soft);
  font-weight: 500;
  white-space: nowrap;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 16px 28px rgba(169, 110, 59, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  border: 1px solid rgba(161, 112, 70, 0.18);
}

.btn-white {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid rgba(161, 112, 70, 0.12);
}

.full-width {
  width: 100%;
}

.hero {
  min-height: 92vh;
  padding: 90px 0 120px;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(20, 12, 6, 0.45) 0%, rgba(25, 13, 6, 0.92) 100%), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 184, 112, 0.16), transparent 32%), linear-gradient(180deg, rgba(16, 8, 3, 0.45), rgba(15, 9, 4, 0.92));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  max-width: 640px;
}

.hero-badge {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
  line-height: 1.55;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.7rem);
  line-height: 1.02;
  margin: 0 0 18px;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero-description {
  max-width: 600px;
  font-size: 1.05rem;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.about-panel {
  margin: -100px auto 40px;
  position: relative;
  z-index: 3;
}

.about-card {
  display: grid;
  gap: 28px;
  padding: 36px;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.info-box {
  display: grid;
  gap: 20px;
  padding: 28px;
  background: linear-gradient(180deg, #fff9f2 0%, #f4e8dc 100%);
  border-radius: 24px;
  border: 1px solid rgba(161, 112, 70, 0.12);
}

.info-box .icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
}

.info-box h2 {
  margin: 0;
  font-size: 1.4rem;
}

.info-box p {
  margin: 0 0 20px;
  color: var(--text-soft);
  line-height: 1.8;
}

.about-summary {
  display: grid;
  gap: 18px;
}

.about-summary h2 {
  margin: 0;
  font-size: 2rem;
}

.about-summary p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 700px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-dark);
  font-weight: 600;
}

.feature-list li::before {
  content: '•';
  color: var(--accent);
}

.stats-strip {
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(161, 112, 70, 0.12);
}

.stat-card {
  padding: 22px 18px;
  background: #fff;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(109, 75, 45, 0.06);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--accent-dark);
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
}

.features {
  margin: 60px auto;
}

.section-header {
  text-align: center;
  margin-bottom: 34px;
}

.section-header h2 {
  margin: 0;
  font-size: 2.25rem;
}

.section-header p {
  margin: 14px auto 0;
  max-width: 660px;
  color: var(--text-soft);
  line-height: 1.8;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.category-card {
  padding: 22px 20px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(161, 112, 70, 0.14);
  box-shadow: 0 20px 35px rgba(105, 75, 45, 0.08);
  color: var(--text);
  font-weight: 600;
  line-height: 1.7;
}

.categories-grid .category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 38px rgba(105, 75, 45, 0.12);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(161, 112, 70, 0.09);
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.complaint-section {
  margin: 60px auto 40px;
}

.complaint-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.form-card,
.faq-card {
  background: #fff;
  border-radius: 32px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(161, 112, 70, 0.12);
}

.form-card h2,
.faq-card h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.form-card p {
  margin: 12px 0 28px;
  color: var(--text-soft);
  line-height: 1.8;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--text-soft);
}

input,
select,
textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(161, 112, 70, 0.18);
  background: #fff;
  color: var(--text);
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(166, 110, 59, 0.65);
  box-shadow: 0 0 0 4px rgba(166, 110, 59, 0.12);
}

textarea {
  resize: vertical;
}

.full-width {
  width: 100%;
}

.form-message {
  margin-top: 18px;
  min-height: 32px;
  color: var(--accent-dark);
  font-weight: 600;
}

.faq-card .faq-item {
  margin-bottom: 20px;
}

.faq-card .faq-item h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.faq-card .faq-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.cta-panel {
  margin: 40px auto 80px;
  background: linear-gradient(135deg, #a07249, #7c4b25);
  color: #fff;
  border-radius: 28px;
  padding: 36px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-panel h2 {
  margin: 0;
  font-size: 2rem;
}

.cta-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.footer {
  background: #f1e4d6;
  padding: 40px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 800;
}

.footer p,
.footer a {
  color: var(--text-soft);
  line-height: 1.8;
}

.footer-title {
  margin: 0 0 14px;
  font-weight: 700;
}

.footer a {
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(117, 87, 66, 0.1);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 20px 20px;
  right: 20px;
  left: auto;
  z-index: 20;
  width: min(760px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(161, 112, 70, 0.16);
  border-radius: 24px;
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.topbar-content > *,
.stats-grid > *,
.categories-grid > *,
.features-grid > *,
.complaint-panel > *,
.footer-grid > *,
.cta-panel > * {
  min-width: 0;
}

@media (max-width: 1060px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .categories-grid,
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-content {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 12px 22px;
  }
}

@media (max-width: 840px) {
  .topbar {
    position: sticky;
    top: 0;
    z-index: 12;
  }

  .topbar-content {
    flex-wrap: wrap;
    justify-content: center;
    min-height: auto;
    gap: 14px;
  }

  .main-nav {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .about-panel {
    margin-top: -70px;
  }

  .about-card,
  .cta-panel {
    padding: 24px;
  }

  .complaint-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 660px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .topbar-content {
    align-items: center;
    position: relative;
  }

  .brand {
    width: auto;
    justify-content: flex-start;
    text-align: right;
  }

  .mobile-menu-toggle {
    display: block;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 244, 239, 0.98);
    padding: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 10;
    border-bottom: 1px solid rgba(161, 112, 70, 0.1);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: right;
    padding: 12px;
    border-radius: 8px;
    background: transparent;
    border: none;
  }

  .desktop-only {
    display: none !important;
  }

  .topbar .btn {
    width: 100%;
  }

  .hero {
    padding: 54px 0 78px;
    background-position: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-badge {
    border-radius: 18px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 13vw, 2.8rem);
    line-height: 1.12;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .about-panel {
    margin-top: -46px;
  }

  .about-card,
  .info-box,
  .form-card,
  .faq-card {
    padding: 20px;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .section-header h2,
  .cta-panel h2 {
    font-size: 1.65rem;
  }

  .categories-grid,
  .features-grid,
  .stats-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .info-box,
  .form-card,
  .faq-card,
  .feature-card,
  .stats-grid,
  .cta-panel {
    border-radius: 22px;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 54px;
  }

  .cta-panel .btn {
    width: 100%;
  }

  .footer {
    padding: 32px 0 20px;
  }

  .footer-bottom {
    width: min(100%, calc(100% - 24px));
  }

  .cookie-banner {
    right: 12px;
    left: 12px;
    width: auto;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .container,
  .footer-bottom {
    width: min(100%, calc(100% - 20px));
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .btn {
    padding: 12px 16px;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .category-card,
  .form-card,
  .faq-card,
  .info-box {
    padding: 18px;
  }
}
