/* ============================================
   مجمع عناية الابتسامة الطبي — ملف التصميم
   ⚠️ لا تحتاج تعديل هذا الملف أبداً
   كل تعديلاتك تكون في content.json فقط
   ============================================ */

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #5eead4;
  --primary-bg: #f0fdfa;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #134e4a;
  --text-light: #4b7285;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(13, 148, 136, 0.12);
  --shadow-lg: 0 20px 50px rgba(13, 148, 136, 0.2);
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
}

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

ul {
  list-style: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 35px rgba(13, 148, 136, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 2rem;
  background: var(--primary-bg);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.logo-text h1,
.logo-text h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.logo-text p {
  font-size: 0.78rem;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: var(--primary-bg);
  border: none;
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--primary-dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--primary-bg) 0%, #e6fffb 45%, #ffffff 100%);
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-light), transparent 70%);
  top: 10%;
  left: -80px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #99f6e4, transparent 70%);
  bottom: 15%;
  right: 5%;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #ccfbf1, transparent 70%);
  top: 30%;
  right: 25%;
  animation-delay: 4s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.08); }
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: var(--white);
  color: var(--primary-dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.15s both;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 0;
  left: 0;
  height: 12px;
  background: rgba(94, 234, 212, 0.45);
  z-index: -1;
  border-radius: 6px;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 1.2rem;
  color: var(--text-light);
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.45s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Stats ===== */
.stats {
  margin-top: -50px;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px 28px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== Sections ===== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--primary-bg);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.08rem;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid #e6f5f3;
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.4rem;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: 20px;
  transition: transform 0.35s ease, background 0.35s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--primary-light);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.97rem;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: 16px;
}

.feature-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Offers (مع نبض) ===== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.offer-card {
  position: relative;
  background: linear-gradient(150deg, #ffffff 0%, var(--primary-bg) 100%);
  border: 2px solid var(--primary-light);
  border-radius: 22px;
  padding: 40px 28px 32px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.offer-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.offer-note {
  position: absolute;
  top: 18px;
  left: -34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 7px 42px;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  animation: pulseNote 1.6s ease-in-out infinite;
}

@keyframes pulseNote {
  0%, 100% { transform: rotate(-45deg) scale(1); }
  50% { transform: rotate(-45deg) scale(1.12); }
}

.offer-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: inline-block;
  animation: heartbeat 1.6s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.15); }
  40% { transform: scale(1); }
  60% { transform: scale(1.12); }
}

.offer-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.offer-old-price {
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 1rem;
  margin-bottom: 2px;
}

.offer-price {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 18px;
}

/* ===== Doctors ===== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.doctor-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 2.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.doctor-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.doctor-specialty {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.doctor-exp {
  color: var(--text-light);
  font-size: 0.88rem;
  background: var(--primary-bg);
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid #e6f5f3;
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial-text {
  color: var(--text-light);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.testimonial-name {
  font-weight: 800;
  color: var(--text);
}

/* ===== Booking ===== */
.section-booking {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}

.section-booking::before,
.section-booking::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.section-booking::before {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -100px;
}

.section-booking::after {
  width: 260px;
  height: 260px;
  bottom: -100px;
  left: -80px;
}

.booking-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  background: var(--white);
  border-radius: 26px;
  padding: 52px 46px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  align-items: center;
}

.booking-info .section-title {
  text-align: right;
}

.booking-info p {
  color: var(--text-light);
  margin-bottom: 22px;
}

.booking-support {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.check-icon {
  color: var(--primary);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fafcfe;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}

.contact-card {
  background: var(--white);
  border: 1px solid #e6f5f3;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-card p {
  color: var(--text-light);
  margin-bottom: 10px;
}

.contact-card .btn {
  margin-top: 10px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed #d9ecea;
  font-weight: 600;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .closed {
  color: #e11d48;
}

.hours-list .open {
  color: var(--primary-dark);
}

/* ===== Footer ===== */
.footer {
  background: #083832;
  color: #d7efec;
  padding: 70px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer .logo-text h2 {
  color: var(--white);
}

.footer .logo-text p {
  color: #8ecfc7;
}

.footer-desc {
  margin: 20px 0;
  color: #a7d8d2;
  font-size: 0.97rem;
  max-width: 340px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

.footer-links-block h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-links-block li {
  margin-bottom: 10px;
  color: #a7d8d2;
}

.footer-links-block a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #8ecfc7;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 200;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-icon {
  font-size: 1.7rem;
}

.whatsapp-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: whatsappPing 1.8s ease-out infinite;
  z-index: -1;
}

@keyframes whatsappPing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .booking-card {
    grid-template-columns: 1fr;
    padding: 38px 28px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    flex-direction: column;
    background: var(--white);
    padding: 22px 28px;
    gap: 16px;
    box-shadow: 0 18px 34px rgba(13, 148, 136, 0.16);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions {
    display: none;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
  }

  .logo-text h1 {
    font-size: 1rem;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    left: 20px;
  }
}


/* ===== شريط الإعلانات المتحرك ===== */
.announcement-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
  color: var(--white);
  overflow: hidden;
  padding: 8px 0;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.3);
}

