/* Global UA — layout, hero, footer */
  :root {
    --shell: min(1180px, calc(100% - 40px));
    --ink: #202228;
    --muted: #5f646d;
    --line: #e6e2dc;
    --paper: #f4f2ee;
    --red: #d92735;
    --red-dark: #a71926;
    --radius: 20px;
    --control-border: #8a8782;
    --gua-bg: #faf9f7;
    --gua-surface: #fff;
    --gua-border: var(--line);
    --gua-red: var(--red);
    --gua-red-hover: var(--red-dark);
    --gua-red-active: #86131e;
    --gua-green: #247a52;
    --gua-amber: #8a5500;
    --gua-blue: #2866b1;
    --gua-error: #b42318;
    --gua-text: var(--ink);
    --gua-text-soft: var(--muted);
    --gua-surface-soft: var(--paper);
    --gua-surface-red: #fff0f1;
    --gua-shadow-sm: 0 8px 24px rgba(21, 23, 26, .06);
    --gua-shadow-md: 0 16px 42px rgba(21, 23, 26, .1);
    --gua-radius-lg: var(--radius);
  }

  * { box-sizing: border-box }
  html { scroll-behavior: smooth }

  body.globalua {
    margin: 0; color: var(--ink); background: #fff; font-family: Arial, "Helvetica Neue", sans-serif; line-height: 1.55;
    a { color: inherit }
  }

  body.globalua :focus-visible {
    outline: 3px solid rgba(217, 39, 53, .45);
    outline-offset: 3px;
  }

  body.globalua :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    border-color: var(--control-border);
  }

  .shell { width: var(--shell); margin-inline: auto }

  .skip-link {
    position: fixed; left: 16px; top: -60px; z-index: 9999; background: #fff; padding: 12px 18px;
    &:focus { top: 16px }
  }

  .utility-bar {
    background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .04em;
    .utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between }
    .utility-links { display: flex; gap: 18px; a { text-decoration: none } }
  }

  .site-header {
    position: relative; z-index: 50; background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
  }
  .header-main { height: 88px; display: flex; align-items: center; gap: 35px }

  .brand {
    display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto;
    img { width: 120px; height: auto }
    span { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 14px }
    strong { font-size: 13px; letter-spacing: .16em }
    small { font-size: 11px; color: var(--muted) }
  }

  .site-navigation {
    display: flex; align-items: center; gap: 28px;
    a, .nav > li > a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 700; padding: 12px 0; background: none }
    ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0 }
  }

  .menu-toggle { display: none; border: 0; background: transparent; cursor: pointer }

  .hero {
    position: relative; background: #292b2f; color: #fff;
    overflow: hidden; display: flex; align-items: center;
    min-height: 460px;
  }
  .hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease;
  }
  .hero-slide.is-active { opacity: 1 }
  .hero-shade {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(12, 13, 15, .92) 0%, rgba(12, 13, 15, .62) 48%, rgba(12, 13, 15, .15) 100%),
                linear-gradient(0deg, rgba(12, 13, 15, .55), transparent 50%);
  }
  .hero-content { position: relative; padding: 90px 0 150px }

  .eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 800; color: var(--red); margin: 0 0 16px }

  .hero {
    .eyebrow { color: #ff7d85 }
    h1 { font-size: clamp(48px, 7.2vw, 92px); line-height: .96; letter-spacing: -.055em; margin: 0; max-width: 830px }
  }
  .hero-lead { font-size: 19px; max-width: 590px; color: rgba(255, 255, 255, .82); margin: 28px 0 34px }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap }

  .button {
    display: inline-flex; min-height: 52px; align-items: center; justify-content: center;
    padding: 0 24px; border-radius: 999px; text-decoration: none;
    font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .03em; cursor: pointer;
  }
  .button-primary { border: 1px solid var(--red); background: var(--red); color: #fff; &:hover { border-color: var(--red-dark); background: var(--red-dark) } }
  .button-ghost { border: 1px solid rgba(255, 255, 255, .55); background: transparent; color: #fff }
  .button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12) }
  .button:active { transform: translateY(1px) }

  .hero-meta {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, .96); color: var(--ink);
    border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
    div { padding: 24px 30px; border-right: 1px solid var(--line) }
    div:last-child { border: 0 }
    span, strong { display: block }
    span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em }
    strong { font-size: 15px; margin-top: 4px }
  }

  .quick-links {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 76px 0;
  }
  .quick-card {
    position: relative; min-height: 300px; padding: 30px; border-radius: var(--radius);
    overflow: hidden; text-decoration: none; color: #fff;
    isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; background: #202226;
    &::before {
      content: ""; position: absolute; inset: 0;
      z-index: 1; background: linear-gradient(0deg, rgba(9, 10, 12, .94) 0%, rgba(9, 10, 12, .78) 40%, rgba(9, 10, 12, .16) 78%); transition: background .25s;
    }
    &::after {
      content: ""; position: absolute; inset: 0;
      background-position: center 30%; background-size: cover; z-index: 0; transition: transform .4s;
    }
    &:hover::after, &:focus-visible::after { transform: scale(1.05) }
    &:active::after { transform: scale(1.02) }
    > * { position: relative; z-index: 2 }
    h2 { font-size: 34px; margin: 0; color: #fff }
    p { max-width: 280px; margin: 7px 0 17px; color: #fff }
    b { font-size: 13px }
  }

  body.globalua .quick-card,
  body.globalua .quick-card h2,
  body.globalua .quick-card p,
  body.globalua .quick-card b { color: #fff }
  .quick-card:hover, .quick-card:focus-visible { transform: translateY(-3px); box-shadow: var(--gua-shadow-md) }
  .quick-card:active { transform: translateY(0) }

  .quick-number { position: absolute; top: -170px; font-size: 12px; letter-spacing: .15em }

  .quick-shopping::after { background-image: url("/images/home-cards/shopping.webp") }
  .quick-food::after { background-image: url("/images/home-cards/food.webp") }
  .quick-fun::after { background-image: url("/images/home-cards/fun.webp") }

  .today { padding: 30px 0 90px }

  .section-heading {
    display: flex; align-items: end; justify-content: space-between;
    border-bottom: 1px solid var(--line); padding-bottom: 25px; margin-bottom: 30px;
    h2, .visit-inner h2 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.045em; line-height: 1; margin: 0 }
    > a { display: inline-flex; min-height: 40px; align-items: center; padding-inline: 6px; text-decoration: none; font-size: 13px; font-weight: 800 }
  }

  .content-frame { min-width: 0 }

  .is-home .content-frame {
    .page-header { display: none }
    .gallery-wrap { width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--paper) }
    .gallery { width: 100% !important }
    .gallery ul { display: flex !important; left: auto !important; width: auto !important; transform: none !important }
    .gallery li { min-width: 100%; width: 100% }
    .gallery img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover }
    .prev, .next { display: none }
  }

  .home-modules, .home-grid { padding: 20px 0 70px }

  .visit-strip { background: var(--red); color: #fff; padding: 70px 0 }
  .visit-inner {
    display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 45px;
    .eyebrow { color: #fff }
    p { margin: 0; color: rgba(255, 255, 255, .8) }
  }

  body.globalua .button-light { border: 1px solid #fff; background: #fff; color: var(--red-dark) }
  body.globalua .button-light:hover { border-color: var(--ink); background: var(--paper); color: var(--red-dark) }
  .button-light:active { background: #e8e4de }

  .inner-main { padding: 50px 0 90px }
  .inner-layout {
    display: grid; gap: 45px;
    &.has-sidebar { grid-template-columns: minmax(0, 1fr) 300px }
    &.no-sidebar { grid-template-columns: minmax(0, 1fr) }
  }

  .site-footer {
    background: var(--ink); color: #fff; padding: 70px 0 22px;
    .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px }
    .footer-grid.has-footer-modules { grid-template-columns: 1.5fr 1fr 1fr 1fr }
    .footer-brand strong { font-size: 25px; letter-spacing: .16em }
    h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; color: #aaa }
    a, p { display: block; color: #b8bbc1; text-decoration: none; font-size: 14px; margin: 8px 0 }
    a { width: fit-content; min-height: 32px; padding-block: 5px }
    .footer-bottom {
      display: flex; justify-content: space-between;
      border-top: 1px solid #555960; margin-top: 55px; padding-top: 20px; color: #b8bbc1; font-size: 12px;
      a { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; color: #fff }
    }
  }

  .menu-toggle {
    b { position: absolute; width: 1px; height: 1px; overflow: hidden }
  }

  .alert { padding: 15px 18px; border-radius: 10px; background: var(--paper); margin-bottom: 20px }

  /* ===== Responsive ===== */
  @media (max-width: 900px) {
    .menu-toggle {
      display: flex; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px;
      span { display: block; width: 25px; height: 2px; background: var(--ink) }
    }
    .site-navigation {
      display: none; position: absolute; top: 88px; left: 0; right: 0;
      background: #fff; padding: 22px 20px;
      box-shadow: 0 15px 25px rgba(0, 0, 0, .12);
      flex-direction: column; align-items: flex-start;
      &.is-open { display: flex }
      ul { flex-direction: column; gap: 8px }
    }
    .hero-meta { grid-template-columns: 1fr 1fr; div:last-child { display: none } }
    .quick-links { grid-template-columns: 1fr 1fr; .quick-card:last-child { grid-column: 1 / -1 } }
    .visit-inner { grid-template-columns: 1fr }
    .site-footer .footer-grid, .site-footer .footer-grid.has-footer-modules { grid-template-columns: 1fr 1fr }
    .inner-layout { grid-template-columns: 1fr }
  }

  @media (max-width: 620px) {
    :root { --shell: min(100% - 28px, 1180px) }
    .utility-place { font-size: 10px }
    .utility-links { display: none }
    .header-main { height: 74px }
    .brand {
      span { display: none }
    }
    .site-navigation { top: 74px }
    .hero, .is-home .hero { height: auto; min-height: 560px }
    .hero-content, .is-home .hero-content { padding: 42px 0 135px }
    .hero h1 { max-width: 100%; font-size: clamp(38px, 12vw, 48px); overflow-wrap: anywhere }
    .hero-lead { margin: 18px 0 20px; font-size: 16px }
    .hero-actions { gap: 9px }
    .hero-actions .button { min-height: 46px; padding-inline: 17px }
    .hero-meta {
      grid-template-columns: 1fr; bottom: 0;
      div { padding: 15px 20px; border-right: 0; border-bottom: 1px solid var(--line) }
    }
    .quick-links { grid-template-columns: 1fr; padding: 45px 0; .quick-card:last-child { grid-column: auto } }
    .section-heading { align-items: flex-start; gap: 15px; flex-direction: column }
    .site-footer .footer-grid, .site-footer .footer-grid.has-footer-modules { grid-template-columns: 1fr }
    .footer-bottom { gap: 20px }
    .is-home .content-frame .gallery img { min-height: 220px }
    .site-footer { padding-top: 50px }
  }

  @media (max-width: 360px) {
    .hero, .is-home .hero { min-height: 580px }
    .hero-content, .is-home .hero-content { padding-top: 34px }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto }
    *, *::before, *::after {
      scroll-behavior: auto !important;
      transition-duration: .01ms !important;
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
    }
  }
