/* =============================================================
   Troyer Capital — Master Stylesheet
   Shared across all pages: index, booking, service pages
   ============================================================= */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --black: #0a0a0a;
  --ink: #1c1c1c;
  --dark: #3a3a3a;
  --mid: #6a6a6a;
  --light: #9a9a9a;
  --rule: #dddbd7;
  --warm: #f0ede8;
  --cream: #f8f6f2;
  --white: #ffffff;
  --gold: #b89a5e;
  --gold-d: #8a6e3a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---- NAV (index.html — fixed with backdrop blur) ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--black);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.6rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-d); }

/* ---- NAV (booking.html — static) ---- */
.nav-back {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--gold); }
.nav-back::before { content: '←'; }

/* ---- HERO (index.html) ---- */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5rem 5rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.45);
}

.hero-grid-bg { display: none; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #f5f5f3;
  animation: fadeUp 0.7s ease both;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.06;
  color: #f5f5f3;
  margin-bottom: 1.4rem;
}
h1 em {
  font-style: italic;
  color: #d4b97a;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #d0d0d0;
  max-width: 500px;
  margin: 0 auto 2.4rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.btn-gold {
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-d); }

.btn-line {
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.4);
  color: #f0f0f0;
}
.btn-line:hover {
  border-color: #d4b97a;
  color: #d4b97a;
}

.btn-outline {
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(184,154,94,0.5);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(184,154,94,0.08); }

/* ---- HERO STATS STRIP (index.html) ---- */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  margin-top: 4rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(10,14,20,0.55);
  animation: fadeUp 0.7s 0.15s ease both;
}
.h-stat {
  padding: 1.1rem 2.4rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.h-stat:last-child { border-right: none; }
.h-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #d4b97a;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.h-stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ---- SECTION SHARED ---- */
.section-wrap { padding: 6rem 5rem; }
.section-wrap.alt {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 0.8rem;
}
h2 em {
  font-style: italic;
  color: var(--gold);
}

.body-sm {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  margin-top: 0.8rem;
}

/* ---- ABOUT (index.html) ---- */
#about .inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: start;
}
.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.headshot-wrap {
  width: 240px;
  height: 300px;
  border: 1px solid var(--rule);
  background: var(--warm);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.headshot-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.headshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.headshot-placeholder svg { opacity: 0.2; }
.headshot-placeholder span {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
}
.headshot-name { text-align: center; }
.headshot-name strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--black);
}
.headshot-name span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}
.pull-quote {
  border-left: 2px solid var(--gold);
  padding: 0.9rem 1.2rem;
  background: rgba(184,154,94,0.05);
  margin-top: 1.6rem;
}
.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
}

/* ---- SERVICES GRID (index.html) ---- */
#services .grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--rule);
  margin-top: 3rem;
}
.svc {
  background: var(--white);
  padding: 2rem 1.8rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.svc:hover { border-bottom-color: var(--gold); }
.svc-icon { width: 36px; height: 36px; margin-bottom: 1rem; }
.svc-icon svg { width: 100%; height: 100%; }
.svc h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.svc p {
  font-size: 0.76rem;
  color: var(--light);
  line-height: 1.7;
}
.svc-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,154,94,0.35);
  padding: 0.22rem 0.6rem;
}

/* ---- SOLUTIONS (index.html) ---- */
#solutions .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.8rem;
}
.feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
.feat:first-child { border-top: 1px solid var(--rule); }
.feat-icon { width: 24px; height: 24px; min-width: 24px; margin-top: 1px; }
.feat-icon svg { width: 100%; height: 100%; }
.feat h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.15rem;
}
.feat p {
  font-size: 0.75rem;
  color: var(--light);
  line-height: 1.6;
}

/* ---- SERVICE PAGE LAYOUT ---- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.feat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  min-width: 2.2rem;
  line-height: 1;
  padding-top: 2px;
}

/* ---- COMPARE CARD (index.html) ---- */
.compare-card {
  background: var(--warm);
  border: 1px solid var(--rule);
  padding: 2.4rem;
  position: relative;
}
.compare-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.compare-title {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.compare-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 1.4rem;
  line-height: 1.2;
}
table {
  width: 100%;
  border-collapse: collapse;
}
thead th {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  text-align: left;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid var(--rule);
}
tbody td {
  font-size: 0.76rem;
  color: var(--mid);
  padding: 0.65rem 0.6rem;
  border-bottom: 1px solid var(--rule);
}
tbody tr.hi td { color: var(--gold-d); }
.yes { color: var(--gold-d); }
.no  { color: var(--light); }