.announcement-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}

.announcement-text {
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes marquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ===== Hero Image ===== */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  text-align: right;
}

.hero-image-side {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

.hero-image-placeholder {
  text-align: center;
  padding: 30px;
  color: var(--primary-dark);
}

.hero-image-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 14px;
  animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-image-placeholder p {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.hero-image-hint {
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: var(--text-light) !important;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

.hero-image-decor {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.decor-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  top: -30px;
  left: -30px;
  opacity: 0.3;
  animation: floatShape 7s ease-in-out infinite;
}

.decor-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  bottom: -20px;
  right: -20px;
  opacity: 0.2;
  animation: floatShape 9s ease-in-out infinite reverse;
}

/* ===== Tips ===== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
  background-size: 200% 100%;
  animation: shimmerBorder 3s linear infinite;
}

@keyframes shimmerBorder {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.tip-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.tip-icon {
  font-size: 2.5rem;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-bg), #ccfbf1);
  border-radius: 20px;
  transition: transform 0.35s ease;
}

.tip-card:hover .tip-icon {
  transform: scale(1.15) rotate(-8deg);
}

.tip-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.tip-card p {
  color: var(--text-light);
  font-size: 0.93rem;
}

/* ===== نموذج إضافة تعليق ===== */
.add-review-box {
  max-width: 520px;
  margin: 48px auto 0;
  background: var(--white);
  border: 2px solid var(--primary-light);
  border-radius: 22px;
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow);
}

.add-review-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.add-review-box > p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-form textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fafcfe;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

/* ===== تعديل الهيدر مع شريط الإعلانات ===== */
.header {
  top: 36px;
}

/* ===== Responsive للـ Hero الجديد ===== */
@media (max-width: 900px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-image-side {
    margin-top: 20px;
  }

  .hero-image-frame {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .header {
    top: 32px;
  }

  .announcement-text {
    font-size: 0.82rem;
  }
}


/* ===== تنبيه الأسعار ===== */
.price-note {
  max-width: 760px;
  margin: 0 auto 36px;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 2px solid #fbbf24;
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.15);
}

.price-note-icon {
  font-size: 2rem;
  flex-shrink: 0;
  animation: pulseIcon 2s ease-in-out infinite;
}

.price-note p {
  font-size: 0.98rem;
  color: #78350f;
  line-height: 1.8;
}

/* ===== قائمة الأسعار ===== */
.price-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.price-category {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #e0f2f1;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.price-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.price-cat-title {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 16px 22px;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-items {
  list-style: none;
  padding: 8px 0;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.93rem;
  transition: background 0.25s ease;
}

.price-item:last-child {
  border-bottom: none;
}

.price-item:hover {
  background: var(--primary-bg);
}

.price-item-name {
  flex: 1;
  font-weight: 600;
  color: var(--text);
}

.price-item-prices {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.price-old {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 0.82rem;
}

.price-now {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.95rem;
}

.price-wa-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
}

.price-wa-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 15px rgba(34, 197, 94, 0.45);
}

/* ===== النصائح اليومية ===== */
.daily-tips-box {
  max-width: 720px;
  margin: 0 auto 44px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow);
  border-right: 5px solid var(--primary);
}

.daily-tips-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--primary-dark);
}

.daily-tips-list {
  list-style: none;
  padding: 0;
}

.daily-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text);
  border-bottom: 1px dashed #e2e8f0;
}

.daily-tips-list li:last-child {
  border-bottom: none;
}

.daily-tip-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .price-list {
    grid-template-columns: 1fr;
  }

  .price-item {
    flex-wrap: wrap;
  }
}
