:root {
  --bg: #050505;
  --surface: rgba(14, 14, 14, 0.78);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --accent: #f5c02e;
  --brand-black: #000000;
  --brand-white: #ffffff;
  --brand-gold: #f5c02e;
  --line: rgba(255, 255, 255, 0.14);
  --success: #198754;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  overflow-x: clip;
  overflow-y: auto;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  overflow-y: hidden;
  min-height: 100%;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

main,
.site-header,
.site-footer {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

main {
  width: 100%;
}

.site-header {
  position: fixed;
  inset: 18px 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(6, 6, 6, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.brand,
h1,
h2,
h3 {
  font-family: "Patua One", serif;
  letter-spacing: 0.02em;
}

.brand {
  font-size: 1.8rem;
  color: var(--brand-white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a:hover,
.site-footer a:hover,
.link-arrow:hover {
  color: var(--brand-gold);
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.button {
  background: linear-gradient(135deg, var(--brand-gold), #e0a900);
  color: var(--brand-black);
  box-shadow: 0 16px 28px rgba(245, 192, 46, 0.34);
}

.button:hover,
.button-outline:hover,
.whatsapp-float:hover {
  transform: translateY(-2px);
}

.button-outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--brand-white);
}

.hero,
.gallery {
  padding: 72px 0;
}

.hero {
  width: 100%;
  min-height: 100vh;
  padding: 128px 0 72px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 8%, rgba(0, 0, 0, 0.52) 42%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.48)),
    url("../img/momentos-especiales.svg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 34%, rgba(245, 192, 46, 0.26), transparent 18%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.95));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 5.6rem);
  line-height: 0.9;
  margin-bottom: 18px;
}

.typing-title {
  min-height: 1.9em;
}

.typing-dynamic {
  display: inline-block;
  min-width: 9ch;
  color: var(--brand-gold);
  white-space: nowrap;
  vertical-align: baseline;
}

.typing-dynamic::after {
  content: "|";
  margin-left: 2px;
  color: var(--brand-gold);
  animation: typing-blink 900ms steps(1, end) infinite;
}

.typing-cursor {
  display: none;
}

@keyframes typing-blink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

h3 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}

.hero-text,
.section-heading p,
.gallery-card figcaption,
.form-note,
.form-status {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand-gold), #e0a900);
  color: var(--brand-black);
  box-shadow: 0 16px 28px rgba(245, 192, 46, 0.3);
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
}

.link-arrow:hover {
  color: var(--brand-black);
}

.hero-form .button[type="submit"] {
  width: 100%;
  min-height: 58px;
  font-size: 1.06rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li,
.booking-form {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.booking-form,
.hero-points li {
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.booking-form:hover,
.hero-points li:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  border-color: rgba(245, 192, 46, 0.45);
}

.hero-points li {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.gallery {
  width: 100%;
  margin: 0;
  padding-left: clamp(16px, 3vw, 36px);
  padding-right: clamp(16px, 3vw, 36px);
}

.gallery .section-heading {
  margin-left: 8px;
  margin-right: 8px;
}

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  position: relative;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.media-blob {
  position: relative;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  border: 2px solid rgba(245, 192, 46, 0.6);
}

.media-blob::before,
.media-blob::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: var(--brand-gold);
  mix-blend-mode: normal;
}

.media-blob::before {
  top: -18px;
  left: -18px;
  width: 126px;
  height: 92px;
  border-radius: 62% 38% 47% 53% / 55% 41% 59% 45%;
  box-shadow: 74px 24px 0 -42px rgba(245, 192, 46, 0.95);
}

.media-blob::after {
  right: -16px;
  bottom: -20px;
  width: 124px;
  height: 84px;
  border-radius: 41% 59% 66% 34% / 58% 44% 56% 42%;
  box-shadow: -68px -18px 0 -44px rgba(245, 192, 46, 0.92);
}

.media-blob img {
  display: block;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 20px;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  filter: saturate(1.06) contrast(1.04);
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-card:hover .media-blob img {
  transform: scale(1.015);
  filter: saturate(1.12) contrast(1.07);
}

.gallery-card:nth-child(2) .media-blob::before {
  width: 118px;
  height: 84px;
  border-radius: 36% 64% 52% 48% / 62% 39% 61% 38%;
}

.gallery-card:nth-child(2) .media-blob::after {
  width: 112px;
  height: 88px;
  border-radius: 65% 35% 56% 44% / 48% 54% 46% 52%;
}

.gallery-card:nth-child(3) .media-blob::before {
  width: 136px;
  height: 78px;
  border-radius: 52% 48% 37% 63% / 55% 43% 57% 45%;
}

.gallery-card:nth-child(3) .media-blob::after {
  width: 92px;
  height: 92px;
  border-radius: 57% 43% 61% 39% / 40% 63% 37% 60%;
}

.gallery-card figcaption {
  padding: 14px 6px 0;
  line-height: 1.45;
}

.booking-form {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.72), rgba(8, 8, 8, 0.9));
  backdrop-filter: blur(22px);
}

.hero-form {
  max-width: 520px;
  margin-left: auto;
  border-top: 4px solid var(--brand-gold);
}

.form-kicker {
  margin-bottom: 10px;
  color: var(--brand-gold);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.form-intro {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booking-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--brand-white);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
  color: var(--brand-white);
  background: rgba(255, 255, 255, 0.06);
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.booking-form textarea {
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid rgba(245, 192, 46, 0.24);
  border-color: rgba(245, 192, 46, 0.44);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 4px;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--brand-gold);
  transform: translateY(2px);
}

.checkbox-row span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.checkbox-row a {
  color: var(--brand-gold);
  text-decoration: underline;
}

.form-status {
  min-height: 24px;
  margin-top: 12px;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--success);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 40px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer p {
  margin-bottom: 0;
}

.map-section {
  width: 100%;
  margin: 0;
  padding: 24px 0 72px;
  padding-left: clamp(16px, 3vw, 36px);
  padding-right: clamp(16px, 3vw, 36px);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: min(420px, 72vw);
  border: 0;
}

.map-blob {
  position: relative;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  border: 2px solid rgba(245, 192, 46, 0.6);
}

.map-blob::before,
.map-blob::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: var(--brand-gold);
}

.map-blob::before {
  top: -24px;
  left: -20px;
  width: 152px;
  height: 104px;
  border-radius: 63% 37% 33% 67% / 46% 57% 43% 54%;
  box-shadow: 96px 34px 0 -58px rgba(245, 192, 46, 0.95);
}

.map-blob::after {
  right: -20px;
  bottom: -24px;
  width: 144px;
  height: 98px;
  border-radius: 41% 59% 69% 31% / 58% 42% 58% 42%;
  box-shadow: -78px -22px 0 -56px rgba(245, 192, 46, 0.9);
}

.map-blob iframe {
  border-radius: 20px;
  border: 0;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.whatsapp-float img {
  width: 58px;
  height: 58px;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(14, 162, 90, 0.3));
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.reveal-left {
  transform: translateX(-36px);
}

.reveal-right {
  transform: translateX(36px);
}

.reveal-down {
  transform: translateY(-24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .typing-cursor {
    animation: none;
    opacity: 1;
  }

  .typing-dynamic::after {
    animation: none;
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery-card,
  .booking-form,
  .hero-points li,
  .site-nav a,
  .button,
  .button-outline,
  .whatsapp-float {
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .form-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header,
  .hero-inner,
  .site-footer {
    width: min(calc(100% - 24px), var(--container));
    margin-left: auto;
    margin-right: auto;
  }

  .site-header {
    position: static;
    border-radius: 28px;
    flex-direction: column;
    margin-top: 16px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-form {
    order: 1;
    max-width: none;
    margin-left: 0;
  }

  .gallery,
  .map-section {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero-inner,
  .site-footer {
    width: min(calc(100% - 20px), var(--container));
  }

  .hero,
  .gallery,
  .map-section {
    padding: 52px 0;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-actions,
  .hero-points,
  .site-nav {
    display: grid;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .booking-form {
    padding: 22px;
  }

  .media-blob::before,
  .media-blob::after {
    transform: scale(0.72);
    transform-origin: center;
  }

  .map-blob::before,
  .map-blob::after {
    transform: scale(0.68);
    transform-origin: center;
  }

  .hero {
    background-position: 62% center;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float img {
    width: 54px;
    height: 54px;
  }
}
