:root {
      --bg: #fafaf6;
      --surface: #ffffff;
      --ink: #1f1f1f;
      --muted: #6b7280;
      --line: #e5e2d8;
      --brand: #b8460e;
      --brand-dim: #f2d5c1;
      --green: #14532d;
      --orange: #b8460e;
      --blue: #1e40af;
      --radius: 14px;
      --maxw: 1280px;
      --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; }
    body {
      font-family: -apple-system, system-ui, "Segoe UI", "Inter", sans-serif;
      background: var(--bg); color: var(--ink); line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }
    a { color: var(--brand); text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* HEADER */
    header.site {
      background: var(--surface);
      border-bottom: 1px solid var(--line);
      position: sticky; top: 0; z-index: 20;
    }
    .header-inner {
      max-width: var(--maxw); margin: 0 auto;
      display: flex; align-items: center; gap: 28px;
      padding: 14px 24px;
    }
    .logo {
      font-weight: 800; font-size: 18px; letter-spacing: -.01em;
      color: var(--ink); display: flex; align-items: center; gap: 8px;
    }
    .logo-mark {
      width: 28px; height: 28px; border-radius: 8px;
      background: linear-gradient(135deg, var(--brand) 0%, #f5a25d 100%);
      display: inline-flex; align-items: center; justify-content: center;
      color: white; font-size: 14px;
    }
    .logo-dot { color: var(--brand); }
    nav.primary { display: flex; gap: 22px; }
    nav.primary a { color: var(--ink); font-size: 14px; font-weight: 500; }
    .search {
      margin-left: auto; flex: 1; max-width: 360px;
      display: flex; align-items: center; gap: 8px;
      background: #f1efe8; border: 1px solid var(--line);
      border-radius: 12px; padding: 8px 12px;
    }
    .search input { border: 0; background: transparent; outline: none;
      flex: 1; font-size: 14px; color: var(--ink); }
    .search-icon { color: var(--muted); }
    .burger { display: none; background: none; border: 0; font-size: 22px; }

    /* BREADCRUMBS */
    .breadcrumbs {
      max-width: var(--maxw); margin: 16px auto 0;
      padding: 0 24px;
      font-size: 13px; color: var(--muted);
    }
    .breadcrumbs a { color: var(--muted); }
    .breadcrumbs a:hover { color: var(--brand); }

    /* HERO */
    .hero {
      max-width: var(--maxw); margin: 16px auto 0;
      padding: 0 24px;
      display: grid; gap: 26px;
      grid-template-columns: 1fr 1fr;
      align-items: start;
    }
    .hero-text h1 {
      font-size: 42px; line-height: 1.1; margin: 0 0 12px;
      letter-spacing: -.02em;
    }
    .hero-text .lead { font-size: 17px; color: #444; max-width: 540px; margin: 0 0 16px; }
    .hero-stats {
      display: flex; gap: 26px; margin: 18px 0 22px;
      padding: 14px 16px; background: var(--surface);
      border: 1px solid var(--line); border-radius: var(--radius);
    }
    .hero-stats div { font-size: 13px; }
    .hero-stats b { display: block; font-size: 18px; }
    .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 11px 18px; border-radius: 10px;
      font-weight: 600; font-size: 14px;
      border: 0; cursor: pointer; text-decoration: none;
      transition: transform .08s;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary { background: var(--brand); color: white; }
    .btn-primary:hover { text-decoration: none; }
    .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
    .btn-ghost:hover { text-decoration: none; }
    .hero-img {
      border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
      border: 1px solid var(--line); background: #f4f1ea;
    }
    .hero-img img { width: 100%; height: auto; display: block; }

    /* SECTION HEADING */
    section.maps-section {
      max-width: var(--maxw); margin: 60px auto 0;
      padding: 0 24px;
    }
    .section-head {
      display: flex; justify-content: space-between; align-items: end;
      margin-bottom: 22px; gap: 24px; flex-wrap: wrap;
    }
    .section-head h2 { font-size: 28px; margin: 0; letter-spacing: -.01em; }
    .section-head p { color: var(--muted); margin: 6px 0 0; max-width: 600px; }

    /* MAP GRID */
    .map-grid {
      display: grid; gap: 24px;
      grid-template-columns: repeat(2, 1fr);
    }
    .map-card {
      background: var(--surface); border: 1px solid var(--line);
      border-radius: var(--radius); overflow: hidden;
      display: flex; flex-direction: column;
    }
    .map-card .thumb {
      background: #f4f1ea;
      overflow: hidden; position: relative;
      aspect-ratio: 1;        /* maps are roughly square — fill the card */
    }
    .map-card .thumb img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center;
      display: block;
      cursor: zoom-in;
    }
    .map-card .thumb::before {
      content: "🔍 Click map to view full size";
      position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
      background: rgba(0,0,0,.78); color: #fff;
      font-size: 12px; font-weight: 600;
      padding: 6px 12px; border-radius: 999px;
      opacity: 0; transition: opacity .15s;
      pointer-events: none; z-index: 3;
    }
    .map-card .thumb:hover::before { opacity: 1; }
    .map-card .badge {
      position: absolute; top: 12px; left: 12px;
      padding: 4px 10px; border-radius: 999px;
      font-size: 11px; font-weight: 700; letter-spacing: .03em;
      backdrop-filter: blur(8px);
    }
    .badge.free { background: rgba(20,83,45,.92); color: #d1fae5; }
    .badge.paid { background: rgba(184,70,14,.92); color: #ffedd5; }

    /* Diagonal PREVIEW watermark — paid cards only */
    .map-card.is-paid .thumb::after {
      content: "PREVIEW · mapsget.com";
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      transform: rotate(-22deg);
      color: rgba(0,0,0,.18);
      font-weight: 900; font-size: 22px;
      letter-spacing: .15em;
      pointer-events: none;
      text-shadow: 0 0 2px rgba(255,255,255,.5);
    }

    .map-card .body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
    .map-card h3 { font-size: 17px; margin: 0 0 4px; }
    .map-card .desc { font-size: 13px; color: var(--muted); margin: 0 0 12px; flex: 1; }

    /* metadata strip per card */
    .meta-strip {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 4px 12px; font-size: 11.5px; color: var(--muted);
      padding: 10px 12px; background: #f7f4eb; border-radius: 8px;
      margin-bottom: 12px;
    }
    .meta-strip b { color: var(--ink); font-weight: 600; }

    .price-row { display: flex; align-items: center; gap: 8px; margin-top: auto; flex-wrap: wrap; }
    .price { font-weight: 700; font-size: 18px; }
    .price.free { color: var(--green); }
    .actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-wrap: wrap; }
    .btn-sm { padding: 8px 14px; font-size: 13px; }
    /* "View full size" button — neutral but visible */
    .btn-view {
      background: #2a2a2c; color: #fff;
      padding: 8px 14px; font-size: 13px; font-weight: 600;
      border-radius: 10px; border: 0; cursor: pointer; text-decoration: none;
      display: inline-flex; align-items: center; gap: 6px;
    }
    .btn-view:hover { background: #111; color: #fff; text-decoration: none; }

    /* FAQ */
    section.faq { max-width: var(--maxw); margin: 80px auto 0; padding: 0 24px; }
    .faq-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
    .faq-item {
      background: var(--surface); border: 1px solid var(--line);
      border-radius: var(--radius); padding: 18px 20px;
    }
    .faq-item h4 { font-size: 15px; margin: 0 0 6px; }
    .faq-item p { font-size: 14px; color: var(--muted); margin: 0; }

    /* FOOTER */
    footer.site {
      margin-top: 80px; background: #111114; color: #c9cdd4;
      padding: 50px 24px 30px;
    }
    .footer-inner {
      max-width: var(--maxw); margin: 0 auto;
      display: grid; gap: 40px;
      grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    footer h5 {
      font-size: 13px; color: #f0f0f0; text-transform: uppercase;
      letter-spacing: .08em; margin: 0 0 14px;
    }
    footer ul { list-style: none; padding: 0; margin: 0; }
    footer li { margin-bottom: 10px; font-size: 14px; }
    footer a { color: #c9cdd4; }
    footer a:hover { color: #ffffff; }
    .foot-brand p { color: #8b909a; font-size: 13px; max-width: 320px; }
    .foot-bottom {
      max-width: var(--maxw); margin: 36px auto 0;
      padding-top: 22px; border-top: 1px solid #2a2c33;
      display: flex; justify-content: space-between; align-items: center;
      gap: 16px; flex-wrap: wrap;
      font-size: 12px; color: #8b909a;
    }

    /* RESPONSIVE */
    @media (min-width: 1500px) {
      /* Big screens — 3 columns once cards stay readable */
      .map-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 980px) {
      .footer-inner { grid-template-columns: repeat(2, 1fr); }
      .hero { grid-template-columns: 1fr; }
      .hero-text h1 { font-size: 32px; }
    }
    @media (max-width: 640px) {
      nav.primary { display: none; }
      .search { display: none; }
      .burger { display: block; margin-left: auto; }
      .map-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; }
      .faq-grid { grid-template-columns: 1fr; }
      .hero-stats { flex-wrap: wrap; }
    }

    /* LIGHTBOX */
    .map-card .thumb img { cursor: zoom-in; }
    .lightbox {
      position: fixed; inset: 0;
      background: rgba(0,0,0,.92);
      display: none;
      align-items: stretch;
      z-index: 100;
    }
    .lightbox.open { display: flex; }

    .lb-stage {
      flex: 1; min-width: 0;
      display: flex; align-items: center; justify-content: center;
      padding: 24px; position: relative;
      overflow: auto;  /* allow scrolling in zoom mode */
    }
    /* FIT MODE — default: image fits the viewport */
    .lb-stage img {
      max-width: 100%; max-height: 100%;
      object-fit: contain;
      box-shadow: 0 20px 80px rgba(0,0,0,.6);
      border-radius: 4px; background: #f4f1ea;
      cursor: zoom-in;
      transition: max-width .15s, max-height .15s;
    }
    /* ZOOM MODE — image at native pixel size, panel becomes scrollable */
    .lb-stage.zoomed {
      align-items: flex-start; justify-content: flex-start;
      padding: 0;
    }
    .lb-stage.zoomed img {
      max-width: none; max-height: none;
      width: auto; height: auto;        /* native size */
      cursor: zoom-out;
    }
    /* Diagonal watermark on lightbox image too */
    .lb-stage.is-paid::after {
      content: "PREVIEW · mapsget.com · BUY FOR FULL QUALITY";
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      transform: rotate(-22deg);
      color: rgba(255,255,255,.13);
      font-weight: 900; font-size: 56px;
      letter-spacing: .2em; pointer-events: none;
      text-shadow: 0 0 4px rgba(0,0,0,.5);
    }

    /* Right-side info panel inside lightbox */
    .lb-info {
      width: 320px; flex-shrink: 0;
      background: #161618; color: #e6e6e6;
      padding: 28px 24px; overflow-y: auto;
      border-left: 1px solid #2a2c33;
    }
    .lb-info h3 { font-size: 18px; margin: 0 0 8px; color: #fff; }
    .lb-info .lb-sub { font-size: 13px; color: #9aa0a6; margin: 0 0 18px; }
    .lb-info .lb-meta {
      background: #1f2024; border-radius: 10px; padding: 14px 16px;
      font-size: 13px; line-height: 1.7;
    }
    .lb-info .lb-meta b { color: #fff; }
    .lb-info .lb-cta { margin-top: 18px; }
    .lb-info .lb-cta .btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
    .lb-info .lb-price {
      font-size: 28px; font-weight: 800; color: #fff;
      margin: 14px 0 4px;
    }
    .lb-info .lb-price.free { color: #4ade80; }
    .lb-info .lb-tip { font-size: 12px; color: #6b7280; margin-top: 14px; line-height: 1.55; }

    .lb-close {
      position: absolute; top: 14px; right: 14px;
      background: rgba(255,255,255,.15); color: #fff;
      border: 0; border-radius: 50%;
      width: 40px; height: 40px; font-size: 22px; line-height: 1;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      z-index: 2;
    }
    .lb-close:hover { background: rgba(255,255,255,.3); }

    @media (max-width: 800px) {
      .lightbox { flex-direction: column; }
      .lb-stage { padding: 12px; max-height: 60vh; }
      .lb-info { width: auto; border-left: 0; border-top: 1px solid #2a2c33; }
      .lb-stage.is-paid::after { font-size: 28px; }
    }