/* =============================================
   GoHerd Inc — Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Fraunces:opsz,wght@9..144,700;9..144,800&display=swap');

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

:root {
  --teal-900: #0f3b38;
  --teal-700: #0e6963;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-300: #5eead4;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;

  --pink-600: #c4165a;
  --pink-500: #f73e6c;
  --pink-100: #ffe4ec;

  --gray-950: #0a0f0e;
  --gray-900: #111817;
  --gray-700: #2d3836;
  --gray-500: #6b7b79;
  --gray-400: #94a3a1;
  --gray-200: #d4dedd;
  --gray-100: #edf2f1;
  --gray-50:  #f8fafa;
  --white:    #ffffff;

  --font-display: 'Outfit', sans-serif;
  --font-hero:    'Fraunces', serif;
  --font-body:    'Outfit', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);

  --max-w: 1160px;
  --header-h: 68px;
}

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

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-body);
  line-height: 1.15;
  letter-spacing: -.02em;
}

/* Fraunces — hero headline and featured statement moments */
.hero h1,
.featured-product h2 {
  font-family: var(--font-hero);
  letter-spacing: -.03em;
}

/* Syne — nav, buttons, labels (all UI chrome) */
.site-nav a,
.logo,
.btn,
.section-label,
.hero-eyebrow,
.status-pill,
.product-badge,
.footer-col h5 {
  font-family: var(--font-display);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }

p      { font-size: 1.05rem; line-height: 1.75; color: var(--gray-700); }
strong { font-weight: 600; color: var(--gray-900); }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--gray-500);
  font-weight: 400;
}

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

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.75rem;
  letter-spacing: -0.075em;
  color: var(--teal-700);
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--teal-700);
  background: var(--teal-50);
}

.site-nav a.active { color: var(--teal-600); }

.site-nav a.nav-cta {
  background: var(--pink-500);
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background-color .15s, transform .1s, box-shadow .15s;
}

.site-nav a.nav-cta:hover {
  background: var(--pink-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .925rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
  border: none;
  text-decoration: none;
  letter-spacing: -.01em;
}

.btn-primary {
  background: var(--teal-600);
  color: white;
}
.btn-primary:hover {
  background: var(--teal-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,148,136,.3);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-900);
}
.btn-secondary:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--teal-600);
  border: 1.5px solid var(--teal-300);
}
.btn-outline:hover {
  background: var(--teal-50);
  border-color: var(--teal-500);
  transform: translateY(-1px);
}

.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .825rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-600);
  font-weight: 500;
  font-size: .95rem;
  transition: gap .15s, color .15s;
}
.text-link:hover { color: var(--teal-700); gap: 10px; }
.text-link::after { content: '→'; }

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(165deg, var(--teal-50) 0%, var(--white) 55%, var(--pink-100) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,114,182,.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--teal-300);
  color: var(--teal-700);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink-500);
}

.hero h1 { color: var(--gray-950); margin-bottom: 20px; }
.hero h1 .accent { color: var(--teal-600); }

.hero .lead { margin-bottom: 40px; max-width: 560px; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── Section Labels ── */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 16px;
}

.section-header { margin-bottom: 56px; }
.section-header h2 { color: var(--gray-950); margin-bottom: 12px; }
.section-header .lead { max-width: 580px; }

/* ── Featured Product Section ── */
.featured-product {
  background: var(--gray-950);
  color: white;
  position: relative;
  overflow: hidden;
}

.featured-product::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(13,148,136,.2) 0%, transparent 60%);
  pointer-events: none;
}

.featured-product .container { position: relative; z-index: 1; }

.featured-product h2 { color: white; }
.featured-product .lead { color: rgba(255,255,255,.65); }
.featured-product .section-label { color: var(--teal-300); }

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20,184,166,.2);
  border: 1px solid rgba(20,184,166,.4);
  color: var(--teal-300);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .975rem;
  color: rgba(255,255,255,.8);
}

.feature-list li::before {
  content: '';
  width: 20px; height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(20,184,166,.2);
  border: 1.5px solid var(--teal-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%2314b8a6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.fp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .fp-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Product app mockup placeholder */
.app-mockup-img-wrap {
  background: #1a1a1a;
  border-radius: 52px;
  padding: 12px;
  box-shadow: 0 32px 64px rgba(0,0,0,.5), 
              0 8px 20px rgba(0,0,0,.25),
              inset 0 0 0 1px rgba(255,255,255,.1);
  max-width: 240px;
  margin: 0 auto;
  position: relative;
}

/* Dynamic island */
.app-mockup-img-wrap::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 20px;
  z-index: 2;
}

.app-mockup-img {
  width: 100%;
  display: block;
  border-radius: 42px;
  position: relative;
}

.app-mockup {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  aspect-ratio: 9/16;
  max-width: 240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
}

.app-mockup-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-900));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  letter-spacing: -.04em;
}

.app-mockup-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.app-mockup-sub {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-align: center;
}

/* ── Roadmap / What's Next ── */
.roadmap { background: var(--gray-50); }

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.roadmap-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

.roadmap-card:hover {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-md);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.status-available {
  background: rgba(20,184,166,.1);
  color: var(--teal-700);
}

.status-dev {
  background: rgba(247,62,108,.08);
  color: var(--pink-600);
}

