:root {
    --primary: #1e3a8a;
    /* أزرق غامق */
    --secondary: #2563eb;
    /* أزرق فاتح */
    --accent: #f97316;
    /* برتقالي */
    --light: #f8fafc;
    --dark: #0f172a
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: #fff
}

.heat-scene{
  position:relative;
  overflow:hidden;
  border-radius:14px;
}

.heat-scene img{
  display:block;
  width:100%;
  height:auto;
}

/* طبقة التموج الحراري */
.heat-haze{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.95; /* واضح */
  mix-blend-mode: overlay;
  filter: blur(.3px) contrast(120%);
  animation: heatMove 3.8s infinite linear;
}
.kuwait-heat-scene{
  position:relative;
  overflow:hidden;
  border-radius:14px;
}

/* تحسين الصورة نفسها */
.kuwait-heat-scene img{
  width:100%;
  display:block;
  filter:
    contrast(115%)
    saturate(120%)
    brightness(102%)
    sepia(6%);
}
.heat-wave{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:1;
  mix-blend-mode: overlay;
  filter: blur(0.4px) contrast(125%);
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0) 0px,
      rgba(255,200,120,.18) 12px,
      rgba(0,0,0,.12) 24px,
      rgba(255,255,255,0) 36px
    );
  animation: heatDistort 3.2s infinite linear;
}

/* الحركة */
@keyframes heatDistort{
  0%{
    transform: translateY(0) skewX(0deg);
  }
  50%{
    transform: translateY(-8px) skewX(1.6deg);
  }
  100%{
    transform: translateY(0) skewX(0deg);
  }
}

/* نعمل “نمط تموج” من تدرجات متكررة (بدون صور خارجية) */
.heat-haze{
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.00) 0px,
      rgba(255,255,255,.08) 8px,
      rgba(0,0,0,.06) 16px,
      rgba(255,255,255,.00) 24px

    ),
.heat-haze{
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 100%);
}
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.00) 0px,
      rgba(255,210,120,.06) 12px,
      rgba(0,0,0,.08) 24px,
      rgba(255,255,255,.00) 36px
    );
  background-size: 180px 100%, 220px 100%;
}

/* لمعة حر الشمس + “غبار” بسيط */
.heat-glow{
  position:absolute;
  inset:-20%;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 15%,
      rgba(255,220,140,.55) 0%,
      rgba(255,220,140,.18) 35%,
      rgba(255,220,140,0) 70%
    ),
    radial-gradient(circle at 20% 40%,
      rgba(255,255,255,.10) 0%,
      rgba(255,255,255,0) 55%
    );
  mix-blend-mode: screen;
  opacity:.85;
  filter: blur(2px);
  animation: glowPulse 2.6s infinite ease-in-out;
}

/* حركة التموج: تتحرك وتلف شوية كأن الهواء بيغلي */
@keyframes heatMove{
  0%   { transform: translateY(0)   skewX(0deg); }
  50%  { transform: translateY(-6px) skewX(1.3deg); }
  100% { transform: translateY(0)   skewX(0deg); }
}

@keyframes glowPulse{
  0%   { transform: translateY(0) scale(1);   opacity:.75; }
  50%  { transform: translateY(6px) scale(1.03); opacity:.95; }
  100% { transform: translateY(0) scale(1);   opacity:.75; }
}
h2 {
    scroll-margin-top: 120px; /* قم بزيادة الرقم أو نقصانه حسب ارتفاع القائمة العلوية لديك */
}
   .toc-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 20px 0;
    padding: 10px;
    transition: all 0.3s ease;
}

.toc-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* لإخفاء المثلث الافتراضي في بعض المتصفحات */
    font-weight: bold;
}

/* إخفاء المثلث الافتراضي في كروم وسفاري */
.toc-header::-webkit-details-marker {
    display: none;
}

.toc-toggle-icon {
    transition: transform 0.3s ease;
}

/* تدوير السهم عند الفتح */
.toc-box[open] .toc-toggle-icon {
    transform: rotate(180deg);
}

