/* ======================================================
   Ubuntu Consulting - Shared Stylesheet
   ====================================================== */

:root {
  --bg: #f6f1ea;
  --bg-soft: #fbf7f2;
  --surface: rgba(255, 252, 248, 0.88);
  --surface-strong: #fffdfa;
  --surface-deep: #1f1714;
  --surface-deep-2: #2c211d;

  --ink: #231815;
  --ink-soft: #473632;
  --muted: #6a5751;
  --subtle: #927d76;

  --accent: #b96d4d;
  --accent-strong: #9b5537;
  --accent-soft: #f1ddd2;
  --accent-glow: rgba(185, 109, 77, 0.18);

  --sage: #dfe8de;
  --line: rgba(112, 84, 73, 0.16);
  --line-strong: rgba(112, 84, 73, 0.26);

  --ok: #1f6d4f;
  --ok-bg: #ecf7f1;
  --ok-br: #b8e4cf;
  --mid: #8c5d16;
  --mid-bg: #fff7e8;
  --mid-br: #f1d49a;
  --hi: #ab2b2b;
  --hi-bg: #fff2f2;
  --hi-br: #efb3b3;

  --shadow-sm: 0 10px 30px rgba(28, 19, 15, 0.06);
  --shadow-md: 0 18px 44px rgba(28, 19, 15, 0.1);
  --shadow-lg: 0 28px 80px rgba(28, 19, 15, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(185, 109, 77, 0.12), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(223, 232, 222, 0.7), transparent 28%),
    linear-gradient(180deg, #f9f4ee 0%, #f4eee7 42%, #f7f2ec 100%);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 22px,
      rgba(112, 84, 73, 0.02) 22px,
      rgba(112, 84, 73, 0.02) 23px
    );
  opacity: 0.4;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

em {
  font-style: italic;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 18px 0;
  background: transparent;
}

.header-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(112, 84, 73, 0.14);
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.72);
  box-shadow: 0 14px 40px rgba(35, 24, 21, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  height: 48px;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(35, 24, 21, 0.08);
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(185, 109, 77, 0.09);
  color: var(--accent-strong);
}

