:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #101010;
  --panel-2: #17130b;
  --text: #f8f5ec;
  --muted: #c8c0ad;
  --gold: #d7a73c;
  --gold-2: #f2cf76;
  --line: rgba(242, 207, 118, 0.28);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a,
button,
input,
select,
textarea {
  min-width: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: block;
  width: 178px;
}

.brand img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 38px);
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover,
.contact-list a:hover,
.site-footer a:hover {
  color: var(--gold-2);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.header-call,
.header-link,
.button,
.select-service,
.text-service,
.chat-form button,
.quick-questions button {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.header-call,
.header-link {
  padding: 10px 14px;
  color: var(--gold-2);
  white-space: nowrap;
}

.header-call {
  background: rgba(215, 167, 60, 0.12);
}

.hero {
  position: relative;
  min-height: clamp(620px, calc(100vh - 76px), 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.86) 100%),
    url("assets/ascent-logo.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(860px, 100%);
  padding: clamp(46px, 8vw, 96px) clamp(20px, 6vw, 76px);
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.35rem);
  line-height: 0.96;
  max-width: 10ch;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.hero-copy,
.section-heading p,
.booking-copy p,
.contact-section p,
.service-card p {
  color: var(--muted);
}

.hero-copy {
  max-width: 600px;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero-actions,
.hero-proof,
.card-actions,
.cta-actions,
.contact-actions,
.booking-steps,
.contact-list,
.form-row {
  display: flex;
  gap: 12px;
}

.hero-proof {
  flex-wrap: wrap;
  margin: 24px 0;
}

.hero-proof span,
.booking-steps span,
.badge {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.42);
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 10px;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-align: center;
  overflow-wrap: anywhere;
}

.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #111;
}

.secondary:hover,
.header-call:hover,
.select-service:hover,
.chat-form button:hover,
.quick-questions button:hover {
  background: rgba(215, 167, 60, 0.14);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #080808;
}

.trust-strip a {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip a:hover {
  background: rgba(215, 167, 60, 0.1);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 76px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.booking-form {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.service-card.featured {
  background: linear-gradient(180deg, rgba(215, 167, 60, 0.18), rgba(255, 255, 255, 0.028));
}

.service-card p {
  margin-bottom: 18px;
}

.service-points {
  flex: 1;
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

.service-points li::marker {
  color: var(--gold-2);
}

.badge {
  align-self: start;
  margin-bottom: 14px;
  background: rgba(215, 167, 60, 0.16);
}

.card-actions {
  align-items: stretch;
}

.select-service,
.text-service {
  width: 100%;
  min-height: 44px;
}

.text-service {
  display: grid;
  place-items: center;
  max-width: 74px;
  text-align: center;
}

.reviews-section {
  background: #080808;
  border-top: 1px solid var(--line);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(215, 167, 60, 0.12), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.stars {
  color: var(--gold-2);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.review-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.35;
}

.review-card strong {
  color: var(--gold-2);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(36px, 5vw, 58px) clamp(20px, 6vw, 76px);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(215, 167, 60, 0.18), rgba(215, 167, 60, 0.04)),
    #050505;
}

.cta-band h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3.35rem);
}

.cta-actions {
  flex-wrap: wrap;
  justify-content: end;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  background:
    linear-gradient(180deg, rgba(215, 167, 60, 0.08), transparent 44%),
    #080808;
  border-block: 1px solid var(--line);
}

.booking-copy {
  align-self: start;
  position: sticky;
  top: 120px;
}

.contact-list {
  flex-direction: column;
  margin-top: 24px;
  color: var(--gold-2);
  font-weight: 700;
}

.booking-steps {
  flex-wrap: wrap;
  margin: 24px 0 10px;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #050505;
  color: var(--text);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.chat-toggle:focus,
button:focus,
a:focus {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

.form-row {
  align-items: start;
}

.form-row label {
  flex: 1;
}

.submit-booking {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--gold-2);
  font-size: 0.9rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.contact-section img {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-actions {
  flex-wrap: wrap;
  margin-top: 24px;
}

.mobile-sticky-cta {
  position: fixed;
  left: 14px;
  right: 92px;
  bottom: 18px;
  z-index: 39;
  display: none;
  grid-template-columns: 1fr 0.7fr;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
  box-shadow: var(--shadow);
}

.mobile-sticky-cta a {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: var(--gold-2);
  font-weight: 900;
}

.mobile-sticky-cta a + a {
  border-left: 1px solid var(--line);
}

.chat-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #111;
  font-weight: 900;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 40;
  width: min(340px, calc(100vw - 28px));
  max-height: min(520px, calc(100vh - 112px));
  overflow: hidden;
  border: 1px solid var(--line);
  background: #090909;
  box-shadow: var(--shadow);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.chat-header span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
}

.chat-log {
  height: min(190px, 34vh);
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.message {
  max-width: 88%;
  padding: 10px 12px;
  background: #161616;
  color: var(--text);
  font-size: 0.92rem;
}

.message.bot {
  border-left: 3px solid var(--gold);
}

.message.user {
  justify-self: end;
  background: rgba(215, 167, 60, 0.18);
}

.quick-questions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 0 14px 12px;
}

.quick-questions button {
  min-height: 36px;
  font-size: 0.78rem;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-width: 0;
}

.chat-form button {
  padding-inline: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1120px) {
  .site-header {
    gap: 16px;
  }

  .brand {
    width: 150px;
  }

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

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

  .service-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 680px;
    align-items: end;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.9) 68%),
      url("assets/ascent-logo.png") center top / cover no-repeat;
  }

  .trust-strip,
  .service-grid,
  .reviews-grid,
  .cta-band,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .trust-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card.featured {
    grid-column: auto;
  }

  .booking-copy {
    position: static;
  }

  .cta-actions {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 12px;
  }

  .brand {
    width: min(132px, 42vw);
  }

  .header-actions {
    justify-self: end;
    gap: 6px;
  }

  .header-call,
  .header-link {
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding: 38px 18px 32px;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }

  .hero-proof {
    gap: 8px;
    margin: 18px 0;
  }

  .hero-proof span,
  .booking-steps span,
  .badge {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 7px 8px;
  }

  .hero-actions,
  .card-actions,
  .cta-actions,
  .form-row,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .text-service {
    max-width: none;
  }

  .service-card {
    min-height: 230px;
    padding: 20px;
  }

  .review-card {
    min-height: 190px;
    padding: 20px;
  }

  .section {
    padding: 48px 18px;
  }

  .trust-strip a {
    min-height: 52px;
    font-size: 0.76rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .chat-panel {
    right: 14px;
    bottom: 84px;
    width: calc(100vw - 28px);
    max-height: calc(100vh - 104px);
  }

  .chat-toggle {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
    font-size: 0.86rem;
  }

  .mobile-sticky-cta {
    display: grid;
  }

  body {
    padding-bottom: 74px;
  }
}

@media (max-width: 420px) {
  .header-link {
    display: none;
  }

  .header-call {
    font-size: 0.74rem;
  }

  .hero {
    min-height: 560px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }
}
