/* Presidential Pools & Spas: "The Waterline" homepage concept */
:root {
  --navy: #273f64;
  --water: #16263f;
  --deep: #0f1c30;
  --blue: #0678ef;
  --blue-fill: #0565cc;
  --blue-press: #04519f;
  --sky: #55bcec;
  --logo: #24428a;
  --pale: #f5fafd;
  --white: #ffffff;
  --ink: #142033;
  --ink-2: #4a5568;
  --rule: rgba(20, 32, 51, 0.12);
  --rule-light: rgba(255, 255, 255, 0.18);
  --gut: clamp(20px, 4vw, 64px);
  --max: 1680px;
  --bar-h: 88px;
  --f-display: "Outfit", "Roboto", sans-serif;
  --f-text: "Roboto", "Outfit", sans-serif;
  --h1: clamp(2.6rem, 1.2rem + 5.2vw, 7.6rem);
  --h2: clamp(2rem, 1.15rem + 2.6vw, 4.25rem);
  --lead: clamp(1.2rem, 0.95rem + 0.8vw, 1.85rem);
  --body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --sec: clamp(88px, 6vw + 48px, 168px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-fill); outline-offset: 3px; }
.sec--navy :focus-visible, .hero__water :focus-visible, .foot :focus-visible { outline-color: var(--sky); }

