/* =========================================================
   LEWEGRI HÔTEL — STYLE
   ========================================================= */

:root {
  --ivory: #FAF6EF;
  --beige: #F1E9DC;
  --brown: #4B3226;
  --brown-dark: #33211A;
  --gold: #B8965A;
  --gold-light: #D8C39B;
  --ink: #2A2724;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --container-w: 1180px;
  --radius: 4px;
  --shadow-soft: 0 18px 40px -20px rgba(51, 33, 26, 0.35);

  --header-h: 84px;
  --demo-banner-h: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--demo-banner-h)); }
html, body, .lightbox-details {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.lightbox-details::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--brown-dark);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 500;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section.services, .section.why { background: var(--beige); }

.eyebrow, .hero-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.8em;
  letter-spacing: 0.01em;
}

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-lead { font-size: 1.1rem; color: #5c5650; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Welcome screen ---------- */
.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  overflow: hidden;
  padding: 32px 24px;
  color: var(--white);
  background: #171512;
  opacity: 1;
  transition: opacity 0.75s ease;
}
.welcome-pending .welcome-screen { display: grid; }
.welcome-pending { overflow: hidden; }
.welcome-screen.is-leaving { opacity: 0; pointer-events: none; }
.welcome-background,
.welcome-shade {
  position: absolute;
  inset: 0;
}
.welcome-background { animation: welcome-background-in 1.15s ease both; }
.welcome-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}
.welcome-shade {
  background: linear-gradient(180deg, rgba(17, 15, 13, 0.47), rgba(17, 15, 13, 0.58) 55%, rgba(17, 15, 13, 0.72));
}
.welcome-content {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  text-align: center;
}
.welcome-kicker,
.welcome-name,
.welcome-message,
.welcome-location,
.welcome-button {
  opacity: 0;
  animation: welcome-text-in 0.8s ease forwards;
}
.welcome-kicker {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  animation-delay: 0.45s;
}
.welcome-name {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  animation-delay: 0.8s;
}
.welcome-message {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 1.6rem);
  animation-delay: 1.15s;
}
.welcome-location {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  animation-delay: 1.4s;
}
.welcome-location span { color: var(--gold-light); padding: 0 5px; }
.welcome-button {
  min-height: 54px;
  padding: 15px 30px;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  background: var(--gold-light);
  color: #241d15;
  font: 600 0.84rem var(--font-body);
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  animation-delay: 1.7s;
}
.welcome-button:hover {
  border-color: var(--white);
  background: var(--white);
}
@keyframes welcome-background-in {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes welcome-text-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--brown);
  color: var(--white);
}
.btn-primary:hover { background: var(--brown-dark); }

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

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.15); }

