/* =========================================
   UniPartners – Stylesheet
   Inspired by: clean agency design, white bg,
   bold type, green accents, editorial layout
   ========================================= */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #0D0D0D;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Tokens ── */
:root {
  --brown: #59352D;
  --brown-dark: #3e2420;
  --brown-light: #f0e9e7;
  --black: #0D0D0D;
  --gray-dark: #595959;
  --gray-light: #D7D9D9;
  --off-white: #F2F2F2;
  --gray-bg: #F2F2F2;
  --gray-line: #D7D9D9;
  --gray-mid: #595959;
  --gray-text: #595959;
  --container: 1160px;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(13,13,13,0.07);
  --shadow-lg: 0 12px 48px rgba(13,13,13,0.12);
  /* aliases used throughout */
  --accent: var(--brown);
  --accent-dark: var(--brown-dark);
  --accent-light: var(--brown-light);
  --lime: var(--brown);
  --lime-dark: var(--brown-dark);
  --lime-light: var(--brown-light);
  --coral: var(--brown);
  --coral-light: var(--brown-light);
  --sage: var(--gray-dark);
  --sage-light: var(--off-white);
  --terracotta: var(--brown);
  --terracotta-light: var(--brown-light);
  --green: var(--brown);
  --green-dark: var(--brown-dark);
  --green-light: var(--brown-light);
  --cyan: var(--brown);
  --cyan-dark: var(--brown-dark);
  --cyan-light: var(--brown-light);
  --purple: var(--brown);
  --purple-light: var(--brown-light);
  --teal: var(--gray-dark);
  --teal-dark: var(--black);
  --teal-light: var(--off-white);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
}
h1 { font-weight: 400; line-height: 0.95; letter-spacing: -0.01em; font-size: clamp(4rem, 11vw, 9rem); }
h2 { font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-weight: 400; line-height: 1.25; letter-spacing: 0; font-size: 1.3rem; }

p { color: var(--gray-text); font-size: 1.05rem; line-height: 1.8; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ── Container ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ── Section ── */
.section { padding: 96px 0; }

/* ── Eyebrow ── */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--green);
  display: inline-block;
  flex-shrink: 0;
}
.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }

/* ── Color accents ── */
.highlight { color: var(--green); }
.highlight-ghost {
  -webkit-text-stroke: 2px var(--gray-line);
  color: transparent;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--brown);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(89,53,45,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-line);
}
.btn-ghost:hover {
  border-color: var(--black);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Section header (centered) ── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-title-center { text-align: center; margin-bottom: 48px; }

/* =========================================
   NAVIGATION
   ========================================= */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-line);
  transition: box-shadow 0.2s;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'PT Serif Caption', Georgia, serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--black);
  letter-spacing: 0.01em;
}
.logo-mark { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-text);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.nav-active { color: var(--black); }
.nav-links a.nav-active { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--green); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: all 0.3s; }

/* =========================================
   HERO
   ========================================= */
.hero {
  padding: 130px 0 80px;
  background: #fff;
  overflow: hidden;
}

.hero-title-wrap {
  position: relative;
  margin-bottom: 40px;
}

.hero-title {
  color: var(--black);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* The tilted photo card that overlaps the text */
.hero-photo-card {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  width: min(340px, 35vw);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 2;
  transition: transform 0.4s ease;
}
.hero-photo-card:hover { transform: translateY(-52%) rotate(-2deg) scale(1.02); }
.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  aspect-ratio: 4 / 3;
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 24px;
}
.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gray-text);
  max-width: 640px;
  flex-shrink: 1;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* =========================================
   MISSION STRIP
   ========================================= */
.mission-strip {
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 28px 0;
}
.mission-strip-text {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--black);
  line-height: 1.3;
  text-align: center;
  margin: 0;
}
.mission-strip-text em {
  font-style: italic;
  color: var(--brown);
}

/* =========================================
   HERO AUDIENCE BADGES
   ========================================= */
.hero-audience-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.audience-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--off-white);
  color: var(--gray-dark);
  border: 1.5px solid var(--gray-light);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
}
.audience-badge:hover {
  border-color: var(--brown);
  color: var(--brown);
}
.audience-badge.active {
  background: var(--brown-light);
  color: var(--brown-dark);
  border-color: var(--brown-dark);
}
.audience-badge-alt {
  /* inherits base style; active state handles the highlight */
}
.hero-content--hidden {
  display: none;
}
.audience-badge-note {
  font-size: 0.85rem;
  color: var(--gray-mid);
  font-weight: 500;
  padding-left: 4px;
}

/* =========================================
   PAIN POINTS  – editorial layout
   ========================================= */