/* ---------- Type ---------- */
.h2 { font-family: var(--f-display); font-weight: 600; font-size: var(--h2); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.lead { font-family: var(--f-display); font-weight: 400; font-size: var(--lead); line-height: 1.38; letter-spacing: -0.01em; color: var(--ink); }
.hl { color: var(--sky); }
.hl-blue { color: var(--blue); }
.split .line { padding-bottom: 0.06em; }

/* the logo diamond, sitting on the waterline at the start of a section */
.mark { position: relative; height: 1px; background: var(--rule); margin-bottom: clamp(28px, 3vw, 44px); }
.mark::before { content: ""; position: absolute; left: 0; top: -6px; width: 12px; height: 12px; background: var(--blue); transform: rotate(45deg); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px; border-radius: 999px; border: 0;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.btn--blue { background: var(--blue-fill); color: #fff; }
.btn--blue:hover { background: var(--blue-press); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--lg { padding: 14px 32px; }

.tlink {
  display: inline; padding-block: 12px; line-height: 2.1;
  font-family: var(--f-display); font-weight: 600; font-size: 1.0625rem; color: var(--blue-fill); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 9px) / 35% 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 0.45s var(--ease);
}
.tlink:hover { background-size: 100% 2px; }
.tlink--light { color: #fff; }

.zoom { display: block; overflow: hidden; }
.zoom img { transition: transform 0.9s var(--ease); }
.zoom:hover img { transform: scale(1.03); }

/* ---------- Header ---------- */
.bar { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--rule); }
.bar__in { display: flex; align-items: center; height: var(--bar-h); gap: 24px; }
.bar__logo { flex: 0 0 auto; display: block; }
.bar__logo img { height: 52px; width: auto; }
.nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav__list { display: flex; gap: clamp(14px, 1.6vw, 34px); }
.nav__top {
  position: relative; display: flex; align-items: center; height: var(--bar-h);
  font-family: var(--f-display); font-weight: 500; font-size: 17px; text-decoration: none; color: var(--ink); white-space: nowrap;
}
.nav__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__item:hover .nav__top::after, .nav__item:focus-within .nav__top::after { transform: scaleX(1); }
.drop {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nav__item:hover .drop, .nav__item:focus-within .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drop__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 36px 40px; }
.drop__col { display: flex; flex-direction: column; border-left: 1px solid var(--rule); padding-left: 24px; }
.drop__col a, .drop__h { display: block; padding: 7px 0; font-size: 16px; color: var(--ink); text-decoration: none; }
.drop__col a:hover { color: var(--blue-fill); }
.drop__h { font-family: var(--f-display); font-weight: 600; color: var(--ink-2); }
.bar__act { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.bar__call, .bar__menu { display: none; }
.bar__call { width: 48px; height: 48px; border-radius: 50%; background: var(--pale); align-items: center; justify-content: center; }
.bar__call svg { width: 20px; height: 20px; fill: var(--logo); }
.bar__menu { align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.bar__menu-lines { position: relative; width: 18px; height: 12px; }
.bar__menu-lines i { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.bar__menu-lines i:first-child { top: 1px; }
.bar__menu-lines i:last-child { top: 9px; }
.bar__menu[aria-expanded="true"] .bar__menu-lines i:first-child { top: 5px; transform: rotate(45deg); }
.bar__menu[aria-expanded="true"] .bar__menu-lines i:last-child { top: 5px; transform: rotate(-45deg); }

.mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--rule); max-height: calc(100svh - var(--bar-h)); overflow-y: auto; overscroll-behavior: contain; }
.mnav__in { padding-block: 8px 28px; }
.mnav details { border-bottom: 1px solid var(--rule); }
.mnav summary { display: flex; justify-content: space-between; align-items: center; min-height: 58px; font-family: var(--f-display); font-weight: 600; font-size: 20px; cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease); }
.mnav details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.mnav details div { display: flex; flex-direction: column; padding-bottom: 12px; }
.mnav details a { display: flex; align-items: center; min-height: 44px; font-size: 17px; text-decoration: none; color: var(--ink-2); }
.mnav__cta { width: 100%; margin-top: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: calc(100svh - var(--bar-h)); min-height: 640px; max-height: 1400px; background: var(--water); }
.hero__photo { position: relative; overflow: hidden; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 70%; }
.hero__water { position: relative; background: var(--water); color: #fff; padding-block: clamp(36px, 3.6vw, 64px) clamp(28px, 2.6vw, 44px); isolation: isolate; }
.hero__shader { position: absolute; inset: 0; z-index: -1; opacity: 0.9; }
.hero__shader canvas { display: block; width: 100% !important; height: 100% !important; }
.waterline { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; }
.waterline__rule { position: absolute; inset: 0; background: var(--sky); transform-origin: left; }
.waterline__diamond { position: absolute; top: -7px; left: max(var(--gut), calc((100% - var(--max)) / 2)); width: 16px; height: 16px; background: var(--sky); transform: rotate(45deg); z-index: 1; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(22px, 2.4vw, 36px); align-items: end; }
.hero__h1 { grid-column: 1 / span 8; font-family: var(--f-display); font-weight: 600; font-size: var(--h1); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.hero__side { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 26px; padding-bottom: 0.4em; }
.hero__sub { font-size: clamp(1rem, 0.9rem + 0.3vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, 0.86); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__spec { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-light); }
.hero__spec li { padding: 16px 0 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.15rem); color: rgba(255, 255, 255, 0.9); }
.hero__spec li + li { padding-left: 20px; border-left: 1px solid var(--rule-light); }
.hero__spec a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--sky); }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec--white { background: var(--white); }
.sec--pale { background: var(--pale); }
.sec--navy { background: var(--navy); color: #fff; }
.sec--navy .mark { background: var(--rule-light); }
.sec--navy .mark::before { background: var(--sky); }

/* Advantage */
.adv .grid { row-gap: clamp(48px, 5vw, 88px); }
.adv__head { grid-column: 1 / span 5; }
.adv__body { grid-column: 6 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: calc(clamp(28px, 3vw, 44px) + 1px); }
.adv__photo { grid-column: 1 / span 8; aspect-ratio: 16 / 10; }
.adv__photo--b { grid-column: 9 / -1; aspect-ratio: auto; align-self: stretch; }
.adv__photo img { width: 100%; height: 100%; object-fit: cover; }
.adv__photo--b img { object-position: 40% 60%; }

/* Signature: concept to splash */
.rise { background: var(--white); padding-block: 0; }
.rise__pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 2.4vw, 40px); padding-block: clamp(56px, 4.4vw, 84px); }
@media (min-width: 1024px) and (min-height: 760px) { .rise__pin { min-height: calc(100svh - var(--bar-h)); } }
.rise__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 24px; align-items: end; }
.rise__h { grid-column: 1 / span 6; }
.rise__copy { grid-column: 8 / -1; display: flex; flex-direction: column; gap: 22px; color: var(--ink-2); }
.rise__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.rise__frame { position: relative; height: clamp(300px, calc(100svh - var(--bar-h) - 400px), 760px); overflow: hidden; background: var(--logo); }
.rise__plan { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.35) brightness(1.15); mix-blend-mode: luminosity; opacity: 0.32; }
.rise__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px); background-size: 48px 48px; }
.rise__real { position: absolute; inset: 0; clip-path: inset(0 0 0 0); }
.rise__real img { width: 100%; height: 100%; object-fit: cover; }
.rise__line { position: absolute; left: 0; width: 100%; height: 40px; top: 0; overflow: visible; pointer-events: none; opacity: 0; }
.rise__line path { fill: none; stroke: var(--sky); stroke-width: 3; vector-effect: non-scaling-stroke; }
.rise__contact { display: flex; flex-wrap: wrap; gap: 12px 56px; padding-top: 14px; border-top: 1px solid var(--rule); margin-top: 18px; }
.rise__contact li { display: flex; align-items: baseline; gap: 14px; }
.rise__contact strong { font-family: var(--f-display); font-weight: 600; font-size: 0.95rem; color: var(--ink-2); }
.rise__contact a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.4rem); color: var(--ink); text-decoration: none; }
.rise__contact a:hover { color: var(--blue-fill); }

