  :root {
    --navy: #0b3d91;
    --ink: #1d2433;
    --muted: #5b6577;
    --bg: #f5f7fb;
    --card: #ffffff;
    --accent: #e8a317;
    --gap: 20px;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
  }

  .tiles {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 20px 64px;
  }
  .section-title {
    margin: 0;
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
  }
  .rule {
    width: 80px;
    height: 4px;
    margin: 14px auto 36px;
    background: var(--accent);
    border-radius: 2px;
  }

  /* Carousel */
  .carousel { position: relative; padding: 0 28px; }

  .tile-grid {
    display: flex;
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 2px 18px;
  }
  .tile-grid::-webkit-scrollbar { display: none; }

  .tile {
    flex: 0 0 calc((100% - 3 * var(--gap)) / 4);
    scroll-snap-align: start;
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 10px rgba(11, 61, 145, .10);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
  }
  .tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(11, 61, 145, .18);
  }
  .tile img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #dfe5f1;
  }
  .tile h3 {
    margin: 16px 12px 8px;
    font-size: 1.1rem;
    color: var(--ink);
  }
  .view {
    display: inline-block;
    margin: 0 0 18px;
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--navy);
    color: #fff;
    font-size: .9rem;
    transition: background .2s;
  }
  .tile:hover .view { background: var(--accent); color: #1d2433; }

  /* Arrows */
  .car-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    transition: opacity .2s, background .2s;
  }
  .car-btn:hover { background: #082c6a; }
  .car-btn:focus-visible, .dot:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
  }
  .car-btn:disabled { opacity: .35; cursor: default; }
  .car-btn.prev { left: 0; }
  .car-btn.next { right: 0; }

  /* Dots */
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
  .dot {
    width: 10px; height: 10px;
    border: 0; padding: 0;
    border-radius: 50%;
    background: #b9c3d9;
    cursor: pointer;
    transition: background .2s, width .2s;
  }
  .dot.active { background: var(--navy); width: 26px; border-radius: 6px; }

  @media (max-width: 1100px) {
    .tile { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
  }
  @media (max-width: 900px) {
    .tile { flex-basis: calc((100% - var(--gap)) / 2); }
  }
  @media (max-width: 560px) {
    .tile { flex-basis: 100%; }
    .carousel { padding: 0 22px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .tile-grid { scroll-behavior: auto; }
    .tile, .view, .dot { transition: none; }
  }
