* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Cairo', Arial, sans-serif;
  background-color: #fdf8f3;
  direction: rtl;
  text-align: right;
  color: #3a2a1a;
}

/* ===== HERO ===== */
.hero {
  width: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, #c9956b, #a3714e, #8b5e3c);
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.hero__inner {
  width: min(1200px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero__text-group {
  z-index: 2;
}

.hero__title {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(90, 50, 20, 0.3);
}

.hero__brand {
  color: #fff3e6;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* واجهة الإعلان: يظهر المتغير المطابق لـ ?g= فقط */
.hero-variant {
  display: none;
}

html[data-g="shghalat-month"] .hero-variant[data-g="shghalat-month"],
html[data-g="amilat-month"] .hero-variant[data-g="amilat-month"],
html[data-g="khadimat-month"] .hero-variant[data-g="khadimat-month"],
html[data-g="khadimat-hour"] .hero-variant[data-g="khadimat-hour"],
html[data-g="shghalat-hour"] .hero-variant[data-g="shghalat-hour"],
html[data-g="amilat-hour"] .hero-variant[data-g="amilat-hour"] {
  display: block;
}

/* ===== أقسام تظهر فقط عند تقديم الخدمة بالساعة ===== */
html[data-hourly="false"] [data-hourly-only] {
  display: none !important;
}

/* ===== التنقل السريع ===== */
.svc-nav {
  max-width: 1000px;
  margin: 50px auto 0;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.svc-nav a {
  background: #fff;
  border: 1px solid #e0cbb8;
  color: #5a3820;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.svc-nav a:hover {
  background: #8b5e3c;
  color: #fff;
}

/* ===== أقسام الخدمات: القسم المطابق للإعلان يظهر أولاً ===== */
.services {
  display: flex;
  flex-direction: column;
}

.service {
  scroll-margin-top: 16px;
}

html[data-g="shghalat-month"] #shghalat-month,
html[data-g="amilat-month"] #amilat-month,
html[data-g="khadimat-month"] #khadimat-month,
html[data-g="khadimat-hour"] #khadimat-hour,
html[data-g="shghalat-hour"] #shghalat-hour,
html[data-g="amilat-hour"] #amilat-hour {
  order: -1;
  border-color: #c9956b;
  box-shadow: 0 8px 24px rgba(139, 94, 60, 0.14);
}

.service-intro {
  font-size: 15px;
  font-weight: 500;
  color: #5d4530;
  line-height: 1.85;
  margin-bottom: 20px;
}

.service .cta-section {
  margin-top: 24px;
}

.main-text {
  font-size: 15px;
  color: #7a6655;
  margin-bottom: 20px;
  line-height: 1.7;
}

.hero__subtitle {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-top: 10px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(90, 50, 20, 0.2);
}

.hero__image {
  width: 170px;
  height: auto;
}

.hero-call {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -28px;
  background: #fff;
  color: #8b5e3c;
  border: 2px solid #c9956b;
  border-radius: 40px;
  padding: 14px 40px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(139, 94, 60, 0.2);
  z-index: 10;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.hero-call:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 94, 60, 0.35);
  background: #8b5e3c;
  color: #fff;
}

/* ===== CTA SECTION ===== */
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: nowrap;
}

.cta-button,
.request-button {
  flex: 1;
  min-width: 140px;
  margin: 0;
  text-align: center;
  border: none;
  border-radius: 25px;
  padding: 15px 40px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all .25s ease;
  margin: 8px 0;
}

.cta-button {
  background: linear-gradient(135deg, #c9956b, #a3714e);
  color: #fff;
  box-shadow: 0 4px 15px rgba(169, 119, 78, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(169, 119, 78, 0.45);
  background: linear-gradient(135deg, #b8845a, #8b5e3c);
}

.request-button {
  background: linear-gradient(135deg, #25D366, #1db954);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.request-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* ===== MAIN CARD ===== */
.main-card {
  max-width: 800px;
  width: 100%;
  margin: 24px auto 50px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e0cbb8;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(139, 94, 60, 0.08);
}

.main-card .window-image {
  width: 250px;
  height: auto;
  margin: 0 auto 20px;
}

.main-card .main-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #5a3820;
}

/* ===== FEATURES ===== */
.features-section {
  max-width: 1000px;
  width: 100%;
  margin: 30px auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8d5c4;
  padding: 40px 24px;
  box-shadow: 0 6px 18px rgba(139, 94, 60, 0.06);
}

.features-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #5a3820;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.features-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c9956b, #a3714e);
  margin: 10px auto 0;
  border-radius: 2px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.feature-item:hover {
  background: #fdf5ed;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.check-icon {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #c9956b, #a3714e);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  margin-top: 2px;
}

.check-icon::after {
  content: '✓';
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}

.feature-content h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.4;
  color: #5a3820;
}

.feature-content p {
  font-size: 14px;
  font-weight: 600;
  color: #7a6655;
  line-height: 1.7;
}

/* ===== SEO CONTENT SECTION ===== */
.seo-section {
  max-width: 1000px;
  width: 100%;
  margin: 30px auto;
  background: linear-gradient(135deg, #fdf5ed, #fff8f2);
  border-radius: 16px;
  border: 1px solid #e8d5c4;
  padding: 40px 24px;
  box-shadow: 0 6px 18px rgba(139, 94, 60, 0.06);
}

.seo-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: #5a3820;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0cbb8;
}

.seo-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: #6b4a30;
  margin: 20px 0 10px;
}

.seo-section p {
  font-size: 15px;
  font-weight: 500;
  color: #5d4530;
  line-height: 1.85;
  margin-bottom: 12px;
}

.seo-section ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.seo-section ul li {
  font-size: 14px;
  font-weight: 600;
  color: #6b4a30;
  padding: 8px 0;
  padding-right: 20px;
  position: relative;
  line-height: 1.6;
}

.seo-section ul li::before {
  content: '✦';
  position: absolute;
  right: 0;
  color: #c9956b;
  font-size: 12px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  max-width: 1000px;
  width: 100%;
  margin: 30px auto;
  padding: 0 20px;
}

.faq-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #5a3820;
  text-align: center;
  margin-bottom: 24px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e8d5c4;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(139, 94, 60, 0.05);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(139, 94, 60, 0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #5a3820;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cairo', Arial, sans-serif;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #fdf5ed;
}

.faq-question::before {
  content: '▼';
  font-size: 12px;
  color: #c9956b;
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.faq-item.open .faq-question::before {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 14px;
  font-weight: 500;
  color: #7a6655;
  line-height: 1.7;
}

/* ===== STATS BAR ===== */
.stats-bar {
  max-width: 1000px;
  width: 100%;
  margin: 30px auto;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.stat-item {
  background: #fff;
  border: 1px solid #e8d5c4;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  flex: 1;
  min-width: 150px;
  max-width: 220px;
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 94, 60, 0.12);
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #c9956b;
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  color: #5a3820;
}

/* ===== DIVIDER ===== */
.section-divider {
  max-width: 800px;
  margin: 10px auto;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4b896, transparent);
}

/* ===== FOOTER ===== */
.footer {
  width: 100%;
  background: linear-gradient(135deg, #f5ece3, #efe3d5);
  border-top: 2px solid #c9956b;
  padding: 30px 20px;
  text-align: center;
  margin-top: 50px;
}

.footer p {
  font-size: 13px;
  font-weight: 600;
  color: #5a3820;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer a {
  color: #a3714e;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #25D366;
}

.footer a::before {
  content: "• ";
  color: #c9956b;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  pointer-events: none;
}

.floating-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform .25s ease, box-shadow .25s ease;
  pointer-events: auto;
}

.floating-btn__label {
  font-family: 'Cairo', Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.call-btn .floating-btn__label {
  color: #8b5e3c;
}

.floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #0a7d4b, #0d9659);
  box-shadow: 0 4px 15px rgba(10, 125, 75, 0.35);
}

.call-btn {
  background: #fff;
  border: 2px solid #c9956b;
}

.call-btn svg {
  fill: #8b5e3c;
}

.floating-btn svg {
  width: 24px;
  height: 24px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  max-width: 1000px;
  width: 100%;
  margin: 30px auto;
  padding: 0 20px;
  text-align: center;
}

.contact-title {
  font-size: 26px;
  font-weight: 800;
  color: #5a3820;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: #7a6655;
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 32px;
  border-radius: 18px;
  text-decoration: none;
  flex: 1;
  min-width: 230px;
  max-width: 340px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card--call {
  background: linear-gradient(135deg, #c9956b, #a3714e);
  box-shadow: 0 6px 20px rgba(169, 113, 78, 0.35);
}

.contact-card--wa {
  background: linear-gradient(135deg, #0a7d4b, #0d9659);
  box-shadow: 0 6px 20px rgba(10, 125, 75, 0.35);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
}

.contact-card__icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.contact-card__label {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.contact-card__sub {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 600px) {
  .contact-card {
    min-width: 100%;
    max-width: 100%;
    padding: 18px 20px;
  }

  .contact-title {
    font-size: 20px;
  }

  .contact-cards {
    flex-direction: column;
  }
}

/* ===== CONTAINER ===== */
.container {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: 20px;
  display: grid;
  gap: 30px;
}

/* ===== PHONE BUTTON (legacy) ===== */
.phone-button {
  background: linear-gradient(135deg, #c9956b, #a3714e);
  border-radius: 25px;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  transition: all .25s ease;
  cursor: pointer;
}

.phone-button:hover {
  background: linear-gradient(135deg, #b8845a, #8b5e3c);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(169, 119, 78, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hero-call {
    bottom: -22px;
    padding: 8px 18px;
    font-size: 14px;
    border-width: 2px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__image {
    margin-inline: auto;
  }

  .hero {
    min-height: 200px;
  }

  .main-card {
    max-width: 95%;
    padding: 20px 15px;
  }

  .main-card .window-image {
    width: 150px;
  }

  .main-card .main-title {
    font-size: 20px;
  }

  .cta-button,
  .request-button {
    font-size: 16px;
    padding: 12px 24px;
  }

  .features-section {
    max-width: 95%;
    padding: 20px 15px;
  }

  .feature-content h3 {
    font-size: 14px;
  }

  .feature-content p {
    font-size: 12px;
  }

  .seo-section {
    max-width: 95%;
    padding: 20px 15px;
  }

  .stat-item {
    min-width: 120px;
  }

  .stat-number {
    font-size: 26px;
  }

  .stats-bar {
    gap: 12px;
  }
}

@media (min-width: 1200px) {
  .container {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-card {
    grid-column: 1 / 3;
  }
}

/* ===== FOOTER IDENTITY ===== */
.footer__name {
  font-size: 18px;
  font-weight: 800;
}

.footer__credit {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 14px;
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 22px;
  }

  .hero__subtitle {
    font-size: 13px;
  }

  .service-intro {
    font-size: 13px;
  }

  .svc-nav {
    margin-top: 44px;
  }

  .cta-section {
    flex-wrap: wrap;
  }
}

/* ===== HUB (الصفحة الرئيسية) ===== */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  background: #fdf5ed;
  border: 1px solid #e0cbb8;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 94, 60, 0.15);
}

.hub-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #5a3820;
}

.hub-card__sub {
  font-size: 13px;
  font-weight: 600;
  color: #7a6655;
}
