:root {
  --olive-900: #232810;
  --olive-800: #303619;
  --olive-700: #444b22;
  --olive-300: #a6a273;
  --gold: #b99b5d;
  --sand: #f4efe6;
  --paper: #fffaf1;
  --white: #ffffff;
  --ink: #242116;
  --muted: #6f695b;
  --line: rgba(36, 33, 22, .14);
  --shadow: 0 18px 50px rgba(36, 33, 22, .12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --radius: 8px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.loading {
  cursor: progress;
}

img,
svg {
  display: block;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0;
  color: var(--white);
  transition: padding .35s ease, color .35s ease, background .35s ease, backdrop-filter .35s ease;
}

.site-header.is-scrolled {
  top: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(35, 40, 16, .78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}

.top-nav a {
  opacity: .86;
  transition: opacity .25s ease, color .25s ease;
}

.top-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid rgba(185, 155, 93, .72);
  border-radius: 2px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: rgba(185, 155, 93, .18);
  border-color: var(--gold);
}

.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--olive-900);
}

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

.hero-bg {
  background-image: url("../img/hero-capa.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 19, 12, .88) 0%, rgba(20, 19, 12, .55) 42%, rgba(20, 19, 12, .2) 72%, rgba(20, 19, 12, .08) 100%),
    linear-gradient(0deg, rgba(20, 19, 12, .76) 0%, rgba(20, 19, 12, .06) 42%, rgba(20, 19, 12, .38) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 132px 0 50px;
}

.hero-copy {
  width: min(650px, 100%);
  margin-bottom: 44px;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(44px, 5.8vw, 72px);
  line-height: .96;
}

.nowrap {
  white-space: nowrap;
}

.hero-copy p {
  max-width: 580px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  width: min(390px, 100%);
  gap: 18px;
}

.primary-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 2px;
  background: rgba(68, 75, 34, .78);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.primary-button svg,
.submit-button svg {
  width: 22px;
  height: 22px;
}

.primary-button:hover,
.submit-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--olive-700);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.submit-button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.hero-note {
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  font-style: italic;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 600;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-points svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.section-pad {
  padding: clamp(70px, 9vw, 116px) 0;
}

.experience-section,
.visual-section,
.booking-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 920px;
}

#experiencia,
#encantamento,
#agendamento {
  scroll-margin-top: 110px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.18fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.section-label {
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.section-label::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin-top: 16px;
  background: currentColor;
}

.section-copy h2,
.visual-copy h2,
.booking-form-panel h2 {
  margin-bottom: 28px;
  color: var(--olive-900);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}

.section-copy p:not(.section-label),
.visual-copy p:not(.section-label),
.booking-form-panel > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.feature-card {
  min-height: 244px;
  padding: 34px 28px;
  border: 1px solid rgba(36, 33, 22, .11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .64);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 155, 93, .34);
  box-shadow: 0 24px 55px rgba(36, 33, 22, .16);
}

.feature-card svg {
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  color: var(--gold);
}

.feature-card h3 {
  margin-bottom: 14px;
  color: var(--olive-900);
  font-size: 26px;
  line-height: 1.05;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.carousel-section {
  overflow: hidden;
  padding: clamp(34px, 5vw, 56px) 0;
  background: linear-gradient(180deg, var(--paper), var(--sand));
  content-visibility: auto;
  contain-intrinsic-size: auto 190px;
}

.carousel-viewport {
  --carousel-duration: 70s;
  --carousel-gap: 10px;
  --carousel-visible: 8;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: var(--carousel-gap);
  will-change: transform;
}

.carousel-track.is-ready {
  animation: carouselLoop var(--carousel-duration) linear infinite;
}

.carousel-viewport:hover .carousel-track,
.carousel-viewport:focus-within .carousel-track {
  animation-play-state: paused;
}

.carousel-item {
  flex: 0 0 calc((100vw - (var(--carousel-gap) * (var(--carousel-visible) - 1))) / var(--carousel-visible));
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--olive-300);
  box-shadow: 0 14px 35px rgba(36, 33, 22, .12);
  cursor: zoom-in;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease, filter .65s ease;
}

