/* ===================================================== */
/*   PREMIUM MOBILE EXPERIENCE                            */
/* ===================================================== */
@media (max-width: 900px) {

  :root {
    --bottom-nav-h: 66px;
    --header-h: 58px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
  }

  html, body { overflow-x: hidden; width: 100%; }
  * { -webkit-tap-highlight-color: transparent; }
  body { padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom)); }
  img, video { max-width: 100%; height: auto; }
  input, select, textarea { font-size: 16px !important; } /* prevent iOS zoom */

  /* ================= HEADER ================= */
  .site-header {
    height: var(--header-h);
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,.05);
    box-shadow: none;
  }
  .site-header.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.05); }

  .header-inner {
    padding: 0 14px;
    height: var(--header-h);
    gap: 8px;
  }
  .site-logo img { max-height: 34px; }
  .site-logo .logo-text { font-size: 16px; letter-spacing: 0; }

  .main-nav { display: none !important; }
  .btn-book { display: none; }
  .lang-dropdown { display: none; }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    font-size: 20px;
    background: transparent;
    border: none;
    color: var(--secondary);
    border-radius: 10px;
    transition: background .2s;
  }
  .mobile-toggle:active { background: rgba(0,0,0,.06); }

  /* ================= HERO ================= */
  .hero {
    min-height: auto;
    height: 72vh;
    max-height: 640px;
    padding: 90px 20px 60px;
    align-items: flex-end;
    text-align: right;
  }
  html[dir="ltr"] .hero { text-align: left; }

  .hero-content { text-align: inherit; max-width: 100%; }
  .hero h1 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.15;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -.5px;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
    opacity: .9;
  }
  .btn-hero {
    padding: 15px 32px;
    font-size: 15px;
    width: 100%;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(201,169,97,.45);
  }

  /* ================= SECTIONS ================= */
  .section { padding: 40px 0; }
  .container { padding: 0 18px; }

  .section-head {
    text-align: right;
    margin-bottom: 22px;
    padding: 0 4px;
  }
  html[dir="ltr"] .section-head { text-align: left; }

  .section-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.3px;
    margin-bottom: 6px;
  }
  .section-title-accent::after { display: none; }
  .section-subtitle { font-size: 13.5px; line-height: 1.5; }

  /* ================= HORIZONTAL SCROLL — Featured trips & blog ================= */
  .trips-grid,
  .blog-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px !important;
    padding: 4px 18px 20px !important;
    margin: 0 -18px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .trips-grid::-webkit-scrollbar,
  .blog-grid::-webkit-scrollbar { display: none; }

  .trips-grid > .trip-card,
  .blog-grid > .blog-card {
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
  }

  /* ================= TRIP CARD — Premium look ================= */
  .trip-card {
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
    overflow: hidden;
    background: #fff;
  }
  .trip-card:active { transform: scale(.98); transition: transform .15s; }
  .trip-card-img { height: 200px; border-radius: 20px 20px 0 0; }
  .trip-card-img img { transition: transform .4s; }
  .trip-duration-badge {
    top: 12px; right: 12px;
    background: rgba(255,255,255,.96);
    padding: 5px 11px;
    font-size: 11px;
    border-radius: 14px;
    font-weight: 700;
  }
  .trip-card-body { padding: 14px 16px 16px; }
  .trip-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .trip-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
  }
  .trip-card-footer { padding-top: 12px; }
  .trip-price-label { font-size: 10px; }
  .trip-price-value { font-size: 17px; }
  .btn-trip {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 10px;
  }

  /* ================= BLOG CARD — Premium ================= */
  .blog-card {
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
  }
  .blog-card:active { transform: scale(.98); transition: transform .15s; }
  .blog-card-img { height: 180px; }
  .blog-card-body { padding: 14px 16px 16px; }
  .blog-card-meta { font-size: 11px; gap: 8px; }
  .blog-card-title {
    font-size: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-card-excerpt {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-card-link { font-size: 13px; }

  /* ================= WHY US — 2 cols ================= */
  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .why-card {
    padding: 22px 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
  }
  .why-icon { font-size: 30px; margin-bottom: 8px; }
  .why-title { font-size: 13px; font-weight: 700; line-height: 1.35; }

  /* ================= TESTIMONIALS — stack ================= */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .testimonial-card {
    padding: 20px 18px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
  }
  .testimonial-card::before { font-size: 56px; top: 8px; right: 16px; }
  .testimonial-rating { font-size: 13px; }
  .testimonial-text { font-size: 14px; line-height: 1.65; }
  .testimonial-avatar { width: 44px; height: 44px; font-size: 17px; }
  .testimonial-name { font-size: 14px; }
  .testimonial-country { font-size: 12px; }

  /* ================= CTA ================= */
  .cta-box {
    padding: 36px 22px;
    border-radius: 22px;
    text-align: center;
  }
  .cta-box h2 { font-size: 21px; line-height: 1.3; }
  .cta-box p { font-size: 14px; line-height: 1.5; margin-bottom: 22px; }

  /* ================= FOOTER ================= */
  .site-footer { padding: 40px 0 24px; margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 26px; padding-bottom: 24px; text-align: center; }
  .footer-title { font-size: 18px; }
  .footer-desc { font-size: 13px; line-height: 1.6; }
  .footer-heading { font-size: 14px; margin-bottom: 12px; }
  .footer-links { align-items: center; gap: 8px; }
  .footer-links a { font-size: 13px; }
  .footer-bottom { padding: 14px 0; font-size: 12px; }

  /* ================= PAGE HERO ================= */
  .page-hero { padding: 90px 0 32px; }
  .page-hero h1 { font-size: 24px; font-weight: 800; letter-spacing: -.3px; }
  .page-hero p { font-size: 13px; }

  /* ================= TRIP DETAIL ================= */
  .trip-hero {
    height: auto;
    min-height: 380px;
    margin-top: var(--header-h);
    padding: 80px 0 28px;
    align-items: flex-end;
  }
  .trip-hero h1 { font-size: 24px; line-height: 1.25; margin-bottom: 12px; font-weight: 800; }
  .trip-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
  .trip-hero-meta span {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    padding: 5px 11px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.2);
  }

  .trip-tabs {
    top: var(--header-h);
    background: #fff;
    border-bottom: 1px solid #f0f2f5;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
  }
  .trip-tabs-inner { padding: 6px 14px; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .trip-tabs-inner::-webkit-scrollbar { display: none; }
  .trip-tab {
    padding: 9px 15px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 20px;
    background: #f5f7fa;
    color: #6b7280;
    flex-shrink: 0;
  }
  .trip-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 3px 10px rgba(201,169,97,.3);
  }

  .trip-content {
    grid-template-columns: 1fr !important;
    padding: 24px 0 20px;
    gap: 0;
  }
  .trip-sidebar { order: -1; padding: 0 0 20px; }
  .booking-box {
    position: static !important;
    padding: 20px;
    border-radius: 18px;
    top: auto;
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
  }
  .booking-price { font-size: 26px; }
  .booking-box input,
  .booking-box textarea,
  .booking-box select {
    font-size: 15px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e5e9f0;
  }
  .form-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .btn-submit-booking { padding: 14px; font-size: 15px; border-radius: 12px; font-weight: 700; }

  .trip-section { margin-bottom: 28px; }
  .trip-section-title {
    font-size: 18px;
    font-weight: 800;
    padding-bottom: 8px;
    margin-bottom: 14px;
  }

  .itinerary-timeline { padding-right: 26px; }
  .itinerary-timeline::before { right: 9px; width: 2px; }
  .itinerary-dot { right: 2px; width: 14px; height: 14px; border-width: 3px; }
  .itinerary-item { padding: 0 24px 20px 0; }
  .itinerary-time { font-size: 11px; padding: 3px 10px; }
  .itinerary-title { font-size: 14.5px; line-height: 1.4; }
  .itinerary-desc { font-size: 13px; line-height: 1.55; }

  html[dir="ltr"] .itinerary-timeline { padding: 0 0 0 26px; }
  html[dir="ltr"] .itinerary-timeline::before { left: 9px; right: auto; }
  html[dir="ltr"] .itinerary-dot { left: 2px; right: auto; }
  html[dir="ltr"] .itinerary-item { padding: 0 0 20px 24px; }

  .includes-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .includes-col { padding: 18px; border-radius: 14px; }
  .includes-col h4 { font-size: 14px; margin-bottom: 10px; }
  .includes-col li { font-size: 13px; padding: 7px 0 7px 24px; }

  .trip-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .trip-gallery img { height: 120px; border-radius: 12px; }
  .trip-gallery img:first-child {
    grid-column: 1 / -1;
    height: 200px;
  }

  /* ================= BLOG POST ================= */
  .post-hero { padding: 88px 0 28px; }
  .post-hero h1 { font-size: 22px; line-height: 1.3; font-weight: 800; }
  .post-meta { font-size: 12px; gap: 10px; }
  .post-featured-img { margin: -14px 18px 20px; border-radius: 16px; }
  .post-content { font-size: 15.5px; line-height: 1.85; padding: 0 2px; }
  .post-content h2 { font-size: 19px; margin: 26px 0 10px; }
  .post-content h3 { font-size: 17px; margin: 20px 0 8px; }
  .post-content p { margin-bottom: 15px; }

  /* ================= CONTACT ================= */
  .contact-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .contact-info-card { padding: 20px 18px; border-radius: 16px; }
  .contact-form-card { padding: 22px 18px; border-radius: 16px; }
  .contact-info-item { padding: 12px 0; gap: 12px; }
  .contact-info-icon { width: 42px; height: 42px; font-size: 18px; }
  .contact-info-label { font-size: 11px; }
  .contact-info-value { font-size: 14px; }

  /* ================= LANGUAGE MODAL ================= */
  .lang-modal { padding: 0; align-items: flex-end; }
  .lang-modal-box {
    border-radius: 24px 24px 0 0;
    padding: 28px 20px calc(24px + var(--safe-bottom));
    max-height: 88vh;
    overflow-y: auto;
    animation: slideUp .35s ease;
  }
  @keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  .lang-modal-flag { width: 62px; height: 62px; font-size: 28px; margin-bottom: 12px; }
  .lang-modal-header h2 { font-size: 19px; }
  .lang-modal-header p { font-size: 13px; }
  .lang-modal-header { margin-bottom: 20px; }
  .lang-modal-grid { grid-template-columns: 1fr !important; gap: 8px; }
  .lang-modal-item {
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 14px;
    justify-content: flex-start;
  }
  .lang-modal-flag-icon { font-size: 22px; }

  /* ================= FILTER PILLS (blog) ================= */
  .blog-grid + div, .container > div[style*="justify-content:center"] {
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    scrollbar-width: none;
  }

  /* ================= ALERTS ================= */
  .alert-success-box,
  .alert-error-box { padding: 13px 15px; font-size: 13px; border-radius: 12px; }

  .empty-front { padding: 40px 18px; }
  .empty-front .icon { font-size: 42px; }
}

