
    /* ── Reset & Base ────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #FAF8F3;
      --bg-alt:    #F2EDE3;
      --ink:       #2C2416;
      --ink-mid:   #6B5B3E;
      --gold:      #8A6200;
      --gold-lt:   #B8924A;
      --green:     #3D5230;
      --white:     #FFFFFF;
      --bg-dark:   #2C2416;
      --border:    #E0D5C0;
      --radius:    4px;
      --nav-h:     72px;
      --transition: 0.3s ease;
    }

    html { scroll-behavior: smooth; overflow-x: hidden; }

    body {
      overflow-x: hidden;
      font-family: 'Lato', sans-serif;
      font-weight: 300;
      background: var(--bg);
      color: var(--ink);
      line-height: 1.7;
    }

    h1, h2, h3, h4 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 400;
      line-height: 1.2;
    }

    img { display: block; max-width: 100%; }

    .icon {
      display: inline-block;
      width: 1em;
      height: 1em;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
      vertical-align: middle;
      flex-shrink: 0;
    }

    a { color: inherit; text-decoration: none; }

    .container {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    .section-label {
      font-family: 'Lato', sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
    }

    .hero-eyebrow.gold {
      color: var(--gold);
    }

    .divider {
      width: 48px;
      height: 2px;
      background: var(--gold);
      margin: 1.25rem 0 2rem;
    }

    .btn {
      display: inline-block;
      padding: 0.8rem 2rem;
      font-family: 'Lato', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      border: 1.5px solid currentColor;
      cursor: pointer;
      transition: background var(--transition), color var(--transition);
    }

    .btn-light {
      color: var(--white);
      border-color: var(--white);
    }
    .btn-light:hover {
      background: var(--white);
      color: var(--ink);
    }

    .btn-dark {
      color: var(--ink);
      border-color: var(--ink);
      background: transparent;
    }
    .btn-dark:hover {
      background: var(--ink);
      color: var(--white);
    }

    .btn-gold {
      color: var(--white);
      background: var(--gold);
      border-color: var(--gold);
    }
    .btn-gold:hover {
      background: #6B4D00;
      border-color: #6B4D00;
    }


    /* ── Navigation ──────────────────────────────────────── */
    #nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      height: var(--nav-h);
      display: flex;
      align-items: center;
      transition: background var(--transition), box-shadow var(--transition);
    }

    #nav.scrolled {
      background: var(--white);
      box-shadow: 0 1px 16px rgba(0,0,0,0.07);
    }

    #nav .container {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .nav-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      color: var(--white);
      transition: color var(--transition);
      line-height: 1.2;
    }
    .nav-logo span { display: block; font-size: 0.75rem; font-weight: 300; letter-spacing: 0.18em; opacity: 0.85; }

    #nav.scrolled .nav-logo { color: var(--ink); }

    .nav-social {
      display: flex;
      gap: 0.6rem;
      align-items: center;
      margin-left: 0.5rem;
    }
    .nav-social a {
      font-size: 1.15rem;
      color: var(--white);
      opacity: 0.65;
      transition: opacity var(--transition), color var(--transition);
      display: flex;
      align-items: center;
    }
    .nav-social a:hover { opacity: 1; }
    #nav.scrolled .nav-social a { color: var(--ink); }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 2.25rem;
      align-items: center;
    }

    .nav-links a {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.9);
      transition: color var(--transition);
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -3px;
      left: 0; right: 0;
      height: 1px;
      background: var(--gold);
      transform: scaleX(0);
      transition: transform var(--transition);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after { transform: scaleX(1); }
    .nav-links a:hover { color: var(--white); }

    #nav.scrolled .nav-links a { color: var(--ink-mid); }
    #nav.scrolled .nav-links a:hover,
    #nav.scrolled .nav-links a.active { color: var(--ink); }

    .nav-reserve {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.55rem 1.4rem;
      border: 1.5px solid rgba(255,255,255,0.7);
      color: var(--white);
      transition: background var(--transition), color var(--transition), border-color var(--transition);
    }
    .nav-reserve:hover {
      background: var(--white);
      color: var(--ink);
      border-color: var(--white);
    }
    #nav.scrolled .nav-reserve {
      border-color: var(--gold);
      color: var(--gold);
    }
    #nav.scrolled .nav-reserve:hover {
      background: var(--gold);
      color: var(--white);
    }

    .nav-hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
      background: none;
      border: none;
    }
    .nav-hamburger span {
      display: block;
      width: 24px;
      height: 1.5px;
      background: var(--white);
      transition: background var(--transition);
    }
    #nav.scrolled .nav-hamburger span { background: var(--ink); }

    /* Mobile nav drawer */
    .nav-drawer {
      display: none;
      position: fixed;
      top: var(--nav-h);
      left: 0; right: 0;
      background: var(--white);
      padding: 1.5rem 2rem 2rem;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      z-index: 99;
    }
    .nav-drawer.open { display: block; }
    .nav-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
    .nav-drawer a {
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--ink-mid);
    }
    .nav-drawer .nav-reserve {
      margin-top: 0.75rem;
      display: inline-block;
      color: var(--gold);
      border-color: var(--gold);
    }
    .nav-drawer a.active { color: var(--gold); }

    /* ── Hero ────────────────────────────────────────────── */
    #hero {
      position: relative;
      height: 100vh;
      min-height: 600px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('images/hero.webp');
      background-size: cover;
      background-position: center;
      transform: scale(1);
      transition: transform 8s ease;
    }
    #hero.loaded .hero-bg { transform: scale(1.05); }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom,
        rgba(20,15,5,0.75) 0%,
        rgba(20,15,5,0.4) 40%,
        rgba(20,15,5,0.5) 70%,
        rgba(20,15,5,0.65) 100%);
    }

    .hero-content {
      position: relative;
      z-index: 1;
      color: var(--white);
      max-width: 720px;
      padding: 2rem;
    }

    .hero-eyebrow {
      font-family: 'Lato', sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.95);
      margin-bottom: 1.25rem;
    }

    .hero-title {
      font-size: clamp(2.8rem, 7vw, 5.5rem);
      font-weight: 300;
      letter-spacing: 0.03em;
      margin-bottom: 0.5rem;
      text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }

    .hero-subtitle {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.1rem, 2.5vw, 1.5rem);
      font-weight: 300;
      font-style: italic;
      color: rgba(255,255,255,0.88);
      margin-bottom: 2.5rem;
    }

    .hero-cta {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .hero-scroll {
      position: absolute;
      bottom: 2.5rem;
      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.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      animation: bounce 2.5s ease-in-out infinite;
    }

    .hero-scroll svg {
      width: 18px;
      opacity: 0.6;
    }

    @keyframes bounce {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(8px); }
    }


    /* ── Footer ──────────────────────────────────────────── */
    footer {
      background: var(--ink);
      color: rgba(255,255,255,0.5);
      padding: 2.5rem 0;
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer-logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem;
      color: rgba(255,255,255,0.8);
    }

    footer p { font-size: 0.8rem; }

    footer nav { display: flex; gap: 1.5rem; }
    footer nav a {
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      transition: color var(--transition);
    }
    footer nav a:hover { color: var(--white); }


    /* ── Lightbox ─────────────────────────────────────────── */
    #lightbox {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.93);
      z-index: 500;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }
    #lightbox.open { display: flex; }

    #lb-img {
      max-width: min(90vw, 1300px);
      max-height: 80vh;
      object-fit: contain;
      user-select: none;
    }

    #lb-caption {
      color: rgba(255,255,255,0.5);
      font-family: 'Cormorant Garamond', serif;
      font-size: 1rem;
      font-style: italic;
      margin-top: 0.75rem;
    }

    .lb-btn {
      position: fixed;
      background: none;
      border: none;
      color: var(--white);
      cursor: pointer;
      opacity: 0.6;
      transition: opacity var(--transition);
      line-height: 1;
      font-family: sans-serif;
    }
    .lb-btn:hover { opacity: 1; }

    #lb-close { top: 1.25rem; right: 1.75rem; font-size: 2.2rem; padding: 0.5rem; }

    #lb-prev, #lb-next {
      top: 50%; transform: translateY(-50%);
      font-size: 2.4rem; padding: 0.75rem 1.1rem;
      border: 1.5px solid rgba(255,255,255,0.25);
      transition: opacity var(--transition), border-color var(--transition);
    }
    #lb-prev:hover, #lb-next:hover { border-color: rgba(255,255,255,0.65); opacity: 1; }
    #lb-prev { left: 1.25rem; }
    #lb-next { right: 1.25rem; }

    #lb-counter {
      position: fixed;
      bottom: 1.5rem;
      left: 50%; transform: translateX(-50%);
      color: rgba(255,255,255,0.45);
      font-size: 0.78rem;
      letter-spacing: 0.14em;
    }

    @media (max-width: 900px) {
      .nav-links, .nav-reserve { display: none; }
      .nav-hamburger { display: flex; }
      .nav-social { gap: 0.6rem; margin-left: auto; margin-right: 0.75rem; }
      .nav-social a { width: 28px; height: 28px; font-size: 14px; }
    }

    @media (max-width: 640px) {
      :root { --nav-h: 62px; }
      .footer-inner { flex-direction: column; text-align: center; }
      footer nav { justify-content: center; }
      #lb-prev { left: 0.5rem; padding: 0.5rem 0.75rem; }
      #lb-next { right: 0.5rem; padding: 0.5rem 0.75rem; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      #gallery:has(.gallery-item) .gallery-grid { grid-template-columns: 1fr 1fr; }
      .room-info { padding: 1.75rem 1.25rem 1.5rem; }
      .price-table { font-size: 0.8rem; white-space: nowrap; }
      .price-table th, .price-table td { padding: 0.65rem 0.5rem; }
      .policy-item { font-size: 0.88rem; }
    }

    /* ═══════════════════════════════════════════════════════════
       Consolidated page styles — moved from inline <style> blocks
       ═══════════════════════════════════════════════════════════ */

    /* ── Hero overrides per page (scoped with :has) ──────────── */
    :root:has(.space-section) #hero  { height: 65vh; min-height: 480px; }
    :root:has(#activities)    #hero  { height: 70vh; min-height: 500px; }
    :root:has(#rooms)         #hero  { height: 65vh; min-height: 480px; }

    :root:has(.space-section) .hero-bg { background-image: url('images/dworek/dworek-1.webp'); }
    :root:has(#activities)    .hero-bg { background-image: url('images/okolica/okolica-7.webp'); }
    :root:has(#timeline)      .hero-bg { background-image: url('images/historia/pilsudski-1924.webp'); }
    :root:has(#rooms)         .hero-bg { background-image: url('images/rooms/balkonowy-1.webp'); }

    :root:has(.space-section) .hero-overlay {
      background: linear-gradient(to bottom,
        rgba(20,15,5,0.35) 0%,
        rgba(20,15,5,0.48) 60%,
        rgba(20,15,5,0.65) 100%);
    }
    :root:has(#activities) .hero-overlay {
      background: linear-gradient(to bottom,
        rgba(20,15,5,0.3) 0%,
        rgba(20,15,5,0.45) 60%,
        rgba(20,15,5,0.65) 100%);
    }
    :root:has(#timeline) .hero-overlay {
      background: linear-gradient(to bottom,
        rgba(20,15,5,0.55) 0%,
        rgba(20,15,5,0.55) 60%,
        rgba(20,15,5,0.72) 100%);
      mix-blend-mode: normal;
    }
    :root:has(#rooms) .hero-overlay {
      background: linear-gradient(to bottom,
        rgba(20,15,5,0.4) 0%,
        rgba(20,15,5,0.5) 60%,
        rgba(20,15,5,0.68) 100%);
    }

    /* ── Shared: Photo count badge ───────────────────────────── */
    .photo-count {
      position: absolute;
      bottom: 1rem;
      right: 1rem;
      background: rgba(20,15,5,0.65);
      color: var(--white);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      padding: 0.35rem 0.7rem;
      backdrop-filter: blur(4px);
      pointer-events: none;
    }

    /* ── Shared: Intro section ───────────────────────────────── */
    #intro {
      padding: 5rem 0 3rem;
      text-align: center;
    }
    .intro-inner { max-width: 720px; margin: 0 auto; }
    .intro-inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 0.5rem; }
    .intro-inner .divider { margin: 1.25rem auto 2rem; }
    .intro-inner p { font-size: 1.1rem; color: var(--ink-mid); line-height: 1.85; }

    /* Historia: slightly larger intro padding */
    :root:has(#timeline) #intro { padding: 6rem 0 4rem; }

    /* ── Shared: CTA section ─────────────────────────────────── */
    #cta {
      padding: 7rem 0;
      text-align: center;
      background: var(--white);
    }
    #cta .container { max-width: 640px; }
    #cta .section-label { display: block; margin-bottom: 1rem; }
    #cta .eyebrow {
      font-family: 'Lato', sans-serif;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
    }
    #cta h2 {
      font-size: clamp(2rem, 4vw, 3.2rem);
      margin-bottom: 1rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    #cta > .container > p {
      font-size: 1.1rem;
      color: var(--ink-mid);
      max-width: 520px;
      margin: 0 auto 2.5rem;
      line-height: 1.8;
    }
    .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

    /* Historia uses var(--bg) warm background for CTA */
    :root:has(#timeline) #cta { background: var(--bg); }

    /* ── Shared: Visit info ──────────────────────────────────── */
    #visit {
      padding: 6rem 0;
      background: var(--ink);
      color: var(--white);
    }
    /* Kontakt: #visit is the first section, needs to clear the fixed nav */
    :root:has(#visit):not(:has(#hero)) #visit {
      padding-top: calc(2.5rem + var(--nav-h));
    }
    .visit-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }
    .visit-content h2 {
      font-size: clamp(1.8rem, 3.5vw, 2.7rem);
      margin-bottom: 1.5rem;
    }
    .visit-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .visit-list li {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      font-size: 0.95rem;
      line-height: 1.5;
      opacity: 0.85;
    }
    .visit-list li .vl-icon {
      font-size: 1.25rem;
      flex-shrink: 0;
      opacity: 0.75;
      display: flex;
      align-items: center;
    }
    .visit-map {
      aspect-ratio: 1;
      overflow: hidden;
      position: relative;
    }
    .visit-map iframe {
      width: 100%;
      height: 100%;
      border: none;
      filter: grayscale(30%) contrast(1.05);
      display: none;
    }
    .map-consent {
      width: 100%;
      height: 100%;
      background: var(--bg-alt);
      border: 2px dashed rgba(184, 146, 74, .3);
      border-radius: var(--radius);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: .6rem;
      cursor: pointer;
      text-align: center;
      padding: 2rem;
      transition: background var(--transition), border-color var(--transition);
    }
    .map-consent:hover { background: #ebe5d5; border-color: rgba(184, 146, 74, .6); }
    .map-consent-icon { font-size: 2.5rem; display: block; margin: 0 auto 0.75rem; }
    .map-consent-title { font-size: 1rem; font-weight: 600; color: var(--ink); margin: .2rem 0 0; }
    .map-consent-note { font-size: .75rem; line-height: 1.6; color: var(--ink-mid); max-width: 240px; }
    .map-consent-btn {
      margin-top: .5rem;
      background: var(--gold);
      color: var(--white);
      font-size: .8rem;
      font-weight: 600;
      padding: .6rem 1.6rem;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      letter-spacing: .04em;
      transition: background var(--transition);
    }
    .map-consent-btn:hover { background: #6B4D00; }

    /* ── Shared: Contact section ─────────────────────────────── */
    #contact {
      padding: 7rem 0;
      background: var(--bg);
    }
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: start;
    }
    .contact-single {
      max-width: 700px;
      margin: 0 auto;
    }
    .contact-info h2 {
      font-size: clamp(1.8rem, 3.5vw, 2.7rem);
      margin-bottom: 0.5rem;
    }
    .contact-info p {
      color: var(--ink-mid);
      margin-bottom: 2rem;
    }
    .contact-details {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }
    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
    }
    .contact-item-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--bg-alt);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      flex-shrink: 0;
    }
    .contact-item-body {
      font-size: 0.9rem;
      color: var(--ink-mid);
      line-height: 1.6;
    }
    .contact-item-body strong {
      display: block;
      font-weight: 700;
      color: var(--ink);
      font-size: 0.8rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 0.2rem;
    }
    .contact-item-body a { color: var(--gold); text-decoration: underline; }
    .contact-item-body a:hover { color: var(--ink); }
    .contact-form-wrap h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
    .contact-form-wrap > p {
      font-size: 0.9rem;
      color: var(--ink-mid);
      margin-bottom: 1.75rem;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      margin-bottom: 1rem;
    }
    .form-group.full { grid-column: 1 / -1; }
    .form-group label {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-mid);
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
      padding: 0.75rem 1rem;
      background: var(--white);
      border: 1px solid #D9CFC0;
      border-radius: var(--radius);
      font-family: 'Lato', sans-serif;
      font-size: 0.9rem;
      color: var(--ink);
      transition: border-color var(--transition), box-shadow var(--transition);
      outline: none;
    }
    .form-group input[type="date"] {
      -webkit-appearance: none;
      appearance: none;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(184,146,74,0.12);
    }
    .form-group textarea { resize: vertical; min-height: 120px; }
    .form-note {
      font-size: 0.78rem;
      color: var(--ink-mid);
      margin-top: -0.25rem;
      margin-bottom: 1.25rem;
    }
    .form-submit { width: 100%; }

    /* ── Shared: Social strip ────────────────────────────────── */
    #social {
      background: var(--bg-alt);
      padding: 3.5rem 0;
      text-align: center;
    }
    #social p {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.3rem;
      font-style: italic;
      color: var(--ink-mid);
      margin-bottom: 1.5rem;
    }
    .social-links { display: flex; justify-content: center; gap: 1.25rem; }
    .social-link {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-mid);
      border: 1px solid #D9CFC0;
      padding: 0.65rem 1.5rem;
      transition: border-color var(--transition), color var(--transition), background var(--transition);
    }
    .social-link:hover { border-color: var(--gold); color: var(--gold); }
    .social-link svg { width: 16px; }

    /* ── Index ───────────────────────────────────────────────── */
    #features {
      background: var(--green);
      color: var(--white);
      padding: 2.5rem 0;
    }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }
    .feature-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 1rem 1.5rem;
      border-right: 1px solid rgba(255,255,255,0.15);
    }
    .feature-item:last-child { border-right: none; }
    .feature-icon { font-size: 2.2rem; margin-bottom: 0.75rem; color: var(--gold); }
    .feature-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem;
      font-weight: 400;
      margin-bottom: 0.25rem;
    }
    .feature-desc { font-size: 0.8rem; opacity: 0.75; line-height: 1.5; }

    #welcome { padding: 7rem 0; text-align: center; }
    .welcome-text { max-width: 680px; margin: 0 auto; }
    .welcome-text h2 {
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 1.5rem;
      color: var(--ink);
    }
    .welcome-text p {
      font-size: 1.05rem;
      color: var(--ink-mid);
      max-width: 600px;
      margin: 0 auto 2rem;
    }
    .welcome-text .divider { margin: 1.5rem auto 2rem; }

    #about { padding: 0 0 7rem; background: var(--bg); }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }
    .about-image-wrap { position: relative; }
    .about-image {
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      object-position: top center;
    }
    .about-image-accent {
      position: absolute;
      bottom: -1.5rem;
      right: -1.5rem;
      width: 60%;
      height: 60%;
      border: 2px solid var(--gold-lt);
      z-index: -1;
    }
    .about-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); margin-bottom: 0.5rem; }
    .about-content p { color: var(--ink-mid); margin-bottom: 1rem; font-size: 1rem; }
    .about-sig {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.4rem;
      font-style: italic;
      color: var(--ink);
      margin-top: 1.5rem;
    }

    /* ── Dwór ──────────────────────────────────────────────── */
    .space-section {
      padding: 4rem 0;
      border-bottom: 1px solid var(--border);
    }
    .space-section:last-of-type { border-bottom: none; }
    .space-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      align-items: stretch;
      box-shadow: 0 4px 32px rgba(0,0,0,0.07);
    }
    .space-section:nth-child(even) .space-grid .space-photos { order: 2; }
    .space-section:nth-child(even) .space-grid .space-text   { order: 1; }
    .space-photos {
      position: relative;
      overflow: hidden;
      min-height: 440px;
      background: var(--bg-dark);
    }
    .space-photos img.photo-main {
      width: 100%;
      height: 100%;
      min-height: 440px;
      object-fit: cover;
      display: block;
      cursor: pointer;
      transition: transform 0.45s ease, opacity 0.25s ease;
    }
    .space-photos:hover img.photo-main { transform: scale(1.03); opacity: 0.93; }
    .space-text {
      padding: 3.5rem 3rem 3.5rem 3.5rem;
      background: var(--white);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .space-section:nth-child(even) .space-text { padding: 3.5rem 3.5rem 3.5rem 3rem; }
    .space-eyebrow {
      font-family: 'Lato', sans-serif;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.75rem;
    }
    .space-text h2 {
      font-size: clamp(1.8rem, 2.5vw, 2.5rem);
      color: var(--ink);
      margin-bottom: 1rem;
      line-height: 1.2;
    }
    .space-text p { font-size: 1.05rem; color: var(--ink-mid); line-height: 1.9; margin-bottom: 1rem; }
    .space-text p:last-child { margin-bottom: 0; }
    .space-text .divider { margin: 1rem 0 1.5rem; }
    .amenities { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
    .amenity-pill {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.4rem 0.9rem;
      border: 1px solid var(--border);
      font-family: 'Lato', sans-serif;
      font-size: 0.82rem;
      color: var(--ink-mid);
      background: var(--bg);
    }
    .amenity-pill span { font-size: 1rem; }

    .kuchnia-quote { background: var(--bg-alt); padding: 4rem 0 2rem; text-align: center; }
    .kuchnia-quote blockquote {
      max-width: 760px;
      margin: 0 auto;
      font-size: clamp(1.15rem, 2.2vw, 1.45rem);
      font-style: italic;
      color: var(--ink-mid);
      line-height: 1.85;
    }
    .kuchnia-quote cite {
      display: block;
      margin-top: 1.5rem;
      font-family: 'Lato', sans-serif;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
      font-style: normal;
    }

    .food-gallery { padding: 2rem 0 5rem; background: var(--bg-alt); }
    .food-gallery h3 {
      text-align: center;
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      margin-bottom: 2rem;
    }
    .food-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.5rem;
    }
    .food-grid .f-item { overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
    .food-grid .f-item img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .food-grid .f-item:hover img { transform: scale(1.05); }
    .food-grid .f-item:first-child { grid-column: span 2; aspect-ratio: 16/9; }

    .meal-times { padding: 4rem 0; background: var(--bg-dark); color: var(--white); text-align: center; }
    .meal-times h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 0.5rem; }
    .meal-times .divider { background: var(--gold); margin: 1.25rem auto 2rem; }
    .meal-times p {
      font-size: 1.05rem;
      color: rgba(255,255,255,0.7);
      max-width: 580px;
      margin: 0 auto 2.5rem;
      line-height: 1.8;
    }
    .meal-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      max-width: 760px;
      margin: 0 auto;
    }
    .meal-card { border: 1px solid rgba(255,255,255,0.1); padding: 2rem 1.5rem; text-align: center; }
    .meal-card .meal-icon { font-size: 2.5rem; margin-bottom: 0.75rem; color: var(--gold-lt); }
    .meal-card h4 {
      font-family: 'Lato', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.5rem;
    }
    .meal-card .meal-time {
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      font-family: 'Cormorant Garamond', serif;
      color: var(--white);
    }

    /* ── Okolica ─────────────────────────────────────────────── */
    #activities { padding: 5rem 0; background: var(--bg-alt); }
    #activities h2 {
      text-align: center;
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      margin-bottom: 0.5rem;
    }
    #activities .divider { margin: 1.25rem auto 3rem; }
    .activity-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }
    .activity-card {
      background: var(--white);
      padding: 2rem 1.5rem;
      text-align: center;
      box-shadow: 0 2px 16px rgba(0,0,0,0.05);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .activity-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
    .activity-card .act-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--gold); }
    .activity-card h3 {
      font-family: 'Lato', sans-serif;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.5rem;
    }
    .activity-card p { font-size: 0.95rem; color: var(--ink-mid); line-height: 1.7; }

    /* Okolica gallery — scoped to avoid conflict with Historia */
    #gallery:has(.g-item) { padding: 0 0 5rem; background: var(--bg-alt); }
    .g-item { overflow: hidden; aspect-ratio: 1; cursor: pointer; }
    .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
    .g-item:hover img { transform: scale(1.06); }
    .g-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

    #nearby { padding: 5rem 0; }
    #nearby h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.5rem; }
    #nearby .divider { margin: 1.25rem auto 3rem; }
    .nearby-subtitle {
      text-align: center;
      font-size: 1.05rem;
      color: var(--ink-mid);
      max-width: 600px;
      margin: -1.5rem auto 3rem;
      line-height: 1.8;
    }
    .nearby-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
    .nearby-card {
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 1.5rem;
      align-items: start;
      padding: 1.75rem;
      border: 1px solid var(--border);
      background: var(--white);
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .nearby-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
    .nc-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: var(--bg-alt);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.75rem;
      color: var(--gold);
      flex-shrink: 0;
    }
    .nearby-card .nc-meta { display: flex; flex-direction: column; }
    .nearby-card .nc-dist {
      font-family: 'Lato', sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.3rem;
    }
    .nearby-card h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 0.5rem; line-height: 1.25; }
    .nearby-card p { font-size: 0.92rem; color: var(--ink-mid); line-height: 1.7; }

    #daytrips { padding: 5rem 0; background: var(--bg-dark); color: var(--white); }
    #daytrips h2 {
      text-align: center;
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      margin-bottom: 0.5rem;
    }
    #daytrips .divider { background: var(--gold); margin: 1.25rem auto 1rem; }
    .daytrips-sub {
      text-align: center;
      font-size: 1rem;
      color: rgba(255,255,255,0.65);
      max-width: 560px;
      margin: 0 auto 3rem;
      line-height: 1.8;
    }
    .trip-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(255,255,255,0.06);
    }
    .trip-item {
      padding: 2.5rem 2rem;
      text-align: center;
      background: var(--bg-dark);
      transition: background 0.25s;
    }
    .trip-item:hover { background: rgba(255,255,255,0.04); }
    .trip-item .trip-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--white); }
    .trip-item h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 0.35rem; }
    .trip-item .trip-dist {
      font-family: 'Lato', sans-serif;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.75rem;
    }
    .trip-item p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

    /* ── Historia ────────────────────────────────────────────── */
    #timeline { padding: 4rem 0 7rem; }
    .timeline-track {
      position: relative;
      max-width: 960px;
      margin: 0 auto;
    }
    .timeline-track::before {
      content: '';
      position: absolute;
      top: 0; bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 1px;
      background: linear-gradient(to bottom, transparent, var(--gold-lt) 8%, var(--gold-lt) 92%, transparent);
    }
    .tl-entry {
      display: grid;
      grid-template-columns: 1fr 60px 1fr;
      gap: 0;
      margin-bottom: 5rem;
    }
    .tl-entry:last-child { margin-bottom: 0; }
    .tl-dot {
      grid-column: 2;
      align-self: stretch;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 1;
    }
    .tl-card:not(:has(img)) { padding-top: 2rem; padding-bottom: 2rem; }
    .tl-dot-circle {
      width: 14px; height: 14px;
      border-radius: 50%;
      background: var(--gold);
      border: 3px solid var(--bg);
      box-shadow: 0 0 0 2px var(--gold);
      flex-shrink: 0;
    }
    .tl-year {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1rem;
      font-weight: 600;
      color: var(--gold);
      letter-spacing: 0.06em;
      margin-top: 0.5rem;
      text-align: center;
      white-space: nowrap;
    }
    .tl-entry:nth-child(odd)  .tl-card  { grid-column: 1; grid-row: 1; text-align: right; padding-right: 2.5rem; }
    .tl-entry:nth-child(odd)  .tl-empty { grid-column: 3; grid-row: 1; }
    .tl-entry:nth-child(odd)  .tl-dot   { grid-column: 2; grid-row: 1; }
    .tl-entry:nth-child(even) .tl-card  { grid-column: 3; grid-row: 1; text-align: left; padding-left: 2.5rem; }
    .tl-entry:nth-child(even) .tl-empty { grid-column: 1; grid-row: 1; }
    .tl-entry:nth-child(even) .tl-dot   { grid-column: 2; grid-row: 1; }
    .tl-card { align-self: start; }
    .tl-card-img {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      margin-bottom: 1.25rem;
      box-shadow: 0 4px 20px rgba(0,0,0,0.12);
      cursor: pointer;
      transition: transform 0.35s ease, box-shadow 0.35s ease;
    }
    .tl-card-img:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
    .tl-card h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--ink); }
    .tl-card p { font-size: 0.92rem; color: var(--ink-mid); line-height: 1.7; }
    .tl-card-tag {
      display: inline-block;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
      border: 1px solid var(--gold-lt);
      padding: 0.2rem 0.65rem;
      margin-bottom: 0.75rem;
    }

    /* Historia gallery — scoped to avoid conflict with Okolica */
    #gallery:has(.gallery-item) { padding: 6rem 0; background: var(--ink); }
    .gallery-header { text-align: center; margin-bottom: 3rem; color: var(--white); }
    .gallery-header .section-label { color: var(--gold-lt); }
    .gallery-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
    .gallery-header .divider { background: var(--gold-lt); margin: 1.25rem auto 0; }
    .gallery-grid { display: grid; }
    #gallery:has(.g-item)       .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
    #gallery:has(.gallery-item) .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
    .gallery-item {
      position: relative;
      overflow: hidden;
      cursor: pointer;
      aspect-ratio: 4/3;
      background: #1a1208;
    }
    .gallery-item img {
      width: 100%; height: 100%;
      object-fit: cover;
      max-width: none;
      display: block;
      transition: transform 0.45s ease, opacity 0.3s ease;
    }
    .gallery-item:hover img { transform: scale(1.06); opacity: 0.8; }
    .gallery-item-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0);
      display: flex;
      align-items: flex-end;
      padding: 1rem;
      transition: background var(--transition);
    }
    .gallery-item:hover .gallery-item-overlay { background: rgba(0,0,0,0.3); }
    .gallery-item-caption {
      color: var(--white);
      font-family: 'Cormorant Garamond', serif;
      font-size: 0.9rem;
      font-style: italic;
      opacity: 0;
      transform: translateY(6px);
      transition: opacity var(--transition), transform var(--transition);
    }
    .gallery-item:hover .gallery-item-caption { opacity: 1; transform: translateY(0); }

    /* ── Pokoje ──────────────────────────────────────────────── */
    #rooms { padding: 2rem 0 6rem; }
    .room-card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      margin-bottom: 5rem;
      box-shadow: 0 4px 32px rgba(0,0,0,0.08);
    }
    .room-card:last-child { margin-bottom: 0; }
    .room-card:nth-child(even) .room-photos { order: 2; }
    .room-card:nth-child(even) .room-info   { order: 1; }
    .room-photos { position: relative; overflow: hidden; min-height: 380px; }
    .room-photos img.photo-main {
      width: 100%; height: 100%;
      min-height: 380px;
      object-fit: cover;
      display: block;
      cursor: pointer;
      transition: transform 0.45s ease, opacity 0.25s ease;
    }
    .room-photos:hover img.photo-main { transform: scale(1.03); opacity: 0.92; }
    .room-info {
      padding: 2.5rem 2.5rem 2rem;
      background: var(--white);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .room-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
    .badge {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: var(--gold);
      border: 1px solid var(--gold-lt);
      padding: 0.2rem 0.65rem;
    }
    .room-info h2 {
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 400;
      color: var(--ink);
      margin-bottom: 0.75rem;
      line-height: 1.2;
    }
    .room-info p { font-size: 0.95rem; color: var(--ink-mid); line-height: 1.8; margin-bottom: 1.75rem; }
    .price-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
    .price-chip {
      background: var(--bg);
      border: 1px solid var(--border);
      padding: 0.45rem 0.85rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      min-width: 68px;
    }
    .price-chip .persons {
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink-mid);
      margin-bottom: 0.2rem;
    }
    .price-chip .amount {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--ink);
    }
    .price-chip .currency { font-size: 0.7rem; color: var(--ink-mid); }
    .room-reserve { align-self: flex-start; }

    #cennik { padding: 6rem 0; background: var(--ink); }
    .cennik-header { text-align: center; color: var(--white); margin-bottom: 3rem; }
    .cennik-header .section-label { color: var(--gold-lt); }
    .cennik-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
    .cennik-header .divider { background: var(--gold-lt); margin: 1.25rem auto 0; }
    .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .price-table { width: 100%; border-collapse: collapse; color: var(--white); font-size: 0.9rem; }
    .price-table th {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: var(--gold-lt);
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding: 0.75rem 1rem;
      text-align: center;
    }
    .price-table th:first-child { text-align: left; }
    .price-table td {
      padding: 1rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      text-align: center;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
    }
    .price-table td:first-child {
      text-align: left;
      font-family: 'Lato', sans-serif;
      font-size: 0.9rem;
      font-weight: 400;
      letter-spacing: 0.03em;
    }
    .price-table td.na { color: rgba(255,255,255,0.2); font-family: 'Lato', sans-serif; font-size: 0.8rem; }
    .price-table tr:last-child td { border-bottom: none; }
    .price-table tr:hover td { background: rgba(255,255,255,0.03); }

    #wyzywienie { padding: 6rem 0; }
    .wyz-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      max-width: 860px;
      margin: 0 auto;
    }
    .wyz-block h3 { font-size: 1.4rem; font-weight: 400; color: var(--ink); margin-bottom: 1.25rem; }
    .wyz-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding: 0.7rem 0;
      border-bottom: 1px solid var(--border);
      font-size: 0.95rem;
    }
    .wyz-row:last-child { border-bottom: none; }
    .wyz-row .label { color: var(--ink-mid); }
    .wyz-row .price {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--ink);
      white-space: nowrap;
      margin-left: 1rem;
    }
    .wyz-note { margin-top: 1.25rem; font-size: 0.85rem; color: var(--ink-mid); line-height: 1.7; font-style: italic; }

    #policy { padding: 4rem 0 5rem; background: var(--bg); }
    .policy-inner { max-width: 720px; margin: 0 auto; text-align: center; }
    .policy-inner h3 { font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-bottom: 2rem; }
    .policy-items { display: flex; flex-direction: column; gap: 0.85rem; text-align: left; margin-bottom: 2.5rem; }
    .policy-item { display: flex; gap: 0.85rem; font-size: 0.95rem; color: var(--ink-mid); line-height: 1.65; }
    .policy-item::before { content: '—'; color: var(--gold); flex-shrink: 0; margin-top: 0.05rem; }

    /* ── Additional breakpoints ──────────────────────────────── */
    @media (max-width: 1024px) {
      .activity-grid { grid-template-columns: repeat(2, 1fr); }
      .trip-strip { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 900px) {
      .features-grid { grid-template-columns: repeat(2, 1fr); }
      .feature-item:nth-child(2) { border-right: none; }
      .feature-item:nth-child(3),
      .feature-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.15); }
      .about-grid,
      .visit-grid,
      .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
      .about-image-accent { display: none; }
      .visit-map { aspect-ratio: 16/9; }
      .space-grid { grid-template-columns: 1fr; }
      .space-section:nth-child(even) .space-grid .space-photos { order: 0; }
      .space-section:nth-child(even) .space-grid .space-text   { order: 1; }
      .space-photos,
      .space-photos img.photo-main { min-height: 300px; }
      .space-text { padding: 2rem 1.5rem !important; }
      .food-grid { grid-template-columns: repeat(2, 1fr); }
      .food-grid .f-item:first-child { grid-column: span 2; }
      .meal-grid { grid-template-columns: 1fr; max-width: 340px; }
      .room-card { grid-template-columns: 1fr; }
      .room-card:nth-child(even) .room-photos { order: 1; }
      .room-card:nth-child(even) .room-info   { order: 2; }
      .room-photos { height: 320px; }
      .wyz-grid { grid-template-columns: 1fr; gap: 2rem; }
    }

    @media (max-width: 800px) {
      .timeline-track::before { left: 20px; }
      .tl-entry {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto;
        margin-bottom: 3.5rem;
      }
      .tl-entry:nth-child(odd) .tl-card,
      .tl-entry:nth-child(even) .tl-card {
        grid-column: 2; grid-row: 1;
        text-align: left;
        padding-left: 1.5rem; padding-right: 0;
      }
      .tl-entry:nth-child(odd) .tl-dot,
      .tl-entry:nth-child(even) .tl-dot { grid-column: 1; grid-row: 1; }
      .tl-entry .tl-empty { display: none; }
      #gallery:has(.gallery-item) .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
      .nearby-list { grid-template-columns: 1fr; }
      #gallery:has(.g-item) .gallery-grid { grid-template-columns: repeat(3, 1fr); }
      .g-item:first-child { grid-column: span 2; grid-row: span 1; }
    }

    @media (max-width: 520px) {
      .activity-grid { grid-template-columns: repeat(2, 1fr); }
      #gallery:has(.g-item) .gallery-grid { grid-template-columns: repeat(2, 1fr); }
      .trip-strip { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 500px) {
      .food-grid { grid-template-columns: 1fr 1fr; }
    }

    /* map + form mobile — must come after 900px block to override */
    @media (max-width: 640px) {
      .form-row { grid-template-columns: 1fr; }
      .visit-map { aspect-ratio: unset; width: 100%; height: 320px; }
      .map-consent { padding: 1.25rem; gap: .5rem; }
      .map-consent-icon { margin-bottom: .25rem; }
      .map-consent-note { max-width: 100%; }
    }
  