.carousel-item:hover img,
.carousel-item:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.06);
}

.carousel-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

@keyframes carouselLoop {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - (var(--carousel-gap) / 2)), 0, 0);
  }
}

.visual-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244, 239, 230, .95), rgba(255, 250, 241, .72)),
    var(--sand);
}

.visual-section::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: 38px;
  width: 280px;
  height: 520px;
  border-right: 1px solid rgba(185, 155, 93, .22);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.visual-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .82fr 1.42fr;
  gap: clamp(34px, 6vw, 70px);
  align-items: start;
}

.visual-copy {
  position: sticky;
  top: 118px;
}

.visual-copy blockquote {
  position: relative;
  margin: 56px 0 0;
  padding-top: 38px;
  color: var(--olive-800);
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 40px);
  font-style: italic;
  line-height: 1.25;
}

.visual-copy blockquote::before {
  content: "“";
  position: absolute;
  top: -20px;
  left: 0;
  color: var(--gold);
  font-size: 76px;
  font-style: normal;
  line-height: 1;
}

.visual-copy blockquote::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin-top: 28px;
  background: var(--gold);
}

.gallery-grid {
  align-self: start;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  grid-template-areas:
    "a a b b c c"
    "a a b b c c"
    "a a e e f f"
    "g g e e i i"
    "d d d h h h";
  gap: 10px;
  width: 100%;
  height: clamp(690px, 66vw, 820px);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--olive-300);
  box-shadow: 0 14px 35px rgba(36, 33, 22, .11);
}

.gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(20, 19, 12, .22));
  opacity: 0;
  transition: opacity .35s ease;
}

.gallery-trigger:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.gallery-item img {
  transition: transform .8s ease, filter .8s ease;
}

.gallery-item:hover img,
.gallery-trigger:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.07);
}

.gallery-item:hover .gallery-trigger::after,
.gallery-trigger:focus-visible::after {
  opacity: 1;
}

.gallery-item:nth-child(1) { grid-area: a; }
.gallery-item:nth-child(2) { grid-area: b; }
.gallery-item:nth-child(3) { grid-area: c; }
.gallery-item:nth-child(4) { grid-area: d; }
.gallery-item:nth-child(5) { grid-area: e; }
.gallery-item:nth-child(6) { grid-area: f; }
.gallery-item:nth-child(7) { grid-area: g; }
.gallery-item:nth-child(8) { grid-area: h; }
.gallery-item:nth-child(9) { grid-area: i; }

.lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  grid-template-columns: 74px 1fr 74px;
  align-items: center;
  gap: 12px;
  padding: 72px clamp(14px, 4vw, 42px) 36px;
  background: rgba(15, 17, 10, .92);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility 0s linear .25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.lightbox-stage {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-width: 0;
  margin: 0;
}

.lightbox-stage img {
  width: auto;
  max-width: min(100%, 1240px);
  height: auto;
  max-height: calc(100svh - 142px);
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .45);
  object-fit: contain;
}

.lightbox-stage figcaption {
  max-width: 860px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(185, 155, 93, .18);
  outline: none;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
}

.lightbox-nav {
  width: 58px;
  height: 58px;
  justify-self: center;
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 24px;
  height: 24px;
}

body.lightbox-open {
  overflow: hidden;
}

.booking-section {
  background: linear-gradient(180deg, var(--paper) 0%, #d8d0bd 100%);
}

.booking-shell {
  display: grid;
  grid-template-columns: .78fr 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 25px 80px rgba(36, 33, 22, .22);
}

.booking-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--olive-900);
}