.pain-points { background: #fff; }

/* ── Top row: heading + avatars ── */
.pain-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gray-line);
  margin-bottom: 56px;
}

.pain-top-left h2 { margin-top: 8px; }

.pain-top-right {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 8px;
}

.pain-avatars {
  display: flex;
  align-items: center;
}
.pain-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brown);
  flex-shrink: 0;
}
.pain-avatar:first-child { margin-left: 0; }

.pain-arrow-link {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}
.pain-arrow-link:hover { opacity: 1; transform: translate(2px, -2px); }

/* ── Bottom row: photo + text ── */
.pain-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.pain-photo-col { position: relative; }

.pain-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
}

.pain-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  display: block;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.pain-photo.active {
  opacity: 1;
}

.pain-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.pain-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: var(--gray-light);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.pain-dot.active {
  background: var(--brown);
  width: 44px;
}

/* decorative accent behind photo */
.pain-photo-col::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80%;
  height: 60%;
  background: var(--gray-bg);
  border-radius: var(--radius);
  z-index: -1;
}

/* ── Right text column ── */
.pain-text-col { padding-top: 8px; }

.pain-lead {
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--black);
  margin-bottom: 40px;
  font-weight: 400;
}

.pain-em {
  font-style: italic;
  color: var(--gray-mid);
}

.pain-checks-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.pain-check-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 14px;
}

.pain-list-inline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pain-list-inline li {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.pain-list-inline li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brown);
  font-weight: 600;
}

.pain-cta { margin-top: 8px; }
.pain-cta p {
  font-size: 1rem;
  color: var(--gray-text);
  margin-bottom: 20px;
  font-style: italic;
}

/* =========================================
   ABOUT
   ========================================= */
.about { background: #fff; }

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

.about-left h2 { margin-bottom: 32px; }

.about-avatars {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  overflow: hidden;
  first-child { margin-left: 0; }
}
.avatar:first-child { margin-left: 0; }
.avatar svg { width: 100%; height: 100%; }

.avatar-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  border: 3px solid #fff;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.avatar-link:hover { background: var(--green); }
.avatar-link:hover svg path { stroke: #fff; }

.about-right { display: flex; flex-direction: column; gap: 28px; }

.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  height: 220px;
}
.about-photo-bg {
  position: absolute;
  inset: 0;
  background: var(--green-light);
  border-radius: var(--radius);
}
.about-photo-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80%;
  height: 80%;
  background: var(--gray-line);
  border-radius: var(--radius);
  z-index: -1;
}
.about-photo-img {
  position: relative;
  width: 100%;
  height: 220px;
  z-index: 1;
  border-radius: var(--radius);
}

.about-copy p { font-size: 1.05rem; }
.about-copy p + p { margin-top: 14px; }
.about-copy em { color: var(--gray-mid); font-style: italic; }

/* =========================================
   SERVICES
   ========================================= */
.services { background: #fff; }

.services-header {
  margin-bottom: 16px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-line);
}
.services-header h2 { margin-top: 4px; }

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-line);
}

.service-num {
  font-size: 6rem;
  font-weight: 900;
  color: var(--gray-line);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
}

/* Illustration column */
.service-visual {
  background: var(--gray-bg);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-visual svg { width: 100%; height: 100%; }

/* Content column */
.service-content h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--black);
}
.service-subtitle {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.service-desc {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.service-tags {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
}
.tag-col { display: flex; flex-direction: column; gap: 7px; }
.tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  transition: gap 0.2s;
}
.service-link:hover { gap: 12px; }

/* =========================================
   FEATURES
   ========================================= */
.features { background: #fff; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--gray-line);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.feat-icon-red   { background: var(--coral-light); }
.feat-icon-blue  { background: var(--sage-light); }
.feat-icon-green { background: var(--lime-light); }
.feat-icon-orange{ background: var(--coral-light); }
.feat-icon-purple{ background: var(--sage-light); }
.feat-icon-teal  { background: var(--lime-light); }

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 10px;
  color: var(--black);
}
.feature-card p { font-size: 0.95rem; line-height: 1.6; }

/* =========================================
   TRUSTED / PROCESS
   ========================================= */
.trusted { background: #fff; }

.trusted-title {
  text-align: center;
  margin-bottom: 64px;
}

.process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.process-step {
  flex: 1;
  padding: 36px 28px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  position: relative;
}

.process-connector {
  width: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.process-connector::after {
  content: '→';
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 700;
}

.step-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gray-line);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.process-step h3 {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--black);
  margin-bottom: 10px;
}
.process-step p { font-size: 1rem; }

/* =========================================
   TESTIMONIALS
   ========================================= */
/* =========================================
   CREDIBILITY / WHY UNIPARTNERS
   ========================================= */
.credibility { background: #fff; }

.credibility-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
}

.credibility-photo-col {
  position: relative;
  perspective: 800px;
}

.credibility-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  animation: float 5s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.credibility-photo:hover {
  animation-play-state: paused;
  box-shadow: 0 24px 48px rgba(0,0,0,0.14);
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.credibility-quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  line-height: 1.5;
  margin: 0 0 36px;
  padding: 0;
  border: none;
}

.cred-track-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cred-track-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-line);
}

