/* =========================================================
   Studio CLI — Listing Shoot Landing Page
   Mobile-first. Vanilla CSS. Brand palette per deployment plan.
   ========================================================= */

:root {
  /* Brand palette (exact hex per spec) */
  --linen:     #F9F8F5;  /* page background */
  --charcoal:  #35454C;  /* headlines, buttons, header */
  --blue-gray: #5C8491;  /* eyebrow labels, logo mark */
  --khaki:     #C0B3A0;  /* pre-header, bullet dots, borders */
  --sand:      #EDEAE4;  /* tip card fill, footer */
  --ash:       #EBEBEB;  /* final CTA box fill */
  --ink:       #3A3A3A;  /* body text */
  --stone:     #E0DBD3;  /* dividers, borders */

  --charcoal-hover: #2a363c;
  --white: #ffffff;

  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(53, 69, 76, 0.10);
  --shadow-sm: 0 4px 14px rgba(53, 69, 76, 0.08);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--charcoal); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-gray);
  margin: 0 0 .6em;
}
.eyebrow-light { color: var(--khaki); }

.section-title { font-size: 1.7rem; font-weight: 800; max-width: 22ch; }
.lead { font-size: 1.05rem; color: var(--ink); max-width: 58ch; }
.lead-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--charcoal-hover); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-ghost:hover { background: rgba(53, 69, 76, 0.06); }
.btn-sm  { padding: .6em 1.1em; font-size: .9rem; }
.btn-lg  { padding: .95em 1.7em; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 248, 245, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--stone);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 2px 14px rgba(53,69,76,.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 64px;
}
.brand-logo { width: auto; height: 26px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.link-phone {
  display: none;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  font-size: .95rem;
}
.link-phone:hover { color: var(--blue-gray); }
.phone-icon { color: var(--blue-gray); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  isolation: isolate;
  padding: 76px 0 64px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(53,69,76,.55) 0%, rgba(53,69,76,.72) 55%, rgba(53,69,76,.82) 100%);
}
.hero-content { position: relative; max-width: 760px; }
.hero-title {
  color: var(--white);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: .45em;
}
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.92); max-width: 50ch; margin-bottom: 1.6em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.8em; }
.hero-cta .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
  font-size: .98rem;
}
.hero-trust li { display: flex; align-items: center; gap: 10px; }
.hero-trust .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex: 0 0 22px;
  background: var(--khaki); color: var(--charcoal);
  border-radius: 50%; font-size: .8rem; font-weight: 800;
}

/* ---------- Generic section ---------- */
.section { padding: 56px 0; }
.section-cta { text-align: center; margin-top: 36px; }

/* ---------- Why ---------- */
.section-why { background: var(--linen); }
.why-list { margin-top: 28px; display: grid; gap: 0; }
.why-item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--stone);
}
.why-item:first-child { border-top: 1px solid var(--stone); }
.why-item h3 { font-size: 1.15rem; margin-bottom: .25em; }
.why-item p { margin: 0; color: var(--ink); }
.why-item .dot {
  flex: 0 0 14px;
  width: 14px; height: 14px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--khaki);
}

/* ---------- Cinematic Reel ---------- */
.section-reel { background: var(--sand); }
.reel-grid { display: grid; gap: 28px; }
.reel-copy .lead { margin-bottom: 1.6em; }
.reel-media { width: 100%; }
.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  background: var(--charcoal);
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-facade iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(53, 69, 76, .88);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform .15s ease, background-color .15s ease;
}
.yt-play::after {
  content: "";
  position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
}
.yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.06); background: var(--charcoal); }

/* ---------- 3D Tours ---------- */
.section-3d { background: var(--linen); text-align: center; }
.section-3d .eyebrow { text-align: center; }
.section-3d .section-title { margin-left: auto; margin-right: auto; max-width: 24ch; }
.tour-cards {
  margin-top: 36px;
  display: grid;
  gap: 20px;
}
.tour-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tour-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tour-media { aspect-ratio: 3 / 2; background: var(--sand); }
.tour-media img { width: 100%; height: 100%; object-fit: cover; }
.tour-body { padding: 20px 20px 22px; }
.tour-body h3 { font-size: 1.15rem; }
.tour-body p { margin: 0; font-size: .98rem; }

