:root {
  --primary: #0f2247;
  --primary-dark: #0b1833;
  --dark-2: #12274d;
  --text: #24344d;
  --muted: #5a6b7f;
  --gold: #bc9450;
  --light-bg: #f7fafc;
  --shadow-sm: 0 14px 30px rgba(15, 34, 71, 0.06);
  --shadow-md: 0 18px 40px rgba(15, 34, 71, 0.08);
  --shadow-lg: 0 22px 50px rgba(15, 34, 71, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

.section { padding: 85px 0; }
.section-light { background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%); }

.section-tag {
  display: inline-block;
  background: rgba(188, 148, 80, 0.12);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.section-tag.light {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 36px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.35;
  color: var(--primary);
  margin: 14px 0 12px;
  font-weight: 800;
}

.section-text {
  color: var(--muted);
  line-height: 2;
  font-size: 17px;
}

.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 14px;
}

.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-links {
  display: flex;
  gap: 16px;
}

.topbar-links a { color: #fff; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 34, 71, 0.06);
}

.nav-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo-image img {
  height: 66px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-menu a {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 28px;
  color: var(--primary);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5a0, #1f6fff);
  color: #fff;
  box-shadow: 0 12px 26px rgba(14, 165, 160, 0.18);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  background: transparent;
}

.hero-home {
  position: relative;
  padding: 110px 0 80px;
  background:
    linear-gradient(rgba(7,16,33,0.80), rgba(7,16,33,0.74)),
    url("../images/hero.jpg") center/cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 800;
}

.hero-content h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.2;
  margin: 18px 0;
  font-weight: 800;
}

.hero-content p {
  font-size: 19px;
  line-height: 2;
  color: rgba(255,255,255,0.9);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-card {
  background: rgba(255,255,255,0.97);
  color: var(--text);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.mini-badge {
  display: inline-block;
  background: rgba(14, 165, 160, 0.10);
  color: #0b8f8b;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-card h3 {
  font-size: 32px;
  color: var(--primary);
  margin: 14px 0 12px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 18px;
}

.hero-contact-list {
  display: grid;
  gap: 12px;
}

.hero-contact-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border-radius: 16px;
  padding: 14px 16px;
}

.hero-contact-list i {
  color: #0ea5a0;
}

.hero-contact-list a {
  color: var(--text);
  font-weight: 700;
}

.services-grid,
.projects-grid-home,
.process-grid-home,
.arc-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card-home,
.project-card-home,
.process-item-home,
.why-card-home,
.arc-review-card,
.testimonial-auto-card,
.faq-item-home {
  background: #fff;
  border: 1px solid rgba(15, 34, 71, 0.06);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.service-card-home {
  padding: 28px;
}

.service-icon-home {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(14, 165, 160, 0.10);
  display: grid;
  place-items: center;
  color: #0ea5a0;
  font-size: 24px;
  margin-bottom: 16px;
}

.service-card-home h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--primary);
}

.service-card-home p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.why-grid-home {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.why-cards-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-card-home {
  padding: 24px;
}

.why-card-home i {
  font-size: 26px;
  color: #0ea5a0;
  margin-bottom: 14px;
}

.why-card-home h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 22px;
}

.why-card-home p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.stats-luxury {
  background: linear-gradient(135deg, #071942 0%, #0b2358 100%);
  padding: 95px 0 105px;
}

.stats-head {
  position: relative;
  text-align: center;
  margin-bottom: 42px;
}

.stats-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(188, 148, 80, 0.14);
  color: #d2ad6e;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.stats-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 74px);
  line-height: 1.2;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  background: #f5f5f5;
  border-radius: 24px;
  text-align: center;
  padding: 56px 18px 40px;
  min-height: 200px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
}

.stat-number {
  font-size: 58px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
}

.stat-card p {
  margin: 0;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.project-card-home {
  overflow: hidden;
}

.project-card-home img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.project-body-home {
  padding: 22px;
}

.project-body-home span {
  color: #0b8f8b;
  font-weight: 800;
  font-size: 14px;
}

.project-body-home h3 {
  margin: 10px 0 0;
  color: var(--primary);
  font-size: 24px;
  line-height: 1.5;
}

.section-action {
  text-align: center;
  margin-top: 28px;
}

.process-item-home {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.process-item-home strong {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5a0, #1f6fff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.process-item-home span {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.7;
}

.quality-section-home {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-2) 100%);
}

.quality-box-home {
  background: linear-gradient(135deg, #0c1d3d 0%, #162d59 100%);
  color: #fff;
  border-radius: 32px;
  padding: 38px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.quality-box-home h2 {
  font-size: 42px;
  margin: 14px 0;
}

.quality-box-home p {
  color: rgba(255,255,255,0.86);
  max-width: 850px;
  margin: 0 auto;
  line-height: 2;
  font-size: 18px;
}

.testimonials-auto-section {
  background: linear-gradient(180deg, #f4fbfb 0%, #eef7f8 100%);
}

.testimonials-auto-wrap {
  overflow: hidden;
  position: relative;
}

.testimonials-auto-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: autoTestimonials 30s linear infinite;
}

.testimonials-auto-wrap:hover .testimonials-auto-track {
  animation-play-state: paused;
}

.testimonial-auto-card {
  width: 360px;
  padding: 26px;
  flex-shrink: 0;
}

.testimonial-top-home {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.testimonial-avatar-home {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5a0, #1f6fff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
}

.testimonial-top-home h3 {
  margin: 0 0 4px;
  font-size: 21px;
  color: var(--primary);
}

.testimonial-top-home span {
  color: #0b8f8b;
  font-size: 14px;
  font-weight: 600;
}

.testimonial-stars-home {
  color: #f4b400;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-auto-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.95;
  color: #334155;
}

@keyframes autoTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-382px * 4)); }
}

