:root {
  --paper: #f7f3eb;
  --warm: #ebe3d5;
  --line: #d8cdbd;
  --ink: #27251e;
  --accent: #46513e;
  --fabric: #988369;
}
.custom { --accent: #674e3c; --fabric: #ae907a; }
.header { min-height: 72px; border-bottom: 0; }
.header-call { text-decoration-color: #a4947d; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(580px, 78svh, 900px);
  padding-block: clamp(52px, 7vw, 108px);
  overflow: hidden;
  background: #383127;
  color: #fffaf1;
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  aspect-ratio: auto;
  background: #494035;
}
.hero-visual img { object-position: center 46%; }
.custom .hero-visual img { object-position: center 50%; }
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #211b16eb 0%, #211b16d9 24%, #211b16a8 45%, #211b163d 73%, #211b1629 100%);
  pointer-events: none;
}
.hero-copy { padding-block: 0; }
.hero .eyebrow { color: #f2dfc4; }
.hero h1 { max-width: 12ch; font-size: clamp(3.1rem, 6vw, 7rem); }
.hero h1 span { color: #fae5ca; font-size: .47em; line-height: 1.12; }
.hero .intro { color: #fff4e5; max-width: 48ch; }
.hero .price { color: #ffe7c8; }
.hero .primary { background: #f2e1ca; color: #2b251e; border-color: #f2e1ca; }
.hero .secondary { color: #fffaf1; background: #211b164d; border-color: #fffaf1b3; }
.hero .secondary:hover { background: #211b16bd; }
.panel {
  width: 28%;
  background:
    url("weave.svg"),
    repeating-linear-gradient(90deg, #291d183b 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, #332820 0%, var(--fabric) 10%, #cebaa1 15%, var(--fabric) 21%, #45352b 30%, #332820 33.3%);
  box-shadow: 0 0 28px #1e160f99;
}
.proof { border-top: 0; padding-block: 24px; }
.proof strong { font-size: 2.45rem; }
.features { gap: 14px; }
.features article {
  padding: 20px;
  background: #fffcf5;
  border: 1px solid var(--line);
}
.features article span { color: var(--accent); letter-spacing: .12em; }
.gallery { background: url("weave.svg"), var(--warm); }
.photos figure { background: var(--paper); }
.photos figcaption { padding: 12px 14px; }
.booking { background: url("weave.svg"), var(--accent); }
.booking form { border: 1px solid #fff9; }
.booking-grid > div { align-self: center; }
.faq details { padding-block: 18px; }
@media (max-width: 680px) {
  .header { min-height: 59px; }
  .hero { min-height: min(660px, 83svh); padding-block: 46px; align-items: end; }
  .hero::after { background: linear-gradient(0deg, #211b16f5, #211b16dc 48%, #211b1699 76%, #211b163d); }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 3.9rem); max-width: 13ch; }
  .hero h1 span { font-size: .53em; }
  .hero-visual img, .custom .hero-visual img { object-position: 54% center; }
  .panel { width: 35%; }
  .proof { padding-block: 15px; }
  .features article { padding: 13px; }
  .features h3 { font-size: 1.28rem; }
  .photos figcaption { padding: 9px; }
}

/* Rounded step taken from Zeal's section and image silhouettes. */
.hero, .gallery { border-radius: 22px; }
.hero::before, .gallery::before, .photos figure::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: var(--step-width, clamp(88px, 13vw, 170px));
  height: var(--step-height, clamp(33px, 4.5vw, 58px));
  background: var(--step-fill, var(--paper));
  mask: url("corner-step.svg") center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}
.hero { --draw: 64%; }
.hero-visual { --draw: inherit; }
.gallery, .photos figure { position: relative; overflow: hidden; }
.photos figure {
  --step-fill: #ebe3d5;
  --step-width: clamp(47px, 7vw, 90px);
  --step-height: clamp(18px, 2.5vw, 34px);
  border-radius: 13px;
}
.booking { border-radius: 22px; }
@media (max-width: 680px) {
  .hero, .gallery, .booking { border-radius: 15px; }
}

.hero, .gallery, .photos figure { border-top-right-radius: 0; }
@media (min-width: 681px) and (max-height: 780px) {
  .hero { padding-block: 49px; }
  .hero h1 { font-size: clamp(3.1rem, min(5.65vw, 10vh), 6rem); }
}

.button,
.mobile-contact a {
  border-radius: 999px;
}
.button {
  min-height: 50px;
  padding-inline: 22px;
}
.button [aria-hidden="true"] {
  display: grid;
  flex: none;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff24;
  line-height: 1;
}
.hero .primary [aria-hidden="true"] {
  background: #2b251e12;
}
@media (max-width: 380px) {
  .hero .button { padding-inline: 14px; }
}

.booking form {
  gap: 18px 16px;
  padding: clamp(20px, 3.5vw, 38px);
  border-radius: 22px;
  background: #fffaf1;
  box-shadow: 0 12px 36px #2019102e;
}
.booking label { gap: 7px; }
.booking input,
.booking select {
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid #b9ad9d;
  border-radius: 11px;
  font-size: 1rem;
}
.booking input:focus,
.booking select:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.booking form button {
  justify-self: stretch;
  justify-content: space-between;
  margin-top: 3px;
}
.booking .form-note { color: var(--muted); max-width: none; }
.booking .form-status {
  padding: 12px 14px;
  border-radius: 11px;
  background: var(--warm);
}
@media (max-width: 680px) {
  .booking form { grid-template-columns: 1fr; gap: 14px; }
}

@media (width < 768px) {
  html {
    --mobile-contact-height: calc(60px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(var(--mobile-contact-height) + 12px);
  }
  body:has(.mobile-contact) { padding-bottom: var(--mobile-contact-height); }
  .mobile-contact {
    position: fixed;
    inset: auto 0 0;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--ink);
  }
  .mobile-contact a {
    display: grid;
    place-items: center;
    min-height: 44px;
    border: 1px solid #ffffff66;
    color: white;
    font-size: .85rem;
    font-weight: 650;
    text-decoration: none;
  }
  .mobile-contact [data-contact="whatsapp"] { background: var(--accent); }
}

.motor-gallery-title { margin-top: 38px; }
@media (width < 768px) {
  .motor-photos { grid-template-columns: 1fr; }
}

.mobile-contact.avoids-submit { visibility: hidden; }
.motorized .hero-visual img { object-position: right top; }
.hero-image-note { margin-top: 16px; color: #fff1df; font-size: .75rem; }
@media (min-width: 961px) {
  .motorized .features:has(> article:last-child:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
