/*
Theme Name: PineTop Code Theme
Theme URI: https://pinetopresort.com
Author: PineTop Resort
Description: Code-based custom theme for PineTop Resort.
Version: 1.0.13
Text Domain: pinetop-code
GitHub Theme URI: https://github.com/pinetopresort/pinetop-code-theme
Primary Branch: main
GitHub Branch: main
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Outfit:wght@500;700;800&display=swap');

:root {
  --bg: #060b15;
  --bg-soft: #0b1424;
  --bg-alt: #0f1b30;
  --card: #101f35;
  --card-soft: #12253f;
  --text: #e9f1fb;
  --muted: #9fb2c9;
  --brand: #18c7b1;
  --brand-dark: #0ea997;
  --gold: #f4d04b;
  --gold-text: #3f2f0f;
  --line: rgba(157, 183, 214, 0.25);
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Manrope, Segoe UI, Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 540px at 8% -12%, rgba(24, 199, 177, 0.18), transparent 58%),
    radial-gradient(760px 420px at 96% 10%, rgba(56, 189, 248, 0.14), transparent 62%),
    linear-gradient(180deg, #050a13 0%, #060d19 40%, #091224 100%);
  min-height: 100%;
}

body {
  line-height: 1.55;
}

h1,
h2,
h3,
h4 {
  font-family: Outfit, Manrope, Segoe UI, Tahoma, sans-serif;
  letter-spacing: 0.01em;
  margin: 0;
}

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

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

#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #2ce6cf 0%, #43b0ff 50%, #f4d04b 100%);
  box-shadow: 0 0 16px rgba(44, 230, 207, 0.65);
}

#pinetopHeader,
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 99999 !important;
  padding: 12px 0;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#pinetopHeader .nav,
.site-header .nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(4, 10, 22, 0.76);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

body.page-scrolled #pinetopHeader .nav,
body.page-scrolled .site-header .nav {
  background: rgba(3, 9, 20, 0.9);
  border-color: rgba(157, 183, 214, 0.42);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.42);
}

.logo {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: #e8f0fb;
}

.nav-links a {
  position: relative;
  padding: 6px 2px;
  opacity: 0.92;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav-links a:hover {
  color: #ffffff;
  opacity: 1;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.22s ease, filter 0.22s ease, background-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(8, 57, 52, 0.45);
}

.btn-gold {
  background: linear-gradient(145deg, #f8db67, var(--gold));
  color: var(--gold-text);
  border-color: rgba(252, 226, 126, 0.5);
}

.nav-toggle {
  display: none;
  color: #e8f0fb;
  border: 1px solid var(--line);
  background: rgba(8, 17, 32, 0.82);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 16% 28%, rgba(17, 210, 183, 0.2), transparent 65%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(3, 10, 21, 0.94) 6%, rgba(3, 10, 21, 0.74) 58%, rgba(3, 10, 21, 0.56) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding-top: 190px;
  padding-bottom: 84px;
}

.kicker {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(2, 7, 16, 0.4);
  color: #f8fcff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1.03;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}

.hero p {
  max-width: 780px;
  color: #dde8f4;
  font-size: 1.14rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}

.chip {
  padding: 8px 14px;
  border: 1px solid rgba(197, 223, 248, 0.36);
  border-radius: 999px;
  background: rgba(4, 12, 24, 0.38);
  color: #edf5ff;
  font-weight: 600;
}

.booking-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(5, 12, 25, 0.45);
  border: 1px solid rgba(195, 220, 247, 0.34);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.booking-bar label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d7e3f0;
}

.booking-bar input,
.booking-bar select {
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(197, 220, 248, 0.28);
  background: rgba(9, 24, 44, 0.86);
  color: #eff6ff;
  padding: 0 12px;
}

.booking-bar button.btn {
  border: 0;
  height: 46px;
  align-self: end;
}

.booking-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #d6e3f2;
  text-transform: none;
  letter-spacing: normal;
}

.booking-consent a {
  color: #7ae9da;
}

.booking-consent input {
  margin-top: 3px;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin: 0 0 10px;
}

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

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

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

.dining-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 20px;
  align-items: start;
}

.card {
  background: linear-gradient(180deg, rgba(18, 34, 58, 0.96), rgba(14, 29, 49, 0.96));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.card:hover {
  border-color: rgba(98, 220, 205, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.card-wide {
  grid-column: 1 / -1;
}

.card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.price {
  font-weight: 800;
  color: #4ff3dc;
  font-size: 1.5rem;
}

.room-strip {
  display: flex;
  overflow: auto;
  scroll-snap-type: x mandatory;
}

.room-strip img {
  min-width: 100%;
  height: 250px;
  scroll-snap-align: start;
}

.book-form {
  display: grid;
  gap: 10px;
}

.book-form input {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
}

.band {
  background: linear-gradient(180deg, rgba(12, 24, 42, 0.9) 0%, rgba(9, 19, 34, 0.9) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.media-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.24);
}

.media-card video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.contact-page .contact-top {
  align-items: stretch;
}

.contact-card .card-body h1 {
  max-width: 760px;
}

.contact-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.contact-list p {
  margin: 0;
  color: #d7e6f8;
}

.contact-list a {
  color: #76f1df;
  font-weight: 700;
}

.contact-meta {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.contact-meta .card-body + .card-body {
  border-top: 1px solid var(--line);
}

.contact-meta h3 {
  margin-bottom: 6px;
}

.contact-map-wrap {
  margin-top: 20px;
  overflow: hidden;
}

.contact-map-wrap iframe {
  width: 100%;
  min-height: 450px;
  border: 0;
  display: block;
}

.contact-extra {
  margin-top: 20px;
}

.home-gallery {
  padding-top: 64px;
}

.home-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 210px;
  gap: 12px;
}

.home-gallery-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(10, 20, 36, 0.75);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.home-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home-gallery-card:hover img {
  transform: scale(1.04);
}

.home-gallery-card.tall {
  grid-row: span 2;
}

.home-gallery-card.wide {
  grid-column: span 2;
}

.reservation-room-head {
  margin-top: 20px;
}

.reservation-room-head h3 {
  margin: 0;
  font-size: 1.3rem;
}

.room-picker {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.room-option {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(9, 19, 34, 0.84);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  min-height: 238px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.room-option img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  display: block;
}

.room-option-tag {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #082a26;
  background: #54f2dc;
  border-radius: 999px;
  padding: 5px 8px;
}

.room-option-overlay {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(2, 8, 15, 0.05) 16%, rgba(2, 8, 15, 0.82) 82%);
}

.room-option-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 12px;
  color: #f4f9ff;
}

.room-option-body strong {
  font-size: 0.95rem;
  line-height: 1.3;
}

.room-option-body span {
  font-size: 12px;
  color: #c5d6eb;
}

.room-option-body em {
  font-style: normal;
  color: #5cf1de;
  font-weight: 800;
  font-size: 13px;
}

.room-option:hover {
  transform: translateY(-3px);
  border-color: rgba(100, 222, 209, 0.66);
}

.room-option.active {
  border-color: #52f2db;
  box-shadow: 0 0 0 2px rgba(82, 242, 219, 0.24), 0 16px 24px rgba(5, 20, 37, 0.5);
  transform: translateY(-3px);
}

.room-option.locked {
  opacity: 0.4;
  filter: grayscale(0.18);
  cursor: not-allowed;
  transform: none;
}

.room-option.locked:hover {
  transform: none;
  border-color: var(--line);
}

.room-option:focus-visible {
  outline: 2px solid #52f2db;
  outline-offset: 2px;
}

.reservation-form-grid {
  align-items: start;
}

.reservation-room-input small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.reservation-summary {
  grid-column: 1 / -1;
}

.reservation-summary .card-body {
  padding-top: 14px;
}

.reservation-summary h3 {
  margin-bottom: 10px;
}

.reservation-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(157, 183, 214, 0.26);
  color: #d5e4f7;
}

.reservation-summary-row.total {
  border-bottom: 0;
  color: #72f2e1;
}

.reservation-summary-row strong {
  text-align: right;
}

.reservation-submit {
  margin-top: 2px;
}

.reservation-premium-intro {
  margin-bottom: 14px;
}

.reservation-main-card {
  overflow: hidden;
}

.reservation-availability {
  margin-bottom: 18px;
  border: 1px solid rgba(134, 169, 208, 0.34);
  background: linear-gradient(180deg, rgba(11, 25, 43, 0.95), rgba(8, 21, 38, 0.95));
  border-radius: 16px;
  padding: 14px;
}

.reservation-availability-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.reservation-availability-head p {
  margin: 6px 0 0;
}

.res-cal-toolbar {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.res-cal-toolbar strong {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8e8fb;
}

.res-cal-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.res-cal-btn {
  border: 1px solid rgba(141, 175, 212, 0.45);
  background: rgba(10, 24, 43, 0.8);
  color: #e9f4ff;
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.res-cal-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(98, 235, 218, 0.7);
}

.res-cal-btn.ghost {
  color: #9dd7ff;
}

.res-date-pills {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.res-date-pill {
  border: 1px solid rgba(138, 173, 212, 0.34);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(8, 21, 38, 0.82);
}

.res-date-pill span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9db6d3;
}

.res-date-pill strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #eff7ff;
}

.reservation-availability-status {
  margin: 10px 2px 0;
  font-size: 12px;
  color: #97b5d8;
}

.reservation-availability-status.success {
  color: #70efdc;
}

.reservation-availability-status.error {
  color: #ff97ac;
}

.res-calendar-months {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.res-month-card {
  border: 1px solid rgba(136, 171, 211, 0.3);
  border-radius: 14px;
  background: rgba(6, 18, 34, 0.86);
  padding: 10px;
}

.res-month-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #e8f4ff;
}

.res-weekdays,
.res-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.res-weekdays span {
  text-align: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8ea9c8;
  padding: 4px 0;
}

.res-day {
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(128, 161, 200, 0.24);
  background: rgba(9, 23, 42, 0.75);
  color: #e9f4ff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.res-day:hover:not(.disabled):not(.blank) {
  transform: translateY(-1px);
  border-color: rgba(96, 230, 213, 0.72);
}

.res-day.blank {
  visibility: hidden;
  pointer-events: none;
}

.res-day.disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.res-day.unavailable {
  opacity: 0.48;
  color: #ffcdd7;
  border-color: rgba(255, 126, 150, 0.5);
  background: rgba(78, 26, 40, 0.5);
  text-decoration: line-through;
}

.res-day.in-range {
  border-color: rgba(112, 231, 217, 0.45);
  background: rgba(37, 176, 163, 0.28);
}

.res-day.start,
.res-day.end {
  background: linear-gradient(145deg, #19d5bf, #12b8a5);
  border-color: rgba(116, 245, 229, 0.85);
  color: #042620;
}

.reservation-form-grid input[readonly] {
  background: rgba(9, 23, 43, 0.9);
  color: #e6f2ff;
  cursor: default;
}

.reservation-form-grid input[type="hidden"] {
  display: none;
}

.page-hero {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(4, 12, 26, 0.85), rgba(4, 12, 26, 0.58));
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 180px;
  padding-bottom: 70px;
}

.tour-page {
  position: relative;
}

.tour-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.tour-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 420px at 14% 28%, rgba(32, 224, 197, 0.2), transparent 70%);
}

.tour-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(3, 11, 22, 0.92) 12%, rgba(3, 11, 22, 0.72) 54%, rgba(3, 11, 22, 0.48) 100%);
}

.tour-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 184px;
  padding-bottom: 92px;
}

.tour-hero-inner h1 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.05;
}

.tour-hero-inner p {
  margin-top: 12px;
  max-width: 760px;
  color: #d8e6f7;
  font-size: 1.1rem;
}

.tour-hero-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tour-sequence {
  padding-top: 74px;
}

.tour-trailer-block {
  padding-top: 68px;
}

.tour-trailer-card {
  overflow: hidden;
}

.tour-trailer-video {
  display: block;
  width: 100%;
  min-height: 420px;
  max-height: 78vh;
  object-fit: cover;
  background: #050a13;
}

.tour-trailer-video.portrait {
  object-fit: contain;
}

.tour-sequence-head {
  margin-bottom: 18px;
}

.tour-mobile-hint {
  display: none;
  margin-top: 8px;
  font-size: 13px;
  color: #8ec3ec;
}

.tour-scroll-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  align-items: start;
}

.tour-stage {
  position: sticky;
  top: 112px;
}

.tour-stage-frame {
  position: relative;
  min-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(137, 171, 210, 0.34);
  background: rgba(6, 17, 33, 0.84);
  box-shadow: 0 20px 42px rgba(2, 8, 17, 0.45);
}

.tour-stage-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s ease, transform 0.65s ease;
}

.tour-stage-video.active {
  opacity: 1;
  transform: scale(1);
}

.tour-stage-video.portrait {
  object-fit: contain;
  background: #050a13;
}

.tour-stage-video.portrait.active {
  transform: none;
}

.tour-stage-iframe {
  border: 0;
  background: #050a13;
}

.tour-stage-frame.portrait-active {
  background: #050a13;
}

.tour-stage-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(2, 8, 15, 0) 0%, rgba(2, 8, 15, 0.88) 100%);
}

.tour-stage-overlay span {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(130, 164, 206, 0.46);
  background: rgba(4, 16, 32, 0.72);
  color: #e8f5ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tour-story {
  display: grid;
  gap: 18px;
}

.tour-step {
  min-height: 66vh;
  display: flex;
  align-items: center;
}

.tour-step-card {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(132, 166, 207, 0.3);
  background: linear-gradient(180deg, rgba(14, 30, 51, 0.94), rgba(10, 22, 39, 0.94));
  padding: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tour-step.active .tour-step-card {
  border-color: rgba(89, 237, 220, 0.78);
  box-shadow: 0 0 0 2px rgba(89, 237, 220, 0.22), 0 18px 30px rgba(4, 16, 30, 0.48);
  transform: translateY(-2px);
}

.tour-step-num {
  display: inline-block;
  margin-bottom: 8px;
  color: #6cefe0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tour-step-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.2;
}

.tour-step-card p {
  margin: 0;
  color: #c0d4eb;
}

.tour-youtube-block {
  padding-top: 18px;
}

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

.tour-youtube-card {
  overflow: hidden;
}

.tour-youtube-frame {
  display: block;
  width: 100%;
  border: 0;
  background: #050a13;
  aspect-ratio: 16 / 9;
}

.tour-cta-band .card {
  border-color: rgba(105, 227, 211, 0.3);
}

.legal-page {
  position: relative;
}

.legal-hero {
  position: relative;
  min-height: 54vh;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(38, 215, 196, 0.22), transparent 66%),
    linear-gradient(135deg, #061327 0%, #0a1e3b 40%, #081a32 100%);
}

.legal-hero-privacy {
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(61, 150, 255, 0.2), transparent 66%),
    linear-gradient(135deg, #07142a 0%, #11254a 40%, #0a1f3b 100%);
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 9, 18, 0.36), rgba(3, 9, 18, 0.7));
}

.legal-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 180px;
  padding-bottom: 78px;
}

.legal-hero-inner h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.1;
}

.legal-hero-inner p {
  margin-top: 10px;
  max-width: 840px;
  color: #d2e2f4;
  font-size: 1.06rem;
}

.legal-shell {
  padding-top: 50px;
}

.legal-content {
  display: grid;
  gap: 14px;
}

.legal-card {
  border: 1px solid rgba(134, 168, 209, 0.3);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13, 29, 50, 0.95), rgba(10, 23, 41, 0.95));
  box-shadow: 0 16px 28px rgba(2, 8, 18, 0.4);
  padding: 18px 18px 16px;
}

.legal-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.14rem, 2vw, 1.5rem);
}

.legal-card p {
  margin: 0;
  color: #cfdeef;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #c7d8eb;
}

.legal-card li + li {
  margin-top: 6px;
}

.legal-support a {
  color: #72f1df;
  font-weight: 700;
}

.pinetop-footer {
  margin-top: 64px;
  border-top: 1px solid rgba(120, 153, 191, 0.34);
  background:
    radial-gradient(540px 220px at 8% -20%, rgba(28, 205, 183, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(5, 16, 34, 0.96), rgba(3, 10, 23, 0.98));
  color: #dce8f7;
  padding: 54px 0 24px;
}

.pinetop-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.85fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.pinetop-footer-col {
  min-width: 0;
}

.pinetop-footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.pinetop-footer-logo-link img {
  display: block;
  width: 164px;
  max-width: 100%;
  height: auto;
}

.pinetop-footer-brand p {
  margin: 12px 0 0;
}

.pinetop-footer-title {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f2f8ff;
}

.pinetop-footer-links a {
  display: block;
  color: #c3d5ea;
  margin-bottom: 8px;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.pinetop-footer-links a:hover {
  color: #77f0df;
  transform: translateX(2px);
}

.pinetop-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pinetop-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 173, 212, 0.34);
  background: rgba(8, 21, 40, 0.72);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.pinetop-footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(115, 241, 224, 0.8);
  background: rgba(9, 28, 51, 0.95);
}

.pinetop-footer-social a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.pinetop-footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pinetop-footer-newsletter input[type="email"] {
  flex: 1 1 170px;
  min-width: 170px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(138, 172, 211, 0.36);
  background: rgba(7, 21, 40, 0.82);
  color: #edf6ff;
  padding: 0 12px;
}

.pinetop-footer-newsletter button {
  height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 800;
  color: #032220;
  background: linear-gradient(145deg, #5cf2df, #22d4be);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pinetop-footer-newsletter button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.pinetop-footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(133, 167, 207, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #a8bed7;
}

.pinetop-footer-bottom p {
  margin: 0;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.99);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-parallax] {
  will-change: transform;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(9, 20, 37, 0.84);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #8fa8c5;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(126, 235, 222, 0.72);
  box-shadow: 0 0 0 3px rgba(38, 220, 198, 0.17);
}

label {
  color: #d8e4f2;
}

#totalBox,
[style*="background:#d1e7dd"],
[style*="background:#eaf4ef"],
[style*="background:#f8fcfb"] {
  background: rgba(8, 28, 47, 0.88) !important;
  color: #dce9f8 !important;
  border: 1px solid var(--line) !important;
}

[style*="border:1px solid #dbe4e1"] {
  border-color: var(--line) !important;
}

body.admin-bar #pinetopHeader,
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar #scrollProgress {
  top: 32px;
}

@media (max-width: 960px) {
  #pinetopHeader,
  .site-header {
    padding: 8px 0;
  }

  #pinetopHeader .nav,
  .site-header .nav {
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    gap: 10px;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    background: rgba(10, 21, 38, 0.92);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
  }

  .nav .btn-primary {
    width: 100%;
    text-align: center;
  }

  .booking-bar {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .dining-layout {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(1160px, calc(100% - 20px));
  }

  .media-card video,
  .map-wrap,
  .map-wrap iframe {
    min-height: 280px;
  }

  .room-picker {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 2px;
  }

  .room-option {
    min-width: 268px;
    max-width: 268px;
    scroll-snap-align: start;
  }

  .reservation-summary {
    order: 7;
  }

  .reservation-submit {
    position: sticky;
    bottom: calc(78px + env(safe-area-inset-bottom));
    z-index: 7;
  }

  .contact-meta {
    grid-template-rows: initial;
  }

  .contact-map-wrap iframe {
    min-height: 320px;
  }

  .hero-inner {
    padding-top: 150px;
  }

  .tour-hero-inner {
    padding-top: 156px;
    padding-bottom: 62px;
  }

  .tour-trailer-video {
    min-height: 290px;
    max-height: 68vh;
  }

  .tour-youtube-grid {
    grid-template-columns: 1fr;
  }

  .legal-hero-inner {
    padding-top: 156px;
    padding-bottom: 62px;
  }

  .tour-scroll-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tour-mobile-hint {
    display: block;
  }

  .tour-stage {
    position: relative;
    top: auto;
  }

  .tour-stage-frame {
    min-height: 340px;
  }

  .tour-story {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }

  .tour-step {
    min-height: auto;
    min-width: 82vw;
    max-width: 82vw;
    scroll-snap-align: start;
    align-items: stretch;
  }

  .tour-step-card {
    padding: 18px;
    height: 100%;
  }

  .res-cal-toolbar {
    flex-wrap: wrap;
    align-items: center;
  }

  .res-cal-toolbar strong {
    order: 3;
    width: 100%;
  }

  .res-cal-actions {
    width: auto;
  }

  .res-date-pills {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .res-calendar-months {
    grid-template-columns: 1fr;
  }

  .home-gallery-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .home-gallery-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2px;
  }

  .home-gallery-card {
    min-width: 260px;
    max-width: 260px;
    height: 220px;
    scroll-snap-align: start;
  }

  .home-gallery-card.tall,
  .home-gallery-card.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .pinetop-footer {
    margin-top: 42px;
    padding-top: 46px;
  }

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

  .pinetop-footer-logo-link img {
    width: 146px;
  }

  .pinetop-footer-bottom {
    font-size: 12px;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

.mobile-quickbar {
  display: none;
}

@media (max-width: 960px) {
  .mobile-quickbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 50000;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(148, 175, 209, 0.42);
    background: rgba(3, 10, 22, 0.86);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.44);
  }

  .mobile-quickbar a {
    text-align: center;
    border-radius: 12px;
    padding: 10px 6px;
    font-size: 12px;
    font-weight: 800;
    color: #e9f3ff;
    background: rgba(8, 20, 37, 0.78);
    border: 1px solid rgba(148, 175, 209, 0.26);
  }

  .mobile-quickbar a:nth-child(2) {
    background: linear-gradient(145deg, #19c2ae, #0fa08f);
    color: #041f1c;
    border-color: rgba(102, 239, 219, 0.52);
  }
}

@media (max-width: 782px) {
  body.admin-bar #pinetopHeader,
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar #scrollProgress {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .tour-hero-cta {
    flex-direction: column;
  }

  .tour-hero-cta .btn {
    width: 100%;
  }

  .tour-stage-frame {
    min-height: 280px;
  }

  .tour-trailer-video {
    min-height: 240px;
    max-height: 62vh;
  }

  .tour-step {
    min-width: 88vw;
    max-width: 88vw;
  }

  .tour-step-card h3 {
    font-size: 1.45rem;
  }

  .res-cal-toolbar {
    gap: 8px;
  }

  .res-cal-actions {
    width: 100%;
    justify-content: space-between;
  }

  .res-date-pills {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 16px 14px 14px;
  }

  .pinetop-footer-grid {
    grid-template-columns: 1fr;
  }

  .pinetop-footer-newsletter input[type="email"],
  .pinetop-footer-newsletter button {
    width: 100%;
  }

  .pinetop-footer-bottom {
    display: block;
  }

  .pinetop-footer-bottom p + p {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tour-stage-video,
  .tour-step-card {
    transition: none !important;
  }
}