.comparison-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 34, 71, 0.06);
}

.comparison-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #e9eef2;
  text-align: center;
  vertical-align: middle;
  padding: 18px 14px;
}

.comparison-table thead th {
  background: linear-gradient(90deg, #0f9389 0%, #11a79b 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.faq-list-home {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 30px auto 0;
}

.faq-item-home {
  padding: 0 20px;
}

.faq-item-home summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 800;
  color: var(--primary);
}

.faq-item-home p {
  padding: 0 0 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.cta-home-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-2) 100%);
}

.cta-home-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: linear-gradient(135deg, #0c1d3d 0%, #162d59 100%);
  border-radius: 32px;
  padding: 38px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-home-box h2 {
  font-size: 40px;
  margin: 12px 0;
}

.cta-home-box p {
  color: rgba(255,255,255,0.84);
  line-height: 2;
  max-width: 760px;
}

.cta-home-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer {
  background: #0b1732;
  color: #fff;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo img {
  height: 58px;
  width: auto;
}

.footer p,
.footer li,
.footer a {
  color: rgba(255,255,255,0.82);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.footer-bottom {
  margin-top: 34px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.floating-contact {
  position: fixed;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 27px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
}

.float-btn.whatsapp { background: #25d366; }
.float-btn.call { background: #1565ff; }

@media (max-width: 991px) {
  .menu-toggle { display: block; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    border-top: 1px solid rgba(15, 34, 71, 0.06);
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 14px 34px rgba(15, 34, 71, 0.08);
  }

  .nav-menu.active { display: flex; }

  .hero-grid,
  .why-grid-home,
  .footer-grid,
  .cta-home-box {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .projects-grid-home,
  .process-grid-home,
  .arc-reviews-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-cards-home {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-badge {
    position: static;
    display: inline-block;
    margin-bottom: 18px;
  }

  .cta-home-box {
    flex-direction: column;
    align-items: flex-start;
  }

  @keyframes autoTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-382px * 3)); }
  }
}

@media (max-width: 767px) {
  .section { padding: 60px 0; }

  .topbar-inner,
  .nav-inner {
    min-height: auto;
    padding: 12px 0;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-image img { height: 54px; }

  .hero-home {
    padding: 88px 0 60px;
  }

  .hero-content h1,
  .stats-head h2 {
    font-size: 34px;
  }

  .hero-content p,
  .section-text,
  .quality-box-home p {
    font-size: 16px;
  }

  .services-grid,
  .projects-grid-home,
  .process-grid-home,
  .arc-reviews-grid,
  .why-cards-home,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .service-card-home,
  .why-card-home,
  .quality-box-home,
  .arc-review-card,
  .cta-home-box,
  .stat-card {
    padding: 24px;
  }

  .stat-number {
    font-size: 44px;
  }

  .testimonial-auto-card {
    width: 280px;
    padding: 22px;
  }

  .testimonial-auto-card p {
    font-size: 15px;
  }

  .cta-home-box h2,
  .quality-box-home h2 {
    font-size: 30px;
  }

  .floating-contact {
    left: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .float-btn {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  @keyframes autoTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-302px * 3)); }
  }
}.comparison-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 34, 71, 0.06);
}

.comparison-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #e9eef2;
  text-align: center;
  vertical-align: middle;
}

.comparison-table thead th {
  background: linear-gradient(90deg, #0f9389 0%, #11a79b 100%);
  color: #ffffff;
  padding: 22px 16px;
  font-size: 22px;
  font-weight: 800;
}

.comparison-table tbody td {
  padding: 18px 14px;
  font-size: 18px;
  color: #24344d;
  background: #ffffff;
}

.comparison-table tbody tr:nth-child(even):not(.advantages-row):not(.disadvantages-row) td {
  background: #f7f8fa;
}

.comparison-table .row-title {
  font-weight: 800;
  color: #0f2247;
  min-width: 150px;
}

.advantages-row td {
  background: #eef8f0 !important;
}

.disadvantages-row td {
  background: #fdf0f0 !important;
}

.comparison-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.comparison-list li {
  position: relative;
  padding-right: 24px;
  line-height: 1.8;
  font-size: 17px;
}

.comparison-list.ok li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  color: #17a34a;
  font-weight: 800;
}

.comparison-list.bad li::before {
  content: "✕";
  position: absolute;
  right: 0;
  top: 0;
  color: #ef4444;
  font-weight: 800;
}

.faq-list-home {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 30px auto 0;
}

.faq-item-home {
  background: #fff;
  border: 1px solid rgba(15, 34, 71, 0.06);
  border-radius: 18px;
  padding: 0 20px;
  box-shadow: var(--shadow-sm);
}

.faq-item-home summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 800;
  color: var(--primary);
  list-style: none;
}

.faq-item-home p {
  padding: 0 0 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 767px) {
  .comparison-table thead th {
    font-size: 18px;
    padding: 16px 12px;
  }

  .comparison-table tbody td {
    font-size: 16px;
    padding: 16px 12px;
  }

  .comparison-list li {
    font-size: 15px;
  }
}