/* Almonir Orthodontics Landing - Plugin Styles */

  :root {
    --purple-900: #4a1d5b;
    --purple-700: #6a2c7d;
    --purple-600: #7b3f8c;
    --purple-500: #8e4f9f;
    --purple-300: #c89cd4;
    --purple-100: #f3e9f6;
    --purple-50: #faf5fc;

    --teal-700: #2d8a72;
    --teal-600: #3fa88c;
    --teal-500: #4cb89d;
    --teal-300: #9fdcc9;
    --teal-100: #e3f5ee;
    --teal-50: #f1faf6;

    --ink-900: #1a0e21;
    --ink-700: #3a2c44;
    --ink-500: #6c5c75;
    --ink-300: #b9aebf;
    --ink-100: #ece7ee;

    --bg: #ffffff;
    --bg-soft: #fbf9fc;
    --bg-tint: #f6f1f8;

    --gradient-brand: linear-gradient(135deg, #7b3f8c 0%, #3fa88c 100%);
    --gradient-soft: linear-gradient(135deg, #faf5fc 0%, #f1faf6 100%);

    --shadow-sm: 0 1px 2px rgba(74, 29, 91, 0.06), 0 2px 6px rgba(74, 29, 91, 0.04);
    --shadow-md: 0 4px 16px rgba(74, 29, 91, 0.08), 0 2px 4px rgba(74, 29, 91, 0.04);
    --shadow-lg: 0 12px 32px rgba(74, 29, 91, 0.12), 0 4px 12px rgba(74, 29, 91, 0.06);
    --shadow-xl: 0 24px 56px rgba(74, 29, 91, 0.18);
  }

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

  html, body {
    font-family: 'Tajawal', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* ================== TOPBAR ================== */
  .topbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 29, 91, 0.08);
  }
  .topbar-inner {
    max-width: 1280px; margin: 0 auto; padding: 14px 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
  }
  .brand-mark { display: flex; align-items: center; gap: 12px; }
  .brand-logo {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--gradient-brand);
    display: grid; place-items: center; color: white;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
  }
  .brand-name { display: flex; flex-direction: column; line-height: 1.1; }
  .brand-name b { font-family: 'Cairo', sans-serif; font-size: 20px; font-weight: 800; color: var(--purple-700); }
  .brand-name span { font-size: 11px; color: var(--ink-500); letter-spacing: 0.08em; }

  .nav-links { display: flex; gap: 4px; }
  .nav-links a {
    padding: 10px 16px; border-radius: 10px;
    color: var(--ink-700); text-decoration: none; font-weight: 500; font-size: 15px;
    transition: all 0.18s ease;
    cursor: pointer;
  }
  .nav-links a:hover { background: var(--purple-50); color: var(--purple-700); }

  .topbar-cta {
    background: var(--purple-600); color: white;
    padding: 10px 22px; border-radius: 999px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700; font-size: 14px; border: none;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.18s ease;
    box-shadow: var(--shadow-sm);
  }
  .topbar-cta:hover { background: var(--purple-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }

  .mobile-toggle {
    display: none;
    width: 40px; height: 40px;
    background: var(--purple-50);
    border: none; border-radius: 10px;
    cursor: pointer;
    flex-direction: column; gap: 4px;
    align-items: center; justify-content: center;
  }
  .mobile-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--purple-700);
    border-radius: 2px;
  }
  .mobile-menu {
    display: none;
    flex-direction: column;
    padding: 8px 20px 20px;
    border-top: 1px solid var(--ink-100);
    background: white;
  }
  .mobile-menu a {
    padding: 14px 12px;
    color: var(--ink-700);
    font-weight: 600; text-decoration: none;
    border-bottom: 1px solid var(--ink-100);
    cursor: pointer;
  }
  .mobile-menu a.mobile-cta {
    background: var(--purple-600); color: white;
    border-radius: 10px; text-align: center;
    margin-top: 12px; border: none;
  }

  /* ================== HERO ================== */
  .hero {
    position: relative; overflow: hidden;
    padding: 80px 32px 100px;
    background:
      radial-gradient(circle at 88% 20%, rgba(63, 168, 140, 0.10), transparent 45%),
      radial-gradient(circle at 12% 80%, rgba(123, 63, 140, 0.10), transparent 45%),
      var(--bg);
  }
  .hero-deco {
    position: absolute; pointer-events: none;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: var(--gradient-brand);
    opacity: 0.04;
    filter: blur(40px);
  }
  .hero-deco.a { top: -200px; left: -150px; }
  .hero-deco.b { bottom: -250px; right: -150px; }

  .hero-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px;
    align-items: center; position: relative;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--teal-50); color: var(--teal-700);
    padding: 8px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 700;
    border: 1px solid var(--teal-100);
    margin-bottom: 24px;
  }
  .hero-eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--teal-600);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
  }

  .hero-title {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.1; font-weight: 900;
    color: var(--ink-900);
    margin-bottom: 24px;
    font-family: 'Cairo', sans-serif;
  }
  .hero-title .accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-sub {
    font-size: 18px; color: var(--ink-500);
    max-width: 540px; line-height: 1.8;
    margin-bottom: 36px;
  }

  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
  .btn-primary {
    background: var(--purple-600); color: white;
    padding: 16px 32px; border-radius: 999px;
    font-family: 'Tajawal', sans-serif; font-weight: 700; font-size: 16px;
    border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(123, 63, 140, 0.28);
  }
  .btn-primary:hover { background: var(--purple-700); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(123, 63, 140, 0.36); }
  .btn-secondary {
    background: white; color: var(--purple-700);
    padding: 16px 32px; border-radius: 999px;
    font-family: 'Tajawal', sans-serif; font-weight: 700; font-size: 16px;
    border: 2px solid var(--purple-100); cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .btn-secondary:hover { border-color: var(--purple-600); background: var(--purple-50); }

  .hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    padding-top: 32px; border-top: 1px solid var(--ink-100);
  }
  .hero-stat-num {
    font-family: 'Cairo', sans-serif; font-size: 36px; font-weight: 800;
    color: var(--purple-700); line-height: 1;
  }
  .hero-stat-label { font-size: 13px; color: var(--ink-500); margin-top: 6px; }

  /* Hero portrait — Dr Maha full bleed */
  .hero-visual { position: relative; }
  .doctor-card {
    position: relative;
    background: var(--gradient-soft);
    border-radius: 32px;
    padding: 0;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(123, 63, 140, 0.08);
  }
  .doctor-portrait {
    aspect-ratio: 4/5;
    background: linear-gradient(180deg, #f8f5fa 0%, #f1faf6 100%);
    overflow: hidden; position: relative;
  }
  .doctor-portrait img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center top;
  }

  .floating-badge {
    position: absolute; z-index: 5;
    background: white;
    padding: 14px 18px; border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px;
  }
  .floating-badge .icon-circle {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; color: white;
    flex-shrink: 0;
  }
  .floating-badge.tl { top: 40px; left: -30px; animation: float 6s ease-in-out infinite; }
  .floating-badge.br { bottom: 80px; right: -30px; animation: float 6s ease-in-out infinite reverse; }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
  }
  .floating-badge .badge-text { line-height: 1.2; }
  .floating-badge .badge-text b { font-size: 14px; color: var(--ink-900); }
  .floating-badge .badge-text span { font-size: 11px; color: var(--ink-500); display: block; }

  /* ================== TRUST BAR ================== */
  .trust-bar {
    background: var(--bg-tint);
    padding: 28px 32px;
    border-top: 1px solid var(--ink-100);
    border-bottom: 1px solid var(--ink-100);
  }
  .trust-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  }
  .trust-item {
    display: flex; align-items: center; gap: 14px;
  }
  .trust-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: white; display: grid; place-items: center;
    color: var(--purple-600);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
  }
  .trust-text { font-size: 14px; color: var(--ink-700); font-weight: 600; }

  /* ================== SECTION ================== */
  .section { padding: 100px 32px; position: relative; }
  .section-inner { max-width: 1280px; margin: 0 auto; }
  .section.alt { background: var(--bg-soft); }

  .section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
  .section-tag {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: var(--purple-50); color: var(--purple-700);
    font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
    margin-bottom: 16px;
  }
  .section-tag.teal { background: var(--teal-50); color: var(--teal-700); }
  .section-title {
    font-family: 'Cairo', sans-serif; font-size: clamp(30px, 4vw, 48px);
    font-weight: 800; line-height: 1.2; color: var(--ink-900);
    margin-bottom: 16px;
  }
  .section-sub { font-size: 17px; color: var(--ink-500); line-height: 1.7; }

  /* ================== SERVICES ================== */
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  }
  .service-card {
    background: white; padding: 32px;
    border-radius: 20px; border: 1px solid var(--ink-100);
    transition: all 0.25s ease;
    position: relative; overflow: hidden;
  }
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--purple-100);
  }
  .service-card::before {
    content: ''; position: absolute; top: 0; right: 0; width: 4px; height: 0;
    background: var(--gradient-brand);
    transition: height 0.3s ease;
  }
  .service-card:hover::before { height: 100%; }
  .service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--purple-50); color: var(--purple-600);
    margin-bottom: 20px;
  }
  .service-card.teal .service-icon { background: var(--teal-50); color: var(--teal-700); }
  .service-name {
    font-family: 'Cairo', sans-serif; font-size: 20px; font-weight: 700;
    color: var(--ink-900); margin-bottom: 8px;
  }
  .service-desc { font-size: 14px; color: var(--ink-500); line-height: 1.7; }
  .service-en { font-size: 11px; color: var(--ink-300); letter-spacing: 0.06em; margin-top: 8px; font-family: 'Cairo', sans-serif; }

  /* ================== GALLERY ================== */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #f0eaf3;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    transition: transform 0.4s ease;
  }
  .gallery-item:hover img { transform: scale(1.05); }

  @media (max-width: 980px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  }
  @media (max-width: 640px) {
    .gallery-grid { grid-template-columns: 1fr; }
  }

  .form-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-top: 12px;
  }

  /* ================== BEFORE/AFTER STATIC ================== */
  .ba-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .ba-card {
    background: white; border-radius: 24px; overflow: hidden;
    border: 1px solid var(--ink-100);
    transition: all 0.25s ease;
  }
  .ba-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

  .ba-image-wrap {
    position: relative; aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0eaf3;
  }
  .ba-image-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
  }
  .ba-card:hover .ba-image-wrap img { transform: scale(1.04); }

  .ba-tags {
    position: absolute; top: 14px; left: 14px; right: 14px;
    display: flex; justify-content: space-between;
    pointer-events: none;
  }
  .ba-tags .tag-before, .ba-tags .tag-after {
    padding: 6px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 700; color: white;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  .ba-tags .tag-before { background: rgba(26,14,33,0.78); }
  .ba-tags .tag-after { background: rgba(63,168,140,0.92); }

  .ba-meta { padding: 20px 24px; }
  .ba-case-num {
    font-family: 'Cairo', sans-serif; font-size: 12px; font-weight: 700;
    color: var(--teal-600); letter-spacing: 0.08em;
    margin-bottom: 6px;
  }
  .ba-title {
    font-family: 'Cairo', sans-serif; font-size: 18px; font-weight: 700;
    color: var(--ink-900); margin-bottom: 8px;
  }
  .ba-detail { font-size: 14px; color: var(--ink-500); line-height: 1.7; min-height: 70px; }
  .ba-meta-foot {
    margin-top: 14px; padding-top: 14px;
    border-top: 1px dashed var(--ink-100);
    display: flex; justify-content: space-between; gap: 8px; font-size: 12px;
    color: var(--ink-500); flex-wrap: wrap;
  }
  .ba-meta-foot b { color: var(--purple-700); font-weight: 700; }

  /* ================== DOCTOR ================== */
  .doctor-section {
    background: linear-gradient(135deg, #4a1d5b 0%, #2d8a72 100%);
    color: white;
    padding: 100px 32px;
    position: relative; overflow: hidden;
  }
  .doctor-section::before {
    content: ''; position: absolute;
    top: -200px; right: -200px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent);
  }
  .doctor-section::after {
    content: ''; position: absolute;
    bottom: -150px; left: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent);
  }
  .doctor-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px;
    align-items: center; position: relative;
  }
  .doctor-photo-wrap {
    position: relative;
    border-radius: 28px; overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/5;
    background: rgba(255,255,255,0.05);
  }
  .doctor-photo-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center top;
  }

  .doctor-section .section-tag {
    background: rgba(255,255,255,0.15); color: white;
    backdrop-filter: blur(8px);
  }
  .doctor-section .section-title { color: white; margin-bottom: 24px; }
  .doctor-bio { font-size: 17px; line-height: 1.9; opacity: 0.92; margin-bottom: 32px; }

  .credentials {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    margin-bottom: 32px;
  }
  .cred-item {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 18px 20px; border-radius: 16px;
    display: flex; gap: 14px; align-items: flex-start;
  }
  .cred-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.15);
    display: grid; place-items: center; flex-shrink: 0;
  }
  .cred-text b {
    font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 700;
    display: block; margin-bottom: 4px;
  }
  .cred-text span { font-size: 13px; opacity: 0.8; line-height: 1.5; }

  .doctor-cta {
    background: white; color: var(--purple-700);
    padding: 16px 32px; border-radius: 999px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700; font-size: 16px; border: none;
    cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
  }
  .doctor-cta:hover { transform: translateY(-2px); }

  /* ================== PROCESS ================== */
  .process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    position: relative;
  }
  .process-line {
    position: absolute; top: 36px; right: 12.5%; left: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(to left, var(--purple-300), var(--purple-300) 6px, transparent 6px, transparent 12px);
    z-index: 0;
  }
  .process-step {
    position: relative; z-index: 1; text-align: center;
  }
  .step-num {
    width: 72px; height: 72px;
    background: white;
    border: 2px solid var(--purple-100);
    border-radius: 50%; margin: 0 auto 20px;
    display: grid; place-items: center;
    font-family: 'Cairo', sans-serif; font-size: 28px; font-weight: 800;
    color: var(--purple-700);
    box-shadow: var(--shadow-md);
    transition: all 0.25s ease;
  }
  .process-step:hover .step-num {
    background: var(--purple-600); color: white;
    border-color: var(--purple-600); transform: scale(1.05);
  }
  .step-title {
    font-family: 'Cairo', sans-serif; font-size: 19px; font-weight: 700;
    color: var(--ink-900); margin-bottom: 8px;
  }
  .step-desc { font-size: 14px; color: var(--ink-500); line-height: 1.7; }

  /* ================== TESTIMONIALS ================== */
  .test-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .test-card {
    background: white; padding: 32px;
    border-radius: 20px; border: 1px solid var(--ink-100);
    position: relative;
  }
  .test-quote {
    font-size: 36px; line-height: 1; color: var(--purple-300);
    font-family: 'Cairo', sans-serif;
    margin-bottom: 16px;
  }
  .test-text {
    font-size: 16px; line-height: 1.8; color: var(--ink-700);
    margin-bottom: 24px;
  }
  .test-author { display: flex; align-items: center; gap: 14px; }
  .test-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient-brand);
    display: grid; place-items: center;
    color: white; font-weight: 700; font-family: 'Cairo', sans-serif;
    font-size: 18px;
    flex-shrink: 0;
  }
  .test-meta b { display: block; font-weight: 700; color: var(--ink-900); font-family: 'Cairo', sans-serif; }
  .test-meta span { font-size: 13px; color: var(--ink-500); }
  .stars { color: #f5b400; font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }

  /* ================== FAQ ================== */
  .faq-wrap { max-width: 820px; margin: 0 auto; }
  .faq-item {
    background: white; border: 1px solid var(--ink-100);
    border-radius: 16px; margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
  }
  .faq-item.open { border-color: var(--purple-300); box-shadow: var(--shadow-md); }
  .faq-q {
    padding: 22px 28px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; gap: 16px;
  }
  .faq-q-text { font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink-900); }
  .faq-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--purple-50); color: var(--purple-700);
    display: grid; place-items: center; flex-shrink: 0;
    transition: all 0.25s ease;
  }
  .faq-item.open .faq-icon {
    background: var(--purple-600); color: white;
    transform: rotate(45deg);
  }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .faq-a-inner {
    padding: 0 28px 24px;
    color: var(--ink-500); line-height: 1.8; font-size: 15px;
  }

  /* ================== BOOKING SECTION ================== */
  .booking-section {
    padding: 100px 32px;
    background: var(--gradient-soft);
    position: relative; overflow: hidden;
  }
  .booking-section::before {
    content: ''; position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 63, 140, 0.06), transparent);
  }
  .booking-section::after {
    content: ''; position: absolute;
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 168, 140, 0.06), transparent);
  }
  .booking-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px;
    position: relative;
  }
  .booking-info { padding-top: 8px; }
  .booking-title {
    font-family: 'Cairo', sans-serif; font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800; line-height: 1.2; color: var(--ink-900);
    margin-bottom: 16px;
  }
  .booking-sub { font-size: 16px; color: var(--ink-500); line-height: 1.8; margin-bottom: 32px; }

  .contact-cards {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .contact-card {
    background: white; padding: 16px;
    border-radius: 14px; border: 1px solid var(--ink-100);
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .contact-card:hover:not(.no-link) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--purple-100);
  }
  .cc-ic {
    width: 40px; height: 40px; border-radius: 10px;
    display: grid; place-items: center; flex-shrink: 0;
  }
  .cc-text { line-height: 1.3; min-width: 0; }
  .cc-text span { font-size: 11px; color: var(--ink-500); display: block; margin-bottom: 2px; }
  .cc-text b {
    font-family: 'Cairo', sans-serif; font-size: 14px;
    color: var(--ink-900); font-weight: 700;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    display: block;
  }

  /* Form */
  .booking-form {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ink-100);
  }
  .form-title {
    font-family: 'Cairo', sans-serif; font-size: 24px; font-weight: 800;
    color: var(--ink-900); margin-bottom: 6px;
  }
  .form-sub { font-size: 13px; color: var(--ink-500); margin-bottom: 24px; }

  .form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    margin-bottom: 14px;
  }
  .form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
  .form-field label {
    font-size: 13px; font-weight: 700;
    color: var(--ink-700);
    font-family: 'Cairo', sans-serif;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 13px 14px;
    border: 1.5px solid var(--ink-100);
    border-radius: 10px;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    color: var(--ink-900);
    background: var(--bg-soft);
    transition: all 0.18s ease;
    width: 100%;
  }
  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    outline: none;
    border-color: var(--purple-600);
    background: white;
    box-shadow: 0 0 0 3px rgba(123, 63, 140, 0.10);
  }
  .form-field textarea { resize: vertical; min-height: 80px; }

  .form-submit {
    width: 100%;
    background: var(--gradient-brand);
    color: white;
    padding: 16px 24px; border-radius: 12px;
    font-family: 'Tajawal', sans-serif; font-weight: 700; font-size: 16px;
    border: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.2s ease;
    margin-top: 8px;
    box-shadow: 0 8px 20px rgba(123, 63, 140, 0.28);
  }
  .form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(123, 63, 140, 0.36); }

  .form-note {
    margin-top: 16px;
    font-size: 12px; color: var(--ink-500);
    display: flex; align-items: center; gap: 8px; justify-content: center;
  }

  .form-success {
    text-align: center; padding: 40px 0;
  }
  .success-ic {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: var(--teal-50); color: var(--teal-700);
    border-radius: 50%; display: grid; place-items: center;
  }
  .form-success h3 {
    font-family: 'Cairo', sans-serif; font-size: 22px; font-weight: 800;
    color: var(--ink-900); margin-bottom: 8px;
  }
  .form-success p { color: var(--ink-500); }

  /* ================== FOOTER ================== */
  footer {
    background: var(--ink-900); color: white;
    padding: 80px 32px 32px;
  }
  .footer-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px;
    margin-bottom: 56px;
  }
  .footer-col h4 {
    font-family: 'Cairo', sans-serif; font-size: 16px; font-weight: 700;
    margin-bottom: 20px; color: white;
  }
  .footer-col p, .footer-col a {
    color: rgba(255,255,255,0.6); font-size: 14px; line-height: 2;
    text-decoration: none; display: block;
    transition: color 0.2s ease;
  }
  .footer-col a:hover { color: white; }
  .footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
  .footer-brand-name b { font-family: 'Cairo', sans-serif; font-size: 22px; color: white; }
  .footer-brand-name span { font-size: 12px; color: rgba(255,255,255,0.5); display: block; letter-spacing: 0.08em; }

  .social-links { display: flex; gap: 10px; margin-top: 20px; }
  .social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: grid; place-items: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s ease;
  }
  .social-links a:hover { background: var(--purple-600); color: white; }

  .footer-contact-row {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 12px;
    line-height: 1.5;
  }
  .footer-contact-row .ic {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: grid; place-items: center; color: var(--teal-300);
    flex-shrink: 0;
  }
  .footer-contact-row a { display: inline; line-height: inherit; }

  .footer-bottom {
    max-width: 1280px; margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center;
    color: rgba(255,255,255,0.4); font-size: 13px;
    flex-wrap: wrap; gap: 16px;
  }
  .pay-badges { display: flex; gap: 10px; flex-wrap: wrap; }
  .pay-badge {
    background: rgba(255,255,255,0.08);
    padding: 6px 14px; border-radius: 8px;
    font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8);
    font-family: 'Cairo', sans-serif;
  }

  /* ================== WHATSAPP FAB ================== */
  .wa-fab {
    position: fixed; bottom: 24px; left: 24px;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: white;
    display: grid; place-items: center;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    cursor: pointer; z-index: 90;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
  }
  .wa-fab:hover { transform: scale(1.08); }
  .wa-pulse {
    position: absolute; inset: 0; border-radius: 50%;
    background: #25d366; opacity: 0.4;
    animation: pulse-ring 2s infinite;
  }
  @keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
  }

  /* ================== RESPONSIVE ================== */
  @media (max-width: 980px) {
    .topbar-inner { padding: 12px 20px; }
    .nav-links { display: none; }
    .topbar-cta .cta-text-full { display: none; }
    .topbar-cta { padding: 10px 14px; }
    .mobile-toggle { display: flex; }
    .mobile-menu { display: flex; }

    .hero { padding: 56px 20px 80px; }
    .hero-grid, .doctor-grid, .booking-grid { grid-template-columns: 1fr; gap: 48px; }
    .doctor-grid { gap: 40px; }

    .services-grid, .ba-grid, .test-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .process-line { display: none; }

    .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .trust-bar { padding: 20px; }

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

    .section { padding: 64px 20px; }
    .doctor-section { padding: 64px 20px; }
    .booking-section { padding: 64px 20px; }
    .booking-form { padding: 28px 22px; }

    .floating-badge.tl { left: 0; top: 20px; padding: 10px 14px; }
    .floating-badge.br { right: 0; bottom: 30px; padding: 10px 14px; }
    .floating-badge .badge-text b { font-size: 13px; }
    .floating-badge .badge-text span { font-size: 10px; }

    .ba-detail { min-height: auto; }
  }

  @media (max-width: 640px) {
    .hero { padding: 40px 18px 64px; }
    .section { padding: 56px 18px; }
    .doctor-section, .booking-section { padding: 56px 18px; }
    .topbar-inner { padding: 10px 16px; gap: 12px; }
    .brand-name b { font-size: 17px; }
    .brand-name span { font-size: 10px; }
    .brand-logo { width: 38px; height: 38px; }

    .hero-title { font-size: 36px; }
    .hero-sub { font-size: 16px; }
    .hero-stats { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
    .hero-stat-num { font-size: 30px; }

    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn-primary, .hero-ctas .btn-secondary { justify-content: center; padding: 14px 24px; }

    .services-grid, .ba-grid, .test-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; gap: 24px; }
    .trust-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .service-card, .ba-meta, .test-card { padding: 24px; }
    .booking-form { padding: 22px 18px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .contact-cards { grid-template-columns: 1fr; }
    .cc-text b { font-size: 13px; }

    .floating-badge { display: none; }

    .faq-q { padding: 18px 20px; }
    .faq-q-text { font-size: 15px; }
    .faq-a-inner { padding: 0 20px 20px; font-size: 14px; }

    .doctor-card { border-radius: 24px; }
    .doctor-photo-wrap { border-radius: 20px; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .wa-fab { width: 54px; height: 54px; bottom: 18px; left: 18px; }

    .ba-tags .tag-before, .ba-tags .tag-after { font-size: 11px; padding: 5px 10px; }
  }


/* Plugin-specific scoping */
#almonir-ortho-root { font-family: 'Tajawal', system-ui, sans-serif; direction: rtl; }

/* ========================================================== */
/* PROMO BAR + OFFERS SECTION (v1.1)                          */
/* ========================================================== */

/* --- Promo Strip (top of page) --- */
.promo-strip {
  background: linear-gradient(90deg, #7b3f8c 0%, #b8478e 50%, #3fa88c 100%);
  background-size: 200% 100%;
  animation: promo-shimmer 8s ease-in-out infinite;
  color: #fff;
  padding: 10px 16px;
  text-align: center;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  user-select: none;
}
@keyframes promo-shimmer {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.promo-strip:hover { filter: brightness(1.08); }
.promo-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}
.promo-icon {
  font-size: 20px;
  animation: promo-bounce 2.4s ease-in-out infinite;
}
@keyframes promo-bounce {
  0%,100% { transform: translateY(0) rotate(0); }
  25%     { transform: translateY(-3px) rotate(-8deg); }
  50%     { transform: translateY(0) rotate(0); }
  75%     { transform: translateY(-2px) rotate(6deg); }
}
.promo-text b { font-weight: 800; }
.promo-price {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 20px;
  display: inline-block;
  margin: 0 4px;
}
.promo-cta {
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .promo-strip { padding: 9px 12px; }
  .promo-strip-inner { font-size: 13px; gap: 6px; }
  .promo-icon { font-size: 17px; }
  .promo-cta { display: none; }
}

/* --- Hero offer chip --- */
.hero-offer-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff7e6 0%, #ffeec7 100%);
  border: 1.5px solid #f0c264;
  color: #6b4a14;
  padding: 11px 18px;
  border-radius: 14px;
  font-size: 14.5px;
  margin: 18px 0 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(200, 164, 86, 0.15);
  font-weight: 500;
  max-width: 100%;
}
.hero-offer-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 164, 86, 0.25);
  border-color: #d99c2b;
}
.hero-offer-chip b { color: #7b3f8c; font-weight: 800; }
.chip-flame {
  font-size: 18px;
  filter: drop-shadow(0 1px 2px rgba(255,100,0,0.4));
}
@media (max-width: 540px) {
  .hero-offer-chip { font-size: 13px; padding: 10px 14px; }
}

/* --- Offers Section --- */
.offers-section {
  position: relative;
  padding: 80px 24px;
  background: linear-gradient(180deg, #faf5fc 0%, #ffffff 60%, #f1faf6 100%);
  overflow: hidden;
}
.offers-section .section-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.offers-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 1;
}
.offers-deco.a { width: 380px; height: 380px; background: var(--purple-300); top: -120px; right: -100px; }
.offers-deco.b { width: 320px; height: 320px; background: var(--teal-300); bottom: -100px; left: -80px; }

.section-tag.gold {
  background: linear-gradient(135deg, #f5e6b8 0%, #e8c976 100%);
  color: #6b4a14;
  border: 1px solid #d9b859;
}

/* --- Offers Grid --- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 880px) {
  .offers-grid { grid-template-columns: 1fr; gap: 20px; }
  .offers-section { padding: 60px 18px; }
}

/* --- Offer Card --- */
.offer-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 36px 30px 30px;
  box-shadow: 0 4px 24px rgba(74, 29, 91, 0.06), 0 1px 3px rgba(0,0,0,0.03);
  border: 1.5px solid rgba(123, 63, 140, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(74, 29, 91, 0.14), 0 4px 12px rgba(0,0,0,0.05);
  border-color: rgba(123, 63, 140, 0.2);
}
.offer-card.primary {
  border: 2px solid var(--purple-600);
  background: linear-gradient(180deg, #ffffff 0%, #faf5fc 100%);
}
.offer-card.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(123,63,140,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Ribbon */
.offer-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #7b3f8c 0%, #4a1d5b 100%);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(74, 29, 91, 0.35);
  z-index: 3;
}
.offer-ribbon.teal {
  background: linear-gradient(135deg, #3fa88c 0%, #2d8a72 100%);
  box-shadow: 0 4px 14px rgba(45, 138, 114, 0.35);
}

/* Head */
.offer-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.offer-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--purple-100) 0%, var(--purple-50) 100%);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--purple-100);
}
.offer-icon-wrap.teal {
  background: linear-gradient(135deg, var(--teal-100) 0%, var(--teal-50) 100%);
  color: var(--teal-700);
  border-color: var(--teal-100);
}
.offer-name {
  font-family: 'Cairo', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 6px;
  line-height: 1.3;
}
.offer-tagline {
  color: var(--ink-500);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* List */
.offer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.offer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-700);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(123, 63, 140, 0.1);
}
.offer-list li:last-child { border-bottom: none; }
.offer-list li svg {
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 4px;
  border-radius: 50%;
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
}