/* ===================================================== */
/*   BOTTOM NAVIGATION BAR                                */
/* ===================================================== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--bottom-nav-h);
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 -4px 24px rgba(0,0,0,.06);
    z-index: 998;
    justify-content: space-around;
    align-items: center;
    padding-bottom: var(--safe-bottom);
  }

  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 8px;
    min-width: 58px;
    min-height: 52px;
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: none;
    position: relative;
    transition: color .2s;
    border-radius: 12px;
  }
  .mobile-bottom-nav a .nav-icon {
    font-size: 21px;
    line-height: 1;
    transition: transform .25s cubic-bezier(.4,0,.2,1);
  }
  .mobile-bottom-nav a.active { color: var(--primary); }
  .mobile-bottom-nav a.active .nav-icon { transform: translateY(-2px) scale(1.08); }
  .mobile-bottom-nav a:active { background: rgba(0,0,0,.04); }
}

/* ===================================================== */
/*   MOBILE DRAWER MENU                                   */
/* ===================================================== */
.mobile-menu-overlay,
.mobile-menu-drawer { display: none; }

@media (max-width: 900px) {
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(2px);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .mobile-menu-overlay.open { opacity: 1; visibility: visible; }

  .mobile-menu-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0;
    right: 0;
    width: 82%;
    max-width: 340px;
    background: #fff;
    z-index: 1100;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -10px 0 40px rgba(0,0,0,.2);
    overflow-y: auto;
  }
  html[dir="ltr"] .mobile-menu-drawer {
    right: auto; left: 0;
    transform: translateX(-100%);
    box-shadow: 10px 0 40px rgba(0,0,0,.2);
  }
  .mobile-menu-drawer.open { transform: translateX(0) !important; }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f2f5;
    background: linear-gradient(135deg, #fafbfd, #f5f7fa);
  }
  .mobile-menu-header .logo-text {
    font-size: 16px; font-weight: 800; color: var(--secondary);
  }
  .mobile-menu-header img { max-height: 32px; }
  .mobile-menu-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e9f0;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--secondary);
  }

  .mobile-menu-nav {
    flex: 1;
    padding: 12px 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: background .2s;
  }
  .mobile-menu-nav a .nav-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
  }
  .mobile-menu-nav a:hover,
  .mobile-menu-nav a.active {
    background: linear-gradient(135deg, #fffbf2, #fff7e6);
    color: var(--primary);
  }
  .mobile-menu-nav a.active::after {
    content: '';
    margin-left: auto;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
  }

  .mobile-menu-section {
    padding: 16px 20px;
    border-top: 1px solid #f0f2f5;
  }
  .mobile-menu-section h4 {
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .mobile-menu-langs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .mobile-menu-langs a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    background: #f8fafc;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: all .2s;
  }
  .mobile-menu-langs a.active {
    border-color: var(--primary);
    background: #fffbf2;
    color: var(--primary);
  }

  .mobile-menu-contact {
    padding: 14px 20px calc(20px + var(--safe-bottom));
    border-top: 1px solid #f0f2f5;
    background: #fafbfd;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-menu-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #4b5563;
    text-decoration: none;
  }
  .mobile-menu-contact a .ico {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
  }

  /* Booking sticky CTA on trip page */
  .sticky-booking-bar {
    display: flex !important;
    position: fixed;
    bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
    left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    padding: 10px 16px;
    gap: 12px;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 -6px 24px rgba(0,0,0,.06);
    z-index: 997;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .sticky-booking-bar.visible { transform: translateY(0); }
  .sticky-booking-bar .price-block {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    flex-shrink: 0;
  }
  .sticky-booking-bar .price-block small {
    font-size: 10px;
    color: #9ca3af;
    font-weight: 600;
  }
  .sticky-booking-bar .price-block strong {
    font-size: 17px;
    color: var(--primary);
    font-weight: 800;
  }
  .sticky-booking-bar .sticky-cta {
    flex: 1;
    padding: 13px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(201,169,97,.35);
  }
  .sticky-booking-bar .sticky-cta:active { transform: scale(.97); }
}

.sticky-booking-bar { display: none; }
/* ===================================================== */
/*   COMPACT ELEGANT MOBILE FOOTER                        */
/* ===================================================== */
@media (max-width: 900px) {

  .site-footer {
    padding: 0 !important;
    margin-top: 20px;
    background: linear-gradient(180deg, #0f1218 0%, #05070a 100%);
    border-top: 1px solid rgba(201,169,97,.15);
  }

  .footer-grid {
    display: block !important;
    padding: 24px 18px 12px !important;
    text-align: center !important;
    gap: 0 !important;
  }

  /* إخفاء العمود الأول (اسم الموقع + الوصف) — يبقى الشعار فقط */
  .footer-col:first-child {
    margin-bottom: 18px;
  }
  .footer-col:first-child .footer-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #C9A961, #e0c078);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .footer-col:first-child .footer-desc {
    font-size: 12px;
    line-height: 1.5;
    opacity: .65;
    max-width: 280px;
    margin: 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* إخفاء عناوين الأعمدة "روابط سريعة" و "تواصل معنا" */
  .footer-heading {
    display: none !important;
  }

  /* تحويل الروابط السريعة إلى صف أفقي */
  .footer-col:nth-child(2) {
    margin-bottom: 16px;
  }
  .footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px 14px !important;
    flex-direction: row !important;
    padding: 0 !important;
  }
  .footer-col:nth-child(2) .footer-links li {
    margin: 0;
  }
  .footer-col:nth-child(2) .footer-links a {
    font-size: 12.5px;
    color: #cbd5e1;
    padding: 4px 0;
    position: relative;
  }
  .footer-col:nth-child(2) .footer-links li:not(:last-child) a::after {
    content: '·';
    position: absolute;
    right: -9px;
    color: #4b5563;
    font-weight: 700;
  }

  /* تواصل معنا: أيقونات دائرية صغيرة في صف واحد */
  .footer-col:nth-child(3) .footer-links {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .footer-col:nth-child(3) .footer-links li {
    margin: 0;
  }
  .footer-col:nth-child(3) .footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(201,169,97,.25);
    color: #C9A961;
    font-size: 16px !important;
    transition: all .25s;
    text-indent: 9999px;    /* إخفاء النص، نُبقي الإيموجي فقط */
    overflow: hidden;
    position: relative;
    white-space: nowrap;
  }
  .footer-col:nth-child(3) .footer-links a:hover {
    background: rgba(201,169,97,.15);
    border-color: #C9A961;
  }
  /* نُظهر الإيموجي داخل الزر رغم text-indent */
  .footer-col:nth-child(3) .footer-links a::first-letter {
    text-indent: 0;
  }
  /* حل بديل: نُظهر الأيقونة بأسلوب مخصص */
  .footer-col:nth-child(3) .footer-links a {
    text-indent: 0;
    font-size: 0 !important;
  }
  .footer-col:nth-child(3) .footer-links a::before {
    font-size: 18px;
    line-height: 1;
    text-indent: 0;
    display: block;
  }

  /* استخراج الإيموجي حسب نوع الرابط — نستخدم ::before بمعرفات */
  .footer-col:nth-child(3) .footer-links li:nth-child(1) a::before { content: '📞'; }
  .footer-col:nth-child(3) .footer-links li:nth-child(2) a::before { content: '✉️'; }
  .footer-col:nth-child(3) .footer-links li:nth-child(3) a::before { content: '💬'; }

  /* إخفاء النص الأصلي داخل رابط التواصل */
  .footer-col:nth-child(3) .footer-links a > *,
  .footer-col:nth-child(3) .footer-links a { font-size: 0 !important; }

  /* الشريط السفلي — حقوق النشر */
  .footer-bottom {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
    font-size: 11px !important;
    color: #6b7280 !important;
    letter-spacing: .3px;
  }
  .footer-bottom p {
    margin: 0;
    line-height: 1.5;
  }

  /* إزالة أي padding أو margin زائد */
  .site-footer .container { padding: 0 !important; }

  /* Bottom nav يبقى كما هو — لا يتأثر */
  .mobile-bottom-nav { z-index: 999; }
}

/* Very small phones */
@media (max-width: 420px) {
  .footer-grid { padding: 20px 14px 10px !important; }
  .footer-col:first-child .footer-title { font-size: 16px; }
  .footer-col:first-child .footer-desc { font-size: 11.5px; }
  .footer-col:nth-child(2) .footer-links a { font-size: 12px; }
  .footer-col:nth-child(3) .footer-links a { width: 38px; height: 38px; }
  .footer-col:nth-child(3) .footer-links a::before { font-size: 16px; }
}
/* ============ Heroicons Base ============ */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }
.icon-2xl { width: 48px; height: 48px; }