/* ---------- Header ---------- */
.demo-banner {
  position: fixed;
  inset: 0 0 auto;
  z-index: 600;
  height: var(--demo-banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown-dark);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
}
.site-header {
  position: fixed;
  top: var(--demo-banner-h); left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(75, 50, 38, 0.08);
  transition: height 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { height: 66px; box-shadow: 0 6px 24px -14px rgba(0,0,0,0.25); }

.header-inner {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown-dark);
}
.brand-logo { height: 40px; width: auto; }
.brand-name { white-space: nowrap; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav a:not(.btn) {
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 4px 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.main-nav a:not(.btn):hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--demo-banner-h));
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,20,15,0.55) 0%, rgba(30,20,15,0.45) 45%, rgba(30,20,15,0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
  color: var(--white);
}
.hero h1 { color: var(--white); }
.hero-eyebrow { color: var(--gold-light); }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 560px;
  margin: 0 auto 2em;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2em;
}
.hero-hours {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.check-list, .tag-list {
  list-style: none;
  padding: 0;
  margin: 1.5em 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.tag-list { grid-template-columns: repeat(3, auto); gap: 12px; }

.check-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
}

.tag-list li {
  background: var(--white);
  border: 1px solid var(--gold-light);
  color: var(--brown);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
}

/* ---------- Rooms ---------- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}
.room-card:hover { transform: translateY(-6px); }
.room-media { aspect-ratio: 4/3; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.room-card:hover .room-media img { transform: scale(1.05); }
.room-body { padding: 24px; }
.room-body p { color: #5c5650; }

.rooms-note {
  text-align: center;
  margin-top: 36px;
  color: #5c5650;
  font-style: italic;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.service-icon {
  display: inline-flex;
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: 16px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card p { color: #5c5650; font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  text-align: left;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-prompt {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 26px 20px 14px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(31, 23, 18, 0.76));
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.gallery-item:hover .gallery-prompt, .gallery-item:focus-visible .gallery-prompt { opacity: 1; transform: translateY(0); }
.gallery-prompt-mobile { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 10, 0.78);
  display: grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}
.lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  width: min(100%, 1240px);
  max-height: min(800px, calc(100vh - 48px));
  overflow: hidden;
  background: var(--ivory);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  transform: translateY(10px);
  transition: transform 0.24s ease;
}
.lightbox.open .lightbox-panel { transform: translateY(0); }
.lightbox-visual { position: relative; min-width: 0; min-height: 0; margin: 0; background: var(--brown-dark); }
.lightbox-visual img { width: 100%; height: 100%; max-height: min(800px, calc(100vh - 48px)); object-fit: cover; }
.lightbox-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  overflow-y: auto;
  padding: clamp(32px, 5vw, 72px) clamp(26px, 4vw, 56px);
}
.lightbox-details .eyebrow { margin-bottom: 12px; }
.lightbox-details h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.lightbox-description { max-width: 38ch; margin-bottom: 22px; color: #5c5650; }
.lightbox-facts { display: grid; gap: 10px; width: 100%; margin: 0 0 30px; padding: 0; list-style: none; }
.lightbox-facts:empty { display: none; }
.lightbox-facts li { position: relative; padding-left: 19px; color: var(--brown); font-size: 0.94rem; }
.lightbox-facts li::before { content: ""; position: absolute; top: 0.68em; left: 0; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.lightbox-cta { white-space: normal; text-align: center; }
.lightbox-count { margin: 24px 0 0; color: #786f67; font-size: 0.78rem; letter-spacing: 0.08em; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.18s ease, transform 0.18s ease;
}
.lightbox-close { top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; background: var(--brown); color: var(--white); font-size: 1.6rem; }
.lightbox-prev, .lightbox-next { top: 50%; width: 48px; height: 48px; background: rgba(31, 23, 18, 0.62); font-size: 1rem; transform: translateY(-50%); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); }
.lightbox-close:focus-visible, .lightbox-prev:focus-visible, .lightbox-next:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
}
.why-card p { color: #5c5650; margin-bottom: 0; font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta {
  background: var(--brown-dark);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 2em; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact / Form ---------- */
.contact-info { margin: 1.5em 0; display: flex; flex-direction: column; gap: 10px; }
.contact-line { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.contact-icon { font-size: 1.1rem; }
.contact-hours { color: var(--gold); font-weight: 600; margin-top: 6px; }
.contact-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.booking-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.booking-form h3 { margin-bottom: 1em; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 500; font-size: 0.92rem; }
.form-row label span { color: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row input,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid #ddd3c4;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--ivory);
}
.form-row input:invalid.touched,
.form-row textarea:invalid.touched { border-color: #b23b3b; }
.form-note { font-size: 0.85rem; color: #77706a; }
.form-submit { width: 100%; margin-top: 8px; }

/* ---------- Location ---------- */
.map-placeholder .map-frame {
  aspect-ratio: 4/3;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--beige);
  box-shadow: var(--shadow-soft);
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact p { margin: 6px 0 0; color: var(--gold-light); font-weight: 600; font-size: 0.9rem; }
.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 24px 0 0;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,0.45);
  z-index: 400;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .room-card:hover, .gallery-item:hover img, .room-card:hover .room-media img { transform: none; }
  .welcome-screen, .welcome-background, .welcome-kicker, .welcome-name,
  .welcome-message, .welcome-location, .welcome-button {
    animation-duration: 0.01ms;
    animation-delay: 0ms;
    transition-duration: 0.01ms;
  }
  .gallery-item img, .gallery-prompt, .lightbox, .lightbox-panel,
  .lightbox-close, .lightbox-prev, .lightbox-next { transition-duration: 0.01ms; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .split { gap: 40px; }
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--demo-banner-h));
    left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 28px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    border-bottom: 1px solid rgba(75,50,38,0.1);
    box-shadow: 0 16px 24px -18px rgba(0,0,0,0.3);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul li a { display: block; padding: 12px 4px; }
  .main-nav .btn { margin-top: 12px; width: 100%; }
  .hamburger { display: flex; }

  .split { grid-template-columns: 1fr; }
  .split-reverse { direction: ltr; }
  .split-media { order: -1; }

  .rooms-grid { grid-template-columns: 1fr; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .map-placeholder .map-frame { aspect-ratio: auto; height: clamp(220px, 65vw, 280px); min-height: 0; }
  .map-frame iframe { min-height: 0; }
  .lightbox { padding: 14px; }
  .lightbox-panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(220px, 40vh) minmax(0, 1fr); width: min(100%, 620px); max-height: calc(100dvh - 28px); }
  .lightbox-visual img { max-height: 40vh; }
  .lightbox-details { justify-content: flex-start; padding: 28px 28px 26px; }
  .lightbox-details h2 { margin-bottom: 12px; }
  .lightbox-description { margin-bottom: 16px; }
  .lightbox-facts { gap: 7px; margin-bottom: 20px; }
  .lightbox-count { margin-top: 16px; }
  .gallery-prompt { min-height: 64px; padding: 24px 10px 10px; font-size: 0.72rem; opacity: 1; transform: none; }
  .gallery-prompt-desktop { display: none; }
  .gallery-prompt-mobile { display: inline; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .check-list { grid-template-columns: 1fr; }
  .tag-list { grid-template-columns: repeat(3, auto); }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .welcome-screen { padding: 24px 20px; }
  .welcome-background img { object-position: 58% center; }
  .welcome-kicker { margin-bottom: 14px; }
  .welcome-name { margin-bottom: 16px; }
  .welcome-location { margin-bottom: 28px; }
  .welcome-button { width: min(100%, 320px); min-height: 56px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .lightbox { padding: 10px; }
  .lightbox-panel { grid-template-rows: minmax(200px, 34vh) minmax(0, 1fr); max-height: calc(100dvh - 20px); }
  .lightbox-visual img { max-height: 34vh; }
  .lightbox-details { padding: 24px 22px 22px; }
  .lightbox-details h2 { font-size: 1.75rem; }
  .lightbox-cta { width: 100%; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; }
}
