/* ==========================================================================
   Insperte — Light Theme Design System
   Palette: cool neutral surface, deep navy ink, wine accent, sage detail
   ========================================================================== */

:root {
  /* Core palette */
  --ink: #17223a;           /* headings, primary text — deep navy-charcoal */
  --ink-soft: #2b3752;      /* secondary headings */
  --body: #4b5262;          /* paragraph text */
  --muted: #838a9b;         /* captions, meta */

  --bg: #f5f5f3;            /* page background — cool stone, not cream */
  --surface: #ffffff;       /* card surface */
  --surface-alt: #eceae4;   /* alternating section background */
  --surface-ink: #151d2e;   /* dark section background */

  --border: #e2ddd3;
  --border-soft: #eae6dd;

  --wine: #7a2f42;          /* primary accent — deep wine/burgundy */
  --wine-dark: #5c2231;
  --wine-tint: #f3e6e9;

  --teal: #3a5f52;          /* secondary accent — deep sage */
  --teal-tint: #e7ede9;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(23, 34, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(23, 34, 58, 0.08);
  --shadow-lg: 0 20px 48px rgba(23, 34, 58, 0.12);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine-dark);
  background: var(--wine-tint);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine);
}

.section { padding: 96px 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--surface-ink); color: #cfd6e2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--wine);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--wine-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 243, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--wine) 0%, var(--teal) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.brand-mark svg { width: 17px; height: 17px; }
.brand small {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--wine-dark); }
.main-nav a.active { color: var(--wine-dark); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--wine);
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: all 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ==================== HERO ==================== */
.hero {
  padding: 88px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero-lead {
  font-size: 1.15rem;
  color: var(--body);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-meta div { font-size: 0.85rem; color: var(--muted); }
.hero-meta strong { display: block; color: var(--ink); font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 600; }

/* ==================== TRUST STRIP ==================== */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: 26px 20px;
  text-align: center;
  border-left: 1px solid var(--border-soft);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.trust-item:first-child { border-left: none; }
.trust-item .ico { color: var(--wine-dark); display: flex; }
.trust-item .ico svg { width: 22px; height: 22px; }

/* ==================== CARDS ==================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.step-card { position: relative; padding-top: 40px; }
.step-num {
  position: absolute;
  top: -18px; left: 28px;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.industry-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px;
}
.industry-card .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.industry-card .ico svg { width: 22px; height: 22px; }
.industry-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.industry-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* Split panel (For Clients / For Experts) */
.split-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel {
  border-radius: var(--radius-lg);
  padding: 44px;
}
.panel-light { background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); }
.panel-dark { background: var(--ink); color: #cfd6e2; }
.panel-dark h3 { color: #fff; }
.panel ul { margin: 24px 0 32px; }
.panel li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.panel-light li { color: var(--body); }
.check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.check svg { width: 11px; height: 11px; }
.panel-light .check { background: var(--teal-tint); color: var(--teal); }
.panel-dark .check { background: rgba(255,255,255,0.12); color: #fff; }

/* Pillars (trust/compliance) */
.pillar {
  text-align: center;
  padding: 12px;
}
.pillar .ico {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--wine-tint);
  color: var(--wine-dark);
  display: flex; align-items: center; justify-content: center;
}
.pillar .ico svg { width: 26px; height: 26px; }

/* CTA banner */
.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ink) 0%, #1f3a5f 100%);
  padding: 64px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: #b9c2d4; max-width: 520px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--surface-ink);
  color: #aeb8c9;
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { color: #fff; }
.footer-brand p { margin: 18px 0; color: #96a1b5; font-size: 0.92rem; max-width: 300px; }
.footer-contact { font-size: 0.9rem; line-height: 1.9; color: #96a1b5; }
.footer-col h4 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #96a1b5; font-size: 0.92rem; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #7c869b;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ==================== PAGE HEADER (inner pages) ==================== */
.page-header {
  padding: 64px 0 56px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--wine-dark); }
.page-header p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0; }

/* ==================== VALUES / MISSION ==================== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-soft);
}
.mv-card .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--wine-tint);
  color: var(--wine-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.mv-card .ico svg { width: 26px; height: 26px; }
.mv-card h3 { color: var(--wine-dark); text-transform: uppercase; font-family: "Inter", sans-serif; font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 14px; }
.mv-card p { font-size: 1.15rem; color: var(--ink-soft); font-family: "Fraunces", serif; line-height: 1.5; margin: 0; }

.value-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-soft);
}
.value-item:last-child { border-bottom: none; }
.value-num {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: var(--wine);
  font-weight: 600;
  flex-shrink: 0;
  width: 40px;
}
.value-item h3 { margin-bottom: 6px; font-size: 1.05rem; }
.value-item p { margin: 0; font-size: 0.94rem; color: var(--muted); }

/* ==================== FAQ ==================== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.faq-question .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--wine-tint);
  color: var(--wine-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-question .plus { transform: rotate(45deg); background: var(--wine); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner { padding: 0 26px 24px; color: var(--body); font-size: 0.96rem; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--ink);
  color: #cfd6e2;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info-card h3 { color: #fff; }
.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #e8b8c2;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row .ico svg { width: 18px; height: 18px; }
.contact-row strong { display: block; color: #fff; font-size: 0.92rem; margin-bottom: 2px; }
.contact-row span, .contact-row a { font-size: 0.9rem; color: #aeb8c9; }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--wine);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }

/* ==================== PHOTOGRAPHY ==================== */
.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(20,39,68,0.62) 0%, rgba(20,39,68,0.08) 42%, rgba(179,132,58,0.32) 100%);
}
.hero-badge {
  position: absolute;
  left: 20px; bottom: 20px; right: 20px;
  z-index: 2;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
}
.hero-badge .icon-circle {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--wine-tint);
  color: var(--wine-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-badge .icon-circle svg { width: 19px; height: 19px; }
.hero-badge strong { display: block; font-size: 0.88rem; color: var(--ink); font-family: "Fraunces", serif; }
.hero-badge span { font-size: 0.75rem; color: var(--muted); }

/* Photo page header band (inner pages) */
.page-header--photo {
  position: relative;
  padding: 132px 0 68px;
  background-size: cover;
  background-position: center;
  border-bottom: none;
  color: #fff;
  overflow: hidden;
}
.page-header--photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(175deg, rgba(18,33,58,0.92) 0%, rgba(20,39,68,0.8) 55%, rgba(20,39,68,0.94) 100%);
}
.page-header--photo .container { position: relative; z-index: 1; }
.page-header--photo h1 { color: #fff; }
.page-header--photo p { color: #cdd4e0; }
.page-header--photo .breadcrumb { color: #93a0b8; }
.page-header--photo .breadcrumb a:hover { color: #fff; }
.page-header--photo .eyebrow { background: rgba(255,255,255,0.12); color: #e8b8c2; }
.page-header--photo .eyebrow::before { background: #e8b8c2; }

/* Zigzag image + text rows */
.split-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-photo-row + .split-photo-row { margin-top: 80px; }
.split-photo-row.reverse .split-photo-media { order: 2; }
.split-photo-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.split-photo-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-photo-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(20,39,68,0.28) 0%, transparent 55%);
}

/* Full width image band */
.image-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.image-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,33,58,0.92) 0%, rgba(20,39,68,0.65) 50%, rgba(20,39,68,0.25) 100%);
  z-index: 1;
}
.image-band-content { position: relative; z-index: 2; color: #fff; padding: 56px; max-width: 520px; }
.image-band-content .eyebrow { background: rgba(255,255,255,0.14); color: #e8b8c2; }
.image-band-content .eyebrow::before { background: #e8b8c2; }
.image-band-content h2 { color: #fff; }
.image-band-content p { color: #cdd4e0; margin-bottom: 0; }

/* ==================== MISC ==================== */
.divider { height: 1px; background: var(--border); margin: 0; }
.text-center { text-align: center; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { max-width: 420px; margin: 0 auto; }
  .grid-3, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .split-panels, .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: none; }
  .split-photo-row { grid-template-columns: 1fr; gap: 28px; }
  .split-photo-row.reverse .split-photo-media { order: 0; }
  .split-photo-row + .split-photo-row { margin-top: 48px; }
  .image-band-content { padding: 40px 32px; max-width: 100%; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .main-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .grid-3, .grid-6, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