.cred-track-list li:first-child {
  border-top: 1px solid var(--gray-line);
}

.cred-track-list strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.cred-track-list span {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

.cred-cert-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cred-cert-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
  white-space: nowrap;
}

.cred-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cred-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(30%);
  transition: opacity 0.2s;
}

.cred-logo-img:hover { opacity: 1; }

/* =========================================
   FAQ
   ========================================= */
.faq { background: #fff; }

.faq-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-left h2 { margin-bottom: 16px; }
.faq-left > p { font-size: 1.05rem; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-item {
  border: 1px solid var(--gray-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--green); }

.faq-item summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--green);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 20px; font-size: 1rem; line-height: 1.75; }

/* =========================================
   CONTACT
   ========================================= */
.contact { background: #fff; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-text h2 { margin-bottom: 16px; }
.contact-text > p { font-size: 1rem; margin-bottom: 28px; }

.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-audience-note {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--gray-bg);
  border-radius: 12px;
  border: 1.5px solid var(--gray-line);
}
.can-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.6;
}
.can-note svg { flex-shrink: 0; margin-top: 2px; }
.can-note strong { color: var(--black); }


.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  transition: color 0.2s;
}
.contact-detail:hover { color: var(--green); }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-group label span { color: var(--green); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--gray-bg);
  border: 1.5px solid var(--gray-line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--black);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(89,53,45,0.15);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { text-align: center; font-size: 0.85rem; color: var(--gray-mid); margin-top: 12px; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--black); }

.footer-inner {
  display: flex;
  gap: 80px;
  padding: 64px 0 48px;
  border-bottom: 1px solid #222;
}

.footer-brand { flex: 0 0 280px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo span:not(.logo-mark) { color: #fff; }
.footer-brand p { font-size: 1rem; color: #555; line-height: 1.7; }

.footer-links { flex: 1; display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col strong {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}
.footer-col a { font-size: 1rem; color: #555; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }

.footer-bottom { padding: 22px 0; }
.footer-bottom p { font-size: 0.875rem; color: #333; text-align: center; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  /* Hero: hide photo card on smaller screens */
  .hero-photo-card { width: min(260px, 28vw); }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }

  .service-row { grid-template-columns: 64px 1fr; gap: 32px; }
  .service-visual { display: none; }

  .credibility-inner { grid-template-columns: 1fr; gap: 40px; }
  .credibility-photo { aspect-ratio: 16 / 9; }

  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner { flex-direction: column; gap: 40px; padding-left: 32px; padding-right: 32px; }
  .footer-brand { flex: none; }
  .footer-bottom { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .pain-top { grid-template-columns: 1fr; gap: 24px; }
  .pain-body { grid-template-columns: 1fr; gap: 40px; }
  .pain-checks-editorial { grid-template-columns: 1fr; gap: 28px; }
  .pain-photo { aspect-ratio: 16 / 9; }
  .pain-photo-col::after { display: none; }
  .hero-audience-badges { gap: 8px; }
  .audience-badge-note { display: none; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-line);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); pointer-events: all; }
  .nav-links li a { display: block; padding: 12px 14px; border-radius: 8px; }
  .nav-links li a:hover { background: var(--gray-bg); }

  /* Hero */
  .hero { padding: 110px 0 60px; }
  .hero-photo-card { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Services */
  .service-row { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .service-num { font-size: 3.5rem; }
  .service-visual { display: flex; aspect-ratio: 16/9; }
  .service-tags { flex-wrap: wrap; gap: 16px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; }

  /* Process */
  .process-steps { flex-direction: column; gap: 12px; }
  .process-connector { display: none; }

  /* Footer */
  .footer-links { flex-direction: column; gap: 28px; }
  .footer-inner { padding-left: 20px; padding-right: 20px; }
  .footer-bottom { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--stagger, 0s);
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }
}

.hero-content {
  transition: opacity 0.4s ease;
}
.hero-content--hidden {
  display: none;
}
.hero-content--fading-out {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
