/* ==========================================================================
   Bryght — design tokens
   ========================================================================== */
:root {
  --color-bg: #fbf8f2;
  --color-surface: #ffffff;
  --color-surface-alt: #f3ece0;
  --color-text: #2e2a24;
  --color-muted: #6b6357;
  --color-border: #e7ddc9;
  --color-accent: #e3b23c;
  --color-accent-dark: #c6941f;
  --color-brand-dark: #3d372e;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max-width: 1180px;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(46, 42, 36, 0.08);
  --shadow-md: 0 12px 32px rgba(46, 42, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.75em;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-surface-alt);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-brand-dark);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-brand-dark);
  color: var(--color-brand-dark);
}

.btn--outline:hover {
  background: var(--color-brand-dark);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--color-brand-dark);
}

.btn--sm {
  padding: 0.55em 1.2em;
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.brand img {
  height: clamp(3.2rem, 6vw, 5rem);
  width: clamp(3.2rem, 6vw, 5rem);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav > ul > li {
  position: relative;
}

.has-children > a::after {
  content: " ▾";
  font-size: 0.7em;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  min-width: 240px;
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  /* No gap between the "Services" link and this dropdown — a gap here
     creates a dead zone where the mouse leaves the hoverable area while
     moving from the link down into the menu, closing it before you can
     click anything. */
}

.has-children:hover .dropdown,
.has-children:focus-within .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown li a:hover {
  background: var(--color-surface-alt);
}

.nav-cta {
  margin-left: 0.5rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav > ul > li {
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav a {
    display: block;
    padding: 0.9rem 0.25rem;
  }

  .dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
  }

  .has-children .dropdown {
    display: none;
  }

  .has-children.is-open .dropdown {
    display: block;
  }

  .nav-cta {
    margin: 1rem 0 0;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  padding: 7rem 0;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.72), rgba(20, 18, 14, 0.8)),
    url("/assets/images/hero-skyline.jpg") center/cover no-repeat;
}

.hero__inner {
  max-width: 680px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--color-brand-dark);
  color: #fff;
  text-align: center;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
}

.page-hero .eyebrow {
  color: var(--color-accent);
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 1.75rem;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card__image {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.card__body h3 {
  margin: 0;
}

.card__meta {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.card__body p {
  color: var(--color-muted);
  margin: 0;
  flex: 1;
}

.card__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* Testimonials */
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.testimonial p:first-child {
  font-style: italic;
  color: var(--color-text);
}

.testimonial__name {
  font-weight: 700;
  color: var(--color-accent-dark);
}

/* Vision / two-column */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* CTA band */
.cta-band {
  background: var(--color-brand-dark);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.cta-band .btn-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--color-brand-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.6rem;
}

.footer-grid a {
  text-decoration: none;
  color: inherit;
}

.footer-grid a:hover {
  color: #fff;
}

.site-footer .brand {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* Service detail page */
.service-detail__hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 850px) {
  .service-detail__hero {
    grid-template-columns: 1fr;
  }
}

.service-detail__image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.info-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.info-box dl {
  margin: 0 0 1.25rem;
}

.info-box dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-top: 0.9rem;
}

.info-box dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.prose :where(h2, h3) {
  margin-top: 1.75rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* Booking page */
.booking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.booking-tab {
  padding: 0.6em 1.2em;
  border-radius: 999px;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.booking-tab.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-brand-dark);
}

.booking-panel {
  display: none;
}

.booking-panel.is-active {
  display: block;
}

.calendly-embed {
  min-width: 280px;
  height: 700px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

/* Blog */
.post-meta {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.post-body h2 {
  margin-top: 2rem;
}

.blog-index-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.form label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75em 0.9em;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--color-muted); }
.stack { display: flex; flex-direction: column; gap: 1rem; }

.badge {
  display: inline-block;
  background: var(--color-surface-alt);
  color: var(--color-brand-dark);
  border-radius: 999px;
  padding: 0.25em 0.8em;
  font-size: 0.8rem;
  font-weight: 700;
}

.notice {
  background: #fff7e0;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
