/* Ascend Ancillary Services — placeholder site */

:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --line: #e2e8f0;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-tint: #ecfdf5;
  --accent: #14b8a6;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand-dark); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: 0 0 auto;
  display: block;
}

.brand__name {
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}

.brand__name span { color: var(--brand); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand-dark);
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .15s ease, background .15s ease;
}

.nav-cta:hover { border-color: var(--brand); background: var(--brand-tint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 26px;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn--ghost {
  color: var(--brand-dark);
  border: 1px solid var(--line);
}

.btn--ghost:hover { border-color: var(--brand); background: var(--brand-tint); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 460px at 78% -10%, var(--brand-tint), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg-alt));
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  padding-top: 88px;
  padding-bottom: 92px;
  max-width: 880px;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  border: 1px solid #ccfbf1;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--ink-soft);
  margin: 0 0 34px;
  max-width: 640px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }

.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin: 0 0 48px; }

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 800;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0;
}

.kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px;
}

/* ---------- Pillars grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}

.card:hover { transform: translateY(-2px); border-color: #cbd5e1; }

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-tint);
  color: var(--brand-dark);
  margin-bottom: 18px;
}

.card__icon svg { width: 24px; height: 24px; }

.card h3 {
  font-size: 1.18rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.card p { margin: 0; color: var(--ink-soft); }

/* ---------- Serve ---------- */
.serve .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

.serve ul { list-style: none; padding: 0; margin: 24px 0 0; }

.serve li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  color: var(--ink-soft);
}

.serve li svg { flex: 0 0 auto; margin-top: 3px; color: var(--brand); }

.serve-panel {
  background: linear-gradient(160deg, var(--brand), var(--brand-dark));
  border-radius: var(--radius);
  padding: 40px;
  color: #d9f8f2;
  box-shadow: var(--shadow);
}

.serve-panel h3 { color: #fff; font-size: 1.35rem; margin: 0 0 10px; letter-spacing: -0.01em; }
.serve-panel p { margin: 0; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .wrap { max-width: 700px; }
.contact h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 800; }
.contact p { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 30px; }
.contact-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: none;
}
.contact-email:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 40px 0;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.site-footer .brand__name { color: #fff; font-size: 1rem; }
.site-footer a { color: #99f6e4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer small { color: #94a3b8; }

/* ---------- Error page ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, var(--bg-alt));
}
.error-page .code { font-size: 3.5rem; font-weight: 800; color: var(--brand); letter-spacing: -0.03em; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .serve .wrap { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 68px; }
  .nav-cta { display: none; }
}
