/* ============================================
       DESIGN TOKENS — UAE FLAG PALETTE
    ============================================ */
    :root {
      --green:       #007A3D;
      --green-dark:  #005C2E;
      --green-light: #E6F4ED;
      --red:         #CE1126;
      --red-dark:    #A80E1E;
      --gold:        #B8973E;
      --gold-light:  #F0E6C8;
      --black:       #111111;
      --dark:        #1A1A1A;
      --charcoal:    #2C2C2C;
      --mid:         #6B6B6B;
      --silver:      #D4D4D4;
      --cream:       #F7F5F0;
      --white:       #FFFFFF;

      --font-display: 'Anton', Impact, sans-serif;
      --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

      --radius:      6px;
      --radius-lg:   12px;
      --shadow:      0 4px 24px rgba(0,0,0,.10);
      --shadow-lg:   0 12px 48px rgba(0,0,0,.18);
      --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ============================================
       BASE
    ============================================ */
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    html, body {
      overflow-x: hidden;
      max-width: 100%;
    }
    body {
      font-family: var(--font-body);
      color: var(--charcoal);
      background: var(--white);
      -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }

    /* Explicit heading tags — ensure display font always wins over Bootstrap */
    h1, h2, h3, h4, h5, h6 {
      font-family: 'Anton', Impact, sans-serif !important;
      font-weight: 600;
    }

    /* ============================================
       TYPOGRAPHY — BNY-inspired: editorial serif
       headings, clean Inter body, generous spacing
    ============================================ */
    .display-serif {
      font-family: var(--font-display);
      line-height: 1.08;
      letter-spacing: -0.01em;
    }
    /* Eyebrow: small caps, wide tracking — same as BNY category labels */
    .eyebrow {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      display: block;
      margin-bottom: 14px;
    }
    .eyebrow.dark { color: var(--green); }
    .eyebrow.red  { color: var(--red); }

    /* ============================================
       NAVBAR
    ============================================ */
    .ds-navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 9000;
      padding: 0;
      transition: all var(--transition);
    }
    .ds-navbar.scrolled .nav-inner {
      background: rgba(17,17,17,.98);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 2px 20px rgba(0,0,0,.3);
      padding: 10px 0;
    }
    /* Solid navbar — used on inner pages (no hero image underneath) */
    .ds-navbar--solid .nav-inner,
    .ds-navbar--solid.scrolled .nav-inner {
      background: rgba(17,17,17,.98) !important;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 2px 20px rgba(0,0,0,.3);
    }

    .nav-inner {
      background: linear-gradient(to bottom, rgba(0,0,0,.75), transparent);
      transition: background var(--transition), padding var(--transition);
      padding: 18px 0;
      position: relative;
      z-index: 9001;
    }
    .nav-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); }

    /* Desktop links */
    .nav-links { display: flex; align-items: center; gap: 6px; }
    .nav-links a {
      font-size: 16px;
      font-weight: 500;
      color: rgba(255,255,255,.85);
      padding: 8px 14px;
      border-radius: var(--radius);
      transition: color var(--transition);
      letter-spacing: 0.01em;
      white-space: nowrap;
    }
    .nav-links a:hover { color: var(--white); }
    .nav-cta {
      background: var(--green) !important;
      color: var(--white) !important;
      padding: 9px 20px !important;
      font-weight: 600 !important;
      border-radius: var(--radius) !important;
    }
    .nav-cta:hover { background: var(--green-dark) !important; }

    /* Hamburger button — always on top */
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      padding: 8px;
      cursor: pointer;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      position: relative;
      z-index: 9999;
    }
    .nav-toggle .bar {
      display: block;
      width: 24px; height: 2px;
      background: white;
      border-radius: 2px;
      transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
      transform-origin: center;
    }
    .nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open .bar:nth-child(2) { opacity: 0; width: 0; }
    .nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── Mobile menu overlay ── */
    @media(max-width:991px) {
      .nav-toggle { display: flex; }
      .nav-inner { padding: 14px 0; }
      .ds-navbar.scrolled .nav-inner { padding: 10px 0; }

      /*
       * KEY FIX: use visibility + opacity instead of display:none
       * so the element is never removed from the stacking context.
       * This prevents it from "disappearing" during scroll events
       * that trigger repaints on the navbar.
       */
      .nav-links {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0; left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #0D0D0D;
        padding: 100px 32px 48px;
        gap: 0;
        z-index: 9500;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        /* Always flex — never toggled to display:none */
        display: flex !important;
      }
      .nav-links.open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
      }
      .nav-links a {
        font-size: 26px;
        font-weight: 600;
        color: rgba(255,255,255,.75);
        padding: 18px 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
        width: 100%;
        letter-spacing: 0;
        white-space: normal;
        transition: color 0.2s ease;
      }
      .nav-links a:last-child { border-bottom: none; }
      .nav-links a:hover,
      .nav-links a:active { color: var(--white); }
      .nav-cta {
        background: var(--green) !important;
        color: var(--white) !important;
        margin-top: 28px;
        padding: 16px 32px !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        text-align: center;
        border-radius: var(--radius) !important;
        width: 100%;
        display: block !important;
        border-bottom: none !important;
      }
    }

    /* ============================================
       HERO CAROUSEL
    ============================================ */
    #hero {
      position: relative;
      height: 100vh;
      min-height: 640px;
      overflow: hidden;
    }
    .hero-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 1s ease;
      background-size: cover;
      background-position: center;
    }
    .hero-slide.active { opacity: 1; }
    .hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(
        105deg,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.55) 50%,
        rgba(0,0,0,.2) 100%
      );
    }
    .hero-content {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: flex-end;
      padding-bottom: 120px;
      padding-left: 48px;
      padding-right: 24px;
      box-sizing: border-box;
      width: 100%;
      max-width: 100%;
    }
    @media(max-width:767px) {
      .hero-content { padding-left: 20px; padding-right: 20px; padding-bottom: 110px; }
    }
    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--red);
      color: white;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 2px;
      margin-bottom: 18px;
    }
    /* Hero headline — BNY scale: commanding serif, italic accent */
    .hero-headline {
      font-family: var(--font-display);
      font-size: clamp(2.2rem, 5.5vw, 4.6rem);
      color: var(--white);
      font-weight: 600;
      line-height: 1.06;
      margin-bottom: 18px;
    }
    .hero-headline em {
      font-style: normal;
      color: var(--gold);
    }
    .hero-sub {
      font-size: 18px;
      color: rgba(255,255,255,.75);
      font-weight: 300;
      letter-spacing: 0em;
      margin-bottom: 36px;
      font-family: var(--font-body);
    }
    .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

    /* Carousel dots */
    .hero-dots {
      position: absolute;
      bottom: 48px; left: 48px;
      display: flex; gap: 10px; z-index: 10;
    }
    @media(max-width:767px) { .hero-dots { left: 28px; } }
    .hero-dot {
      width: 28px; height: 3px;
      background: rgba(255,255,255,.35);
      border-radius: 2px;
      cursor: pointer;
      transition: all var(--transition);
      border: none;
    }
    .hero-dot.active {
      width: 52px;
      background: var(--gold);
    }

    /* Hero scroll hint */
    .scroll-hint {
      position: absolute;
      bottom: 44px; right: 48px;
      display: flex; flex-direction: column;
      align-items: center; gap: 8px;
      color: rgba(255,255,255,.45);
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      z-index: 10;
    }
    .scroll-line {
      width: 1px; height: 48px;
      background: linear-gradient(to bottom, var(--gold), transparent);
    }
    @media(max-width:767px) { .scroll-hint { display: none; } }

    /* ============================================
       STAT BAR
    ============================================ */
    .stat-bar {
      background: var(--dark);
      border-bottom: 3px solid var(--green);
    }
    .stat-item {
      padding: 24px 16px;
      text-align: center;
      border-right: 1px solid rgba(255,255,255,.06);
    }
    .stat-item:last-child { border-right: none; }
    .stat-num {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
    }
    .stat-label {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,.45);
      margin-top: 6px;
    }

    /* ============================================
       SECTIONS
    ============================================ */
    .section-pad { padding: 96px 0; }
    .section-pad-sm { padding: 72px 0; }
    @media(max-width:767px) {
      .section-pad { padding: 64px 0; }
      .section-pad-sm { padding: 48px 0; }
    }

    .section-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--green);
      margin-bottom: 12px;
      display: block;
    }
    /* Section title — BNY: large editorial serif, restrained weight */
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(2.2rem, 4.5vw, 3.4rem);
      font-weight: 600;
      color: var(--black);
      line-height: 1.10;
      margin-bottom: 20px;
    }
    .section-title em {
      font-style: normal;
      color: var(--green);
    }
    .section-title.light { color: var(--white); }
    .section-title.light em { color: var(--gold); }
    /* Body copy — BNY: Inter, 18px, mid-grey, generous leading */
    .section-body {
      font-size: 18px;
      color: #555555;
      line-height: 1.85;
      max-width: 520px;
      font-weight: 400;
    }
    .section-body.light { color: rgba(255,255,255,.65); }

    /* ============================================
       BUTTONS
    ============================================ */
    .btn-primary-ds {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--green);
      color: var(--white) !important;
      font-size: 12px; font-weight: 700;
      letter-spacing: 0.12em; text-transform: uppercase;
      padding: 14px 28px;
      border-radius: var(--radius);
      border: 2px solid var(--green);
      transition: all var(--transition);
    }
    .btn-primary-ds:hover {
      background: var(--green-dark);
      border-color: var(--green-dark);
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(0,122,61,.35);
    }

    .btn-outline-ds {
      display: inline-flex; align-items: center; gap: 8px;
      background: transparent;
      color: var(--white) !important;
      font-size: 12px; font-weight: 700;
      letter-spacing: 0.12em; text-transform: uppercase;
      padding: 14px 28px;
      border-radius: var(--radius);
      border: 2px solid rgba(255,255,255,.40);
      transition: all var(--transition);
    }
    .btn-outline-ds:hover {
      border-color: var(--white);
      background: rgba(255,255,255,.08);
    }

    .btn-dark-ds {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--black);
      color: var(--white) !important;
      font-size: 12px; font-weight: 700;
      letter-spacing: 0.10em; text-transform: uppercase;
      padding: 13px 24px;
      border-radius: var(--radius);
      border: 2px solid var(--black);
      transition: all var(--transition);
      width: 100%;
      justify-content: center;
    }
    .btn-dark-ds:hover {
      background: var(--green);
      border-color: var(--green);
      transform: translateY(-1px);
    }

    /* ============================================
       ABOUT SECTION
    ============================================ */
    .about-section { background: var(--cream); }

    .about-img-wrap {
      position: relative;
      display: inline-block;
      width: 100%;
    }
    .about-img {
      width: 100%; height: 540px;
      object-fit: cover;
      border-radius: var(--radius-lg);
      display: block;
    }
    @media(max-width:767px) { .about-img { height: 320px; } }

    /* Gold frame accent — top-right */
    .about-img-wrap::before {
      content: '';
      position: absolute;
      top: -16px; right: -16px;
      width: 60%; height: 60%;
      border-top: 3px solid var(--gold);
      border-right: 3px solid var(--gold);
      border-radius: 0 var(--radius-lg) 0 0;
      pointer-events: none;
    }
    .about-badge {
      position: absolute;
      bottom: -20px; left: -20px;
      background: var(--green);
      color: white;
      padding: 20px 24px;
      border-radius: var(--radius-lg);
      box-shadow: 0 8px 28px rgba(0,122,61,.30);
    }
    @media(max-width:767px) {
      .about-img-wrap::before { display: none; }
      .about-badge { left: 12px; bottom: 12px; }
    }
    .about-badge-num {
      font-family: var(--font-display);
      font-size: 2.4rem;
      font-weight: 600;
      color: var(--gold);
      line-height: 1;
    }
    .about-badge-text {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      color: rgba(255,255,255,.75);
      margin-top: 4px;
    }

    .about-features { margin-top: 32px; }
    .about-feature {
      display: flex;
      gap: 16px;
      margin-bottom: 20px;
    }
    .feature-icon {
      width: 44px; height: 44px;
      background: var(--green-light);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: var(--green);
      font-size: 18px;
      flex-shrink: 0;
    }
    .feature-title { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
    .feature-body  { font-size: 16px; color: #555555; line-height: 1.75; font-weight: 400; }

    /* ============================================
       DEAL OF THE WEEK
    ============================================ */
    .dotw-section { background: var(--dark); }

    .dotw-card {
      background: #222;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,.4);
    }
    .dotw-img {
      height: 100%;
      min-height: 480px;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    @media(max-width:991px) { .dotw-img { min-height: 320px; } }
    .dotw-img-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
    }
    .dotw-badge {
      position: absolute;
      top: 20px; left: 20px;
      background: var(--red);
      color: white;
      font-size: 10px; font-weight: 800;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      padding: 7px 14px;
      border-radius: 2px;
    }
    .dotw-body {
      padding: 48px 44px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 100%;
    }
    @media(max-width:767px) { .dotw-body { padding: 32px 24px; } }

    .dotw-type {
      font-size: 11px; font-weight: 700;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 10px;
    }
    .dotw-title {
      font-family: var(--font-display);
      font-size: 2.6rem;
      font-weight: 600;
      color: var(--white);
      line-height: 1.08;
      margin-bottom: 8px;
    }
    .dotw-price {
      font-family: var(--font-display);
      font-size: 1.7rem;
      color: var(--green);
      font-weight: 700;
      margin-bottom: 24px;
    }
    .dotw-specs { list-style: none; padding: 0; margin: 0 0 20px; }
    .dotw-specs li {
      font-size: 13px; color: rgba(255,255,255,.70);
      display: flex; align-items: center; gap: 10px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255,255,255,.07);
    }
    .dotw-specs li i { color: var(--green); font-size: 15px; }

    .dotw-desc {
      font-size: 14px;
      color: rgba(255,255,255,.52);
      line-height: 1.75;
      margin-bottom: 0;
    }

    /* Countdown timer */
    .dotw-timer {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.09);
      border-radius: var(--radius);
      padding: 20px;
      margin: 24px 0;
    }
    .timer-label {
      font-size: 10px; font-weight: 700;
      letter-spacing: 0.18em; text-transform: uppercase;
      color: rgba(255,255,255,.35);
      margin-bottom: 14px;
      display: block;
    }
    .timer-grid {
      display: flex; gap: 10px;
    }
    .timer-box {
      flex: 1; text-align: center;
      background: rgba(255,255,255,.06);
      border-radius: var(--radius);
      padding: 12px 6px;
    }
    .timer-num {
      font-family: var(--font-display);
      font-size: 1.8rem; font-weight: 700;
      color: var(--white);
      line-height: 1;
      display: block;
    }
    .timer-unit {
      font-size: 9px; font-weight: 700;
      letter-spacing: 0.15em; text-transform: uppercase;
      color: rgba(255,255,255,.35);
      margin-top: 4px;
      display: block;
    }

    /* ============================================
       PROJECT CARDS
    ============================================ */
    .projects-section { background: var(--white); }

    .project-card {
      background: var(--white);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: all var(--transition);
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .project-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-lg);
    }
    .card-img {
      height: 240px;
      background-size: cover;
      background-position: center;
      position: relative;
      flex-shrink: 0;
    }
    .card-tag {
      position: absolute;
      top: 14px; left: 14px;
      background: var(--red);
      color: white;
      font-size: 10px; font-weight: 800;
      letter-spacing: 0.16em; text-transform: uppercase;
      padding: 5px 12px;
      border-radius: 2px;
    }
    .card-tag.green-tag { background: var(--green); }

    .card-body-ds {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .card-location {
      font-size: 11px; font-weight: 600;
      letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--mid);
      margin-bottom: 6px;
      display: flex; align-items: center; gap: 5px;
    }
    .card-location i { color: var(--green); }
    .card-title {
      font-family: var(--font-display);
      font-size: 1.4rem; font-weight: 600;
      color: var(--black);
      margin-bottom: 12px;
      line-height: 1.15;
    }
    .card-specs {
      display: flex; gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 14px;
    }
    .card-spec {
      font-size: 12px; color: var(--mid);
      display: flex; align-items: center; gap: 5px;
    }
    .card-spec i { color: var(--green); }
    .card-divider {
      height: 1px; background: #EEEEEE;
      margin: 14px 0;
    }
    .card-price {
      font-family: var(--font-display);
      font-size: 1.4rem; font-weight: 700;
      color: var(--green);
      margin-bottom: 16px;
    }
    .card-price-orig {
      font-size: 13px; color: var(--mid);
      text-decoration: line-through;
      margin-left: 8px;
      font-family: var(--font-body);
      font-weight: 400;
    }
    /* mt-auto pushes button to bottom */
    .card-cta { margin-top: auto; }

    /* ============================================
       WHY DEALSTAR STRIP
    ============================================ */
    .usp-strip { background: var(--cream); border-top: 1px solid #E8E5DE; border-bottom: 1px solid #E8E5DE; }
    .usp-item { padding: 48px 24px; text-align: center; }
    .usp-icon {
      width: 56px; height: 56px;
      background: var(--green);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: white; font-size: 22px;
      margin: 0 auto 16px;
    }
    .usp-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--black); margin-bottom: 8px; }
    .usp-body  { font-size: 16px; color: var(--mid); line-height: 1.7; max-width: 200px; margin: 0 auto; }

    /* ============================================
       CONTACT / HUBSPOT SECTION
    ============================================ */
    .contact-section { background: var(--dark); }

    .contact-info-block { padding-right: 48px; }
    @media(max-width:991px) { .contact-info-block { padding-right: 0; margin-bottom: 40px; } }

    .contact-detail {
      display: flex; align-items: center; gap: 14px;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255,255,255,.07);
    }
    .contact-icon {
      width: 40px; height: 40px;
      background: rgba(0,122,61,.20);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: var(--green); font-size: 16px;
      flex-shrink: 0;
    }
    .contact-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.35); }
    .contact-value { font-size: 14px; color: rgba(255,255,255,.80); margin-top: 2px; }

    /* HubSpot form container */
    .hs-form-wrap {
      background: #222;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: var(--radius-lg);
      padding: 40px;
    }
    @media(max-width:767px) { .hs-form-wrap { padding: 28px 20px; } }
    .hs-form-title {
      font-family: var(--font-display);
      font-size: 1.5rem; font-weight: 700;
      color: var(--white);
      margin-bottom: 6px;
    }
    .hs-form-sub { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 28px; }

    /* ============================================
       FOOTER
    ============================================ */
    footer {
      background: var(--black);
      color: rgba(255,255,255,.55);
    }
    .footer-top { padding: 64px 0 40px; }
    .footer-brand img { height: 36px; margin-bottom: 16px; }
    .footer-tagline { font-size: 13px; line-height: 1.7; max-width: 240px; margin-bottom: 24px; }
    .footer-social { display: flex; gap: 10px; }
    .social-link {
      width: 36px; height: 36px;
      background: rgba(255,255,255,.07);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,.55); font-size: 15px;
      transition: all var(--transition);
    }
    .social-link:hover { background: var(--green); color: white; }

    .footer-heading {
      font-size: 10px; font-weight: 700;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: rgba(255,255,255,.30);
      margin-bottom: 16px;
    }
    .footer-links { list-style: none; padding: 0; margin: 0; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a { font-size: 13px; color: rgba(255,255,255,.55); transition: color var(--transition); }
    .footer-links a:hover { color: var(--green); }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.06);
      padding: 20px 0;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px;
    }
    .footer-copy { font-size: 12px; color: rgba(255,255,255,.28); margin: 0; }
    .footer-legal { display: flex; gap: 20px; }
    .footer-legal a { font-size: 12px; color: rgba(255,255,255,.28); transition: color var(--transition); }
    .footer-legal a:hover { color: rgba(255,255,255,.70); }

    /* UAE flag bottom border */
    footer::after {
      content: '';
      display: block;
      height: 4px;
      background: linear-gradient(to right, var(--red) 0% 25%, var(--white) 25% 50%, var(--green) 50% 75%, var(--black) 75% 100%);
    }

    /* ============================================
       SCROLL REVEAL
    ============================================ */
    [data-reveal] {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    [data-reveal].revealed {
      opacity: 1;
      transform: translateY(0);
    }
    [data-reveal-delay="1"] { transition-delay: 0.1s; }
    [data-reveal-delay="2"] { transition-delay: 0.2s; }
    [data-reveal-delay="3"] { transition-delay: 0.3s; }
    [data-reveal-delay="4"] { transition-delay: 0.4s; }

    @media (prefers-reduced-motion: reduce) {
      [data-reveal] { opacity: 1; transform: none; transition: none; }
    }

    /* ============================================
       MOBILE — comprehensive responsive fixes
    ============================================ */
    @media(max-width:767px) {
      /* Hero — at least 40vh taller than navbar on mobile */
      #hero { min-height: calc(100svh + 40px); height: 100svh; }
      .hero-slide { background-attachment: scroll; }
      .hero-headline { font-size: clamp(1.9rem, 8vw, 3rem); }
      .hero-sub { font-size: 14px; }
      .hero-actions { flex-direction: column; gap: 10px; }
      .btn-primary-ds,
      .btn-outline-ds { width: 100%; justify-content: center; box-sizing: border-box; }
      .hero-dots { left: 20px; bottom: 32px; }
      /* Stat bar: 2 cols */
      .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 16px 8px; }
      .stat-item:last-child { border-bottom: none; }
      /* About */
      .about-img-wrap::before { display: none; }
      .about-badge { left: 12px; bottom: 12px; padding: 14px 18px; }
      .about-badge-num { font-size: 1.8rem; }
      /* Deal of week */
      .dotw-body { padding: 28px 20px; }
      .dotw-title { font-size: 1.7rem; }
      .dotw-price { font-size: 1.3rem; }
      .timer-grid { gap: 6px; }
      .timer-box { padding: 10px 6px; }
      .timer-num { font-size: 1.4rem; }
      /* Cards */
      .card-img { height: 200px; }
      /* USP */
      .usp-item { padding: 32px 12px; }
      .usp-body { font-size: 14px; max-width: 100%; }
      /* Contact */
      .contact-info-block { padding-right: 0; margin-bottom: 32px; }
      .hs-form-wrap { padding: 24px 16px; }
      /* Footer */
      .footer-top { padding: 48px 0 24px; }
      .footer-tagline { max-width: 100%; }
      .footer-bottom { flex-direction: column; gap: 8px; }
      /* Sections */
      .section-pad { padding: 60px 0; }
      .section-pad-sm { padding: 40px 0; }
      .section-body { font-size: 16px; }
      .section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
    }

    /* ============================================
       HUBSPOT FORM OVERRIDES
       Styles the injected HubSpot form to match
       the DealStar dark design system
    ============================================ */
    .hs-form-frame,
    .hs-form-frame iframe {
      width: 100% !important;
      border: none !important;
    }
    /* Allow HubSpot iframe to size naturally */
    .hs-form-frame iframe {
      min-height: 500px;
    }

    /* ============================================
       CONTACT PAGE — classes used in contact.html
    ============================================ */
    .page-header {
      margin-top: 72px;
      background: var(--dark);
      padding: 80px 0 60px;
      position: relative;
      overflow: hidden;
    }
    .page-header::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(to right, var(--red) 0% 25%, var(--white) 25% 50%, var(--green) 50% 75%, var(--black) 75% 100%);
    }
    .page-header-label {
      font-size: 11px; font-weight: 700;
      letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 14px; display: block;
    }
    .page-header-title {
      font-family: var(--font-display);
      font-size: clamp(2.2rem, 5vw, 3.6rem);
      font-weight: 700; color: white;
      line-height: 1.1; margin-bottom: 14px;
    }
    .page-header-title em { font-style: normal; color: var(--gold); }
    .page-header-sub {
      font-size: 17px; color: rgba(255,255,255,.55);
      max-width: 480px; line-height: 1.75;
    }
    .contact-main { padding: 80px 0; background: var(--cream); }
    .contact-card {
      background: white; border-radius: var(--radius-lg);
      padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,.08);
      margin-bottom: 20px;
    }
    .contact-method {
      display: flex; gap: 18px; align-items: flex-start;
      padding: 20px 0; border-bottom: 1px solid #F0F0F0;
    }
    .contact-method:last-child { border-bottom: none; }
    .cm-icon {
      width: 52px; height: 52px; flex-shrink: 0;
      background: var(--green-light); border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      color: var(--green); font-size: 22px;
    }
    .cm-label {
      font-size: 10px; font-weight: 700;
      letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--mid); margin-bottom: 5px;
    }
    .cm-value { font-size: 16px; font-weight: 600; color: var(--black); }
    .cm-note  { font-size: 13px; color: var(--mid); margin-top: 3px; }
    .btn-whatsapp {
      display: inline-flex; align-items: center; gap: 10px;
      background: #25D366; color: white !important;
      font-size: 13px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.08em;
      padding: 14px 28px; border-radius: var(--radius);
      transition: all var(--transition);
      width: 100%; justify-content: center;
    }
    .btn-whatsapp:hover { background: #1EBD5A; transform: translateY(-1px); }
    .map-wrap {
      background: #E8E5DE; border-radius: var(--radius-lg);
      overflow: hidden; height: 280px;
      display: flex; align-items: center; justify-content: center;
      color: var(--mid); font-size: 14px;
      flex-direction: column; gap: 8px;
    }
    .map-wrap i { font-size: 36px; color: var(--green); }
    .hs-section {
      background: #222;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: var(--radius-lg);
      padding: 40px;
    }
    .hs-section-title {
      font-family: var(--font-display);
      font-size: 1.8rem; font-weight: 700;
      color: var(--white); margin-bottom: 6px;
    }
    .hs-section-sub {
      font-size: 14px; color: rgba(255,255,255,.45);
      margin-bottom: 28px;
    }
    @media(max-width:767px) {
      .contact-card { padding: 24px 20px; }
      .hs-section { padding: 28px 20px; }
      .contact-main { padding: 48px 0; }
      .page-header { padding: 60px 0 40px; }
    }

    /* ============================================
       PROJECT PAGE — classes used in project.html
    ============================================ */
    .project-hero {
      margin-top: 72px;
      height: 70vh; min-height: 520px;
      background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1800&q=80');
      background-size: cover; background-position: center;
      position: relative; display: flex;
      align-items: flex-end; padding-bottom: 64px;
    }
    .project-hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
    }
    .project-hero-content { position: relative; z-index: 2; }
    .ph-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--red); color: white;
      font-size: 10px; font-weight: 800;
      letter-spacing: 0.18em; text-transform: uppercase;
      padding: 6px 14px; border-radius: 2px; margin-bottom: 16px;
    }
    .ph-title {
      font-family: var(--font-display);
      font-size: clamp(2.2rem, 5vw, 4rem);
      font-weight: 700; color: white;
      line-height: 1.1; margin-bottom: 10px;
    }
    .ph-title em { font-style: normal; color: var(--gold); }
    .ph-meta {
      display: flex; flex-wrap: wrap; gap: 20px;
      font-size: 14px; color: rgba(255,255,255,.75);
    }
    .ph-meta-item { display: flex; align-items: center; gap: 7px; }
    .ph-meta-item i { color: var(--gold); }
    .btn-back {
      display: inline-flex; align-items: center; gap: 7px;
      font-size: 13px; font-weight: 600;
      color: rgba(255,255,255,.60);
      transition: color var(--transition);
    }
    .btn-back:hover { color: white; }
    .key-facts { background: var(--dark); }
    .fact-item {
      padding: 28px 16px; text-align: center;
      border-right: 1px solid rgba(255,255,255,.06);
    }
    .fact-item:last-child { border-right: none; }
    .fact-val {
      font-family: var(--font-display);
      font-size: 1.6rem; font-weight: 700; color: var(--gold);
    }
    .fact-label {
      font-size: 11px; font-weight: 600;
      text-transform: uppercase; color: rgba(255,255,255,.40);
      margin-top: 4px;
    }
    /* Gallery */
    .gallery-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      grid-template-rows: 240px 240px;
      gap: 8px; border-radius: var(--radius-lg); overflow: hidden;
    }
    .gallery-main { grid-row: 1 / 3; overflow: hidden; }
    .gallery-thumb { overflow: hidden; }
    .gallery-img {
      width: 100%; height: 100%;
      object-fit: cover; display: block;
      transition: transform var(--transition);
    }
    .gallery-img:hover { transform: scale(1.04); }
    @media(max-width:767px) {
      .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
      }
      .gallery-main { grid-row: auto; }
      .gallery-img { height: 180px; }
    }
    /* Video */
    .video-section { background: var(--dark); }
    .video-wrap {
      position: relative; border-radius: var(--radius-lg);
      overflow: hidden; background: #000;
    }
    .video-thumb {
      width: 100%; aspect-ratio: 16/9;
      object-fit: cover; display: block; opacity: 0.7;
    }
    .video-play-btn {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
    }
    .play-circle {
      width: 80px; height: 80px;
      background: rgba(255,255,255,.92); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 28px; color: var(--green);
      transition: all var(--transition);
      box-shadow: 0 8px 32px rgba(0,0,0,.4);
    }
    .play-circle:hover { transform: scale(1.08); background: white; }
    /* Highlights */
    .highlight-grid {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    }
    .highlight-item {
      background: white; border-radius: var(--radius-lg);
      padding: 24px; display: flex; gap: 16px; align-items: flex-start;
      box-shadow: var(--shadow);
    }
    .hl-icon {
      width: 48px; height: 48px; flex-shrink: 0;
      background: var(--green-light); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      color: var(--green); font-size: 20px;
    }
    .hl-title { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
    .hl-body  { font-size: 13px; color: var(--mid); line-height: 1.6; }
    /* Floor plans */
    .plan-tab-nav {
      display: flex; gap: 8px; margin-bottom: 32px;
      border-bottom: 2px solid #EEEEEE;
    }
    .plan-tab {
      font-size: 13px; font-weight: 600; color: var(--mid);
      padding: 12px 20px; border: none; background: none;
      cursor: pointer; border-bottom: 3px solid transparent;
      margin-bottom: -2px; transition: all var(--transition);
    }
    .plan-tab.active { color: var(--green); border-bottom-color: var(--green); }
    .plan-img {
      background: var(--cream); border-radius: var(--radius-lg);
      padding: 40px; text-align: center; min-height: 420px;
      display: flex; align-items: center; justify-content: center;
    }
    .plan-placeholder { color: var(--mid); font-size: 14px; text-align: center; }
    .plan-placeholder i { font-size: 48px; color: var(--silver); display: block; margin-bottom: 12px; }
    /* CTA section */
    .project-cta-section { background: var(--dark); }
    @media(max-width:767px) {
      .project-hero { height: 60vh; padding-bottom: 40px; }
      .fact-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
      .fact-item:last-child { border-bottom: none; }
      .highlight-grid { grid-template-columns: 1fr; }
      .ph-meta { gap: 12px; font-size: 13px; }
    }
