:root {
  --paper: #f7f0e7;
  --paper-strong: #fffaf3;
  --ink: #1d2520;
  --muted: #657168;
  --olive: #244633;
  --olive-soft: #dbe5d5;
  --terracotta: #a14f35;
  --gold: #d3a85f;
  --line: rgba(29, 37, 32, 0.13);
  --shadow: 0 24px 60px rgba(33, 42, 35, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 18px 18px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 10px 12px 10px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(29, 37, 32, 0.36);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 14px 44px rgba(29, 37, 32, 0.12);
}

.brand,
.desktop-nav,
.header-actions,
.cta-row,
.footer-actions {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--olive);
  background: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.desktop-nav {
  gap: 22px;
  color: currentColor;
  font-size: 0.93rem;
  font-weight: 600;
}

.desktop-nav a {
  opacity: 0.82;
}

.desktop-nav a:hover {
  opacity: 1;
}

.header-actions {
  gap: 10px;
}

.icon-link {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--olive);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(29, 37, 32, 0.18);
}

.button.small {
  min-height: 44px;
  padding: 0 16px;
}

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

.button.whatsapp {
  color: #fff;
  background: #16854e;
}

.button.outline {
  color: var(--olive);
  border-color: rgba(36, 70, 51, 0.25);
  background: #fff;
}

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

.hero picture,
.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(19, 26, 22, 0.9), rgba(19, 26, 22, 0.5) 46%, rgba(19, 26, 22, 0.12)),
    linear-gradient(0deg, rgba(19, 26, 22, 0.55), rgba(19, 26, 22, 0.05) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

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

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

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

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 5rem);
}

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

.hero-copy {
  max-width: 660px;
  margin-bottom: 20px;
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-meta span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
  font-size: 0.92rem;
  font-weight: 700;
}

.cta-row {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 44px;
  z-index: 2;
  width: min(330px, calc(100vw - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.93);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.25;
}

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

.section-heading {
  max-width: 880px;
  margin-bottom: 36px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.facts div,
.nearby div {
  min-height: 126px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.facts strong,
.nearby strong {
  display: block;
  margin-bottom: 6px;
  color: var(--olive);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.facts span,
.nearby span {
  color: var(--muted);
  font-weight: 700;
}

.gallery {
  background: var(--ink);
  color: #fff;
}

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

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

.photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #111;
  cursor: zoom-in;
}

.photo.tall {
  grid-row: span 2;
}

.photo.wide {
  grid-column: span 2;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms ease;
}

.photo:hover img {
  transform: scale(1.045);
}

.services {
  background: var(--paper-strong);
}

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

.service-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-card span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--olive);
  background: var(--olive-soft);
  font-size: 1.3rem;
  font-weight: 800;
}

.service-card p,
.location p,
.direct p,
.faq p,
.site-footer p {
  color: var(--muted);
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 54px rgba(29, 37, 32, 0.09);
}

.location-panel p {
  max-width: 620px;
  margin-bottom: 26px;
}

.nearby div {
  background: var(--paper);
}

.direct {
  min-height: 580px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(29, 37, 32, 0.84), rgba(29, 37, 32, 0.4)),
    url("../images/nonna-clara-3.jpg") center / cover;
  color: #fff;
}

.direct-content {
  max-width: 760px;
}

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

.direct p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

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

summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 800;
}

summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--olive-soft);
  color: var(--olive);
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 820px;
  margin: -4px 22px 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 42px clamp(20px, 6vw, 84px);
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-weight: 800;
}

.footer-actions a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(14, 18, 15, 0.92);
}

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

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 26px;
  }

  .hero {
    align-items: center;
    padding-top: 120px;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    inset: 10px 10px auto;
    min-height: 58px;
    padding: 8px 8px 8px 10px;
  }

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

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .button.small {
    min-height: 42px;
    padding: 0 12px;
  }

  .icon-link {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 94svh;
    padding: 112px 18px 34px;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta span,
  .button {
    width: 100%;
  }

  .section {
    padding: 68px 18px;
  }

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

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 330px;
  }

  .photo.tall,
  .photo.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .service-card {
    min-height: 0;
  }

  .location-panel {
    padding: 24px;
  }

  .site-footer {
    display: block;
  }

  .footer-actions {
    justify-content: flex-start;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