/* Style explorer */
.styles__head { align-items: end; margin-bottom: clamp(32px, 3vw, 52px); }
.styles__h { grid-column: 1 / span 7; }
.styles__all { grid-column: 10 / -1; justify-self: end; }
.explorer { display: flex; gap: clamp(8px, 0.8vw, 14px); height: clamp(440px, 62vh, 760px); }
.ex { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; text-decoration: none; color: #fff; background: var(--navy); transition: flex-grow 0.8s var(--ease); }
.ex.is-open { flex-grow: 4.2; }
.ex img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s var(--ease); filter: saturate(0.75) brightness(0.82); }
.ex.is-open img { filter: none; }
.ex:hover img { transform: scale(1.03); }
.ex::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(15, 28, 48, 0.78), rgba(15, 28, 48, 0)); }
.ex__label { position: absolute; left: clamp(18px, 1.8vw, 32px); right: clamp(18px, 1.8vw, 32px); bottom: clamp(18px, 1.8vw, 30px); z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ex__name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 0.8rem + 1vw, 2.2rem); line-height: 1.1; letter-spacing: -0.015em; }
.ex:not(.is-open) .ex__name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.45rem); white-space: nowrap; }
.ex.is-open .ex__label::after { content: ""; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; transition: transform 0.3s var(--ease); }
.ex.is-open:hover .ex__label::after { transform: translateX(4px); }

/* Awards */
.awards .grid { row-gap: clamp(44px, 4vw, 72px); }
.awards__head { grid-column: 1 / span 5; }
.awards__body { grid-column: 6 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: calc(clamp(28px, 3vw, 44px) + 1px); color: var(--ink-2); font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.3rem); max-width: 46em; }
.awards__row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.awards__row li { display: flex; align-items: center; justify-content: center; padding: clamp(24px, 3vw, 48px); }
.awards__row li + li { border-left: 1px solid var(--rule); }
.awards__row img { width: auto; height: clamp(110px, 10vw, 170px); object-fit: contain; }
.awards__row li:last-child img { height: clamp(80px, 7vw, 120px); }