.toc-list-style {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    margin-right: 10px; /* للمحاذاة العربية */
}

.toc-list-style li {
    margin-bottom: 8px;
    position: relative;
}

.toc-list-style li a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.toc-list-style li a:hover {
    color: #007bff; /* لون عند التحويم */
    text-decoration: underline;
}

    /* التمرير الناعم */
    html {
        scroll-behavior: smooth;
    }
 .rank-table-wrap{
  margin: 18px 0;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.rank-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  direction: rtl;
  text-align: right;
}

.rank-table caption{
  caption-side: top;
  padding: 14px 16px;
  font-weight: 800;
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #eef2f7;
}

.rank-table thead th{
  padding: 14px 16px;
  font-size: .95rem;
  font-weight: 800;
  color: #0f172a;
  background: #f1f5f9;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.rank-table tbody td{
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
  color: #111827;
  line-height: 1.6;
}

.rank-table tbody tr:nth-child(even){
  background: #fbfdff;
}

.rank-table tbody tr:hover{
  background: #f8fafc;
}

.rank-table tbody td:first-child{
  width: 160px;
}

.rank-table tbody td:last-child{
  width: 170px;
  text-align: left;
}

/* Rank badge */
.rank-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #0f172a;
  font-weight: 800;
  font-size: .9rem;
}

.rank-badge::before{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #76a417;
  display: inline-block;
}