/* ---- WHO WE SERVE (index.html) ---- */
#who .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  margin-top: 3rem;
}
.who-card {
  background: var(--white);
  padding: 2.8rem;
  position: relative;
}
.who-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 2.8rem;
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.who-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--black);
  margin: 1.2rem 0 0.7rem;
}
.who-card p {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.who-list li {
  font-size: 0.76rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.who-list li::before {
  content: '→';
  color: var(--gold);
  font-size: 0.7rem;
}

/* ---- CONTACT (index.html) ---- */
#contact {
  padding: 8rem 5rem;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--rule);
}
#contact .section-label { justify-content: center; }
#contact .section-label::before { display: none; }
#contact h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  max-width: 560px;
  margin: 0 auto 1rem;
}
#contact .body-sm {
  max-width: 420px;
  margin: 0 auto 2.6rem;
}

/* ---- CTA SECTION (service pages) ---- */
#cta {
  padding: 7rem 5rem;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--rule);
}
#cta .section-label { justify-content: center; }
#cta .section-label::before { display: none; }
#cta h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  max-width: 540px;
  margin: 0 auto 0.8rem;
}
#cta .body-sm {
  max-width: 400px;
  margin: 0 auto 2.4rem;
}

/* ---- CTA ROW ---- */
.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ---- CONTACT STRIP ---- */
.contact-strip {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.c-item { text-align: center; }
.c-label {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.4rem;
}
.c-val {
  font-size: 0.85rem;
  color: var(--dark);
}
.c-val a { color: var(--dark); text-decoration: none; }
.c-val a:hover { color: var(--gold); }

/* ---- FOOTER ---- */
footer {
  background: var(--warm);
  border-top: 1px solid var(--rule);
  padding: 2rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.f-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
}
.f-logo span { color: var(--gold); }
.f-note {
  font-size: 0.66rem;
  color: var(--light);
  line-height: 1.6;
  text-align: center;
  max-width: 460px;
}
.f-links { display: flex; gap: 1.8rem; }
.f-links a {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  transition: color 0.2s;
}
.f-links a:hover { color: var(--gold); }

/* ---- SERVICE PAGE HERO (service pages) ---- */
.service-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4b97a;
  border: 1px solid rgba(212,185,122,0.45);
  padding: 0.32rem 1rem;
  margin-bottom: 1.4rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.breadcrumb a {
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.breadcrumb a:hover { color: #d4b97a; }
.breadcrumb-sep {
  font-size: 0.63rem;
  color: rgba(255,255,255,0.2);
}
.breadcrumb-cur {
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ---- BOOKING PAGE ---- */
.page-header {
  text-align: center;
  padding: 4rem 5rem 3rem;
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}
.page-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.page-label::before,
.page-label::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
}
.page-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--mid);
}

.main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.form-side {
  padding: 3.5rem;
  background: var(--white);
  border-right: 1px solid var(--rule);
}
.form-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.form-sub {
  font-size: 0.8rem;
  color: var(--light);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  background: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.submit-btn:hover { background: var(--gold-d); }
#btn-sms { background: #2a2a2a; }
#btn-sms:hover { background: #111 !important; }
.form-note {
  font-size: 0.7rem;
  color: var(--light);
  margin-top: 1rem;
  line-height: 1.6;
}

.success-msg {
  display: none;
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(184,154,94,0.3);
  background: rgba(184,154,94,0.05);
}
.success-msg .checkmark { font-size: 2rem; color: var(--gold); margin-bottom: 0.8rem; }
.success-msg h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.success-msg p { font-size: 0.82rem; color: var(--mid); }

.calendly-side {
  padding: 3.5rem;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.calendly-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.calendly-sub {
  font-size: 0.8rem;
  color: var(--light);
  line-height: 1.7;
  margin-bottom: 1.6rem;
}
.calendly-wrap {
  flex: 1;
  min-height: 580px;
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;
}
.calendly-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 580px;
  border: none;
}

/* ---- ANIMATION ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  nav { padding: 1.1rem 2rem; }
  .nav-links { display: none; }
       .nav-cta { display: none; }
       nav { justify-content: center; }

  #hero { padding: 7rem 2rem 4rem; }
  .hero-stats { flex-wrap: wrap; }
  .h-stat { flex: 1 1 40%; border-bottom: 1px solid var(--rule); }

  .section-wrap,
  #contact,
  #cta { padding: 4rem 2rem; }

  #about .inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo-col {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
       .headshot-name { text-align: center; width: 100%; }

  #solutions .inner { grid-template-columns: 1fr; gap: 3rem; }
  #services .grid,
  #who .grid { grid-template-columns: 1fr; }

  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }

  .main { grid-template-columns: 1fr; }
  .form-side {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 2.5rem 2rem;
  }
  .calendly-side { padding: 2.5rem 2rem; }
  .form-row { grid-template-columns: 1fr; }

  .page-header { padding: 3rem 2rem 2rem; }

  footer {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    padding: 1.8rem 2rem;
  }
  .contact-strip { gap: 2rem; }
}