/* Trust */
.trust { position: relative; overflow: hidden; }
.trust .grid { align-items: center; row-gap: 48px; position: relative; }
.trust__text { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; position: relative; z-index: 1; }
.trust__p { font-family: var(--f-display); font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.6rem); line-height: 1.45; color: rgba(255, 255, 255, 0.88); max-width: 34em; }
.trust__photo { grid-column: 8 / -1; aspect-ratio: 4 / 5; overflow: hidden; position: relative; z-index: 1; }
.trust__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.trust__big { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 700; line-height: 0.8; letter-spacing: -0.05em; color: rgba(85, 188, 236, 0.3); white-space: nowrap; margin-top: clamp(24px, 3vw, 56px); margin-bottom: -0.12em; }
.trust__big span { display: inline-block; font-size: 10vw; }
.trust__big.is-fit span { font-size: var(--fit); }

/* Offer */
.offer .grid { align-items: center; row-gap: 40px; }
.offer__text { grid-column: 1 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.offer__label { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.6rem); color: var(--blue-fill); letter-spacing: -0.01em; padding-left: 26px; position: relative; }
.offer__label::before { content: ""; position: absolute; left: 2px; top: 50%; width: 11px; height: 11px; background: var(--blue); transform: translateY(-50%) rotate(45deg); }
.offer__big { font-family: var(--f-display); font-weight: 700; font-size: calc(var(--h1) * 0.92); line-height: 0.92; letter-spacing: -0.045em; color: var(--ink); text-wrap: balance; }
.offer__terms { color: var(--ink-2); max-width: 36em; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); }
.offer__photo { grid-column: 9 / -1; aspect-ratio: 1 / 1; }
.offer__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Park: photo bleeds off the right edge */
.park { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.park > .wrap, .park__photo { grid-area: 1 / 1; }
.park__text { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; color: var(--ink-2); }
.park__text .h2 { color: var(--ink); }
.park__photo { justify-self: end; align-self: stretch; width: calc(50vw + 0px); margin-block: calc(var(--sec) * -0.35); position: relative; }
.park__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Reviews */
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 3.4vw, 60px); }
.reviews__h { flex: 1 1 auto; max-width: 900px; }
.reviews__nav { display: flex; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rule); background: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.25s var(--ease), transform 0.25s var(--ease); }
.arrow:hover { background: var(--pale); transform: translateY(-2px); }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * clamp(16px, 2vw, 32px)) / 4); gap: clamp(16px, 2vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.reviews__track::-webkit-scrollbar { display: none; }
.rv { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px 0 0; border-top: 2px solid var(--ink); }
.rv p { font-size: clamp(1rem, 0.95rem + 0.2vw, 1.12rem); line-height: 1.65; color: var(--ink); }
.rv footer { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 0.95rem; color: var(--ink-2); }
.rv cite { font-style: normal; font-family: var(--f-display); font-weight: 600; color: var(--ink); }

/* Showrooms */
.rooms .grid { row-gap: 48px; align-items: start; }
.rooms__head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.rooms__head .mark, .rooms__head .h2 { grid-column: 1 / span 6; }
.rooms__head .mark { grid-column: 1 / -1; }
.rooms__head p { grid-column: 8 / -1; color: var(--ink-2); }
.rooms__list { grid-column: 1 / span 6; display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.room-tab { position: relative; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule); padding: clamp(10px, 1vw, 16px) 0 clamp(10px, 1vw, 16px) 40px; font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 1rem + 3.4vw, 5.2rem); line-height: 1.05; letter-spacing: -0.035em; color: rgba(20, 32, 51, 0.56); cursor: pointer; transition: color 0.35s var(--ease), padding-left 0.5s var(--ease); }
.room-tab::before { content: ""; position: absolute; left: 4px; top: 50%; width: 16px; height: 16px; background: var(--blue); transform: translateY(-50%) rotate(45deg) scale(0); transition: transform 0.4s var(--ease); }
.room-tab:hover { color: rgba(20, 32, 51, 0.7); }
.room-tab.is-on { color: var(--ink); }
.room-tab.is-on::before { transform: translateY(-50%) rotate(45deg) scale(1); }
.rooms__stage { grid-column: 8 / -1; }
.room { display: flex; flex-direction: column; gap: 24px; }
.room[hidden] { display: none; }
.room__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); }
.room__img img { width: 100%; height: 100%; object-fit: cover; }
.room__txt { display: flex; flex-direction: column; gap: 10px; }
.room__txt p { color: var(--ink-2); }
.room__addr { font-family: var(--f-display); font-weight: 500; color: var(--ink) !important; font-size: 1.1rem; }
.room__links { display: flex; flex-wrap: wrap; gap: 0 28px; }

