/* ===================================================================
   Trinity Regenerative & Concierge Medicine
   Clean medical + luxury design system
   =================================================================== */

:root {
  /* Palette — matched to the Trinity logo (deep navy + champagne gold) */
  --forest:      #1c2b48;   /* deep navy — primary brand (logo text) */
  --forest-deep: #131e35;
  --forest-soft: #2b3f66;
  --gold:        #bfa06a;   /* champagne gold accent (logo ring) */
  --gold-deep:   #9c7f45;
  --ivory:       #faf7f1;   /* warm paper background */
  --cream:       #f3ede2;
  --ink:         #232630;   /* body text */
  --ink-soft:    #5b6070;
  --line:        rgba(28, 43, 72, 0.12);
  --white:       #ffffff;

  --maxw: 1140px;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(28,43,72,.06), 0 6px 20px rgba(28,43,72,.05);
  --shadow-md: 0 10px 40px rgba(28,43,72,.12);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: var(--forest); letter-spacing: .2px; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
em { font-style: italic; color: var(--gold-deep); }
p { margin: 0 0 1rem; }
a { color: var(--forest); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--gold-deep); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .3px;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-solid { background: var(--forest); color: #fff; }
.btn-solid:hover { background: var(--forest-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--forest); border-color: rgba(28,43,72,.35); }
.btn-outline:hover { border-color: var(--forest); background: rgba(28,43,72,.04); color: var(--forest); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 241, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--forest); flex-shrink: 0; }
.brand-mark { display: block; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: .5px; }
.brand-sub { font-size: .6rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

.main-nav { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--ink); }
.nav-links a:hover { color: var(--gold-deep); }
.nav-cta a { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--forest); border-radius: 2px; margin: 4px 0; transition: transform .25s ease, opacity .25s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(191,160,106,.16), transparent 60%),
    radial-gradient(900px 500px at 8% 10%, rgba(28,43,72,.06), transparent 55%),
    var(--ivory);
  padding: clamp(72px, 12vw, 132px) 0 clamp(64px, 9vw, 104px);
}
.hero-inner { max-width: 900px; }
.eyebrow, .section-eyebrow {
  font-size: .72rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin: 0 0 18px;
}
.hero-title { margin-bottom: .35em; }
.hero-lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-soft); max-width: 640px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 30px; list-style: none; padding: 0; margin: 0; }
.hero-trust li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--ink-soft); }
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(191,160,106,.18);
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

.philosophy { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.philosophy .lead { margin-top: 1rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(191,160,106,.4); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(28,43,72,.08), rgba(191,160,106,.14)); color: var(--forest); margin-bottom: 20px;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.card-list li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.card-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.services-note { text-align: center; max-width: 640px; margin: 44px auto 0; color: var(--ink-soft); font-size: .9rem; }

/* ---------- Concierge ---------- */
.concierge { background: var(--forest); color: rgba(255,255,255,.86); }
.concierge h2 { color: #fff; }
.concierge .section-eyebrow.light { color: var(--gold); }
.concierge-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.concierge-copy p { color: rgba(255,255,255,.78); }
.checklist { list-style: none; padding: 0; margin: 26px 0 32px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: #fff; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(191,160,106,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23bfa06a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.concierge .btn-solid { background: var(--gold); color: var(--forest-deep); }
.concierge .btn-solid:hover { background: #cbb079; color: var(--forest-deep); }
.concierge-panel { display: grid; gap: 18px; }
.stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 26px 30px; display: flex; align-items: baseline; gap: 18px;
}
.stat-num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.portrait { margin: 0; position: relative; }
.portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 4/5;
  object-fit: cover; object-position: center 18%;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 22px 16px; border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(to top, rgba(19,30,53,.82), rgba(19,30,53,0));
  color: #fff; font-size: .82rem; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600;
}
.about-copy p { color: var(--ink-soft); }
.about-note { font-size: .88rem; }
.link-arrow { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--gold-deep); }
.link-arrow:hover { color: var(--forest); }

/* ---------- Contact ---------- */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: .6em; }
.contact-card p { color: var(--ink-soft); }
.contact-card a { color: var(--forest); font-weight: 500; }
.contact-cta-card { background: linear-gradient(150deg, var(--forest-soft), var(--forest-deep)); color: rgba(255,255,255,.85); border: 0; }
.contact-cta-card h3 { color: #fff; }
.contact-cta-card p { color: rgba(255,255,255,.8); }
.contact-cta-card .btn-solid { background: var(--gold); color: var(--forest-deep); margin-top: 6px; }
.contact-cta-card .btn-solid:hover { background: #cbb079; }
.muted { color: var(--ink-soft); }
.small { font-size: .8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(255,255,255,.7); padding: 56px 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-name { color: #fff; font-size: 1.7rem; }
.footer-brand p { margin: 4px 0 0; font-size: .9rem; }
.footer-brand .muted { color: rgba(255,255,255,.55); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: .92rem; }
.footer-nav a:hover { color: var(--gold); }
.disclaimer { padding-top: 26px; }
.disclaimer p { margin: 0 0 10px; font-size: .82rem; color: rgba(255,255,255,.5); }
.disclaimer .small { font-size: .76rem; line-height: 1.55; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .concierge-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 380px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 120; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 8px 0 20px; transform: translateY(-120%); transition: transform .3s ease;
    box-shadow: var(--shadow-md); align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { padding: 0 clamp(20px, 5vw, 48px); }
  .nav-links a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { padding: 16px clamp(20px,5vw,48px) 4px !important; }
  .nav-cta a { display: block; text-align: center; }
  .hero-actions .btn { flex: 1 1 auto; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