.booking-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(35, 40, 16, .84), rgba(35, 40, 16, .44)),
    linear-gradient(0deg, rgba(35, 40, 16, .86), rgba(35, 40, 16, .08));
}

.booking-benefits {
  position: absolute;
  right: 34px;
  bottom: 42px;
  left: 34px;
  display: grid;
  gap: 18px;
  color: var(--white);
}

.booking-benefits p {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  font-weight: 700;
  line-height: 1.35;
}

.booking-benefits span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  color: var(--gold);
}

.booking-benefits svg {
  width: 23px;
  height: 23px;
}

.booking-form-panel {
  padding: clamp(34px, 5vw, 62px);
}

.booking-form-panel h2 {
  max-width: 560px;
}

.booking-form-panel > p {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: 16px;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.field-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field > span {
  overflow: hidden;
  height: 1px;
  width: 1px;
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
}

.field input,
.field select,
.custom-select-toggle {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(36, 33, 22, .24);
  border-radius: 3px;
  background: rgba(255, 250, 241, .42);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.field input::placeholder {
  color: rgba(36, 33, 22, .52);
}

.field input:focus,
.field select:focus,
.custom-select-toggle:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(185, 155, 93, .14);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid .custom-select-toggle,
.consent.is-invalid {
  border-color: #a34834;
  box-shadow: 0 0 0 4px rgba(163, 72, 52, .1);
}

.custom-select-field {
  position: relative;
}

.custom-select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.custom-select-toggle span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-toggle svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--ink);
  transition: transform .2s ease;
}

.custom-select-field.is-open .custom-select-toggle svg {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  z-index: 24;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: none;
  width: 100%;
  max-height: min(238px, 52svh);
  overflow-y: auto;
  border: 1px solid rgba(36, 33, 22, .24);
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(36, 33, 22, .16);
}

.custom-select-field.is-open .custom-select-menu {
  display: grid;
}

.custom-select-menu button {
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.custom-select-menu button:hover,
.custom-select-menu button:focus-visible,
.custom-select-menu button[aria-selected="true"] {
  background: rgba(68, 75, 34, .1);
  outline: none;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--olive-700);
}

.form-error {
  min-height: 18px;
  margin: 0;
  color: #9f3a2b;
  font-size: 13px;
  font-weight: 700;
}

.submit-button {
  min-height: 58px;
  width: 100%;
  border-color: transparent;
  background: var(--olive-800);
}

.secure-note {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.secure-note svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px 20px 38px;
  background: radial-gradient(circle at 50% 0%, rgba(185, 155, 93, .18), transparent 42%), var(--olive-900);
  color: var(--white);
  text-align: center;
}