/* Promise */
.promise .grid { row-gap: clamp(40px, 4vw, 64px); }
.promise__head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.promise__head .mark { grid-column: 1 / -1; }
.promise__head .h2 { grid-column: 1 / span 5; }
.promise__head p { grid-column: 7 / -1; color: var(--ink-2); font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.25rem); }
.promise__rows { grid-column: 1 / -1; counter-reset: pr; border-top: 1px solid var(--rule); }
.pr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 18px; padding-block: clamp(28px, 2.6vw, 44px); border-bottom: 1px solid var(--rule); align-items: start; }
.pr h3 { grid-column: 1 / span 5; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 0.9vw, 2.05rem); line-height: 1.15; letter-spacing: -0.02em; }
.pr p { grid-column: 6 / span 4; color: var(--ink-2); }
.pr__img { grid-column: 10 / -1; aspect-ratio: 4 / 3; overflow: hidden; }
.pr__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pr:hover .pr__img img { transform: scale(1.03); }

/* Contact */
.contact { background: var(--navy); }
.contact .grid { row-gap: 56px; align-items: start; }
.contact__text { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 28px; }
.contact__phone { align-self: flex-start; font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 1.2rem + 2.4vw, 3.6rem); letter-spacing: -0.03em; color: var(--sky); text-decoration: none; line-height: 1.1; }
.contact__phone:hover { color: #fff; }
.contact__rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; border-top: 1px solid var(--rule-light); padding-top: 28px; }
.contact__rooms li { display: flex; flex-direction: column; gap: 6px; font-size: 0.98rem; color: rgba(255, 255, 255, 0.78); }
.contact__rooms li > a:first-child { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: #fff; text-decoration: none; }
.contact__rooms li > a:first-child:hover { color: var(--sky); }
.contact__tel { color: var(--sky); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.contact__tel:hover { color: #fff; }
.form { grid-column: 8 / -1; background: var(--white); color: var(--ink); padding: clamp(24px, 2.6vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.form__h { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.9rem); line-height: 1.15; letter-spacing: -0.02em; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.95rem; font-weight: 500; color: var(--ink-2); }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(20, 32, 51, 0.24); border-radius: 0; background: var(--white); font-size: 1rem; color: var(--ink); transition: border-color 0.2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid rgba(6, 120, 239, 0.25); outline-offset: 0; }
.field.is-bad input { border-color: #c62828; }
.form__send { align-self: flex-start; }
.form__note { padding: 14px 16px; background: var(--pale); border-left: 3px solid var(--blue); color: var(--ink); font-size: 0.98rem; }

/* Footer */
.foot { background: var(--deep); color: rgba(255, 255, 255, 0.74); padding-block: clamp(64px, 6vw, 104px) 32px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--rule-light); }
.foot__brand { display: flex; flex-direction: column; gap: 22px; }
.foot__brand img { height: 52px; width: auto; align-self: flex-start; }
.foot__social { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot__social a, .foot__col a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: rgba(255, 255, 255, 0.86); }
.foot__social a:hover, .foot__col a:hover { color: var(--sky); }
.foot__col { display: flex; flex-direction: column; }
.foot__col h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: #fff; margin-bottom: 10px; }
.foot__legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 0.92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .nav__list { gap: 18px; }
  .nav__top { font-size: 16px; }
  .bar__logo img { height: 46px; }
}
@media (max-width: 1200px) {
  :root { --bar-h: 76px; }
  .nav, .bar__cta { display: none; }
  .bar__in { justify-content: space-between; }
  .bar__call, .bar__menu { display: inline-flex; }
  .hero__h1 { grid-column: 1 / -1; }
  .hero__side { grid-column: 1 / span 9; padding-bottom: 0; }
}
@media (min-width: 1201px) { .mnav { display: none !important; } }
@media (max-width: 1023px) {
  .adv__head, .adv__body, .awards__head, .awards__body, .trust__text, .offer__text, .park__text, .contact__text, .form { grid-column: 1 / -1; }
  .adv__body, .awards__body { padding-top: 0; }
  .adv__photo { grid-column: 1 / -1; }
  .adv__photo--b { display: none; }
  .rise__h, .rise__copy { grid-column: 1 / -1; }
  .trust__photo { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .offer__photo { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .park { display: block; }
  .park__photo { width: 100%; margin: 48px 0 0; aspect-ratio: 16 / 10; }
  .rooms__head .h2, .rooms__head p { grid-column: 1 / -1; }
  .rooms__head p { margin-top: 20px; }
  .rooms__list, .rooms__stage { grid-column: 1 / -1; }
  .promise__head .h2, .promise__head p { grid-column: 1 / -1; }
  .promise__head p { margin-top: 20px; }
  .pr h3 { grid-column: 1 / span 7; }
  .pr p { grid-column: 1 / span 7; }
  .pr__img { grid-column: 8 / -1; grid-row: 1 / span 2; }
  .reviews__track { grid-auto-columns: calc((100% - clamp(16px, 2vw, 32px)) / 2); }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  :root { --bar-h: 68px; }
  .bar__logo img { height: 38px; }
  .bar__menu-label { display: none; }
  .bar__menu { width: 48px; padding: 0; justify-content: center; }
  .hero { height: auto; min-height: calc(100svh - var(--bar-h)); max-height: none; grid-template-rows: minmax(260px, 40svh) auto; }
  .hero__side { grid-column: 1 / -1; gap: 20px; }
  .hero__ctas .btn { width: 100%; }
  .hero__spec { grid-template-columns: 1fr 1fr; }
  .hero__spec li { padding: 12px 0 10px; }
  .hero__spec li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__spec li:nth-child(n + 3) { border-top: 1px solid var(--rule-light); }
  .styles__h, .styles__all { grid-column: 1 / -1; justify-self: start; }
  .explorer { flex-direction: column; height: auto; }
  .ex { flex: none; height: 92px; transition: height 0.7s var(--ease); }
  .ex.is-open { height: 340px; }
  .ex:not(.is-open) .ex__name { writing-mode: horizontal-tb; transform: none; }
  .ex::after { height: 100%; }
  .awards__row { grid-template-columns: 1fr 1fr; }
  .awards__row li:nth-child(3) { border-left: 0; }
  .awards__row li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .reviews__head { flex-direction: column; align-items: stretch; }
  .reviews__nav { justify-content: flex-end; }
  .reviews__track { grid-auto-columns: 86%; }
  .room-tab { padding-left: 30px; }
  .room-tab::before { width: 12px; height: 12px; }
  .pr h3, .pr p, .pr__img { grid-column: 1 / -1; grid-row: auto; }
  .pr__img { aspect-ratio: 16 / 10; }
  .contact__rooms { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .form__send { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .rise__links .btn { width: 100%; }
  .rise__contact { flex-direction: column; }
  .rise__contact li { flex-direction: column; gap: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__legal { flex-direction: column; }
}

@media (max-width: 359px) {
  .bar__in { gap: 12px; }
  .bar__logo img { height: 32px; }
  .bar__act { gap: 6px; }
  .bar__call, .bar__menu { width: 44px; height: 44px; }
}

/* JS-driven initial states (only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .waterline__rule { transform: scaleX(0); }
  .js .waterline__diamond { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