.rank-1{
  background: #edfff1;
  border-color: #acfeaa;
}
.rank-1::before{background: #0bf571;}

.rank-2{
  background: #edffea;
  border-color: #b9f1a2;
}
.rank-2::before{background: #84e397;}

.rank-3{
  background: #f2fef9;
  border-color: #cafed0;
}
.rank-3::before{background: #44ef89;}

/* Call button */
.call-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #115e59;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 18px rgba(17,94,89,.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.call-btn::before{
  content: "☎";
  font-size: 1rem;
  line-height: 1;
}

.call-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(17,94,89,.22);
  background: #0f766e;
}

.call-btn:active{
  transform: translateY(0);
  box-shadow: 0 8px 14px rgba(17,94,89,.18);
}

.call-btn:focus{
  outline: none;
}

.call-btn:focus-visible{
  outline: 3px solid rgba(13,148,136,.35);
  outline-offset: 3px;
}

/* Mobile: convert to cards */
@media (max-width: 680px){
  .rank-table thead{
    display: none;
  }

  .rank-table,
  .rank-table tbody,
  .rank-table tr,
  .rank-table td{
    display: block;
    width: 100%;
  }

  .rank-table tbody tr{
    border-bottom: 1px solid #eef2f7;
    padding: 10px 12px;
  }

  .rank-table tbody td{
    border: 0;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .rank-table tbody td::before{
    content: attr(data-label);
    font-weight: 800;
    color: #475569;
    flex: 1;
  }

  .rank-table tbody td > *{
    flex: 1;
    text-align: left;
  }

  .rank-table tbody td:last-child{
    text-align: left;
  }

  .call-btn{
    width: 100%;
    min-width: 0;
  }
}

/* ✅ FIX: Mobile layout (Card) — يمنع كسر الجدول على الموبايل */
@media (max-width: 680px){

  .rank-table thead{
    display: none !important;
  }

  .rank-table,
  .rank-table tbody{
    display: block;
    width: 100%;
  }

  .rank-table tbody tr{
    display: block;
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 14px 14px;
    margin: 12px 12px;
    box-shadow: 0 10px 18px rgba(0,0,0,.05);
  }

  .rank-table tbody td{
    display: block !important;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    text-align: right !important;
  }

  /* إلغاء نظام data-label اللي كان بيكسر التصميم */
  .rank-table tbody td::before{
    content: none !important;
    display: none !important;
  }

  /* ترتيب العناصر داخل الكارت */
  .rank-table tbody td:nth-child(1){
    margin-bottom: 10px;
  }

  .rank-table tbody td:nth-child(2){
    font-weight: 800;
    color: #0f172a;
    font-size: 1.05rem;
    margin-bottom: 12px;
    line-height: 1.7;
  }

  .rank-table tbody td:nth-child(3){
    margin-top: 8px;
    text-align: right !important;
  }

  /* زر الاتصال بعرض كامل */
  .call-btn{
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center;
  }

  /* شارة الترتيب تبقى واضحة وما تلف */
  .rank-badge{
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
  }
}

/* حاوية القسم */
.service-zones-container {
    background-color: #f9fbfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    margin: 30px 0;
    text-align: center;
}

/* العناوين والنصوص */
.zone-title {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.zone-intro {
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* شبكة العرض (Grid) */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* تتجاوب تلقائياً */
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* تصميم البطاقة (الرابط) */
.location-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    padding: 15px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.1em;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* تأثير التحويم (Hover) */
.location-card:hover {
    transform: translateY(-5px); /* يرفع البطاقة للأعلى قليلاً */
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-color: #3498db; /* لون الإطار عند التحويم */
    color: #3498db;
}

/* تنسيق الأيقونات */
.location-card .icon {
    font-size: 1.2em;
}

/* تحسين للموبايل */
@media (max-width: 600px) {
    .locations-grid {
        grid-template-columns: 1fr; /* عمود واحد في الموبايل */
    }
    .service-zones-container {
        padding: 20px 15px;
    }
}.brand-section {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px
}

.brand-figure {
    margin: 10px auto 20px;
    text-align: center;
    max-width: 300px
}

.brand-figure img {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 100%;
    height: auto
}

footer#contact p, h3 {
    color: whitesmoke;
}

footer#contact h3 {
    color: whitesmoke;
}

/* تنسيق زر التخطي */
.skip-link {
    position: absolute;
    top: -100px;
    /* مخفي في الأعلى */
    right: 0;
    /* يظهر في اليمين لأن الموقع عربي */
    background: #f1f1f1;
    color: #000;
    padding: 10px 20px;
    z-index: 99999;
    /* لضمان ظهوره فوق القوائم */
    text-decoration: none;
    font-weight: bold;
    transition: top 0.3s;
    border-radius: 0 0 0 5px;
}

/* عند التركيز عليه (بالضغط على Tab) يظهر */
.skip-link:focus {
    top: 0;
    /* ينزل للأسفل ليصبح مرئياً */
    outline: 3px solid #005fcc;
}

/* تنسيق صندوق المحتويات */
.toc-container {
    background: #f8fbff;
    border: 2px solid #eef2f5;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.toc-header {
    font-size: 1.3rem;
    color: #0a2d61;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.float-contact-wrapper {
    display: none;
    /* مخفي بالموبايل يظهر بالميديا كويري */
}

.float-contact-label {
    color: #555;
    font-size: 14px;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    padding: 5px 15px;
}

.float-pulse-dot {
    color: #28a745;
    font-weight: bold;
    animation: floatPulse 1.5s infinite;
}

@keyframes floatPulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }

    100% {
        opacity: 1;
    }
}

.float-contact-actions {
    display: flex;
    gap: 10px;
    padding: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    /* border-radius: 5px; */
    overflow: hidden;
    background: #fff;
}

.float-contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    padding: 12px 0;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    transition: transform .2s;
    border: none;
}

.float-contact-btn:active {
    transform: scale(.96);
}

.float-icon {
    margin-left: 8px;
    font-size: 18px;
}

.float-btn-call {
    background-color: #007bff;
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(0,123,255,.2);
}

.float-btn-whatsapp {
    background-color: #0e9e43;
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(37,211,102,.2);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* عمودين للشاشات الكبيرة */
    gap: 10px 20px;
}

.toc-list li {
    position: relative;
    padding-right: 20px;
}

.toc-list li::before {
    content: "◄";
    position: absolute;
    right: 0;
    color: #006626;
    /* لون أخضر متناسق مع موقعك */
    font-size: 0.8rem;
    top: 5px;
}

.toc-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.toc-list a:hover {
    color: #d32f2f;
    /* يتغير للأحمر عند التحويم */
}