/* ---------- Services Snapshot ---------- */
.section-services { background: var(--sand); text-align: center; }
.section-services .eyebrow { text-align: center; }
.section-services .section-title { margin-left: auto; margin-right: auto; max-width: 24ch; }
.service-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 16px 16px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 1 / 1;
  background: var(--sand);
}
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { font-size: 1.02rem; margin-bottom: .35em; }
.service-card p { margin: 0; font-size: .9rem; color: var(--ink); }

/* ---------- Final CTA + Form ---------- */
.section-final { background: var(--linen); }
#book { scroll-margin-top: 72px; } /* clear the sticky header on anchor scroll */
.final-box {
  background: var(--ash);
  border: 1px solid var(--stone);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.final-title { font-size: 1.9rem; font-weight: 800; margin-bottom: .5em; }
.final-q { font-size: 1.06rem; max-width: 46ch; margin: 0 auto .6em; color: var(--ink); }
.final-box .btn { margin-top: 16px; }
.final-alt { font-size: .95rem; color: var(--ink); margin: 1.4em 0 0; }

/* ---------- Booking form ---------- */
.book-form {
  display: grid;
  gap: 16px;
  text-align: left;
  max-width: 460px;
  margin: 28px auto 4px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-weight: 700;
  font-size: .92rem;
  color: var(--charcoal);
}
.field input {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  padding: .8em .9em;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #9a958c; }
.field input:focus {
  outline: none;
  border-color: var(--blue-gray);
  box-shadow: 0 0 0 3px rgba(92, 132, 145, 0.18);
}
.field input.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.14);
}
.field-error {
  font-size: .82rem;
  color: #c0392b;
  font-weight: 600;
  min-height: 0;
}
.btn-block { width: 100%; margin-top: 4px; }
.form-status {
  margin: 4px 0 0;
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.2em;
}
.form-status.error { color: #c0392b; }
.form-status.sending { color: var(--blue-gray); }
.text-link { color: var(--blue-gray); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.text-link:hover { color: var(--charcoal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.85); padding: 44px 0; }
.footer-inner { text-align: center; }
.footer-logo { height: 30px; width: auto; margin: 0 auto 16px; filter: brightness(0) invert(1); opacity: .92; }
.footer-tag { max-width: 52ch; margin: 0 auto 14px; font-size: .95rem; }
.footer-contact { margin: 0 0 14px; }
.footer-contact .text-link { color: var(--khaki); }
.footer-contact .text-link:hover { color: #fff; }
.footer-legal { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; }

/* ---------- Thank-you page ---------- */
.thanks-wrap {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 48px 0;
  background: var(--linen);
}
.thanks-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 28px;
  text-align: center;
}
.thanks-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.thanks-title { font-size: 1.7rem; font-weight: 800; margin-bottom: .4em; }
.thanks-lead { font-size: 1.05rem; max-width: 46ch; margin: 0 auto 1.4em; }
.thanks-next {
  text-align: left;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  margin: 8px 0 26px;
}
.thanks-next h2 { font-size: 1.05rem; margin-bottom: .8em; }
.thanks-steps { display: grid; gap: 12px; }
.thanks-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; }
.step-num {
  flex: 0 0 26px;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--khaki); color: var(--charcoal);
  border-radius: 50%; font-weight: 800; font-size: .85rem;
}
.thanks-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 768px) {
  .thanks-title { font-size: 2.1rem; }
  .thanks-card { padding: 56px 48px; }
}

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(249, 248, 245, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--stone);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.btn-sticky { flex: 1; padding: .85em 1em; font-size: .98rem; }
/* keep content clear of the bar on mobile */
body { padding-bottom: 0; }

/* =========================================================
   RESPONSIVE — progressive enhancement upward
   ========================================================= */

@media (min-width: 600px) {
  .service-grid { gap: 20px; }
  .hero-trust { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; }
}

@media (min-width: 768px) {
  body { font-size: 18px; }
  .section { padding: 76px 0; }
  .section-title { font-size: 2.1rem; }
  .hero { padding: 110px 0 90px; }
  .hero-title { font-size: 3rem; }
  .hero-sub { font-size: 1.2rem; }
  .link-phone { display: inline-flex; }
  .tour-cards { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .final-title { font-size: 2.3rem; }

  /* hide sticky bar on larger screens — header CTA is always visible */
  .sticky-cta { display: none; }
}

@media (min-width: 960px) {
  .reel-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; }
  .hero-title { font-size: 3.4rem; }
}

/* ---------- Accessibility ---------- */
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--blue-gray);
  outline-offset: 2px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
