/* ============================================================
   The Royal Nest Car Parking — styles
   Palette: saffron #D4820A · off-white #FDF6EC · green #2E6B4F
   Fonts: Playfair Display (display), DM Sans (body), DM Mono (figures)
   ============================================================ */

:root {
  --saffron: #D4820A;
  --saffron-dark: #b46c05;
  --cream: #FDF6EC;
  --cream-deep: #f6ead6;
  --green: #2E6B4F;
  --green-dark: #245540;
  --charcoal: #1E1E1E;
  --gray: #6B6B6B;
  --line: #ece1cf;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(30, 30, 30, 0.18);
  --shadow-sm: 0 4px 14px -8px rgba(30, 30, 30, 0.25);
  --maxw: 1140px;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }

.btn--call { background: var(--saffron); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--call:hover { background: var(--saffron-dark); }

.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--saffron); color: var(--saffron-dark); }

.btn--light { background: var(--white); color: var(--green-dark); }
.btn--light:hover { background: var(--cream); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 246, 236, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--green);
  color: var(--white);
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-display); font-size: 1.06rem; color: var(--charcoal); }
.brand__text small { font-size: 0.72rem; color: var(--gray); letter-spacing: 0.02em; }

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-size: 0.93rem; font-weight: 500; color: var(--charcoal);
  position: relative; padding: 4px 0;
}
.nav__links a:hover { color: var(--saffron-dark); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--saffron); transition: width 0.2s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { font-family: var(--font-mono); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -8%, #fbe7c6 0%, rgba(251,231,198,0) 60%),
    var(--cream);
  padding: 64px 0 56px;
}
.hero__pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(212, 130, 10, 0.05) 0px,
    rgba(212, 130, 10, 0.05) 2px,
    transparent 2px,
    transparent 24px
  );
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: 48px; }

.hero__copy { max-width: 660px; }
.hero h1 {
  font-size: clamp(2.05rem, 5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero__sub {
  margin-top: 20px;
  font-size: 1.12rem;
  color: var(--gray);
  max-width: 600px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__micro { margin-top: 18px; font-size: 0.9rem; color: var(--gray); }
.hero__micro::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Pillars */
.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}
.pillar__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--cream-deep);
  color: var(--green);
  margin-bottom: 13px;
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar strong { display: block; font-size: 1rem; }
.pillar small { color: var(--gray); font-size: 0.86rem; }

/* ---------- Why-choose strip ---------- */
.strip { background: var(--green); color: var(--white); }
.strip__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 22px;
}
.strip__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 8px 20px -16px rgba(0, 0, 0, 0.35);
}
.strip__card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #ffe2b0;
}
.strip__card span {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section--alt { background: var(--cream-deep); }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.section__head p { margin-top: 14px; color: var(--gray); font-size: 1.06rem; }

/* ---------- Media showcase ---------- */
.showcase {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(46,107,79,0.35) 0%, rgba(46,107,79,0) 60%),
    var(--charcoal);
  color: #ece7df;
  padding: 76px 0;
}
.section__head--light h2 { color: var(--white); }
.section__head--light p { color: #b3ada3; }
.eyebrow--light { color: #f0b65a; }

.showcase__video-full {
  margin: 0 0 32px;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}
.showcase__video-full video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  display: block;
}
.showcase__video-full figcaption,
.showcase__photos-grid figcaption {
  font-size: 0.85rem;
  color: #a59f95;
  padding: 11px 14px;
}
.showcase__photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.showcase__photos-grid figure {
  margin: 0;
  background: #161616;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.showcase__photos-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.showcase__photos-grid figure:hover img { transform: scale(1.04); }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--saffron-dark);
  margin-bottom: 16px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 7px; }
.feature p { color: var(--gray); font-size: 0.95rem; }
.feature--muted {
  grid-column: span 2;
  background: #fff8ee;
  border-color: #f0dcb8;
}
.feature--muted .feature__icon { background: #fbeccb; color: var(--saffron-dark); }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 860px;
}
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.plan__head { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-bottom: 22px; }
.plan__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--green); color: var(--white);
}
.plan__icon svg { width: 24px; height: 24px; }
.plan__head h3 { font-size: 1.4rem; }
.plan__tag {
  font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green-dark); background: #e3efe8; padding: 4px 10px; border-radius: 999px;
}
.plan__rates { list-style: none; margin-bottom: 24px; }
.plan__rates li {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px dashed var(--line);
}
.plan__rates li:last-child { border-bottom: none; }
.plan__rates span { color: var(--gray); }
.plan__rates b { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 500; color: var(--charcoal); }
.plan__rate--hero b { font-size: 1.7rem; color: var(--saffron-dark); }
.plan__cta { margin-top: auto; width: 100%; }