/* تحسين للموبايل */
@media (max-width: 768px) {
    
    .toc-list {
        grid-template-columns: 1fr;
        /* عمود واحد للموبايل */
    }
}

.yt-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.55);
    border: 2px solid rgba(255,255,255,0.75);
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.45), inset 0 0 0 4px rgba(255,255,255,0.15);
    z-index: 2;
}

/* تأثير hover */
.yt-lazy:hover .yt-play {
    transform: scale(1.08);
    background: rgba(0,0,0,0.65);
    box-shadow: 0 14px 32px rgba(0,0,0,0.6), inset 0 0 0 4px rgba(255,255,255,0.25);
}

/* إزالة الإطار الافتراضي */
.yt-play:focus {
    outline: none;
}

/* دعم الكيبورد */
.yt-play:focus-visible {
    outline: 3px solid #22c55e;
    outline-offset: 4px;
}

.brand-figure figcaption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    font-weight: 600
}

h3.brand-title {
    color: #1e3a8a;
    margin-top: 20px;
    border-right: 4px solid #f97316;
    padding-right: 10px
}

/* --- الهيدر والقائمة --- */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px
}

.logo span {
    color: var(--accent)
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s
}

.nav-links li a:hover,.nav-links li a.active {
    color: var(--secondary)
}

.cta-header {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px
}

/* قائمة الموبايل */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer
}

@media (max-width: 768px) {
    .nav-links {
        display:none;
        flex-direction: column;
        width: 89%;
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px;
        text-align: center
    }

    .nav-links.active {
        display: flex
    }

    .menu-toggle {
        display: block
    }
}

.faq-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 16px;
    direction: rtl
}

.faq-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0f172a
}

.faq-item {
    border: 1px solid rgba(15,23,42,.15);
    border-radius: 10px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden
}

.faq-item summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 800;
    font-size: 15px;
    list-style: none;
    position: relative
}

.faq-item summary::marker {
    display: none
}

.faq-item summary::after {
    content: "＋";
    position: absolute;
    left: 16px;
    font-size: 18px;
    transition: transform .2s ease
}

.faq-item[open] summary::after {
    content: "−"
}

.faq-item p {
    padding: 0 16px 16px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: #334155
}

/* --- المحتوى الرئيسي --- */
.container {
    margin: 0 10%;
    max-width: 100%;
    padding: 20px
}

h1 {
    color: var(--primary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px
}

h2 {
    color: var(--primary);
    border-right: 5px solid var(--accent);
    padding-right: 15px;
    margin-top: 50px;
    background: #f1f5f9;
    padding: 10px 15px 10px 0;
    border-radius: 4px
}

h3 {
    color: #334155;
    margin-top: 30px;
    font-weight: 700
}

p,li {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 15px
}

/* الصندوق الأزرق للاتصال */
.contact-hero {
    background: linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin: 30px 0;
    border: 1px solid #bfdbfe
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px
}

.btn {
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    color: white;
    transition: transform 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1)
}

.btn-call {
    background: var(--primary)
}

.btn-wa {
    background: #25D366
}

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

/* الصور والفيديو */
img {
    display: block;
    margin: auto !important;
    max-width: 100%;
    height: auto;
    border-radius: 12px
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1)
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

/* الأدوات والجداول */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1)
}

th,td {
    border: 1px solid #e2e8f0;
    padding: 15px;
    text-align: right
}

th {
    background: #f8fafc;
    color: var(--primary)
}

.tool-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05)
}

.form-group {
    margin-bottom: 15px
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem
}

.btn-tool {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold
}

.result-msg {
    margin-top: 15px;
    padding: 15px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 8px;
    color: #9a3412;
    display: none
}

/* التقييمات */
.reviews-section {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 20px;
    margin-top: 20px
}

.review-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px
}

.stars {
    color: #fbbf24;
    margin-bottom: 10px
}

/* الفوتر */
footer {
    background: #111827;
    color: #9ca3af;
    padding: 50px 0 20px;
    margin-top: 50px
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 40px;
    padding: 0 20px
}

.footer-col h4 {
    color: #fff;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: inline-block
}

