/* ============================================================
   Imhoff Biotech Advisory — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy:      #0d2240;
  --blue:      #1a6fa8;
  --blue-light:#e8f2fa;
  --bg-light:  #f5f7fa;
  --text:      #2c3e50;
  --muted:     #6b7c93;
  --border:    #e0e4ea;
  --white:     #ffffff;
  --radius:    8px;
  --shadow:    0 2px 16px rgba(13, 34, 64, 0.10);
}

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

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.section       { padding: 80px 0; }
.section-light { background: var(--bg-light); }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}
.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.82; }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 12px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--navy); color: #ffffff; }

.btn-white {
  display: inline-block;
  background: #ffffff;
  color: var(--navy);
  padding: 14px 34px;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.88; }

/* ── Header ─────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
  position: relative;
}

.logo img {
  height: 140px;
  width: auto;
  display: block;
}

/* ── Nav ─────────────────────────────────────────────────── */
nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* Hamburger (mobile) — pure CSS checkbox trick */
.nav-toggle { display: none; }

.hamburger {
  display: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--navy);
  position: absolute;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger span       { top: 10px; }
.hamburger span::before { content: ''; top: -8px; }
.hamburger span::after  { content: ''; top: 8px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 100px 0;
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.4rem;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin-bottom: 40px;
}

/* Inner page hero */
.page-hero {
  background: var(--navy);
  color: #ffffff;
  padding: 64px 0;
  text-align: center;
}
.page-hero h1  { font-size: 2.4rem; color: #ffffff; font-family: 'Cormorant Garamond', Georgia, serif; }
.page-hero p   { opacity: 0.78; margin-top: 14px; font-size: 1.05rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Grids ───────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3   { font-size: 1.3rem; margin-bottom: 10px; }
.card p    { color: var(--muted); font-size: 0.95rem; }

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}
.cta-banner h2 { font-size: 2rem; color: #ffffff; margin-bottom: 28px; font-family: 'Cormorant Garamond', Georgia, serif; }
.cta-banner p  { opacity: 0.80; margin-bottom: 36px; font-size: 1.05rem; }

/* ── Services page ───────────────────────────────────────── */
.service-item {
  display: flex;
  gap: 36px;
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}
.service-item:last-child { border-bottom: none; }

.service-icon {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  padding-top: 6px;
}
.service-item h3 {
  font-size: 1.55rem;
  margin-bottom: 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
}
.service-item > div > p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.8;
}
.service-outcome {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
}

/* ── About Me page ───────────────────────────────────────── */
.about-me-section { padding: 80px 0; }

.about-me-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.about-me-photo {
  position: sticky;
  top: 90px;
}
.about-me-photo img {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 4px 24px rgba(3, 25, 83, 0.12);
}
.about-me-photo .photo-name {
  margin-top: 20px;
  text-align: center;
}
.about-me-photo .photo-name h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.about-me-photo .photo-name p {
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.about-me-photo .linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.about-me-photo .linkedin-link:hover { text-decoration: underline; }

.about-me-bio p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 22px;
}
.about-me-bio p:last-child { margin-bottom: 0; }

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.credential-tag {
  background: var(--blue-light);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #c8cfe6;
  letter-spacing: 0.03em;
}

.highlight-box {
  background: var(--bg-light);
  border-left: 4px solid var(--navy);
  border-radius: 0 8px 8px 0;
  padding: 22px 28px;
  margin: 28px 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
}

/* Testimonial — full width */
.full-testimonial {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.full-testimonial__grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
}
.full-testimonial__mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 220px;
  line-height: 0.85;
  color: var(--navy);
  opacity: 0.12;
  user-select: none;
  padding-top: 8px;
}
.full-testimonial__quote {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  font-style: italic;
  margin: 0 0 20px;
}
.full-testimonial__attr {
  font-size: 0.85rem;
  color: var(--muted);
}
.full-testimonial__attr strong {
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
  font-style: normal;
}
.full-testimonial__attr a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.full-testimonial__attr a:hover { text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 36px 24px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}
footer a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
footer a:hover { color: #ffffff; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; flex-wrap: wrap; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.6rem; }
  .about-me-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-me-photo { position: static; max-width: 260px; margin: 0 auto; }
}

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

  .hero           { padding: 72px 0; }
  .hero h1        { font-size: 2.2rem; }
  .hero p         { font-size: 1rem; }
  .section        { padding: 56px 0; }
  .cta-banner     { padding: 60px 0; }
  .cta-banner h2  { font-size: 1.7rem; }

  .service-item   { flex-direction: column; gap: 12px; }
  .service-icon   { width: auto; }

  .full-testimonial__grid { grid-template-columns: 1fr; }
  .full-testimonial__mark { font-size: 120px; line-height: 1; height: 80px; overflow: hidden; }

  /* Shrink header on mobile so dropdown top aligns */
  .header-inner { height: 110px; }
  .logo img     { height: 94px; }

  /* Show hamburger, hide nav by default */
  .hamburger { display: flex; align-items: center; }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 110px;
    left: -28px;
    right: -28px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 99;
    padding: 8px 0;
  }

  nav ul li a {
    display: block;
    padding: 13px 28px;
    border-bottom: none;
  }

  .nav-toggle:checked ~ nav ul { display: flex; }

  .nav-toggle:checked ~ .hamburger span               { background: transparent; }
  .nav-toggle:checked ~ .hamburger span::before { transform: rotate(45deg) translate(6px, 6px); }
  .nav-toggle:checked ~ .hamburger span::after  { transform: rotate(-45deg) translate(6px, -6px); }
}
