/* Carolina Workspace: shared chrome (header, footer, modal) + homepage sections.
   Tokens mirror the Webstudio build; inner pages carry their own embed CSS. */
:root {
  --accent: #eb6a3b;
  --accent-dark: #d4582b;
  --ink: #16191d;
  --ink-muted: #264653;
  --nav-muted: #15181c8c;
  --line: rgb(44 62 74 / .16);
  --line-soft: rgb(44 62 74 / .1);
  --bg-soft: #f8f9fa;
  --footer-bg: #191919;
  --radius-2: 5px;
  --radius-3: 1rem;
  --gutter: 32px;
  --container-main: min(1280px, calc(100vw - 48px));
  --container-small: min(1100px, calc(100vw - 48px));
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
.page { position: relative; z-index: 1; overflow-x: clip; }

/* ---------- Faint 12-column guide lines (Webstudio __guide_wrap) ---------- */
.guides { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.guides-inner {
  width: var(--container-main); height: 100%; margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
}
.guides-inner span { border: 1px solid rgb(44 62 74 / .03); }
@media (max-width: 767px) { .guides-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .guides-inner span:nth-child(n+3) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .5rem 1.25rem; border-radius: var(--radius-2); border: 0;
  font: 500 1rem/1.5 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, box-shadow .3s cubic-bezier(.165,.84,.44,1), transform .2s ease;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-lg { font-size: 1.1rem; }
.btn-glass { background: rgb(44 62 74 / .31); color: #fff; }
.btn-glass:hover { background: rgb(44 62 74 / .5); }
.btn-ghost { background: transparent; color: rgb(255 255 255 / .8); }
.btn-ghost:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 999; display: flex; justify-content: center; padding: 0 24px; }
.header-bar {
  width: 100%; max-width: var(--container-small); margin: 1rem auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--gutter);
  padding: 1rem 1.5rem; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-3);
}
.logo img { height: 3.3rem; width: auto; }
.nav { display: flex; align-items: center; gap: var(--gutter); }
.nav ul { list-style: none; display: flex; gap: var(--gutter); margin: 0; padding: 0; }
.nav a:not(.btn) { color: var(--nav-muted); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; width: 2.5rem; height: 2.5rem; padding: 0; cursor: pointer; color: var(--ink); flex-direction: column; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform 150ms ease, width 150ms ease-in-out; }
.menu-btn span:nth-child(2) { margin: 6px 0; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { width: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 991px) {
  .menu-btn { display: inline-flex; }
  .header-bar { flex-wrap: wrap; row-gap: 0; }
  .logo img { height: 2rem; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.25rem 0 .5rem; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 1rem; }
}
@media (max-width: 767px) { .site-header { padding: 0 16px; } .header-bar { padding: .75rem 1rem; } }

/* ---------- Hero ---------- */
.home-hero { position: relative; overflow-x: clip; min-height: 48rem; padding-top: 4rem; display: flex; flex-direction: column; justify-content: center; }
.home-hero-dome {
  position: absolute; top: -11rem; left: 50%; transform: translateX(-50%);
  height: 87%; width: auto; max-width: none; z-index: -1; user-select: none; pointer-events: none;
}
.home-hero-inner { position: relative; z-index: 4; width: var(--container-main); margin: 0 auto; }
.home-hero-content {
  max-width: 48rem; margin: 0 auto; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.badge {
  display: inline-flex; align-items: center; gap: .5rem; width: fit-content;
  padding: .7rem 1rem; font-size: .75rem; font-weight: 500; line-height: 1.25;
  letter-spacing: .05em; text-transform: uppercase; color: rgb(255 255 255 / .8);
  border: 1px solid #ffffff21; border-radius: 100000px;
}
.pulse-dot { position: relative; display: block; width: 1em; height: 1em; border-radius: 50%; background: #fff; }
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: pulse-ring 1.5s infinite;
}
@keyframes pulse-ring { 0% { transform: scale(2); opacity: .3; } 70% { transform: scale(5); opacity: 0; } 100% { opacity: 0; } }
.home-hero h1 {
  margin: 0; font-size: calc(clamp(2rem, 9vw, 3.5rem) * 1.1); font-weight: 600;
  line-height: 1.1; letter-spacing: -.05em; text-wrap: balance;
}
.home-hero-content p { margin: 0; font-size: 1rem; line-height: 1.75; }
.home-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding-top: 1rem; }
.home-hero-img { position: relative; z-index: 3; width: 95%; margin: 5rem auto 0; }
@media (max-width: 767px) { .home-hero { min-height: min-content; padding-top: 2.5rem; } .home-hero-dome { height: 70%; } }
@media (max-width: 479px) {
  .home-hero-content p { font-size: .75rem; }
  .home-hero-img { width: 100%; aspect-ratio: 1 / .5; object-fit: cover; }
}

/* ---------- Generic section ---------- */
.section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.section-soft { background: var(--bg-soft); }
.wrap-small { width: var(--container-small); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); }
.sec-head { max-width: 48rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.sec-head h2 { margin: 0; font-size: clamp(1.5rem, 6vw, 2.5rem); font-weight: 600; line-height: 1.25; letter-spacing: -.05em; color: var(--ink); }
.sec-head p { margin: 0; font-size: 1.1rem; line-height: 1.75; color: var(--ink-muted); }

/* ---------- Amenities ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.amenity {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center;
  padding: 1.5rem clamp(1.5rem, 3vw, 2.5rem); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-3); box-shadow: 0 2px 3px #0000000d; transition: all .3s ease;
}
.amenity:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 30px #00000012; }
.amenity svg { color: var(--accent); width: 24px; height: 24px; }
.amenity h3 { margin: 0; font-size: 1rem; line-height: 1.75; font-weight: 600; }
.amenity p { margin: 0; font-size: .75rem; line-height: 1.75; color: var(--ink-muted); }

/* ---------- Locations ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.loc-card {
  --pad: clamp(1.25rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: calc(var(--pad) / 1.3);
  padding: var(--pad); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-3); overflow: clip;
}
.loc-card > img { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 0; width: calc(100% + var(--pad) * 2); max-width: none; aspect-ratio: 2 / 1; object-fit: cover; }
.loc-title { display: flex; align-items: center; gap: .5rem; font-size: 1.25rem; }
.loc-title svg { color: var(--accent); width: 1.1em; height: 1.1em; flex-shrink: 0; }
.loc-title h3 { margin: 0; font-size: inherit; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.loc-meta { display: flex; flex-direction: column; gap: .75rem; color: var(--ink-muted); }
.loc-meta p { margin: 0; display: inline-flex; align-items: center; gap: .5rem; line-height: 1.75; }
.loc-meta svg { width: 16px; height: 16px; flex-shrink: 0; }
.loc-meta a { color: inherit; text-decoration: none; }
.loc-features { display: flex; flex-direction: column; gap: .5rem; }
.loc-features h4 { margin: 0; font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.loc-features ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; color: var(--ink-muted); }
.loc-features li { display: flex; align-items: center; gap: .5rem; }
.loc-features li svg { color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.loc-card .btn { align-self: flex-start; }

/* ---------- Video CTA + marquee ---------- */
.video-cta {
  position: relative; min-height: 90vh; display: flex; color: #fff; overflow-x: clip;
  background: #57473ac7; padding: clamp(5.17rem, 4.062rem + 5.54vw, 9.05rem) 0;
}
.video-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.video-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel {
  position: absolute; top: 0; left: -2%; right: -2%; z-index: 2; overflow: hidden;
  background: var(--accent); padding: clamp(1.34rem, 1.198rem + .71vw, 1.84rem) 0;
  transform: translateY(-25%) rotate(1deg); backface-visibility: hidden;
}
.track { display: flex; width: max-content; animation: marquee 20s linear infinite; }
.group { display: inline-flex; flex-shrink: 0; align-items: center; gap: clamp(1.34rem, 1.198rem + .71vw, 1.84rem); margin-right: clamp(1.34rem, 1.198rem + .71vw, 1.84rem); font-weight: 700; color: #fff; white-space: nowrap; font-size: clamp(.875rem, .839rem + .18vw, 1rem); }
.group i { display: inline-block; width: 1em; height: 1em; background: #ffffff80; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }
.video-cta-inner { position: relative; z-index: 3; width: var(--container-small); margin: auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.video-cta h2 { margin: 0; font-size: clamp(2rem, 9vw, 3.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -.05em; max-width: 100%; }
.video-cta p { margin: 0; max-width: 40rem; font-size: 1.1rem; line-height: 1.75; color: rgb(255 255 255 / .87); }
@media (max-width: 767px) { .video-cta { min-height: 56vh; padding-top: clamp(7.23rem, 5.444rem + 8.93vw, 13.48rem); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; background: var(--footer-bg); color: #fff; padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid {
  width: var(--container-main); margin: 0 auto; padding-bottom: clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter);
}
.footer-brand { grid-column: span 4; display: flex; flex-direction: column; gap: 1rem; }
.footer-brand img { height: 3.3rem; width: auto; align-self: flex-start; }
.footer-brand p { margin: 0; color: rgb(255 255 255 / .87); line-height: 1.75; font-size: .95rem; }
.footer-col { grid-column: span 2; display: flex; flex-direction: column; gap: 1rem; }
.footer-col.wide { grid-column: span 3; }
.footer-col h3 { margin: 0; font: 600 1.25rem/1.25 system-ui, sans-serif; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.footer-col a, .footer-col li { color: #fff; text-decoration: none; font-size: .95rem; line-height: 1.5; }
.footer-col a:hover { color: var(--accent); }
.footer-col li { display: flex; gap: .5rem; align-items: flex-start; color: rgb(255 255 255 / .87); }
.footer-col li svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--accent); }
.socials { display: flex; gap: .75rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); color: #fff; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid #ffffff17; padding: 1.25rem 0; }
.footer-bottom-inner { width: var(--container-main); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .85rem; color: rgb(255 255 255 / .7); }
.footer-bottom a { color: rgb(255 255 255 / .87); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .legal { display: flex; gap: 1.5rem; }
@media (max-width: 991px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-col, .footer-col.wide { grid-column: span 2; }
}
@media (min-width: 600px) and (max-width: 991px) { .footer-col, .footer-col.wide { grid-column: span 1; } }

/* ---------- Tour modal (Webstudio dialog) ---------- */
.modal { border: 0; padding: 0; border-radius: 16px; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; box-shadow: 0 30px 80px rgb(0 0 0 / .35); }
.modal::backdrop { background: rgb(10 10 10 / .6); backdrop-filter: blur(2px); }
.modal-close { position: sticky; top: 0; float: right; margin: 8px 8px 0 0; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f1f1; cursor: pointer; font-size: 20px; line-height: 1; z-index: 2; }
.modal iframe { width: 100%; height: 764px; border: 0; display: block; }

/* ---------- Scroll reveal for rebuilt sections ---------- */
.reveal > * { opacity: 0; translate: 0 20px; transition: opacity .7s ease, translate .7s ease; }
.reveal.in > * { opacity: 1; translate: 0 0; }
.reveal.in > *:nth-child(2) { transition-delay: .08s; } .reveal.in > *:nth-child(3) { transition-delay: .16s; }
.reveal.in > *:nth-child(4) { transition-delay: .24s; } .reveal.in > *:nth-child(5) { transition-delay: .32s; }
.reveal.in > *:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal > * { opacity: 1; translate: none; transition: none; }
  .track, .pulse-dot::after { animation: none; }
}

@media (max-width: 991px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-3, .grid-2 { display: flex; flex-direction: column; } }

/* ---------- Three locations (added Locust) ---------- */
.grid-locs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.loc-media { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 0; width: calc(100% + var(--pad) * 2); aspect-ratio: 3 / 2; display: flex; flex-direction: column; overflow: hidden; }
.loc-media img { width: 100%; height: 100%; object-fit: cover; }
.loc-media.stack img { height: 50%; }
.loc-media.stack img + img { border-top: 3px solid #fff; }
.loc-features ul { grid-template-columns: 1fr; }
.loc-card .btn { margin-top: auto; }
@media (max-width: 991px) { .grid-locs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-locs { display: flex; flex-direction: column; } }

/* Footer: brand + quick links + three location columns */
.footer-brand, .footer-col, .footer-col.wide { grid-column: auto; }
.footer-grid { grid-template-columns: 3fr 1.4fr repeat(3, 2fr); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 767px) { .footer-grid { display: flex; flex-direction: column; } }