.footer-col ul {
    list-style: none;
    padding: 0
}

.footer-col li {
    border-bottom: 1px solid #374151;
    padding: 10px 0
}

.footer-col a {
    color: #9ca3af;
    text-decoration: none
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #374151
}

 .fridge-plans{
  direction: rtl;
  padding: 28px 14px;
  font-family: Tahoma, "Segoe UI", system-ui, -apple-system, sans-serif;
  /* z-index: 1; */
}

.fridge-grid{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* تابلت: 2 */
@media (max-width: 980px){
  .fridge-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* موبايل: 1 (100%) */
@media (max-width: 640px){
    .container {
    margin: 0 1%;}
  .fridge-grid{
    grid-template-columns: 1fr;
    max-width: 520px; /* اختياري: يخلي الشكل أشيك */
  }
}

/* ====== Card Base ====== */
.fridge{
  --top: #1f74c8;
  --accent: #1f74c8;

  background: #fff;
  border: 2px solid #0f172a;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(15,23,42,.14);
  position: relative;
}

/* لمعان جسم الثلاجة */
.fridge::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.28) 18%, rgba(255,255,255,0) 45%),
    linear-gradient(180deg, rgba(15,23,42,.06) 0%, rgba(15,23,42,0) 55%);
  pointer-events:none;
}