.header-book {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #c98967 100%);
  color: #fff !important;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(185, 109, 77, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.header-book:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 20px 42px rgba(185, 109, 77, 0.34);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.mobile-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 10px;
  z-index: 200;
  min-width: 260px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 251, 247, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.mobile-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-panel a:hover {
  background: rgba(185, 109, 77, 0.08);
}

.mob-book {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.mob-book a {
  background: linear-gradient(135deg, var(--accent) 0%, #c98967 100%) !important;
  color: #fff !important;
  text-align: center;
}

.mobile-panel.open {
  display: block;
}

@media (max-width: 920px) {
  .site-nav,
  .header-book {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

.site-footer {
  position: relative;
  margin-top: 104px;
  padding: 72px 24px 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(185, 109, 77, 0.2), transparent 24%),
    linear-gradient(180deg, #241a17 0%, #1c1412 100%);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 40px;
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .logo-row img {
  height: 42px;
  border-radius: 12px;
}

.footer-brand .logo-row span {
  color: #fff;
  font-size: 1.2rem;
}

.footer-brand p,
.footer-contact p {
  color: rgba(255, 255, 255, 0.62);
}

.footer-nav h5,
.footer-contact h5 {
  margin-bottom: 18px;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav a {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.crisis-box {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.crisis-box p,
.crisis-box strong {
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom {
  max-width: 1200px;
  margin: 46px auto 0;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.4);
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #cc8a67 100%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(185, 109, 77, 0.24);
}

.btn.primary:hover {
  box-shadow: 0 20px 42px rgba(185, 109, 77, 0.3);
}

.btn.outline {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn.outline:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.9);
}

.btn.purple {
  background: rgba(56, 73, 64, 0.08);
  color: #32443a;
  border: 1px solid rgba(56, 73, 64, 0.16);
}

.btn.purple:hover {
  background: #32443a;
  color: #fff;
}

.btn.white {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.btn.white:hover {
  background: #fff;
}

.btn.sm {
  padding: 10px 18px;
  font-size: 0.84rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.card,
.service-card,
.feature-card,
.mission-card,
.service-detail-card,
.contact-crisis,
.consultant-photo-card,
.info-strip,
.faq-item,
.detail-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card,
.mission-card,
.contact-crisis,
.consultant-photo-card,
.service-detail-card {
  border-radius: var(--radius-lg);
}

.card {
  padding: 30px;
}

.card:hover,
.service-card:hover,
.feature-card:hover {
  box-shadow: var(--shadow-md);
}

.page-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

.page-wrap.medium {
  max-width: 1100px;
}

.page-wrap.narrow {
  max-width: 960px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(185, 109, 77, 0.08);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-header {
  margin-bottom: 42px;
}

.section-header h1,
.section-header h2 {
  max-width: 12ch;
  margin-bottom: 16px;
}

.section-header p,
.page-sub {
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

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

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

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

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

label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

input[type=text],
input[type=email],
input[type=date],
input[type=time],
input[type=tel],
input[type=number],
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(185, 109, 77, 0.46);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(185, 109, 77, 0.12);
}

.notice {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
}

.notice.warn {
  background: #fff7ed;
  border: 1px solid #f6c88e;
  color: #824217;
}

.notice.ok {
  background: var(--ok-bg);
  border: 1px solid var(--ok-br);
  color: var(--ok);
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-br); }
.badge.mid { background: var(--mid-bg); color: var(--mid); border: 1px solid var(--mid-br); }
.badge.hi { background: var(--hi-bg); color: var(--hi); border: 1px solid var(--hi-br); }

.progress,
.band {
  overflow: hidden;
  border-radius: 999px;
  background: rgba(185, 109, 77, 0.12);
}

.progress {
  height: 7px;
  margin: 12px 0 4px;
}

.progress > div,
.bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #32443a, var(--accent));
  transition: width 0.35s ease;
}

.band {
  height: 8px;
  margin: 10px 0 16px;
}

.hero {
  padding: 24px;
}

.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 58px;
  border: 1px solid rgba(112, 84, 73, 0.14);
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(185, 109, 77, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(223, 232, 222, 0.8), transparent 26%),
    rgba(255, 251, 247, 0.76);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.hero-inner::after {
  content: "";
  position: absolute;
  right: 48%;
  top: 15%;
  width: 1px;
  height: 70%;
  background: linear-gradient(180deg, transparent, rgba(112, 84, 73, 0.14), transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-copy h1 {
  max-width: 10ch;
  margin-bottom: 22px;
}

.hero-sub {
  margin-bottom: 34px;
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(223, 232, 222, 0.75);
  filter: blur(12px);
}

.hero-photo-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(112, 84, 73, 0.16);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(35, 24, 21, 0.16);
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(35, 24, 21, 0.12) 100%);
  pointer-events: none;
}

.hero-photo-wrap img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 54px 28px;
  }

  .hero-inner::after {
    display: none;
  }
}

.trust-strip {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.74);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-item::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(185, 109, 77, 0.12);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
}

.trust-divider {
  display: none;
}

.assessments-section {
  margin-top: 56px;
  padding: 82px 24px 88px;
  background:
    radial-gradient(circle at top left, rgba(223, 232, 222, 0.9), transparent 20%),
    linear-gradient(180deg, rgba(255, 251, 247, 0.55) 0%, rgba(252, 247, 241, 0.92) 100%);
}

.assess-grid,
.assessments-page-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 42px;
}

.assess-card {
  flex: 0 1 340px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 252, 248, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.assess-figure,
.service-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(223, 232, 222, 0.52), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(112, 84, 73, 0.08);
}

.assess-figure {
  height: 188px;
  margin-bottom: 18px;
}

.service-figure {
  height: 190px;
  margin-bottom: 22px;
}

.assess-figure img,
.service-figure img {
  max-width: 86%;
  max-height: 160px;
  object-fit: contain;
}

.assess-meta {
  margin-bottom: 8px;
}

.time-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.76rem;
  font-weight: 700;
}

.assess-card h3 {
  margin-bottom: 10px;
}

.assess-card h3 a {
  text-decoration: none;
}

.assess-card h3 a:hover {
  color: var(--accent-strong);
}

.assess-card p {
  margin-bottom: 18px;
  font-size: 0.96rem;
}

.mission-card {
  padding: 42px;
}

.mission-card h1 {
  margin-bottom: 28px;
}

blockquote.ubuntu-quote {
  margin: 0 0 30px;
  padding: 24px 26px;
  border: 1px solid rgba(185, 109, 77, 0.22);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(185, 109, 77, 0.08), rgba(255, 255, 255, 0.64));
}

blockquote.ubuntu-quote strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.4;
}

.mission-body p {
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}

.pillar {
  padding: 22px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  text-align: center;
}

.pillar-icon {
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-strong);
}

@media (max-width: 760px) {
  .mission-pillars {
    grid-template-columns: 1fr;
  }

  .mission-card {
    padding: 28px 24px;
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 28px;
  min-height: 100%;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.service-card h2,
.service-card h3 {
  margin-bottom: 12px;
}

.service-card > p {
  flex: 1;
  margin-bottom: 22px;
  color: var(--ink-soft);
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(185, 109, 77, 0.08);
  border: 1px solid rgba(185, 109, 77, 0.14);
  color: var(--accent-strong);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.pill:hover {
  background: rgba(185, 109, 77, 0.14);
  border-color: rgba(185, 109, 77, 0.22);
}

.consultant-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 28px;
}

.consultant-bio h1 {
  margin-bottom: 10px;
}

.consultant-bio h2 {
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--subtle);
}

.consultant-bio p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.credential-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(223, 232, 222, 0.5);
  border: 1px solid rgba(56, 73, 64, 0.12);
  color: #32443a;
  font-size: 0.82rem;
  font-weight: 700;
}

.consultant-photo-card {
  overflow: hidden;
  min-height: 100%;
}

.consultant-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .consultant-layout {
    grid-template-columns: 1fr;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
}

.contact-info h1 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 14px;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--accent-strong);
  text-decoration: none;
  padding: 14px 0;
}

