/* ==========================================================================
   Katerji Brothers — Main Styles
   Colors, typography, layout, components (non-responsive)
   ========================================================================== */

/* ===== TOKENS ===== */
    :root {
      --wine:       #7A1E32;
      --wine-deep:  #45111E;
      --wine-light: #A02942;
      --wine-blush: #FBEEF1;
      --gold:       #D4915A;   /* warm copper */
      --copper:     #C97B45;
      --copper-lt:  #E8A876;
      --white:      #FFFFFF;
      --off-white:  #FBFAF9;
      --gray-100:   #F4F2F3;
      --gray-300:   #DDD7D9;
      --gray-500:   #897F83;
      --gray-800:   #241B1F;

      --font-display: 'Playfair Display', serif;
      --font-body:    'Tajawal', sans-serif;

      --radius:   6px;
      --shadow:   0 12px 48px rgba(122,30,50,0.12);
      --trans:    all 0.35s cubic-bezier(.4,0,.2,1);
    }


    .nav-logo {
      height: 56px;
      width: auto;
      display: block;
    }
    .footer-logo { margin-bottom: 1rem; }
    .footer-logo-img {
      height: 64px;
      width: auto;
      display: block;
      background: rgba(255,255,255,0.96);
      padding: 10px 16px;
      border-radius: 12px;
    }


    /* ===== HERO FULL BACKGROUND ===== */
    #home {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 7rem 2rem 4rem;
    }

    /* Background image layer with blur */
    .hero-bg {
      position: absolute; inset: 0;
      background-image: url('../img/hero.webp');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      filter: blur(0.5px) brightness(0.95);
      transform: scale(1.02);
      z-index: 0;
    }

    /* Wine gradient overlay for brand tone + readability */
    .hero-overlay {
      position: absolute; inset: 0;
      background:
        linear-gradient(135deg,
          rgba(74,16,32,0.40) 0%,
          rgba(107,27,43,0.28) 45%,
          rgba(140,42,62,0.20) 100%);
      z-index: 1;
    }
    /* Bottom dark vignette to keep text/scroll readable */
    .hero-overlay::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(to bottom,
        rgba(0,0,0,0.15) 0%,
        transparent 30%,
        transparent 60%,
        rgba(0,0,0,0.45) 100%);
    }

    .hero-pattern {
      display: none;
    }

    /* Centered content */
    .hero-content-center {
      position: relative; z-index: 2;
      text-align: center;
      max-width: 820px;
      animation: heroFadeUp 1s ease both;
    }
    @keyframes heroFadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .hero-content-center .hero-title {
      font-size: clamp(2.6rem, 6vw, 4.6rem);
      text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
    }
    .hero-content-center .hero-sub {
      max-width: 600px; margin-left: auto; margin-right: auto;
      font-size: 1.15rem;
      text-shadow: 0 1px 12px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.5);
    }
    .hero-content-center .hero-btns { justify-content: center; }
    .hero-content-center .hero-stats {
      justify-content: center; gap: 3rem;
      margin-top: 3.5rem;
    }
    .hero-title {
      font-weight: 800; color: var(--white);
      line-height: 1.15; margin-bottom: 1.5rem;
    }
    .hero-title em {
      color: var(--gold);
      font-family: var(--font-display); font-style: italic;
    }
    .hero-sub {
      color: rgba(255,255,255,0.9);
      margin-bottom: 2.5rem; font-weight: 300; line-height: 1.8;
    }
    .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
    .btn-primary {
      background: linear-gradient(135deg, var(--copper-lt) 0%, var(--copper) 100%);
      color: #3a1410;
      padding: 1rem 2.5rem; border-radius: 10px;
      font-weight: 700; font-size: 1rem;
      transition: var(--trans); display: inline-flex; align-items: center; gap: 0.5rem;
      box-shadow: 0 6px 20px rgba(201,123,69,0.35);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,123,69,0.5); }
    .btn-outline {
      border: 1.5px solid rgba(255,255,255,0.6); color: var(--white);
      padding: 1rem 2.5rem; border-radius: 10px;
      font-weight: 500; font-size: 1rem;
      transition: var(--trans);
      backdrop-filter: blur(4px);
    }
    .btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
    .hero-stats {
      display: flex; flex-wrap: wrap;
      padding-top: 2rem;
      border-top: 1px solid rgba(255,255,255,0.2);
    }
    .stat-item { text-align: center; }
    .stat-num { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
    .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 0.3rem; }
    .hero-scroll {
      position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
      color: rgba(255,255,255,0.6); font-size: 0.78rem; letter-spacing: 0.1em;
      cursor: pointer; z-index: 2;
    }
    .scroll-line {
      width: 1px; height: 40px;
      background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
      animation: scrollPulse 2s ease infinite;
    }
    @keyframes scrollPulse { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.1)} }

    


    /* ===== MAP ===== */
    .map-wrapper {
      grid-column: 1 / -1;
      margin-top: 3rem;
      background: var(--white);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid var(--gray-100);
    }
    .map-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.5rem 1.8rem;
      flex-wrap: wrap; gap: 1rem;
      background: linear-gradient(135deg, var(--wine-deep) 0%, var(--wine) 100%);
    }
    .map-title { display: flex; align-items: center; gap: 1rem; }
    .map-pin-icon {
      width: 46px; height: 46px; flex-shrink: 0;
      background: rgba(212,145,90,0.25);
      border: 1px solid rgba(212,145,90,0.4);
      border-radius: 13px;
      display: flex; align-items: center; justify-content: center;
      color: var(--copper-lt);
    }
    .map-pin-icon svg { width: 24px; height: 24px; }
    .map-title strong { display: block; color: var(--white); font-weight: 700; font-size: 1.05rem; }
    .map-title span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
    .map-directions-btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: var(--copper); color: #3a1410;
      padding: 0.7rem 1.4rem; border-radius: 10px;
      font-weight: 700; font-size: 0.9rem;
      transition: var(--trans);
      box-shadow: 0 4px 14px rgba(201,123,69,0.3);
    }
    .map-directions-btn:hover { background: var(--copper-lt); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(201,123,69,0.45); }
    .map-frame {
      width: 100%; height: 380px;
      position: relative;
      filter: grayscale(0.1);
    }
    .map-frame iframe { display: block; }
    .products-grid-multi {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      max-width: 1150px;
      margin: 0 auto;
    }
    
    
    .products-grid-multi .product-card {
      align-self: stretch;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .product-card-gallery {
      width: 100%;
    }
    /* Push footer to bottom so all cards align */
    .products-grid-multi .product-body { flex: 1 1 auto; }
    .products-grid-multi .product-footer { margin-top: auto; }
    .product-zoom-hint {
      position: absolute; bottom: 12px; left: 12px;
      background: rgba(36,27,31,0.78);
      color: #fff; font-size: 0.78rem; font-weight: 600;
      padding: 0.4rem 0.85rem; border-radius: 8px;
      display: flex; align-items: center; gap: 0.4rem;
      cursor: zoom-in; backdrop-filter: blur(4px);
      transition: background 0.2s;
    }
    .product-zoom-hint:hover { background: var(--wine); }
    .product-zoom-hint svg { width: 15px; height: 15px; }

    /* Thumbnails */
    .product-thumbs {
      display: flex; gap: 0.75rem;
      padding: 1rem 1.5rem 0;
    }
    .thumb-btn {
      width: 72px; height: 72px;
      border: 2px solid var(--gray-300);
      border-radius: 10px;
      overflow: hidden; cursor: pointer;
      background: #e8f0fe; padding: 4px;
      transition: all 0.2s ease;
    }
    .thumb-btn img { width: 100%; height: 100%; object-fit: contain; }
    .thumb-btn:hover { border-color: var(--wine-light); }
    .thumb-btn.active {
      border-color: var(--wine);
      box-shadow: 0 0 0 3px var(--wine-blush);
    }

    /* Lightbox */
    .lightbox {
      display: none;
      position: fixed; inset: 0;
      background: rgba(20,12,15,0.92);
      z-index: 2000;
      align-items: center; justify-content: center;
      backdrop-filter: blur(6px);
      animation: lbFade 0.25s ease;
    }
    .lightbox.open { display: flex; }
    @keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
    .lightbox-img {
      max-width: 88vw; max-height: 82vh;
      object-fit: contain;
      background: #fff; border-radius: 12px;
      padding: 1.5rem;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      animation: lbZoom 0.3s cubic-bezier(.34,1.56,.64,1);
    }
    @keyframes lbZoom { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
    .lightbox-close {
      position: absolute; top: 1.5rem; right: 2rem;
      color: #fff; font-size: 2.6rem; font-weight: 300;
      cursor: pointer; line-height: 1;
      transition: color 0.2s;
    }
    .lightbox-close:hover { color: var(--copper-lt); }
    .lightbox-nav {
      position: absolute; top: 50%; transform: translateY(-50%);
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.25);
      color: #fff; font-size: 2.2rem;
      width: 56px; height: 56px; border-radius: 50%;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: all 0.2s ease; backdrop-filter: blur(4px);
    }
    .lightbox-nav:hover { background: var(--wine); transform: translateY(-50%) scale(1.08); }
    .lightbox-prev { right: 2rem; }
    .lightbox-next { left: 2rem; }
    .lightbox-caption {
      position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
      color: #fff; font-size: 0.95rem; font-weight: 600;
      background: rgba(122,30,50,0.85);
      padding: 0.5rem 1.4rem; border-radius: 20px;
    }
    


    /* Footer social — brand colors visible on dark bg */
    footer .social-btn {
      background: rgba(255,255,255,0.1);
    }
    footer .social-wa { color: #25D366; }
    footer .social-fb { color: #4595f5; }
    footer .social-ph { color: var(--copper-lt); }
    footer .social-em { color: #EA9B6E; }
    footer .social-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
    footer .social-wa:hover { background: #25D366 !important; color: #fff; }
    footer .social-fb:hover { background: #1877F2 !important; color: #fff; }
    footer .social-ph:hover { background: var(--wine) !important; color: #fff; }
    footer .social-em:hover { background: var(--gray-800) !important; color: #fff; }


    /* ===== FLOATING WORKING-HOURS BUTTON ===== */
    .hours-fab-wrap {
      position: fixed;
      bottom: 28px; left: 28px;
      z-index: 1500;
      display: flex; flex-direction: column; align-items: flex-start;
    }
    .hours-fab {
      width: 60px; height: 60px;
      border-radius: 50%;
      border: none; cursor: pointer;
      background: linear-gradient(135deg, var(--wine) 0%, var(--wine-light) 100%);
      color: #fff;
      box-shadow: 0 8px 24px rgba(122,30,50,0.4);
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s, opacity 0.4s;
    }
    .hours-fab:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(122,30,50,0.55); }
    .hours-fab .fab-clock { width: 28px; height: 28px; }
    .hours-fab.spin .fab-clock { animation: clockSpin 0.6s ease; }
    @keyframes clockSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

    /* Hide on scroll down, show on scroll up */
    .hours-fab-wrap.hidden .hours-fab {
      opacity: 0; transform: translateY(100px) scale(0.5); pointer-events: none;
    }
    .hours-fab-wrap.hidden .hours-popup { opacity: 0; pointer-events: none; transform: translateY(20px); }

    /* Popup */
    .hours-popup {
      position: absolute; bottom: 74px; left: 0;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 16px 50px rgba(0,0,0,0.25);
      width: 280px; padding: 1.2rem;
      opacity: 0; transform: translateY(20px) scale(0.92);
      pointer-events: none;
      transition: all 0.3s cubic-bezier(.34,1.56,.64,1);
      transform-origin: bottom left;
      border: 1px solid var(--gray-100);
    }
    .hours-popup.open {
      opacity: 1; transform: translateY(0) scale(1);
      pointer-events: auto;
    }
    .hours-popup-header {
      display: flex; align-items: center; gap: 0.6rem;
      font-weight: 800; color: var(--wine); font-size: 1.05rem;
      padding-bottom: 0.9rem; margin-bottom: 0.6rem;
      border-bottom: 2px solid var(--wine-blush);
    }
    .hours-popup-header svg { width: 22px; height: 22px; color: var(--copper); }
    .hours-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: 0.5rem 0; font-size: 0.92rem;
    }
    .hours-day { font-weight: 600; color: var(--gray-800); }
    .hours-time { color: var(--gray-500); font-size: 0.88rem; }
    .hours-closed .hours-day { color: var(--gray-500); }
    .hours-closed .hours-time { color: #c0392b; font-weight: 600; }

    


    /* ===== FOOTER CONTACT LIST — modern + bigger + hover ===== */
    .footer-contact-list li { margin-bottom: 0.4rem; }
    .footer-contact-list li a {
      display: flex; align-items: center; gap: 0.7rem;
      font-size: 1rem;
      padding: 0.55rem 0.7rem;
      border-radius: 10px;
      transition: all 0.28s cubic-bezier(.4,0,.2,1);
      position: relative;
    }
    .footer-contact-list li a:hover {
      background: rgba(255,255,255,0.07);
      transform: translateX(-6px);
      color: #fff;
    }
    .fc-icon-wrap {
      width: 34px; height: 34px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      background: rgba(255,255,255,0.08);
      border-radius: 9px;
      transition: all 0.28s ease;
    }
    .footer-contact-list li a:hover .fc-icon-wrap {
      background: var(--copper);
      transform: scale(1.1) rotate(-4deg);
    }
    .fc-icon { width: 18px; height: 18px; }
    .fc-wa { width: 20px; height: 20px; }
    /* keep WA colors, don't let hover recolor it */
    .footer-contact-list li a:hover .fc-icon-wrap:has(.fc-wa) { background: rgba(37,211,102,0.2); }

    /* Quick links hover polish */
    .footer-col ul:not(.footer-contact-list) a {
      display: inline-block;
      transition: all 0.25s ease;
      padding: 0.2rem 0;
    }
    .footer-col ul:not(.footer-contact-list) a:hover {
      color: var(--copper-lt);
      transform: translateX(-6px);
      padding-right: 8px;
    }


    /* Form intro header — matches info column heading for alignment */
    .form-intro { margin-bottom: 2rem; }
    .form-intro-title {
      font-size: clamp(1.8rem, 3.5vw, 2.6rem);
      font-weight: 800; color: var(--gray-800);
      line-height: 1.2; margin: 0.6rem 0 0.8rem;
    }
    .form-intro-sub {
      font-size: 1rem; color: var(--gray-500); line-height: 1.7;
    }
    


    /* ===== ANIMATED PRODUCT MARQUEE ===== */
    .product-marquee-section {
      background: var(--off-white);
      padding: 4rem 0 4.5rem;
      overflow: hidden;
      border-bottom: 1px solid var(--gray-100);
    }
    .marquee-header {
      text-align: center;
      margin-bottom: 3rem;
      padding: 0 2rem;
    }
    .marquee-eyebrow {
      display: inline-block;
      font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--copper);
      margin-bottom: 0.7rem;
    }
    .marquee-title {
      font-size: clamp(1.6rem, 3.5vw, 2.4rem);
      font-weight: 800; color: var(--gray-800);
      line-height: 1.2;
    }
    .marquee-track-wrap {
      width: 100%;
      overflow: hidden;
      direction: ltr;
      -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
      mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
    }
    .marquee-track {
      display: flex;
      gap: 2rem;
      width: max-content;
      direction: ltr;
      animation: marqueeScroll 40s linear infinite;
      will-change: transform;
      transform: translateZ(0);
      backface-visibility: hidden;
    }
    .marquee-track:hover {
      animation-play-state: paused;
    }
    /* Pause marquee when any lightbox is open (prevents freeze) */
    body.lightbox-active .marquee-track {
      animation-play-state: paused !important;
    }
    @keyframes marqueeScroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-25%); }
    }
    .marquee-item {
      flex-shrink: 0;
      width: 240px;
      display: flex; flex-direction: column; align-items: center;
      gap: 1rem;
    }
    .marquee-img {
      width: 240px; height: 200px;
      background: #fff;
      border-radius: 16px;
      border: 1px solid var(--gray-100);
      display: flex; align-items: center; justify-content: center;
      padding: 1rem;
      box-shadow: 0 6px 24px rgba(122,30,50,0.06);
      transition: all 0.3s ease;
      overflow: hidden;
    }
    .marquee-item:hover .marquee-img {
      transform: translateY(-8px);
      box-shadow: 0 14px 36px rgba(122,30,50,0.14);
      border-color: var(--wine-light);
    }
    .marquee-img img {
      max-width: 100%; max-height: 100%;
      object-fit: contain;
      transition: transform 0.4s ease;
    }
    .marquee-item:hover .marquee-img img { transform: scale(1.08); }
    .marquee-label {
      font-size: 0.98rem; font-weight: 700; color: var(--wine);
      text-align: center;
    }
    
    /* Respect reduced motion preference */
    


    /* Branch cards with phone line need top alignment */
    .contact-card:has(a[href^="tel"]:not(:only-child)) { align-items: flex-start; }
    .contact-card .contact-link { color: var(--wine); font-weight: 600; font-size: 0.9rem; }
    .contact-card .contact-link:hover { color: var(--wine-light); }


    /* Language toggle button */
    .lang-toggle {
      background: transparent;
      border: 2px solid var(--wine);
      color: var(--wine);
      font-weight: 800;
      font-size: 0.85rem;
      width: 40px; height: 40px;
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.25s ease;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-body);
    }
    .lang-toggle:hover {
      background: var(--wine);
      color: #fff;
      transform: scale(1.08);
    }
    


    /* Language toggle always visible (mobile + desktop) */
    #langToggle { flex-shrink: 0; }
    

    /* ===== RESET ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--white);
      color: var(--gray-800);
      line-height: 1.7;
      overflow-x: hidden;
    }
    img { display: block; max-width: 100%; }
    a  { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    /* ===== NAVBAR ===== */
    .nav {
      position: fixed; top: 0; width: 100%; z-index: 1000;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(16px) saturate(180%);
      border-bottom: 1px solid rgba(214,206,202,0.5);
      transition: all 0.35s ease;
    }
    .nav.scrolled {
      background: rgba(255,255,255,0.95);
      box-shadow: 0 4px 30px rgba(107,27,43,0.10);
      border-bottom-color: transparent;
    }
    .nav-inner {
      max-width: 1200px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 2rem; height: 84px;
    }
    .logo {
      font-family: var(--font-body);
      font-weight: 800; font-size: 1.4rem;
      color: var(--wine);
      letter-spacing: -0.01em;
    }
    .logo span { color: var(--gold); }
    .nav-links {
      display: flex; gap: 0.5rem; align-items: center;
    }
    .nav-links a {
      font-size: 0.95rem; font-weight: 600;
      color: var(--gray-800);
      position: relative;
      padding: 0.55rem 1.1rem;
      border-radius: 10px;
      transition: all 0.25s ease;
    }
    /* Pill hover background */
    .nav-links a:not(.nav-cta)::before {
      content: ''; position: absolute; inset: 0;
      background: var(--wine-blush);
      border-radius: 10px;
      opacity: 0; transform: scale(0.85);
      transition: all 0.25s ease;
      z-index: -1;
    }
    .nav-links a:not(.nav-cta):hover {
      color: var(--wine);
    }
    .nav-links a:not(.nav-cta):hover::before {
      opacity: 1; transform: scale(1);
    }
    /* Modern CTA button with gradient + glow */
    .nav-cta {
      background: linear-gradient(135deg, var(--wine) 0%, var(--wine-light) 100%);
      color: var(--white) !important;
      padding: 0.7rem 1.8rem !important;
      border-radius: 12px;
      font-weight: 700;
      margin-right: 1rem;
      box-shadow: 0 4px 14px rgba(107,27,43,0.3);
      transition: all 0.3s cubic-bezier(.4,0,.2,1) !important;
      position: relative; overflow: hidden;
    }
    .nav-cta::before { display: none !important; }
    /* Shine sweep effect */
    .nav-cta::after {
      content: ''; position: absolute; top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.6s ease;
    }
    .nav-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 22px rgba(107,27,43,0.45);
    }
    .nav-cta:hover::after { left: 100%; }

    /* Hamburger */
    .hamburger {
      display: none; flex-direction: column; gap: 5px;
      cursor: pointer; padding: 4px;
    }
    .hamburger span {
      display: block; width: 26px; height: 2px;
      background: var(--wine); border-radius: 2px;
      transition: var(--trans);
    }
    .mobile-menu {
      display: none; position: fixed; top: 84px; right: 0; left: 0;
      background: var(--white); z-index: 999;
      border-bottom: 2px solid var(--wine);
      padding: 1.5rem 2rem;
      flex-direction: column; gap: 1.2rem;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      font-size: 1.1rem; font-weight: 500;
      color: var(--gray-800); padding: 0.4rem 0;
      border-bottom: 1px solid var(--gray-100);
    }
    .mobile-menu a:hover { color: var(--wine); }
    .hero-title {
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 800; color: var(--white);
      line-height: 1.15; margin-bottom: 1.5rem;
    }
    .hero-title em {
      color: var(--gold);
      font-family: var(--font-display); font-style: italic;
    }
    .hero-sub {
      font-size: 1.05rem; color: rgba(255,255,255,0.8);
      margin-bottom: 2.5rem; font-weight: 300; line-height: 1.8;
    }
    .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
    .btn-primary {
      background: linear-gradient(135deg, var(--copper-lt) 0%, var(--copper) 100%);
      color: #3a1410;
      padding: 1rem 2.5rem; border-radius: 10px;
      font-weight: 700; font-size: 1rem;
      transition: var(--trans); display: inline-flex; align-items: center; gap: 0.5rem;
      box-shadow: 0 6px 20px rgba(201,123,69,0.35);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,123,69,0.5); }
    .btn-outline {
      border: 1.5px solid rgba(255,255,255,0.5); color: var(--white);
      padding: 1rem 2.5rem; border-radius: 2px;
      font-weight: 500; font-size: 1rem;
      transition: var(--trans);
    }
    .btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
    .stat-item { text-align: center; }
    .stat-num { font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1; }
    .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 0.3rem; }
    .hero-scroll {
      position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
      color: rgba(255,255,255,0.5); font-size: 0.78rem; letter-spacing: 0.1em;
      cursor: pointer;
    }
    .scroll-line {
      width: 1px; height: 40px;
      background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
      animation: scrollPulse 2s ease infinite;
    }
    @keyframes scrollPulse { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.1)} }

    /* ===== SECTIONS COMMON ===== */
    section { padding: 6rem 2rem; }
    .container { max-width: 1200px; margin: 0 auto; }
    .section-label {
      font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--copper);
      margin-bottom: 0.8rem;
      display: inline-flex; align-items: center; gap: 0.5rem;
    }
    .section-label::before {
      content: ''; width: 28px; height: 2px;
      background: var(--copper); display: inline-block;
    }
    .section-title {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800; color: var(--gray-800);
      line-height: 1.2; margin-bottom: 1.2rem;
    }
    .section-sub {
      font-size: 1.05rem; color: var(--gray-500);
      max-width: 560px; line-height: 1.8;
    }

    /* ===== FEATURES STRIP ===== */
    .features-strip {
      background: linear-gradient(135deg, var(--wine-deep) 0%, var(--wine) 100%);
      padding: 3rem 2rem;
    }
    .features-strip .container {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
    }
    .strip-item {
      display: flex; align-items: center; gap: 1rem;
      color: var(--white);
    }
    .strip-icon {
      width: 52px; height: 52px; flex-shrink: 0;
      background: linear-gradient(135deg, rgba(212,145,90,0.25), rgba(255,255,255,0.06));
      border: 1px solid rgba(212,145,90,0.35);
      border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      color: var(--copper-lt);
    }
    .strip-icon svg {
      width: 26px; height: 26px;
    }
    .strip-item strong { display: block; font-weight: 700; font-size: 0.9rem; line-height: 1.3; }
    .strip-item span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

    /* ===== ABOUT ===== */
    #about { background: var(--off-white); }
    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center;
    }
    .about-visual {
      position: relative;
    }
    .about-img-main {
      width: 100%; border-radius: var(--radius);
      background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
      aspect-ratio: 4/5;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
      padding: 14px;            /* التدرّج النبيذي يصبح إطاراً حول العارض */
    }
    .about-img-badge {
      position: absolute; bottom: -1.5rem; left: -1.5rem;
      background: var(--white); border-radius: var(--radius);
      padding: 1.5rem; box-shadow: var(--shadow);
      text-align: center; min-width: 140px;
    }
    .about-img-badge strong {
      display: block; font-size: 2.2rem; font-weight: 800;
      color: var(--wine); line-height: 1;
    }
    .about-img-badge span { font-size: 0.8rem; color: var(--gray-500); }
    .about-tag {
      position: absolute; top: -1rem; right: -1rem;
      background: var(--gold); color: var(--wine-deep);
      padding: 0.5rem 1.2rem; border-radius: 2px;
      font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .about-text .section-sub { max-width: 100%; }
    .about-values {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 1.5rem; margin-top: 2.5rem;
    }
    .value-card {
      background: var(--white); border-radius: var(--radius);
      padding: 1.4rem; border-right: 3px solid var(--wine);
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }
    .value-card strong { display: block; color: var(--wine); font-weight: 700; margin-bottom: 0.3rem; }
    .value-card p { font-size: 0.88rem; color: var(--gray-500); }

    /* ===== PRODUCTS ===== */
    #products { background: var(--white); }
    .products-header {
      display: flex; justify-content: space-between; align-items: flex-end;
      margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1.5rem;
    }
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
      gap: 2rem;
    }
    .product-card {
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--gray-100);
      transition: var(--trans);
      background: var(--white);
    }
    .product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
    .product-img {
      height: 320px;
      background: #ffffff;
      position: relative; overflow: hidden;
      display: flex; align-items: center; justify-content: center;
    }
    .product-tag {
      position: absolute; top: 1rem; right: 1rem;
      background: var(--wine); color: var(--white);
      font-size: 0.72rem; font-weight: 700;
      padding: 0.3rem 0.8rem; border-radius: 2px;
      letter-spacing: 0.06em; text-transform: uppercase;
    }
    .product-body { padding: 1.5rem; }
    .product-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
    .product-body p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1rem; }
    .product-footer {
      display: flex; justify-content: space-between; align-items: center;
      padding: 1rem 1.5rem;
      border-top: 1px solid var(--gray-100);
    }
    .price { font-size: 1.2rem; font-weight: 800; color: var(--wine); }
    .more-link {
      font-size: 0.85rem; font-weight: 600;
      color: var(--gray-500); display: flex; align-items: center; gap: 0.3rem;
      transition: var(--trans);
    }
    .more-link:hover { color: var(--wine); }

    /* ===== CONTACT ===== */
    #contact { background: var(--white); }
    .contact-grid {
      display: grid; grid-template-columns: 1fr 1.3fr;
      gap: 4rem; align-items: stretch;
    }
    /* Left info column: let cards distribute to fill height */
    .contact-grid > div:first-child {
      display: flex; flex-direction: column;
    }
    .contact-info-cards {
      display: flex; flex-direction: column; gap: 1rem;
      margin-top: 2rem; flex: 1 1 auto;
    }
    .contact-info-cards .contact-card { flex: 1 1 auto; }
        .contact-card {
      display: flex; align-items: center; gap: 1rem;
      padding: 1.3rem 1.4rem;
      background: var(--off-white);
      border-radius: 12px;
      border-right: 3px solid var(--wine);
      min-height: 88px;
      transition: all 0.28s ease;
    }
    .contact-card:hover {
      transform: translateX(-4px);
      box-shadow: 0 6px 20px rgba(122,30,50,0.1);
      border-right-width: 5px;
    }
    .contact-icon {
      width: 46px; height: 46px; flex-shrink: 0;
      background: linear-gradient(135deg, var(--wine) 0%, var(--wine-light) 100%);
      color: var(--white);
      border-radius: 13px; display: flex; align-items: center; justify-content: center;
    }
    .contact-icon svg { width: 22px; height: 22px; }
    .contact-card strong { display: block; font-weight: 700; margin-bottom: 0.2rem; font-size: 0.92rem; }
    .contact-card span { font-size: 0.88rem; color: var(--gray-500); }
    .social-row { display: flex; gap: 0.8rem; margin-top: 2rem; }
    .social-btn {
      width: 42px; height: 42px;
      background: var(--gray-100); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem; transition: var(--trans);
    }
    .social-btn:hover { background: var(--wine); color: var(--white); transform: translateY(-2px); }

    /* Form */
    .contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
    .form-group { display: flex; flex-direction: column; gap: 0.5rem; }
    .form-group label { font-size: 0.88rem; font-weight: 600; color: var(--gray-800); }
    .form-group input,
    .form-group textarea,
    .form-group select {
      border: 1.5px solid var(--gray-300);
      border-radius: var(--radius);
      padding: 0.85rem 1rem;
      font-family: var(--font-body);
      font-size: 0.95rem;
      color: var(--gray-800);
      background: var(--white);
      transition: border-color 0.2s;
      outline: none;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus { border-color: var(--wine); }
    .form-group textarea { resize: vertical; min-height: 130px; }
    .form-submit {
      background: var(--wine); color: var(--white);
      padding: 1rem 2.5rem; border-radius: var(--radius);
      font-family: var(--font-body);
      font-size: 1rem; font-weight: 700;
      cursor: pointer; border: none;
      transition: var(--trans); text-align: center;
      display: inline-flex; align-items: center; gap: 0.5rem;
      align-self: flex-start;
    }
    .form-submit:hover { background: var(--wine-deep); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,27,43,0.3); }
    .success-msg {
      display: none; background: #e8f5e9; color: #2e7d32;
      padding: 1rem 1.5rem; border-radius: var(--radius);
      border-right: 3px solid #4caf50; font-weight: 500; font-size: 0.92rem;
    }

    /* ===== FOOTER ===== */
    footer {
      background: var(--wine-deep);
      color: rgba(255,255,255,0.75);
      padding: 4rem 2rem 2rem;
    }
    .footer-grid {
      max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: 1.5fr 1fr 1fr;
      gap: 3rem; margin-bottom: 3rem;
    }
    .footer-logo { font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: 1rem; }
    .footer-logo span { color: var(--gold); }
    .footer-desc { font-size: 0.88rem; line-height: 1.8; margin-bottom: 1.5rem; }
    .footer-col h4 { color: var(--white); font-weight: 700; margin-bottom: 1.2rem; font-size: 0.95rem; }
    .footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
    .footer-col ul a { font-size: 0.88rem; transition: color 0.2s; }
    .footer-col ul a:hover { color: var(--gold); }
    .footer-bottom {
      max-width: 1200px; margin: 0 auto;
      display: flex; justify-content: space-between; align-items: center;
      padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
      flex-wrap: wrap; gap: 1rem; font-size: 0.82rem;
    }
    .footer-bottom a { color: var(--gold); }

    /* ===== SCROLL ANIMATIONS ===== */
    .reveal {
      opacity: 0; transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }

    /* ===== RESPONSIVE ===== */
