/* ==========================================================================
   MPC Vacations — Marketing Site
   Brand tokens extracted from the existing app (coral / teal / golden).
   ========================================================================== */

:root {
  /* Brand */
  --coral: hsl(351, 100%, 67%);
  --coral-dark: hsl(351, 74%, 56%);
  --teal: hsl(183, 100%, 33%);
  --teal-dark: hsl(183, 100%, 24%);
  --golden: hsl(45, 100%, 50%);

  /* Neutrals */
  --ink: hsl(0, 0%, 16%);
  --dark-gray: hsl(0, 0%, 28.2%);
  --medium-gray: hsl(0, 0%, 46%);
  --line: hsl(0, 0%, 90%);
  --bg: #ffffff;
  --bg-soft: hsl(0, 0%, 97.5%);

  /* Type */
  --font-head: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Structure */
  --radius: 0.75rem;
  --radius-lg: 1.5rem;
  --maxw: 1200px;
  --nav-h: 76px;

  /* Shadow */
  --shadow-sm: 0 2px 10px -2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px -6px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 45px -12px rgba(0, 0, 0, 0.22);
}

/* --- Reset / base ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark-gray);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1rem; }

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

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

ul { margin: 0; padding: 0; list-style: none; }

/* --- Layout helpers -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--soft { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}
.section-head p {
  color: var(--medium-gray);
  font-size: 1.1rem;
  margin: 0;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--coral-dark); box-shadow: var(--shadow-md); }

.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); }

.btn--ghost { background: transparent; border-color: currentColor; color: var(--dark-gray); }
.btn--ghost:hover { background: var(--dark-gray); color: #fff; border-color: var(--dark-gray); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: rgba(255, 255, 255, 0.88); }

.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}
.nav.is-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 34px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark-gray);
  transition: color 0.2s ease;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--coral); }

/* On transparent hero, links start white */
.nav:not(.is-solid) .nav__links a { color: #fff; }
.nav:not(.is-solid) .nav__links a:hover { color: var(--golden); }
.nav:not(.is-solid) .nav__toggle span { background: #fff; }

.nav__cta { display: inline-flex; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark-gray);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.3s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    align-items: stretch;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a {
    color: var(--dark-gray) !important;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links .nav__cta {
    margin: 0.75rem 1.5rem;
    justify-content: center;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('../images/hero-banner.avif') center / cover no-repeat;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 4rem;
}
.hero__inner { max-width: 820px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  margin-bottom: 1rem;
}
.hero h1 .accent { color: var(--golden); }
.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 620px;
  margin: 0 auto 2.25rem;
  color: rgba(255, 255, 255, 0.94);
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust {
  background: var(--ink);
  color: #fff;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}
.trust__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  line-height: 1;
}
.trust__num .star { color: var(--golden); }
.trust__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
}

/* ==========================================================================
   Featured property (split)
   ========================================================================== */
.featured__card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.featured__media {
  position: relative;
  min-height: 340px;
  background: linear-gradient(135deg, var(--teal), var(--coral));
}
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--golden);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.featured__body {
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured__body h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 0.4rem; }
.featured__loc {
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.featured__specs {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.featured__spec { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; color: var(--dark-gray); }
.featured__spec i { color: var(--teal); }
.featured__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
@media (max-width: 800px) {
  .featured__card { grid-template-columns: 1fr; }
  .featured__media { min-height: 260px; }
}

/* ==========================================================================
   Sub-page hero (short banner for inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(3rem, 8vw, 5.5rem)) 1.25rem clamp(3rem, 7vw, 5rem);
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url('../images/hero-banner.avif') center / cover no-repeat;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 0.6rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   Filter bar (properties page)
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.filter-bar__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.filter-bar__field label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--medium-gray);
}
.filter-bar__field select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-gray);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 2.4rem 0.65rem 1.1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23757575' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filter-bar__field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px hsla(183, 100%, 33%, 0.15);
}
.filter-bar__count {
  font-size: 0.9rem;
  color: var(--medium-gray);
  padding-bottom: 0.7rem;
}
.filter-empty {
  text-align: center;
  color: var(--medium-gray);
  padding: 3rem 1rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Property cards grid
   ========================================================================== */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.prop-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prop-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--coral), var(--teal));
}
.prop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.prop-card:hover .prop-card__media img { transform: scale(1.06); }
.prop-card__rating {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.prop-card__rating .star { color: var(--golden); }
.prop-card__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--golden);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.prop-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.prop-card__body h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.prop-card__loc { color: var(--medium-gray); font-size: 0.92rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.35rem; }
.prop-card__specs { color: var(--medium-gray); font-size: 0.9rem; margin-bottom: 1.2rem; }
.prop-card__foot { margin-top: auto; display: flex; gap: 0.6rem; }
.prop-card__foot .btn { flex: 1; }