.contact-email-link:hover {
  text-decoration: underline;
}

.contact-crisis {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 245, 243, 0.88), rgba(255, 251, 248, 0.9));
}

.contact-crisis h3 {
  margin-bottom: 14px;
  color: var(--hi);
}

.contact-crisis strong {
  color: var(--ink);
}

.crisis-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.booking-card h1 {
  margin-bottom: 10px;
}

.booking-sub {
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 18px;
}

.slots-taken {
  margin-top: 20px;
}

.slots-taken strong {
  display: block;
  margin-bottom: 8px;
}

.slot-pill {
  display: inline-block;
  margin: 4px 6px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(223, 232, 222, 0.45);
  border: 1px solid rgba(56, 73, 64, 0.12);
  color: #32443a;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.quiz-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.quiz-banner {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(185, 109, 77, 0.08);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quiz-title {
  margin-bottom: 10px;
}

.quiz-intro {
  margin-bottom: 22px;
  font-size: 0.98rem;
}

.q {
  margin: 12px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 252, 248, 0.85);
}

.q h3 {
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.scale {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scale label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.scale label:hover {
  border-color: rgba(185, 109, 77, 0.3);
  background: rgba(255, 255, 255, 0.96);
}

.scale input {
  accent-color: var(--accent);
  width: auto;
  flex-shrink: 0;
}

.quiz-count {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--subtle);
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.quiz-side h3,
.results-about h3 {
  margin: 18px 0 8px;
}

.quiz-side ul {
  margin-top: 8px;
  padding-left: 18px;
  list-style: disc;
}

.quiz-side li,
.steps-list li {
  color: var(--muted);
}

.quiz-side img,
.results-side img {
  width: 100%;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 840px) {
  .quiz-layout {
    grid-template-columns: 1fr;
  }
}

.results-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.results-title {
  margin-bottom: 8px;
}

.results-sub,
.score-meta {
  color: var(--subtle);
}

.results-section {
  margin-top: 24px;
}

.results-section h3 {
  margin-bottom: 8px;
}

.steps-list {
  padding-left: 18px;
  list-style: disc;
}

.steps-list li {
  margin-bottom: 8px;
}

.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.results-disclaimer {
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--subtle);
}

@media (max-width: 840px) {
  .results-layout {
    grid-template-columns: 1fr;
  }
}

.cta-strip {
  max-width: 1220px;
  margin: 76px auto 0;
  padding: 44px 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(185, 109, 77, 0.22), transparent 22%),
    linear-gradient(135deg, #2d211d 0%, #1f1714 100%);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.cta-strip-copy h2 {
  margin-bottom: 10px;
  color: #fff;
}

.cta-strip-copy p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 640px) {
  .cta-strip {
    margin-left: 24px;
    margin-right: 24px;
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.text-muted { color: var(--muted); }
.text-subtle { color: var(--subtle); }
.text-cta { color: var(--accent-strong); }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.info-strip {
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(185, 109, 77, 0.08), rgba(255, 255, 255, 0.8));
}

.info-strip h2,
.info-strip h3 {
  margin-bottom: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

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

.feature-card {
  padding: 24px;
  border-radius: 26px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.service-detail-card {
  padding: 36px;
}

.service-detail-card h1 {
  max-width: 12ch;
  margin-bottom: 16px;
}

.service-detail-card h2 {
  margin: 30px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.service-detail-card p {
  font-size: 1.02rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

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

.detail-panel {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.detail-panel h3 {
  margin-bottom: 10px;
}

.detail-panel ul {
  padding-left: 18px;
  list-style: disc;
}

.detail-panel li {
  margin-bottom: 8px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.faq-item {
  padding: 18px 20px;
  border-radius: 20px;
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.faq-item p {
  margin-bottom: 0;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-cta-box {
  margin-top: 30px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(185, 109, 77, 0.18);
  background:
    linear-gradient(135deg, rgba(185, 109, 77, 0.08), rgba(255, 255, 255, 0.82));
}

.home-signature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  margin-top: 34px;
}

.signature-panel,
.signature-aside,
.support-flow,
.consultant-spotlight,
.home-cta-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 252, 248, 0.8);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.signature-panel {
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(185, 109, 77, 0.14), transparent 28%),
    rgba(255, 252, 248, 0.84);
}

.signature-panel h2 {
  max-width: 11ch;
  margin-bottom: 16px;
}

.signature-panel p {
  max-width: 54ch;
  font-size: 1.02rem;
}

.signature-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.signature-note {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(112, 84, 73, 0.1);
}

.signature-note h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.signature-note p {
  font-size: 0.94rem;
  line-height: 1.7;
}

.signature-aside {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(34, 26, 23, 0.96), rgba(47, 35, 30, 0.92));
}

.signature-aside::before {
  content: "";
  position: absolute;
  inset: auto -60px -50px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(185, 109, 77, 0.22);
  filter: blur(8px);
}

.signature-aside * {
  position: relative;
  z-index: 1;
}

.signature-aside .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.signature-aside h2,
.signature-aside h3,
.signature-aside strong {
  color: #fff;
}

.signature-aside p {
  color: rgba(255, 255, 255, 0.72);
}

.signature-quote {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.signature-quote p {
  font-size: 1rem;
  line-height: 1.85;
}

.support-flow {
  margin-top: 34px;
  padding: 34px;
}

.support-flow-header {
  max-width: 64ch;
  margin-bottom: 28px;
}

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

.flow-step {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(112, 84, 73, 0.1);
}

.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(185, 109, 77, 0.12);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
}

.flow-step h3 {
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 0.95rem;
}

.consultant-spotlight {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  margin-top: 34px;
  overflow: hidden;
}

.consultant-spotlight-media {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(223, 232, 222, 0.6), rgba(255, 255, 255, 0.2));
}

.consultant-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultant-spotlight-copy {
  padding: 36px;
}

.consultant-spotlight-copy h2 {
  max-width: 10ch;
  margin-bottom: 16px;
}

.consultant-spotlight-copy p {
  max-width: 56ch;
}

.consultant-highlight-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.consultant-highlight {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(112, 84, 73, 0.1);
}

.consultant-highlight:first-child {
  border-top: 0;
  padding-top: 0;
}

.consultant-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(185, 109, 77, 0.1);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  flex-shrink: 0;
}

.consultant-highlight h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.consultant-highlight p {
  font-size: 0.94rem;
}

.home-cta-card {
  margin-top: 34px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at top right, rgba(185, 109, 77, 0.16), transparent 20%),
    linear-gradient(135deg, rgba(255, 252, 248, 0.94), rgba(245, 238, 229, 0.88));
}

.home-cta-card h2 {
  max-width: 11ch;
  margin-bottom: 10px;
}

.home-cta-card p {
  max-width: 54ch;
}

@media (max-width: 980px) {
  .home-signature,
  .consultant-spotlight {
    grid-template-columns: 1fr;
  }

  .support-flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .signature-notes {
    grid-template-columns: 1fr;
  }

  .support-flow,
  .signature-panel,
  .signature-aside,
  .consultant-spotlight-copy,
  .home-cta-card {
    padding: 24px;
  }

  .home-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero,
  .page-wrap,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    border-radius: 30px;
  }

  .header-inner {
    padding: 0 16px;
    min-height: 70px;
  }

  .card,
  .mission-card,
  .service-detail-card {
    padding: 24px;
  }
}

/* ================================================================
   CINEMATIC HERO (homepage)
   Scoped with .hero-page on <body> so other pages are unaffected
================================================================ */

/* Fixed header so the photo bleeds behind the floating nav */
.hero-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* Transparent pill over the hero */
.hero-page .header-inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease, border-color 0.3s ease,
              box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* Nav links white on dark photo */
.hero-page .site-nav a {
  color: rgba(255, 244, 234, 0.82);
}
.hero-page .site-nav a:hover,
.hero-page .site-nav a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.hero-page .brand-name {
  color: #fff;
}

/* Once user scrolls past hero, restore frosted-glass pill */
.hero-page .site-header.scrolled .header-inner {
  background: rgba(255, 251, 247, 0.82);
  border-color: rgba(112, 84, 73, 0.14);
  box-shadow: 0 14px 40px rgba(35, 24, 21, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.hero-page .site-header.scrolled .site-nav a {
  color: var(--ink-soft);
}
.hero-page .site-header.scrolled .site-nav a:hover,
.hero-page .site-header.scrolled .site-nav a.active {
  background: rgba(185, 109, 77, 0.09);
  color: var(--accent-strong);
}
.hero-page .site-header.scrolled .brand-name {
  color: var(--ink);
}

/* Full-bleed hero */
.hero-cinematic {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Background photo */
.hc-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero_black_photo.png') center center / cover no-repeat;
  transform: scale(1.04);
}

/* Warm dark gradient overlay */
.hc-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      110deg,
      rgba(28, 17, 13, 0.88) 0%,
      rgba(28, 17, 13, 0.62) 42%,
      rgba(28, 17, 13, 0.18) 100%
    ),
    linear-gradient(
      to top,
      rgba(28, 17, 13, 0.72) 0%,
      transparent 40%
    );
}

/* Text content — bottom-left */
.hc-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 72px;
}

/* Eyebrow pill */
.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e09a74;
  background: rgba(185, 109, 77, 0.16);
  border: 1px solid rgba(185, 109, 77, 0.32);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

/* Headline */
.hc-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 580px;
  margin-bottom: 20px;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.28);
}

/* Subtitle */
.hc-sub {
  font-size: clamp(14px, 1.45vw, 17px);
  line-height: 1.75;
  color: rgba(255, 244, 234, 0.74);
  max-width: 480px;
  margin-bottom: 32px;
  font-weight: 400;
}

/* CTA row */
.hc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
}

/* Ghost CTA for dark background */
.btn.hc-ghost {
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn.hc-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.52);
}

/* Trust pills */
.hc-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hc-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 244, 234, 0.62);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 100px;
}
.hc-trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b96d4d;
  flex-shrink: 0;
}

/* Scroll indicator */
.hc-scroll-hint {
  position: absolute;
  bottom: 36px;
  right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hc-scroll-hint::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

@media (max-width: 768px) {
  .hc-content {
    padding: 0 24px 56px;
  }
  .hc-title {
    font-size: 36px;
  }
  .hc-scroll-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .hc-title { font-size: 30px; }
  .hc-sub   { font-size: 14px; }
}