/* Price block */
.offer-price-block {
  background: linear-gradient(135deg, #faf5fc 0%, #f1faf6 100%);
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  border: 1px dashed rgba(123, 63, 140, 0.15);
}
.offer-price-old {
  display: inline-block;
  color: var(--ink-500);
  text-decoration: line-through;
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}
.offer-from {
  display: block;
  color: var(--ink-500);
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 600;
}
.offer-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: var(--purple-700);
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  line-height: 1;
}
.offer-price.teal { color: var(--teal-700); }
.offer-price .num { font-size: 52px; letter-spacing: -0.02em; }
.offer-price .ccy { font-size: 18px; font-weight: 700; opacity: 0.85; }
.offer-save {
  display: inline-block;
  margin-top: 8px;
  background: #fef0e6;
  color: #c44a14;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
}
.offer-installment {
  display: block;
  margin-top: 6px;
  color: var(--teal-700);
  font-size: 13px;
  font-weight: 600;
}

/* CTAs */
.offer-cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 12px;
  transition: all 0.25s ease;
  margin-bottom: 10px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.offer-cta.primary {
  background: linear-gradient(135deg, #7b3f8c 0%, #4a1d5b 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(74, 29, 91, 0.3);
}
.offer-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(74, 29, 91, 0.4);
}
.offer-cta.secondary {
  background: linear-gradient(135deg, #3fa88c 0%, #2d8a72 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(45, 138, 114, 0.3);
}
.offer-cta.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(45, 138, 114, 0.4);
}
.offer-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.offer-cta-secondary:hover {
  background: #1eb854;
  transform: translateY(-1px);
}
.offer-fineprint {
  color: var(--ink-500);
  font-size: 12.5px;
  text-align: center;
  margin: 0;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

/* Bottom note */
.offers-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(123, 63, 140, 0.1);
  border-radius: 12px;
  color: var(--ink-700);
  font-size: 14px;
  text-align: center;
  flex-wrap: wrap;
}
.offers-note svg { color: var(--teal-600); flex-shrink: 0; }

@media (max-width: 540px) {
  .offer-card { padding: 32px 22px 24px; }
  .offer-name { font-size: 19px; }
  .offer-price .num { font-size: 44px; }
  .offer-list li { font-size: 14px; }
  .offer-ribbon { font-size: 11px; padding: 5px 13px; }
}

/* ========================================================== */
/* GALLERY — TALL ITEMS + LOGO IMG (v1.2)                     */
/* ========================================================== */

/* الصور الـ3 الأخيرة — مربعة تعرض الصورة كاملة بدون قص */
.gallery-item.tall {
  background: linear-gradient(135deg, #faf5fc 0%, #f1faf6 100%);
  border: 1px solid rgba(123, 63, 140, 0.08);
}
.gallery-item.tall img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 14px;
}

/* اللوجو لما يكون صورة مرفوعة (مش SVG الافتراضي) */
.brand-logo.brand-logo-img {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
}
.brand-logo.brand-logo-img img {
  display: block;
}

/* الفوتر — اللوجو فيه أبيض على خلفية داكنة، نسيب الصورة كما هي */
footer .brand-logo.brand-logo-img {
  background: rgba(255, 255, 255, 0.08) !important;
  padding: 4px;
}