/* ==========================================================================
   Utility classes (converted from former inline styles)
   Enables a strict CSP without 'unsafe-inline' for styles.
   ========================================================================== */
.prod-img-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  cursor: zoom-in;
}
.prod-img-el.scale-92  { transform: scale(0.92); }
.prod-img-el.scale-98  { transform: scale(0.98); }
.prod-img-el.scale-100 { transform: scale(1.0); }
.prod-img-el.scale-110 { transform: scale(1.1); }
.prod-img-el.scale-115 { transform: scale(1.15); }

.mw-320 { max-width: 320px; }
.is-hidden { display: none; }
.icon-18 { width: 18px; height: 18px; }
.no-border { border: 0; }

    /* Skip-navigation link (accessibility) */
    .skip-link {
      position: absolute;
      top: -60px;
      right: 1rem;
      z-index: 3000;
      background: var(--wine, #7A1E32);
      color: #fff;
      padding: 0.7rem 1.4rem;
      border-radius: 0 0 10px 10px;
      font-weight: 700;
      text-decoration: none;
      transition: top 0.2s ease;
    }
    .skip-link:focus {
      top: 0;
      outline: 3px solid var(--copper, #C97B45);
    }

    /* ==========================================================================
       About — product slideshow (replaces the old static placeholder)
       Cross-fade + subtle Ken Burns zoom. Wine gradient stays as the frame.
       ========================================================================== */
    .about-slider {
      position: relative;
      width: 100%; height: 100%;
      background: var(--white);
      border-radius: calc(var(--radius) - 6px);
      overflow: hidden;
    }
    .about-slide {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      opacity: 0;
      transition: opacity 0.9s ease;
      pointer-events: none;
    }
    .about-slide.is-active { opacity: 1; }
    .about-slide img {
      max-width: 76%;
      max-height: 62%;
      width: auto; height: auto;
      object-fit: contain;
      transform: translateY(-6%);
    }
    /* زووم بطيء ناعم على الشريحة النشطة (تأثير Ken Burns) */
    .about-slide.is-active img { animation: aboutKenBurns 5s ease-out both; }
    @keyframes aboutKenBurns {
      from { transform: translateY(-6%) scale(1); }
      to   { transform: translateY(-6%) scale(1.07); }
    }
    .about-slide-caption {
      position: absolute; left: 0; right: 0; bottom: 3.4rem;
      margin: 0; padding: 0 1rem;
      text-align: center;
      font-weight: 700; font-size: 1rem;
      color: var(--wine);
    }
    .about-slider-dots {
      position: absolute; left: 0; right: 0; bottom: 1.4rem;
      display: flex; justify-content: center; gap: 0.45rem;
    }
    .about-dot {
      width: 8px; height: 8px; padding: 0;
      border: none; border-radius: 50%;
      background: rgba(122, 30, 50, 0.25);
      cursor: pointer;
      transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
    }
    .about-dot:hover { background: rgba(122, 30, 50, 0.55); }
    .about-dot.is-active {
      background: var(--wine);
      width: 22px; border-radius: 4px;
    }
    .about-dot:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

    /* احترام تفضيل تقليل الحركة */
    @media (prefers-reduced-motion: reduce) {
      .about-slide { transition: opacity 0.2s linear; }
      .about-slide.is-active img { animation: none; }
    }

    /* ==========================================================================
       404 page (served automatically by Cloudflare Pages for unknown paths)
       Uses the same brand tokens — no new colors or fonts.
       ========================================================================== */
    .nf-wrap {
      min-height: 100vh;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      text-align: center;
      padding: 2rem 1.5rem;
      background: var(--bg, #FAF8F7);
    }
    .nf-logo { width: 200px; height: auto; margin-bottom: 2.5rem; }
    .nf-code {
      font-family: var(--font-display, 'Playfair Display', serif);
      font-size: clamp(4rem, 14vw, 7rem);
      line-height: 1;
      color: var(--wine);
      margin: 0;
      opacity: 0.9;
    }
    .nf-title {
      font-size: clamp(1.4rem, 4vw, 2rem);
      color: var(--wine-deep);
      margin: 0.6rem 0 1rem;
    }
    .nf-sub {
      color: var(--gray-500, #6b6b6b);
      line-height: 1.9;
      margin: 0 0 2.2rem;
      max-width: 460px;
    }
    .nf-en { font-size: 0.9rem; opacity: 0.75; direction: ltr; display: inline-block; }
    .nf-btn {
      display: inline-block;
      background: var(--wine);
      color: #fff;
      padding: 0.9rem 2rem;
      border-radius: var(--radius, 10px);
      font-weight: 700;
      text-decoration: none;
      transition: background 0.25s ease, transform 0.25s ease;
    }
    .nf-btn:hover { background: var(--wine-light); transform: translateY(-2px); }