.footer-brand {
  justify-content: center;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-credits {
  margin-top: 10px;
  color: rgba(255, 255, 255, .58) !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-style: normal !important;
  line-height: 1.45;
}

.footer-credits a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credits a:hover {
  color: inherit;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.technical-page {
  min-height: 100vh;
  background: var(--sand);
}

.technical-wrap {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
}

.technical-panel {
  width: min(940px, 100%);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.technical-panel h1 {
  margin-bottom: 14px;
  color: var(--olive-900);
  font-size: clamp(44px, 7vw, 72px);
  line-height: .95;
}

.technical-panel > p:not(.section-label) {
  color: var(--muted);
  line-height: 1.7;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.technical-grid article {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.technical-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.technical-grid code,
.technical-code {
  color: var(--olive-800);
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

.technical-code {
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  line-height: 1.6;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1.5%, 1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 1440px) {
  .carousel-viewport {
    --carousel-visible: 5;
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 30px, 720px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 18px 0;
  }

  .top-nav {
    display: none;
  }

  .brand {
    font-size: 17px;
    letter-spacing: 1.5px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 16px;
    font-size: 12px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(20, 19, 12, .88) 0%, rgba(20, 19, 12, .42) 54%, rgba(20, 19, 12, .42) 100%),
      linear-gradient(90deg, rgba(20, 19, 12, .72), rgba(20, 19, 12, .18));
  }

  .hero-content {
    min-height: 96svh;
    padding-top: 116px;
    padding-bottom: 36px;
  }

  .hero-copy {
    margin-bottom: 30px;
  }

  h1 {
    font-size: clamp(40px, 10.5vw, 58px);
    line-height: .96;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .primary-button,
  .submit-button {
    min-height: 58px;
    padding: 0 22px;
    font-size: 15px;
  }

  .split-layout,
  .visual-layout,
  .booking-shell {
    grid-template-columns: 1fr;
  }

  .section-copy h2,
  .visual-copy h2,
  .booking-form-panel h2 {
    font-size: clamp(38px, 10vw, 54px);
  }

  .section-copy p:not(.section-label),
  .visual-copy p:not(.section-label) {
    font-size: 16px;
  }

  .feature-grid {
    gap: 12px;
  }

  .carousel-viewport {
    --carousel-visible: 4;
  }

  .visual-copy {
    position: static;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(7, minmax(0, 1fr));
    grid-template-areas:
      "a a b b c c"
      "a a b b c c"
      "d d d e e e"
      "d d d e e e"
      "f f g g h h"
      "f f i i h h"
      "f f i i h h";
    height: clamp(560px, 86vw, 700px);
  }

  .lightbox {
    grid-template-columns: 54px 1fr 54px;
    gap: 6px;
    padding-inline: 10px;
  }

  .lightbox-nav {
    width: 48px;
    height: 48px;
  }

  .booking-media {
    min-height: 430px;
  }

  .booking-form-panel {
    padding: 34px 22px 26px;
  }

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

@media (max-width: 620px) {
  :root {
    --container: calc(100% - 24px);
  }

  .site-header.is-scrolled {
    top: 8px;
    padding: 10px 12px;
  }

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

  .brand span:last-child {
    max-width: 135px;
    font-size: 15px;
    line-height: 1.05;
  }

  .header-cta {
    min-width: 118px;
  }

  .hero-section {
    min-height: 96svh;
  }

  .hero-bg {
    background-image: url("../img/hero-capa-mobile.jpg");
    background-position: 52% center;
  }

  .hero-copy p {
    max-width: 94%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-pad {
    padding: 64px 0;
  }

  .section-label {
    margin-bottom: 20px;
    letter-spacing: 5px;
  }

  .feature-grid,
  .field-row.two {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .feature-card h3 {
    font-size: 25px;
  }

  .carousel-section {
    padding: 26px 0;
  }

  .carousel-viewport {
    --carousel-visible: 2;
    --carousel-gap: 8px;
  }

  .visual-section::after {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(0, 1fr));
    grid-template-areas:
      "a a b b"
      "a a c c"
      "d d c c"
      "e e f f"
      "g g h h"
      "i i i i";
    height: min(90svh, 680px);
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    padding: 70px 12px 28px;
  }

  .lightbox-stage {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    grid-row: 2;
    margin-top: 8px;
  }

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

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

  .lightbox-stage img {
    max-height: calc(100svh - 174px);
  }

  .footer-brand {
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .footer-brand .brand-mark {
    width: 80px;
    height: 80px;
  }

  .footer-brand span:last-child {
    max-width: none;
    font-size: 18px;
    line-height: 1.1;
    text-align: center;
  }

  .booking-shell {
    width: calc(100% - 18px);
  }

  .booking-media {
    min-height: 360px;
  }

  .booking-benefits {
    right: 20px;
    bottom: 24px;
    left: 20px;
    gap: 12px;
  }

  .booking-benefits p {
    padding-bottom: 12px;
    font-size: 13px;
  }

  .booking-benefits span {
    width: 36px;
    height: 36px;
  }

  .field input,
  .field select,
  .custom-select-toggle {
    min-height: 52px;
    font-size: 16px;
  }

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