:root {
  --ink: #17212b;
  --muted: #5b6875;
  --line: #d8dee5;
  --paper: #f6f4ef;
  --white: #ffffff;
  --green: #2d6a4f;
  --green-dark: #1f513c;
  --blue: #275b89;
  --gold: #c48a2c;
  --shadow: 0 18px 55px rgba(23, 33, 43, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(216, 222, 229, .88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #344454;
  font-size: 15px;
}

.nav a,
.header-cta {
  text-decoration: none;
}

.header-cta {
  padding: 10px 16px;
  border: 1px solid var(--green);
  color: var(--green-dark);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 70px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #141c24;
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 23, 31, .84) 0%, rgba(13, 23, 31, .58) 42%, rgba(13, 23, 31, .12) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 36px));
  margin: 0 0 104px clamp(18px, 6vw, 82px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, .55);
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.hero-facts {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 26px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  width: min(760px, calc(100% - 36px));
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
}

.hero-facts div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: var(--green-dark);
  font-size: 25px;
  line-height: 1.1;
}

.hero-facts span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.band {
  background: var(--paper);
}

.intro,
.location,
.details {
  padding: clamp(64px, 9vw, 112px) 0;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 17px;
}

.summary-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 0 12px 35px rgba(23, 33, 43, .08);
}

.summary-panel h2 {
  font-size: 24px;
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

dl div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  font-weight: 800;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 72px 0;
}

.highlights article {
  min-height: 250px;
  padding: 28px;
  background: #f8fafb;
  border: 1px solid var(--line);
}

.highlights h2 {
  margin-top: 34px;
  font-size: 24px;
}

.icon {
  color: var(--blue);
  font-weight: 900;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.location-grid div {
  min-height: 145px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.location-grid strong,
.location-grid span {
  display: block;
}

.location-grid strong {
  color: var(--green-dark);
  font-size: 30px;
}

.location-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.gallery-section,
.past-uses,
.faq {
  padding: clamp(64px, 9vw, 110px) 0;
}

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

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery a {
  position: relative;
  display: block;
  min-height: 270px;
  overflow: hidden;
  background: var(--paper);
}

.gallery a::after {
  content: "Apri foto";
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(17, 25, 34, .78);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery a:hover img {
  transform: scale(1.035);
}

.gallery a:hover::after,
.gallery a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(56px, 1fr) minmax(0, 980px) minmax(56px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: rgba(9, 14, 20, .92);
  opacity: 1;
  visibility: visible;
}

.lightbox[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox-panel {
  grid-column: 2;
  margin: 0;
  max-height: calc(100vh - 56px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lightbox-image {
  width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  background: #0f1720;
}

.lightbox figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  color: var(--ink);
}

.lightbox-title {
  font-size: 18px;
  line-height: 1.25;
}

.lightbox-caption {
  color: var(--muted);
}

.lightbox-counter {
  color: var(--green-dark);
  font-weight: 800;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  transition: background .2s ease, transform .2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-1px);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  font-size: 34px;
  line-height: 1;
}

.lightbox-nav {
  width: 54px;
  height: 74px;
  font-size: 54px;
  line-height: .8;
}

.lightbox-prev {
  justify-self: end;
}

.lightbox-next {
  justify-self: start;
}

.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid rgba(216, 222, 229, .9);
  color: #344454;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  background: var(--green);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.timeline article {
  position: relative;
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #f8fafb;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.timeline span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.timeline h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.15;
}

.timeline p {
  margin-bottom: 0;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 850;
}

.faq p {
  max-width: 760px;
}

.contact {
  padding: clamp(64px, 9vw, 110px) 0;
  background: var(--green-dark);
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, .78);
}

.contact-box {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 26px;
  background: var(--white);
  color: var(--ink);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #344454;
  font-weight: 800;
}

.lead-form label:nth-child(4),
.lead-form button,
.lead-form .form-note {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 12px;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(45, 106, 79, .28);
  border-color: var(--green);
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.footer {
  padding: 26px 0;
  background: #111922;
  color: var(--white);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--white);
}

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

  .hero {
    min-height: 840px;
  }

  .hero-content {
    margin: 0 auto 270px;
  }

  .hero-facts {
    left: 18px;
    right: 18px;
    grid-template-columns: repeat(2, 1fr);
    width: auto;
  }

  .two-col,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

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

  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    padding: 9px 11px;
    font-size: 14px;
  }

  .hero {
    min-height: 920px;
  }

  .hero-content {
    width: calc(100% - 30px);
    margin-bottom: 390px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    padding: 15px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .highlights,
  .gallery,
  .timeline,
  .location-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .timeline article {
    min-height: auto;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 10px;
    padding: 64px 14px 18px;
  }

  .lightbox-panel {
    grid-column: 1 / -1;
    grid-row: 1;
    max-height: calc(100vh - 148px);
  }

  .lightbox-image {
    max-height: calc(100vh - 300px);
  }

  .lightbox figcaption {
    padding: 14px;
  }

  .lightbox-nav {
    grid-row: 2;
    width: 100%;
    height: 52px;
    font-size: 40px;
  }

  .lightbox-prev {
    grid-column: 1;
  }

  .lightbox-next {
    grid-column: 2;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