/* ألوان */
.fridge--blue{ --top:#1f74c8; --accent:#1f74c8; }
.fridge--dark{ --top:#0f172a; --accent:#0f172a; }
.fridge--red{  --top:#b71818; --accent:#b71818; }

/* ====== Top (Door/Freezer) ====== */
.fridge__top{
  background: var(--top);
  color:#fff;
  padding: 7px 39px 7px;
  min-height: 165px;
  display:flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

/* خط فصل كأنه بابين */
.fridge__top::after{
  content:"";
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  background: rgba(255,255,255,.35);
  opacity: .75;
}
h3.fridge__title {
    color: whitesmoke;
}
.fridge__title{
  margin:0;
  font-size: 18px;
  font-weight: 900;
}

.fridge__price{
  display:flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.fridge__num{
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
}

.fridge__cur{
  font-size: 18px;
  font-weight: 800;
  opacity: .95;
}

.fridge__per{
  font-size: 14px;
  opacity: .9;
}

/* badge */
.fridge__badge{
  position:absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.34);
  font-size: 12px;
  font-weight: 900;
}

/* ====== Body ====== */
.fridge__body{
  position: relative;
  padding: 18px 16px 20px;
  padding-left: 64px; /* مساحة للمقبض على الشمال */
}

/* لو RTL عندك عايز المقبض يمين بدل شمال: بدّل padding-left إلى padding-right */
.fridge__list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.fridge__list li{
  padding: 14px 0;
  border-top: 1px solid rgba(15,23,42,.12);
  color:#0f172a;
  font-size: 15px;
  line-height: 1.7;
}

.fridge__list li:first-child{ border-top: 0; }

/* ====== Handle Button (زر على هيئة مقبض ثلاجة) ====== */
.fridge__handle{
  position: absolute;
  left: 14px;         /* المقبض على الشمال */
  top: 18px;
  bottom: 160px;       /* يخليه بطول باب الثلاجة تقريباً */
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* نص عمودي */
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-decoration: none;
  font-weight: 950;
  font-size: 13px;
  letter-spacing: 1px;
  color: #0f172a;

  /* معدن + بروز */
  background: linear-gradient(180deg, #eef2f7 0%, #cbd5e1 45%, #94a3b8 100%);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 2px rgba(15,23,42,.18),
    inset 0 -6px 10px rgba(0,0,0,.16),
    0 14px 22px rgba(15,23,42,.20);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.fridge__handle::before{
  content:"";
  position:absolute;
  /* top: 10px; */
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: rgba(255,255,255,.65);
  border-radius: 999px;
}

.fridge__handle:hover{
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 2px rgba(15,23,42,.22),
    inset 0 -6px 10px rgba(0,0,0,.20),
    0 18px 28px rgba(15,23,42,.26);
}

.fridge__handle:active{
  transform: translateY(1px);
  opacity: .98;
}

/* تلوين خفيف للمقبض حسب الخطة */
.fridge--red .fridge__handle{
  color:#fff;
  background: linear-gradient(180deg, #ffd1d1 0%, #ef4444 45%, #7f1d1d 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.18),
    inset 0 -6px 10px rgba(0,0,0,.22),
    0 14px 22px rgba(15,23,42,.22);
}

.fridge--dark .fridge__handle{
  background: linear-gradient(180deg, #f1f5f9 0%, #9ca3af 50%, #475569 100%);
}

/* ====== Mobile behavior: المقبض يبقى أفقي كامل عرض الكارت ====== */
@media (max-width: 640px){
  .fridge__body{
    padding-left: 16px; /* نرجعها طبيعي */
  }

  .fridge__handle{
    position: static;
    width: 100%;
    height: 48px;
    margin-top: 16px;

    writing-mode: horizontal-tb;
    text-orientation: initial;
    letter-spacing: .5px;

    border-radius: 14px;
  }

  .fridge__handle::before{
    /* لمعة أفقية بدل العمودية */
    top: 50%;
    bottom: auto;
    left: 10px;
    right: 10px;
    transform: translateY(-50%);
    width: auto;
    height: 3px;
  }
}


.float-pulse-dot {
    /* position: absolute; */
    top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* حجم اللمبة */
    line-height: 1;
    animation: ledPulse 2.2s ease-in-out infinite;
    filter: drop-shadow(0 0 2px rgba(0,255,120,.6));
}

/* الهالة الخارجية */
.float-pulse-dot::after{
  content:"";
  position:absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0,255,120,.55);
  z-index: -1;

  filter: blur(6px);
  animation: haloPulse 2.2s ease-in-out infinite;
}

/* نبض اللمبة */
@keyframes ledPulse{
  0%{
    opacity: .55;
    transform: scale(.92);
    filter: drop-shadow(0 0 2px rgba(0,255,120,.4));
  }
  50%{
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 6px rgba(0,255,120,.95));
  }
  100%{
    opacity: .55;
    transform: scale(.92);
    filter: drop-shadow(0 0 2px rgba(0,255,120,.4));
  }
}

/* نبض الهالة */
@keyframes haloPulse{
  0%{
    opacity: .25;
    transform: scale(.8);
  }
  50%{
    opacity: .75;
    transform: scale(1.35);
  }
  100%{
    opacity: .25;
    transform: scale(.8);
  }
}

/* موبايل: تكبير دائرة الاتصال قليلا */
@media (max-width: 640px) {
    .washer__call {
        width:190px;
        height: 190px
    }
    .float-contact-wrapper {
    position: fixed;
    bottom: 0px;
    left: 20px;
    background: white;
    right: 20px;
    z-index: 9999;
    max-width: 100%;
    margin: 0 auto;
    display: flex; /* مخفي بالموبايل يظهر بالميديا كويري */
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom);
    font-family: sans-serif;
}
.float-contact-label {
    color: #555;
    font-size: 14px;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    padding: 5px 15px;
}
.float-pulse-dot { color: #28a745; font-weight: bold; animation: floatPulse 1.5s infinite; }
@keyframes floatPulse {
    0% { opacity: 1; }
    50% { opacity: .5; }
    100% { opacity: 1; }
}
.float-contact-actions {
    display: flex;
    gap: 10px;
    padding: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    /* border-radius: 5px; */
    overflow: hidden;
    background: #fff;
}
.float-contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    padding: 12px 0;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    transition: transform .2s;
    border: none;
}
.float-contact-btn:active { transform: scale(.96); }
.float-icon { margin-left: 8px; font-size: 18px; }

.float-btn-call { background-color: #007bff; color: #fff !important; box-shadow: 0 4px 6px rgba(0,123,255,.2); }
.float-btn-whatsapp { background-color: #0e9e43; color: #fff !important; box-shadow: 0 4px 6px rgba(37,211,102,.2); }


}