.status-early {
  background: var(--gray-100);
  color: var(--gray-500);
}

.status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ── How It Works (Steps) ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--teal-300), var(--teal-100));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal-600);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h4 { margin-bottom: 8px; }
.step p  { font-size: .925rem; }

@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .step { text-align: left; display: flex; gap: 20px; align-items: flex-start; }
  .step-content { flex: 1; }
  .step-num { flex-shrink: 0; margin: 0; }
}

/* ── Privacy/Data Highlight ── */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.data-item {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  padding: 24px;
}

.data-item h4 { color: var(--teal-700); margin-bottom: 6px; font-size: 1rem; }
.data-item p  { font-size: .9rem; color: var(--gray-500); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 72px 0 56px;
  background: linear-gradient(160deg, var(--teal-50) 0%, var(--white) 70%);
  border-bottom: 1px solid var(--gray-100);
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { max-width: 600px; }

/* ── Orgnizn page specific ── */
.orgnizn-hero {
  background: linear-gradient(150deg, var(--gray-950) 0%, var(--teal-900) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.orgnizn-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.25) 0%, transparent 65%);
}

.orgnizn-hero h1 { color: white; }
.orgnizn-hero .lead { color: rgba(255,255,255,.65); }

.orgnizn-note {
  background: rgba(255,255,255,.07);
  border-left: 3px solid var(--teal-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-top: 32px;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  font-style: italic;
}

/* ── About page ── */
.about-statement {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.65;
  color: var(--gray-900);
  font-weight: 400;
  font-family: var(--font-display);
  letter-spacing: -.01em;
}

/* ── Privacy page ── */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-100);
  color: var(--gray-950);
}

.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.prose p { margin-bottom: 16px; font-size: 1rem; }

.prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose ul li { font-size: 1rem; color: var(--gray-700); }

.prose a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 2px; }

/* ── Footer ── */
.site-footer {
  background: var(--gray-950);
  color: rgba(255,255,255,.6);
  padding: 56px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: color .15s;
}
.footer-col a:hover { color: var(--teal-300); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.3); }

.footer-tagline {
  font-size: .8rem;
  color: rgba(255,255,255,.25);
  font-style: italic;
}

/* ── Dividers ── */
.divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 0;
}

/* ── Support / FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 24px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h4 { margin-bottom: 10px; color: var(--gray-900); }
.faq-item p  { color: var(--gray-500); font-size: .95rem; }

/* ── Products page ── */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 40px;
  align-items: start;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow .2s;
}
.product-row:hover { box-shadow: var(--shadow-md); }

.product-row-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-900));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  font-size: 1.4rem;
  letter-spacing: -.04em;
  flex-shrink: 0;
}
.product-row-img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
}

.product-row-icon.realm {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
}

.product-row-icon.goherd-platform {
  background: linear-gradient(135deg, var(--teal-900), #0a2826);
}

@media (max-width: 768px) {
  .product-row { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }

  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
  .container { padding: 0 16px; }

  .hero { padding: 64px 0 56px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 16px; border-radius: var(--radius-sm); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp .6s ease both;
}

.fade-up-delay-1 { animation-delay: .1s; }
.fade-up-delay-2 { animation-delay: .2s; }
.fade-up-delay-3 { animation-delay: .3s; }

/* ── Utility ── */
.text-teal   { color: var(--teal-600); }
.text-muted  { color: var(--gray-500); }
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Contact Page ─────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

/* ── Info panel ── */
.contact-info-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.contact-info-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-950);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-600);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: 3px;
  font-weight: 500;
  letter-spacing: .02em;
}

.contact-info-link {
  font-size: .9rem;
  color: var(--teal-600);
  font-weight: 500;
  transition: color .15s;
}
.contact-info-link:hover { color: var(--teal-700); text-decoration: underline; text-underline-offset: 2px; }

/* ── Form elements ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.required { color: var(--pink-500); }

.form-input {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20,184,166,.12);
}

.form-input::placeholder { color: var(--gray-400); }

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* Custom select wrapper */
.form-select-wrap {
  position: relative;
}

.form-select {
  cursor: pointer;
  padding-right: 40px;
}

.form-select-arrow {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
  display: flex; align-items: center;
}

/* Form footer */
.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 4px;
  flex-wrap: wrap;
}

.form-note {
  font-size: .82rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ── Success state ── */
.contact-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-left: 3px solid var(--teal-500);
  border-radius: var(--radius-md);
  padding: 24px;
}

.contact-success-icon {
  color: var(--teal-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-success-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 6px;
}

.contact-success-body {
  font-size: .95rem;
  color: var(--teal-700);
  opacity: .8;
}

/* ── Error summary ── */
.contact-errors {
  background: #fff5f7;
  border: 1px solid rgba(247,62,108,.2);
  border-left: 3px solid var(--pink-500);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 4px;
}

.contact-errors strong {
  font-size: .9rem;
  color: var(--pink-600);
  display: block;
  margin-bottom: 8px;
}

.contact-errors ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-errors ul li {
  font-size: .875rem;
  color: var(--pink-600);
}

.contact-errors ul li::before {
  content: '— ';
  opacity: .6;
}

/* ── Honeypot — must stay visually hidden ── */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info-card { position: static; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; }
}