.pricing__notes {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  margin-top: 30px; max-width: 860px;
}
.pricing__notes li { position: relative; padding-left: 26px; color: var(--charcoal); font-size: 0.96rem; }
.pricing__notes li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  display: grid; place-items: center; width: 19px; height: 19px;
  background: var(--green); color: var(--white); border-radius: 50%;
  font-size: 0.72rem; font-weight: 700;
}

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: start; }
.location__map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background: var(--cream-deep);
}
.location__map iframe { width: 100%; height: 420px; border: 0; }
.location__block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.location__block:first-child { padding-top: 0; }
.location__block:last-child { border-bottom: none; }
.location__block h3 { font-size: 1.08rem; margin-bottom: 7px; }
.location__block p { color: var(--gray); }
.link { color: var(--saffron-dark); font-weight: 600; }
.link:hover { text-decoration: underline; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li {
  font-size: 0.85rem; background: var(--white); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px; color: var(--charcoal);
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  counter-reset: step;
}
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow-sm);
  position: relative;
}
.step__num {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--saffron); color: var(--white);
  font-family: var(--font-mono); font-weight: 500; font-size: 1.1rem;
  margin-bottom: 15px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--gray); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 18px 52px 18px 20px; position: relative;
  font-weight: 600; font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--saffron); font-weight: 400; transition: transform 0.2s ease;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item[open] summary { color: var(--saffron-dark); }
.faq__body { padding: 0 20px 18px; }
.faq__body p { color: var(--gray); }

/* ---------- Contact CTA ---------- */
.cta {
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(212,130,10,0.28) 0%, rgba(212,130,10,0) 60%),
    var(--green);
  color: var(--white);
  padding: 70px 0;
}
.cta__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--white); }
.cta__copy p { margin-top: 14px; color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta__card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 10px 24px;
  backdrop-filter: blur(4px);
}
.cta__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.16);
}
.cta__row:last-child { border-bottom: none; }
.cta__row span { color: rgba(255,255,255,0.7); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cta__row b, .cta__row a { text-align: right; font-weight: 600; }
.cta__row a { font-family: var(--font-mono); }
.cta__row a:hover { color: #ffe2b0; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); color: #d9d4cc; }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px;
  padding: 56px 22px 40px;
}
.footer__brand .brand__text strong { color: var(--white); font-size: 1.2rem; }
.footer__brand .brand__text small { color: #a59f95; }
.footer__brand p { margin-top: 14px; font-size: 0.93rem; color: #a59f95; max-width: 340px; }
.footer h4 { font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: #8d8780; margin-bottom: 16px; }
.footer__nav { display: flex; flex-direction: column; gap: 11px; }
.footer__nav a { color: #d9d4cc; font-size: 0.95rem; }
.footer__nav a:hover { color: var(--saffron); }
.footer__phone {
  font-family: var(--font-mono); font-size: 1.4rem; color: var(--white); display: inline-block; margin-bottom: 12px;
}
.footer__phone:hover { color: var(--saffron); }
.footer__contact p { font-size: 0.92rem; color: #a59f95; margin-top: 8px; }
.footer__bar { border-top: 1px solid #2e2e2e; }
.footer__bar-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding: 18px 22px; font-size: 0.82rem; color: #8d8780;
}

/* ---------- Terms Modal ---------- */
.terms-modal {
  width: min(920px, calc(100vw - 28px));
  border: none;
  padding: 0;
  background: transparent;
}
.terms-modal::backdrop {
  background: rgba(15, 15, 15, 0.62);
  backdrop-filter: blur(6px);
}
.terms-modal__panel {
  background: var(--cream);
  color: var(--charcoal);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  box-shadow: 0 24px 70px -24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.terms-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 26px 18px;
  background: linear-gradient(180deg, rgba(46,107,79,0.08), rgba(46,107,79,0));
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.terms-modal__eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.terms-modal__header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.terms-modal__close {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  color: var(--charcoal);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.terms-modal__close:hover { border-color: var(--saffron); color: var(--saffron-dark); }
.terms-modal__body {
  padding: 22px 26px 28px;
  max-height: min(72vh, 720px);
  overflow: auto;
}
.terms-modal__list {
  margin-left: 18px;
  display: grid;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--gray);
}
.terms-modal__list li { padding-left: 6px; }

/* ---------- Sticky mobile call ---------- */
.call-bar {
  display: none;
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--saffron); color: var(--white);
  font-weight: 700; font-size: 1.02rem;
  padding: 15px; border-radius: 999px;
  box-shadow: 0 8px 24px -6px rgba(212,130,10,0.6);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature--muted { grid-column: span 2; }
  .strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase__photos-grid { grid-template-columns: repeat(2, 1fr); }
  .location { grid-template-columns: 1fr; }
  .location__map iframe { height: 320px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .hero { padding: 44px 0 40px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .strip__inner { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature--muted { grid-column: span 1; }
  .showcase__photos-grid { grid-template-columns: 1fr 1fr; }
  .showcase__photos-grid img { height: 160px; }
  .pricing { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .terms-modal__header,
  .terms-modal__body { padding-left: 18px; padding-right: 18px; }
  .nav__cta span { display: none; }
  .nav__cta { padding: 10px 13px; }
  .strip__inner span:not(:last-child)::after { display: none; }
  .call-bar { display: flex; }
  body { padding-bottom: 78px; }
  .plan__head { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
