/* Stay SC — site styles
   Palette taken from the StaySC / Next Level logos.
   Display serif + geometric sans mirror the logotype and tagline. */

:root {
  --navy: #1b3a5c;
  --navy-deep: #12283f;
  --teal: #1f8a8c;
  --teal-deep: #15696b;
  --ink: #1e2a38;
  --muted: #5b6b7a;
  --sand: #f6f4ef;
  --sand-deep: #ece8df;
  --line: #e1e6ea;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(18, 40, 63, 0.10);
  --serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #dfe8ef; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; }
@media (max-width: 720px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
  font-family: var(--sans);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-deep); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.site-header__logo img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.site-nav a { color: var(--ink); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal-deep); text-decoration: none; }
.site-nav a[aria-current="page"] { font-weight: 700; }
.site-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 900px) {
  .site-header__inner { height: 72px; }
  .site-header__logo img { height: 34px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 0 16px; display: none; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px var(--gutter); border-top: 1px solid var(--line); }
  .site-nav .btn { margin: 12px var(--gutter) 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero (video) */
.hero {
  position: relative; min-height: 88vh; display: grid; place-items: center;
  color: var(--white); text-align: center; overflow: hidden; background: var(--navy-deep);
}
.hero--short { min-height: 56vh; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media iframe {
  position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw;
  min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; pointer-events: none;
}
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18,40,63,.55) 0%, rgba(18,40,63,.35) 50%, rgba(18,40,63,.65) 100%); }
.hero__content { position: relative; z-index: 2; padding: 120px var(--gutter) 96px; max-width: 900px; }
.hero__content h1 { color: var(--white); margin-bottom: 18px; }
.hero__content .eyebrow { color: #9fdedf; }
.hero__content .lede { color: rgba(255,255,255,.88); margin: 0 auto 32px; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero { min-height: 78vh; }
  .hero__content { padding: 96px var(--gutter) 72px; }
}

/* Page hero (image or plain) */
.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,40,63,.45), rgba(18,40,63,.75)); }
.page-hero .wrap { position: relative; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(56px, 8vw, 104px); max-width: 860px; text-align: center; }
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: #9fdedf; }
.page-hero .lede { color: rgba(255,255,255,.88); margin: 0 auto; }

/* Property cards */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { aspect-ratio: 4 / 3; background: var(--sand-deep); position: relative; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--empty { display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.card__tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--navy);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
}
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__city { font-size: .82rem; color: var(--teal-deep); font-weight: 600; }
.card__body h3 { margin: 0; font-size: 1.5rem; }
.card__title { color: var(--muted); font-size: .92rem; margin: 0 0 4px; }
.card__blurb { color: var(--ink); font-size: .95rem; margin: 0; }
.card__actions { margin-top: auto; padding-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Filter chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }
.chip {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; font-family: var(--sans);
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.results-empty { padding: 48px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Feature trio (Why Stay SC) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature__num { font-family: var(--serif); font-size: 2.6rem; color: var(--teal); line-height: 1; margin-bottom: 10px; }
.feature h3 { font-size: 1.5rem; }
.feature p { color: var(--muted); margin: 0; }

/* Destination cards */
.dest-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy); color: var(--white); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest-card:hover img { transform: scale(1.04); }
.dest-card:hover { text-decoration: none; }
.dest-card__body { position: absolute; inset: auto 0 0 0; padding: 26px; background: linear-gradient(0deg, rgba(18,40,63,.85), rgba(18,40,63,0)); }
.dest-card__body h3 { color: var(--white); margin-bottom: 6px; }
.dest-card__body p { margin: 0; color: rgba(255,255,255,.9); font-size: .95rem; }

/* Destination feature rows */
.dest-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.dest-row:first-of-type { border-top: 0; }
.dest-row:nth-of-type(even) .dest-row__media { order: 2; }
.dest-row__media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.dest-row__places { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 26px; }
.dest-row__places span { background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .85rem; color: var(--navy); }
@media (max-width: 860px) { .dest-row { grid-template-columns: 1fr; } .dest-row:nth-of-type(even) .dest-row__media { order: 0; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
@media (max-width: 1024px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-weight: 700; font-family: var(--sans); flex: none; }
.review__name { font-weight: 700; color: var(--navy); }
.review__date { font-size: .82rem; color: var(--muted); }
.review__stars { color: #e0a53c; letter-spacing: 2px; font-size: .95rem; }
.review__text { margin: 0; color: var(--ink); }
.review__source { font-size: .78rem; color: var(--muted); margin-top: auto; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.stat__value { font-family: var(--serif); font-size: 2.4rem; color: var(--teal); line-height: 1; }
.stat__label { color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.service h3 { font-size: 1.4rem; margin-bottom: 8px; }
.service p { margin: 0; color: var(--muted); }

/* About */
.founder { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.founder__role { color: var(--teal-deep); font-weight: 600; margin-bottom: 18px; }
.creds { background: var(--sand); border-radius: var(--radius); padding: 28px; }
.creds ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink); }
.creds li { margin-bottom: 8px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value__letter { font-family: var(--serif); font-size: 2.2rem; color: var(--teal); line-height: 1; margin-bottom: 8px; }
.value h3 { font-size: 1.35rem; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__details dl { margin: 24px 0 0; }
.contact__details dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.contact__details dd { margin: 4px 0 0; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(31,138,140,.18); }
.form .field { margin-bottom: 18px; }
.form textarea { min-height: 140px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__status { margin-top: 14px; font-size: .95rem; }
.form__status--ok { color: var(--teal-deep); }
.form__status--err { color: #b23a3a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* CTA band */
.cta { text-align: center; }
.cta .lede { margin: 0 auto 28px; }

/* Legal */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 700; margin-top: 1.6em; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: .5em; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-top: 3em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c7d3dd; padding: clamp(56px, 7vw, 88px) 0 32px; }
.site-footer a { color: #dfe8ef; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand img { max-width: 260px; background: var(--white); padding: 12px 16px; border-radius: 10px; }
.site-footer__brand p { margin: 16px 0; max-width: 34ch; }
.site-footer__social { display: flex; gap: 16px; }
.site-footer h4 { color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--white); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: clamp(32px, 5vw, 56px); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.site-footer__bottom img { height: 52px; width: auto; background: var(--white); padding: 6px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
