:root {
  --ink: #18201d;
  --muted: #66706b;
  --paper: #fbf7ef;
  --paper-2: #f3eadb;
  --cream: #fffdf8;
  --terracotta: #b65336;
  --terracotta-2: #8f3f2b;
  --olive: #465b48;
  --gold: #d6a756;
  --line: rgba(24, 32, 29, 0.14);
  --shadow: 0 24px 80px rgba(33, 24, 17, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 40px rgba(28, 23, 18, 0.1);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.header-cta,
.hero-actions,
.hero-facts,
.footer-actions,
.mobile-bar {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--terracotta);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 0.78rem;
}

.nav {
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.header-cta {
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: #1f8b55;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(31, 139, 85, 0.24);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  padding: 150px clamp(20px, 6vw, 72px) 80px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 18, 15, 0.82) 0%, rgba(17, 18, 15, 0.5) 46%, rgba(17, 18, 15, 0.1) 100%),
    linear-gradient(0deg, rgba(17, 18, 15, 0.66) 0%, rgba(17, 18, 15, 0) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 870px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: #ffd38b;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.96;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(4rem, 12vw, 9.5rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
}

.btn-primary {
  color: #fff;
  background: var(--terracotta);
}

.btn-whatsapp {
  color: #fff;
  background: #1f8b55;
}

.btn-outline {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.hero-facts {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 62px);
  bottom: 36px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.section {
  padding: clamp(70px, 10vw, 132px) clamp(20px, 6vw, 72px);
}

.intro-grid,
.split,
.location-panel,
.direct-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.intro-copy {
  padding-top: 12px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, 24vw);
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: #ddd;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.rooms {
  background: var(--paper-2);
}

.room-list {
  display: grid;
  gap: 12px;
}

.room-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.68);
}

.room-list i,
.service-grid i {
  width: 24px;
  color: var(--terracotta);
}

.room-list article p {
  grid-column: 2;
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-grid div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  font-weight: 750;
}

.location {
  background:
    linear-gradient(rgba(251, 247, 239, 0.9), rgba(251, 247, 239, 0.9)),
    url("assets/images/balcone-via-carbonara.jpg") center / cover fixed;
}

.location-panel {
  padding: clamp(26px, 5vw, 58px);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.93);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.nearby-list {
  display: grid;
  gap: 10px;
}

.nearby-list span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.nearby-list strong {
  color: var(--terracotta-2);
  white-space: nowrap;
}

.direct {
  background: var(--olive);
}

.direct-card {
  color: #fff;
}

.direct-card p,
.direct-card .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.direct-actions {
  align-self: center;
  display: grid;
  gap: 12px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 960px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

summary {
  cursor: pointer;
  padding: 22px;
  font-weight: 800;
}

details p {
  padding: 0 22px 22px;
  margin: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 50px clamp(20px, 6vw, 72px) 98px;
  color: #fff;
  background: #171d1a;
}

.footer h2 {
  margin-bottom: 12px;
  font-size: 2.1rem;
}

.footer p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  font-weight: 800;
}

.footer-actions a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.mobile-bar {
  position: fixed;
  z-index: 40;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(24, 32, 29, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  flex: 1;
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
}

.mobile-bar a:last-child {
  background: #1f8b55;
}

.lightbox {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

[data-lucide] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke-width: 2.2;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .intro-grid,
  .split,
  .location-panel,
  .direct-card {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 13px;
  }

  .hero {
    min-height: 92svh;
    padding: 116px 18px 150px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(17, 18, 15, 0.72) 0%, rgba(17, 18, 15, 0.46) 100%),
      linear-gradient(0deg, rgba(17, 18, 15, 0.82) 0%, rgba(17, 18, 15, 0.08) 70%);
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5.6rem);
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-actions .btn,
  .direct-actions .btn {
    width: 100%;
  }

  .hero-facts {
    gap: 8px;
  }

  .hero-facts span {
    min-height: 38px;
    padding: 0 12px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 64px 18px;
  }

  .gallery-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .gallery-item,
  .gallery-item.large,
  .gallery-item.tall {
    flex: 0 0 82%;
    min-height: 360px;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
  }

  .room-list article {
    grid-template-columns: 36px 1fr;
    padding: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .location {
    background-attachment: scroll;
  }

  .location-panel {
    padding: 24px;
  }

  .nearby-list span {
    display: grid;
    gap: 4px;
  }

  .footer {
    display: block;
    padding-bottom: 112px;
  }

  .footer-actions {
    margin-top: 24px;
  }

  .mobile-bar {
    display: flex;
  }
}
