/**
 * 📱 Responsive CSS - التنسيقات المتجاوبة
 * التاج بلس للديكور
 * 
 * هذا الملف يحتوي على جميع Media Queries
 * - Desktop (> 1024px)
 * - Tablet (768px - 1024px)
 * - Mobile (< 768px)
 * - Small Mobile (< 520px)
 */

/* ========================================
   Tablet - الأجهزة اللوحية (≤ 992px)
   ======================================== */
@media (max-width: 992px) {
  /* Header */
  header {
    padding: 10px 0 16px;
  }

  .top-strip {
    display: none;
  }

  .nav-bar {
    padding: 14px 20px;
    gap: 16px;
  }

  .brand-mark {
    width: 127px;
    height: 94px;
    padding: 8px;
    border-radius: 14px;
  }

  .brand {
    justify-content: space-between;
    gap: 18px;
  }

  .brand-text {
    text-align: start;
    flex: 1;
  }

  .brand-text h1 {
    font-size: 20px;
  }

  .brand-text span {
    font-size: 12px;
  }

  nav ul {
    gap: 20px;
    justify-content: center;
  }

  nav li {
    width: fit-content;
  }

  .nav-actions {
    display: none;
  }

  /* Hero */
  .hero::before {
    background-attachment: scroll;
    background-position: center top;
  }

  .hero {
    padding: 120px 0 100px;
  }

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

  .service-card {
    min-height: 320px;
  }

  .service-card__text {
    padding: 26px 24px;
  }

  /* Service Hero */
  .service-hero {
    padding: 120px 0 90px;
  }

  .service-hero::after {
    bottom: -120px;
    height: 220px;
  }

  .service-hero__media {
    box-shadow: var(--shadow-md);
  }

  .service-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-hero__media {
    order: -1;
  }

  /* Service Hero Enhanced */
  .service-hero--enhanced {
    padding: 5rem 0 4rem;
  }

  .service-hero__content {
    padding: 0 1rem;
  }

  .service-hero__content .hero-stats {
    gap: 2rem;
  }

  .service-hero__content .hero-stats .stat span {
    font-size: 24px;
  }

  /* Service Related */
  .related-projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
  }

  .related-project-card__media img {
    height: 200px;
  }

  /* Service Booking */
  .service-booking {
    padding: 80px 0;
  }

  .booking-card {
    justify-content: center;
    text-align: center;
  }

  .booking-content,
  .booking-actions {
    justify-content: center;
  }

  .booking-actions {
    flex: 1 1 100%;
  }

  /* Testimonials */
  .testimonials {
    padding: 80px 0;
  }

  .testimonials::before {
    top: -50px;
    height: 100px;
  }

  .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .testimonial-card {
    padding: 26px 22px;
  }

  .testimonial-avatar {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }

  /* Why Section */
  .why {
    padding: 80px 0;
  }

  .why-grid {
    gap: 28px;
  }

  .why-content h2 {
    font-size: clamp(26px, 4vw, 32px);
  }

  /* Newsletter */
  .newsletter-card {
    padding: 42px 28px;
    gap: 22px;
  }

  .newsletter-card-new {
    padding: 40px 25px;
  }

  .contact-section-header .brand-logo {
    width: 90px;
    height: 90px;
  }

  .contact-two-columns {
    gap: 24px;
  }

  .contact-info-side {
    grid-template-columns: 1fr;
  }

  .contact-form-elegant {
    padding: 30px 26px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Local SEO */
  .local-seo {
    padding-block: clamp(60px, 8vw, 100px);
  }

  .local-seo .section-head {
    margin-bottom: 40px;
  }

  .local-seo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .seo-card {
    padding: 30px 26px;
  }

  .local-faq details {
    padding: 16px 18px;
  }

  /* Social Follow */
  .social-follow {
    padding: 70px 0 90px;
  }

  .social-follow-card {
    padding: 48px 40px;
  }

  .social-follow-card h2 {
    font-size: clamp(26px, 3.8vw, 32px);
  }

  .social-links {
    gap: 14px;
  }

  .social-links a {
    padding: 11px 20px;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .project-card {
    min-height: 300px;
  }

  /* Grids */
  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .calc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .local-seo-grid {
    grid-template-columns: 1fr;
  }

  /* Sections */
  main section {
    padding: 60px 0;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
  }

  .footer-brand .brand-mark {
    width: 80px;
    height: 80px;
  }
}

/* ========================================
   Mobile - الهواتف (≤ 768px)
   ======================================== */
@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: clamp(28px, 6vw, 36px);
  }

  h2 {
    font-size: clamp(24px, 5vw, 30px);
  }

  /* Container */
  .container {
    width: 94%;
  }

  /* Header */
  header {
    padding: 8px 0 14px;
  }

  .floating-social {
    display: none;
  }

  .nav-bar {
    flex-direction: column;
    align-items: center;
    padding: 16px 18px;
    margin-top: 10px;
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(78, 26, 63, 0.12);
    border: 1px solid rgba(115, 45, 96, 0.1);
    gap: 16px;
  }

  .brand {
    justify-content: center;
  }

  .brand-text {
    text-align: center;
  }

  nav ul {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  body {
    padding-bottom: 140px;
  }

  .whatsapp-fab {
    bottom: 90px;
  }

  /* Hero */
  .hero {
    padding: 100px 0 80px;
  }

  .hero h1 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stats .stat {
    min-width: 140px;
    padding: 14px 18px;
  }

  .hero-stats .stat span {
    font-size: 24px;
  }

  /* Services */
  .services {
    padding: 70px 0;
  }

  .services-grid {
    gap: 22px;
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 280px;
  }

  .service-card__text {
    padding: 22px 20px;
    gap: 10px;
  }

  .service-card__title {
    font-size: 20px;
  }

  .service-card__excerpt {
    font-size: 14px;
  }

  .service-card__badge {
    font-size: 12px;
    padding: 5px 16px;
  }

  /* Service Hero */
  .service-hero {
    padding: 100px 0 70px;
  }

  .service-hero::after {
    bottom: -100px;
    height: 200px;
  }

  .service-hero__content {
    gap: 22px;
  }

  .service-hero__media {
    border-radius: var(--radius-lg);
  }

  /* Projects */
  .projects {
    padding: 4rem 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .project-card {
    min-height: 280px;
  }

  .project-card img {
    height: 280px;
  }

  .project-card__text {
    padding: 1.75rem 1.5rem;
  }

  .project-card__title {
    font-size: 1.4rem;
  }

  .project-card__meta {
    font-size: 0.9rem;
  }

  .project-card__body {
    padding: 16px;
  }

  /* Simple Project Card */
  .project-card.simple img {
    height: 280px;
  }

  .project-card.simple .body {
    padding: 1.5rem;
  }

  .project-card.simple h4 {
    font-size: 1.3rem;
  }

  /* Testimonials */
  .testimonials {
    padding: 70px 0;
  }

  .testimonials::before {
    top: -40px;
    height: 80px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonial-avatar {
    width: 52px;
    height: 52px;
    font-size: 16px;
  }

  .testimonial-meta h4 {
    font-size: 15px;
  }

  .testimonial-meta span {
    font-size: 12px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  /* Why Section */
  .why {
    padding: 70px 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-gallery {
    order: 2;
  }

  .why-content {
    gap: 16px;
  }

  .why-content h2 {
    font-size: clamp(24px, 5vw, 30px);
    padding-bottom: 14px;
  }

  .why-content h2::after {
    width: 80px;
    height: 4px;
  }

  .why-content p {
    font-size: 14px;
  }

  .why-list {
    gap: 10px;
  }

  .why-list li {
    font-size: 14px;
  }

  .why-list li::before {
    width: 8px;
    height: 8px;
  }

  .why-gallery img:last-child {
    width: 80%;
  }

  /* Local SEO */
  .local-seo {
    padding-block: 60px;
  }

  .local-seo .section-head {
    margin-bottom: 36px;
  }

  .local-seo .section-head h2 {
    font-size: clamp(24px, 4.2vw, 32px);
  }

  .seo-card {
    padding: 28px 24px;
  }

  .seo-card h3 {
    font-size: 20px;
  }

  .local-faq {
    margin-top: 28px;
  }

  .local-faq details {
    padding: 16px 18px;
  }

  .local-faq summary {
    font-size: 15px;
  }

  .local-faq p {
    font-size: 14px;
  }

  /* Social Follow */
  .social-follow {
    padding: 60px 0 80px;
  }

  .social-follow-card {
    padding: 46px 32px;
  }

  .social-follow-card h2 {
    font-size: clamp(24px, 4.5vw, 30px);
    padding-bottom: 14px;
  }

  .social-follow-card h2::after {
    width: 80px;
    height: 3px;
  }

  .social-follow-card p {
    font-size: 15px;
  }

  .social-links {
    gap: 12px;
  }

  .social-links a {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .social-links a i {
    font-size: 16px;
  }

  /* Newsletter */
  .newsletter-card {
    padding: 34px 22px;
  }

  .newsletter-card h2 {
    font-size: clamp(22px, 6vw, 26px);
  }

  .newsletter-card-new {
    padding: 32px 18px;
    border-radius: 20px;
  }

  .newsletter-card-new::before {
    width: 180px;
    height: 180px;
    top: -40%;
    right: -15%;
  }

  .newsletter-card-new::after {
    width: 160px;
    height: 160px;
    bottom: -25%;
    left: -10%;
  }

  .contact-section-header {
    margin-bottom: 24px;
    gap: 12px;
  }

  .contact-section-header h2 {
    font-size: clamp(20px, 4.5vw, 26px);
    letter-spacing: 0.2px;
  }

  .contact-section-header .brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    padding: 12px;
  }

  .contact-section-header p {
    font-size: 14px;
  }

  .contact-two-columns {
    gap: 20px;
  }

  .contact-info-side {
    gap: 12px;
  }

  .contact-method {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .method-icon {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .method-info h4 {
    font-size: 15px;
  }

  .method-info span {
    font-size: 13px;
  }

  .contact-form-elegant {
    padding: 26px 20px;
    border-radius: 14px;
  }

  .form-grid {
    gap: 12px;
    margin-bottom: 12px;
  }

  .contact-form-elegant input,
  .contact-form-elegant select,
  .contact-form-elegant textarea {
    font-size: 14px;
    padding: 12px 14px;
    border-radius: 8px;
  }

  .contact-form-elegant textarea {
    min-height: 75px;
  }

  .btn-send-whatsapp {
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 8px;
  }

  .btn-send-whatsapp i {
    font-size: 20px;
  }

  /* Service Related */
  .service-related {
    padding: 70px 0;
  }

  .related-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .related-project-card__media img {
    height: 180px;
  }

  .related-project-card__body {
    padding: 20px;
  }

  .related-project-card__body h3 {
    font-size: 18px;
  }

  .related-project-card__body p {
    font-size: 14px;
  }

  .related-project-card__actions .btn {
    flex: 1 1 100%;
    font-size: 13px;
  }

  /* Instagram Grid */
  .instagram-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .instagram-lightbox-video {
    height: 70vh;
  }

  /* Newsletter */
  .newsletter-card {
    padding: 42px 28px;
    gap: 22px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  /* Footer */
  footer {
    padding: 54px 0 120px;
  }

  .footer-grid {
    gap: 24px;
    text-align: center;
    grid-template-columns: 1fr;
  }

  .footer-grid > div {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 14px 32px rgba(78, 26, 63, 0.08);
  }

  .footer-grid h4 {
    text-align: center;
    margin-bottom: 16px;
  }

  .footer-brand {
    justify-items: center;
    text-align: center;
  }

  .footer-brand .brand-mark {
    width: 80px;
    height: 80px;
    margin-inline: auto;
  }

  .footer-brand p {
    margin-bottom: 4px;
    text-align: center;
  }

  .footer-links {
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
    text-align: center;
  }

  .footer-contact li i {
    margin-inline-end: 8px;
  }

  .footer-contact-enhanced {
    gap: 10px;
    align-items: center;
  }

  /* Buttons */
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .btn-lg {
    padding: 12px 24px;
  }

  .footer-contact-enhanced {
    gap: 10px;
    align-items: center;
  }

  .footer-contact-link {
    padding: 12px 14px;
    justify-content: center;
    max-width: 100%;
  }

  .footer-contact-link:hover {
    transform: translateY(-2px);
  }

  .footer-contact-link i {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .footer-contact-link span {
    font-size: 14px;
  }

  .footer-social {
    gap: 12px;
    margin-bottom: 16px;
    justify-content: center;
  }

  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .footer-hours {
    font-size: 13px;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 24px;
  }

  /* Promo */
  .promo {
    margin-top: -100px;
  }

  .promo-grid {
    gap: 20px;
  }

  /* Portfolio */
  .portfolio-hero {
    padding: 3rem 0 2.5rem;
  }

  .portfolio-filters {
    top: 120px;
    padding: 1.5rem 0;
  }

  /* إخفاء Pills وإظهار Select على الشاشات الصغيرة */
  .filters-pills {
    display: none;
  }

  .portfolio-filters .container {
    padding: 0 1rem;
  }

  /* إظهار Select على الموبايل */
  .filters-mobile-select {
    display: block !important;
    width: 100%;
  }

  .filter-mobile-wrapper {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .filter-mobile-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
  }

  .filter-mobile-label i {
    color: var(--primary);
  }

  .filter-mobile-select {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 0.9rem;
    border: 2px solid rgba(115, 45, 96, 0.15);
    border-radius: 10px;
    background: white;
    color: var(--text);
    font-family: 'Almarai', 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23732d60' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  }

  .filter-mobile-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(115, 45, 96, 0.1);
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Instagram Feed */
  .instagram-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .instagram-feed {
    padding: 60px 0;
  }

  .instagram-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .instagram-video-wrapper {
    padding-bottom: 125%; /* نسبة أصغر للموبايل */
  }

  /* Snapchat Feed */
  .snapchat-feed {
    padding: 70px 0;
  }

  .snapchat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .snap-story__media {
    padding-bottom: 140%;
  }

  .snap-story__body {
    padding: 20px;
  }

  .snap-story__title {
    font-size: 17px;
  }

  /* Masonry Grid */
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* WhatsApp FAB */
  .whatsapp-fab {
    width: 54px;
    height: 54px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }

  /* Floating Social */
  .floating-social {
    left: 12px;
  }

  .floating-social a {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

/* ========================================
   Small Tablet (640px - 768px)
   ======================================== */
@media (max-width: 640px) {
  .service-hero {
    padding: 110px 0 80px;
  }

  .upload-section {
    padding: 22px;
  }

  .hero-media-card figcaption {
    font-size: 13px;
  }

  .intro-card,
  .intro-benefits,
  .longform,
  .calc-form,
  .contact-form {
    padding: 24px;
  }

  /* Service Booking */
  .service-booking {
    padding: 70px 0;
  }

  .booking-card {
    padding: 26px 22px;
    gap: 20px;
  }

  .booking-content {
    flex: 1 1 100%;
  }

  .booking-content h2 {
    font-size: clamp(24px, 5vw, 30px);
  }

  .booking-actions {
    flex: 1 1 100%;
    justify-content: center;
  }

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

/* ========================================
   Small Mobile - الهواتف الصغيرة (≤ 576px)
   ======================================== */
@media (max-width: 576px) {
  /* Services */
  .service-card__title {
    font-size: 19px;
  }

  .service-card__text {
    padding: 20px 18px;
  }

  /* Service Hero */
  .service-hero {
    padding: 90px 0 70px;
  }

  /* Newsletter Enhanced - Small Mobile */
  .newsletter-card-new {
    padding: 28px 16px;
    border-radius: 18px;
  }

  .newsletter-card-new::before {
    width: 150px;
    height: 150px;
    top: -35%;
    right: -20%;
  }

  .newsletter-card-new::after {
    width: 130px;
    height: 130px;
    bottom: -20%;
    left: -15%;
  }

  .contact-section-header {
    margin-bottom: 20px;
    gap: 10px;
  }

  .contact-section-header h2 {
    font-size: clamp(18px, 5vw, 24px);
  }

  .contact-section-header .brand-logo {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    padding: 10px;
  }

  .contact-section-header p {
    font-size: 13px;
  }

  .contact-info-side {
    gap: 10px;
  }

  /* Local SEO */
  .local-seo {
    padding-block: 50px;
  }

  .local-seo .section-head {
    margin-bottom: 32px;
  }

  .local-seo .section-head h2 {
    font-size: clamp(22px, 5vw, 28px);
  }

  .local-seo .section-head p {
    font-size: 14px;
  }

  .seo-card {
    padding: 24px 22px;
    gap: 16px;
  }

  .seo-card h3 {
    font-size: 19px;
  }

  .seo-card ul {
    gap: 10px;
    font-size: 14px;
  }

  .local-faq {
    margin-top: 24px;
    gap: 10px;
  }

  .local-faq details {
    padding: 14px 16px;
  }

  .local-faq summary {
    font-size: 14px;
  }

  .local-faq summary::after {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .local-faq p {
    font-size: 13px;
    margin-top: 10px;
  }

  /* Social Follow */
  .social-follow {
    padding: 50px 0 70px;
  }

  .social-follow-card {
    padding: 38px 24px;
  }

  .social-follow-card h2 {
    font-size: clamp(22px, 5vw, 28px);
    padding-bottom: 12px;
  }

  .social-follow-card h2::after {
    width: 70px;
  }

  .social-follow-card p {
    font-size: 14px;
  }

  .social-links {
    gap: 10px;
  }

  .social-links a {
    font-size: 14px;
    padding: 11px 18px;
  }

  .social-links a i {
    font-size: 15px;
  }

  .contact-method {
    padding: 12px 14px;
    border-radius: 10px;
    gap: 12px;
  }

  .method-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .method-info h4 {
    font-size: 14px;
  }

  .method-info span {
    font-size: 12px;
  }

  .contact-form-elegant {
    padding: 22px 16px;
    border-radius: 12px;
  }

  .form-grid {
    gap: 10px;
  }

  .contact-form-elegant input,
  .contact-form-elegant select,
  .contact-form-elegant textarea {
    font-size: 13px;
    padding: 11px 12px;
  }

  .contact-form-elegant textarea {
    min-height: 70px;
  }

  .btn-send-whatsapp {
    font-size: 14px;
    padding: 13px 20px;
  }

  .btn-send-whatsapp i {
    font-size: 18px;
  }
}

/* ========================================
   Desktop Large - الشاشات الكبيرة (≥ 1025px)
   ======================================== */
@media (min-width: 1025px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Extra Small Mobile - الهواتف الصغيرة جداً (≤ 520px)
   ======================================== */
@media (max-width: 520px) {
  /* Hero */
  .hero {
    padding: 100px 0 80px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-stats {
    gap: 14px;
  }

  .hero-stats .stat {
    min-width: 120px;
    padding: 12px 16px;
  }

  .hero-stats .stat span {
    font-size: 20px;
  }

  /* Buttons */
  .btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  /* Service Cards */
  .service-card__text {
    padding: 18px 16px;
  }

  .service-card__title {
    font-size: 18px;
  }

  /* Promo */
  .promo-card {
    padding: 24px;
  }

  /* Section Head */
  .section-head {
    margin-bottom: 32px;
  }

  .section-head .tag {
    font-size: 20px;
    padding: 5px 18px;
  }

  .section-head h2 {
    font-size: clamp(26px, 4.2vw, 36px);
  }

  /* Tag Variants */
  .tag--light,
  .tag--light-enhanced {
    font-size: 13px;
    padding: 7px 20px;
  }

  /* Footer */
  .footer-brand .brand-mark {
    width: 70px;
    height: 70px;
    margin-inline: auto;
  }

  .footer-brand p {
    max-width: 290px;
    text-align: center;
    margin-inline: auto;
  }

  .footer-links {
    justify-items: center;
  }

  .footer-contact-enhanced {
    gap: 10px;
  }

  /* Newsletter */
  .newsletter-card {
    padding: 34px 22px;
  }

  .newsletter-card h3 {
    font-size: 22px;
  }

  /* Local SEO */
  .local-seo .section-head {
    margin-bottom: 36px;
  }

  .local-seo-card {
    padding: 24px 20px;
  }

  .local-seo-card__icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .local-seo-card h3 {
    font-size: 18px;
  }

  /* Upload */
  .upload-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .upload-section {
    padding: 20px;
  }

  /* WhatsApp FAB */
  .whatsapp-fab {
    width: 50px;
    height: 50px;
    font-size: 22px;
    bottom: 16px;
    right: 16px;
  }

  /* Floating Social */
  .floating-social {
    display: none; /* إخفاء في الشاشات الصغيرة جداً */
  }
}

/* ========================================
   Extra Small Mobile (≤ 480px)
   ======================================== */
@media (max-width: 480px) {
  .newsletter-card {
    padding: 34px 22px;
  }

  .newsletter-form input {
    font-size: 14px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* .section-head .tag {
    font-size: 14px;
    padding: 6px 24px;
  } */

  .section-head h2 {
    font-size: 24px;
    padding-bottom: 14px;
  }

  .section-head h2::after {
    width: 50px;
    height: 3px;
  }

  /* Tag Variants */
  .tag--light,
  .tag--light-enhanced {
    font-size: 12px;
    padding: 6px 18px;
  }

  .tag {
    font-size: 13px;
    padding: 5px 16px;
  }

  .hero h1 {
    font-size: 24px;
  }
}

/* ========================================
   Large Desktop - الشاشات الكبيرة (≥ 1200px)
   ======================================== */
@media (min-width: 1200px) {
  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .masonry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   Medium Desktop (1025px - 1199px)
   ======================================== */
@media (min-width: 1025px) and (max-width: 1199px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Tablet Range (769px - 1024px)
   ======================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .upload-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .upload-section {
    padding: 28px;
  }
}

/* ========================================
   Mobile Range (480px - 767px)
   ======================================== */
@media (min-width: 480px) and (max-width: 767px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Hover Support - دعم Hover
   ======================================== */
@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 32px 64px rgba(54, 29, 53, 0.38);
  }

  .project-card:hover .project-card__image {
    transform: scale(1.08);
  }

  .project-card:hover .project-card__cta {
    opacity: 1;
  }

  .project-card:hover .project-card__cta i {
    transform: translateX(-4px);
  }
}

/* ========================================
   Print Styles - أنماط الطباعة
   ======================================== */
@media print {
  .floating-social,
  .whatsapp-fab,
  .nav-actions,
  .top-strip {
    display: none !important;
  }

  header {
    position: static;
    box-shadow: none;
  }

  main section {
    padding: 20px 0;
  }

  .hero {
    padding: 40px 0;
  }

  .service-card,
  .project-card {
    break-inside: avoid;
  }
}

/* ========================================
   Landscape Orientation - الوضع الأفقي
   ======================================== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 60px 0 50px;
  }

  .service-hero {
    padding: 70px 0 50px;
  }

  main section {
    padding: 50px 0;
  }
}