/* ==========================================================================
   Split content blocks (about / concierge rows)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split__media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split__body h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.split__body p { color: var(--medium-gray); font-size: 1.05rem; }
.split--reverse .split__media { order: 2; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ==========================================================================
   Concierge tiles
   ========================================================================== */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.05));
}
.tile:hover img { transform: scale(1.06); }
.tile__body { position: relative; z-index: 1; padding: 1.75rem; }
.tile__body h3 { color: #fff; font-size: 1.35rem; margin-bottom: 0.35rem; }
.tile__body p { color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; margin: 0; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* ==========================================================================
   Feature columns (why choose)
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.feature { text-align: center; }
.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--teal));
}
.feature h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature p { color: var(--medium-gray); margin: 0; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--coral), var(--coral-dark));
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.75rem); }
.cta-band p { color: rgba(255, 255, 255, 0.92); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer__brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}
.footer__brand p { margin: 1rem 0 1.25rem; max-width: 340px; }
.footer__social { display: flex; gap: 1rem; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s ease;
}
.footer__social a:hover { background: var(--coral); }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { transition: color 0.2s ease; }
.footer__links a:hover { color: var(--coral); }
.footer__contact li { margin-bottom: 0.6rem; display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__contact i { color: var(--teal); margin-top: 0.25rem; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Property detail page
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--medium-gray);
  padding-top: calc(var(--nav-h) + 1.5rem);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--teal); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--teal-dark); }
.breadcrumb .sep { color: var(--line); }

.detail-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.25rem;
}
.detail-hero img {
  width: 100%;
  height: clamp(300px, 48vw, 540px);
  object-fit: cover;
}

.detail-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.detail-head h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 0.35rem; }
.detail-head .loc {
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
}
.detail-head .rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.detail-head .rating .star { color: var(--golden); }
.detail-head .rating small { color: var(--medium-gray); font-weight: 400; }

.specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.25rem;
  padding: 1.1rem 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 2.25rem;
}
.specs-row span { display: flex; align-items: center; gap: 0.55rem; font-weight: 500; }
.specs-row i { color: var(--teal); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.detail-desc h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.detail-desc p { color: var(--medium-gray); font-size: 1.05rem; }

.amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1.5rem;
  margin-top: 1rem;
}
.amenities li { display: flex; align-items: center; gap: 0.7rem; color: var(--dark-gray); }
.amenities i { color: var(--teal); width: 1.2rem; text-align: center; }

.book-card {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
}
.book-card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.book-card > p { color: var(--medium-gray); font-size: 0.95rem; }
.book-card .btn { width: 100%; margin-top: 0.75rem; }
.book-card__note {
  font-size: 0.82rem;
  color: var(--medium-gray);
  text-align: center;
  margin: 1rem 0 0;
}
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .book-card { position: static; }
}
@media (max-width: 520px) {
  .amenities { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-gray);
}
.field label .opt { color: var(--medium-gray); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark-gray);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px hsla(183, 100%, 33%, 0.15);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23757575' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-status { margin-top: 0.5rem; }
.form-status--success,
.form-status--error {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.98rem;
}
.form-status--success {
  background: hsl(147, 60%, 95%);
  border: 1px solid hsl(147, 50%, 75%);
  color: hsl(147, 70%, 22%);
}
.form-status--error {
  background: hsl(351, 100%, 97%);
  border: 1px solid hsl(351, 80%, 85%);
  color: hsl(351, 70%, 38%);
}
.form-status i { margin-top: 0.2rem; }

.btn .spinner {
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.info-card + .info-card { margin-top: 1.5rem; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.info-card ul li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  color: var(--dark-gray);
}
.info-card ul li:last-child { margin-bottom: 0; }
.info-card i { color: var(--teal); margin-top: 0.3rem; width: 1.1rem; text-align: center; }
.info-card a { color: var(--teal); font-weight: 500; }
.info-card a:hover { color: var(--teal-dark); }
.info-card small { color: var(--medium-gray); display: block; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__scroll { animation: none; }
}
