/* ============================================================
   People4 – EURO Invoice Compliance API
   Global Styles
   ============================================================ */

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

:root {
  --color-bg:         #08090d;
  --color-surface:    #0f1117;
  --color-surface-2:  #161922;
  --color-border:     rgba(255,255,255,.08);
  --color-border-2:   rgba(255,255,255,.14);

  --color-primary:    #3b82f6;
  --color-primary-dark: #2563eb;
  --color-primary-glow: rgba(59,130,246,.35);

  --color-accent:     #8b5cf6;
  --color-green:      #10b981;
  --color-yellow:     #f59e0b;

  --color-text:       #e8eaf0;
  --color-text-muted: #8a91a8;
  --color-text-faint: #4b5268;

  --font-sans:        'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,.5);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.6);

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

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

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

/* --- Utility ----------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 0 0 var(--color-primary-glow);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 0 24px var(--color-primary-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-2);
}
.btn-outline:hover {
  background: var(--color-surface-2);
  border-color: rgba(255,255,255,.25);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
}
.btn-ghost:hover { color: var(--color-text); }

.btn-white {
  background: #fff;
  color: #0f1117;
  font-weight: 700;
}
.btn-white:hover { background: #e8eaf0; transform: translateY(-1px); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

.btn-lg { padding: 13px 28px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; justify-content: center; }

/* --- Section tags ------------------------------------------ */
.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(59,130,246,.15);
  border: 1px solid rgba(59,130,246,.3);
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 7vw, 72px);
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* --- Animations -------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav-header.scrolled {
  background: rgba(8,9,13,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--color-border);
}

.nav-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.logo-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -.02em;
}
.logo-text strong { font-weight: 800; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-right: auto;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--color-text-muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--color-text); background: var(--color-surface-2); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 20px clamp(16px, 5vw, 48px);
    gap: 4px;
  }
  .nav-links.open a { font-size: 1rem; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(60px, 12vw, 120px));
  padding-bottom: 0;
  overflow: hidden;
  text-align: center;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .18;
}
.hero-glow--1 {
  width: 700px;
  height: 500px;
  background: var(--color-primary);
  top: -100px; left: 50%;
  transform: translateX(-60%);
}
.hero-glow--2 {
  width: 500px;
  height: 400px;
  background: var(--color-accent);
  top: 0; left: 50%;
  transform: translateX(0%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: var(--radius-full);
  font-size: .8rem;
  color: #93c5fd;
  margin-bottom: 28px;
  transition-delay: .05s;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--color-primary); }
  50%       { box-shadow: 0 0 16px var(--color-primary); }
}

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  transition-delay: .1s;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 40px;
  transition-delay: .15s;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  transition-delay: .2s;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-bottom: 60px;
  transition-delay: .25s;
}
.proof-avatars { display: flex; gap: -4px; }
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border: 2px solid var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  margin-left: -6px;
  color: #fff;
}

/* --- Code window ------------------------------------------- */
.hero-code {
  padding-bottom: clamp(40px, 8vw, 80px);
  transition-delay: .3s;
}

.code-window {
  background: var(--color-surface);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 680px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(59,130,246,.07);
  text-align: left;
}

.code-window-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.code-window-title {
  margin-left: 8px;
  font-size: .8rem;
  color: var(--color-text-faint);
}

.code-block {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  font-family: 'Fira Code', 'Cascadia Code', 'Menlo', monospace;
  font-size: .82rem;
  line-height: 1.75;
  color: #cdd6f4;
}
.code-comment { color: #6c7086; }
.code-keyword { color: #89b4fa; }
.code-string  { color: #a6e3a1; }
.code-value   { color: #fab387; }

/* ============================================================
   Stats Banner
   ============================================================ */
.stats-banner {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: clamp(28px, 5vw, 48px) 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 16px 40px;
  flex: 1;
  min-width: 160px;
  transition-delay: .05s;
}
.stat-number {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #e8eaf0, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat-label {
  font-size: .85rem;
  color: var(--color-text-muted);
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
}
@media (max-width: 640px) { .stat-divider { display: none; } }

/* ============================================================
   Value Props
   ============================================================ */
.value-props {
  padding: clamp(60px, 10vw, 120px) 0;
}

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

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: border-color .25s, box-shadow .25s;
}
.card:hover {
  border-color: var(--color-border-2);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon--blue   { background: rgba(59,130,246,.15);  color: #60a5fa; }
.card-icon--purple { background: rgba(139,92,246,.15);  color: #a78bfa; }
.card-icon--green  { background: rgba(16,185,129,.15);  color: #34d399; }

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.card p {
  color: var(--color-text-muted);
  font-size: .95rem;
  margin-bottom: 20px;
}
.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-list li {
  font-size: .875rem;
  color: var(--color-text-muted);
  padding-left: 18px;
  position: relative;
}
.card-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* ============================================================
   Features Detail
   ============================================================ */
.features-detail {
  padding: clamp(60px, 10vw, 120px) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: start;
}
@media (max-width: 860px) {
  .features-grid { grid-template-columns: 1fr; }
}

.features-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.features-text > p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-check {
  width: 22px;
  height: 22px;
  background: rgba(16,185,129,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-check svg { width: 12px; height: 12px; color: var(--color-green); }
.feature-item strong {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 2px;
}
.feature-item span {
  font-size: .85rem;
  color: var(--color-text-muted);
}

/* --- Coverage map ------------------------------------------ */
.coverage-map {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.map-title {
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.country-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.country-tag {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: border-color .2s, color .2s;
}
.country-tag.active {
  border-color: rgba(59,130,246,.35);
  color: #93c5fd;
  background: rgba(59,130,246,.07);
}
.map-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-green);
  padding: 10px 14px;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--radius-md);
}
.map-badge svg { color: var(--color-green); }

/* ============================================================
   How it works
   ============================================================ */
.how-it-works {
  padding: clamp(60px, 10vw, 120px) 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  text-align: center;
  padding: 0 24px;
}
.step-number {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.05em;
  color: var(--color-text-faint);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.step p { font-size: .9rem; color: var(--color-text-muted); }

.step-connector {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-border), var(--color-border-2));
  align-self: center;
  flex-shrink: 0;
  margin-top: -40px;
}
@media (max-width: 760px) { .step-connector { display: none; } }

/* ============================================================
   Use Cases
   ============================================================ */
.use-cases {
  padding: clamp(60px, 10vw, 120px) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.use-case-card {
  padding: 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color .25s, transform .25s;
}
.use-case-card:hover {
  border-color: var(--color-border-2);
  transform: translateY(-2px);
}
.use-case-icon {
  width: 42px;
  height: 42px;
  background: rgba(59,130,246,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-primary);
}
.use-case-icon svg { width: 20px; height: 20px; }
.use-case-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.015em;
}
.use-case-card p {
  font-size: .88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  padding: clamp(60px, 10vw, 120px) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
}
.pricing-card--featured {
  border-color: rgba(59,130,246,.4);
  background: linear-gradient(160deg, rgba(59,130,246,.06) 0%, var(--color-surface) 60%);
  box-shadow: 0 0 40px rgba(59,130,246,.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-tier {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 12px;
}
.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-muted);
  line-height: 1.8;
}
.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.price-period {
  font-size: .9rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: .9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: .88rem;
  color: var(--color-text-muted);
  padding-left: 22px;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

/* ============================================================
   Trust Section
   ============================================================ */
.trust-section {
  padding: clamp(48px, 7vw, 80px) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.trust-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.trust-badge-icon { font-size: 1.1rem; }

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  padding: clamp(60px, 10vw, 120px) 0;
}

.cta-box {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 80px) clamp(32px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  position: relative;
}
.cta-box p {
  font-size: 1.05rem;
  opacity: .85;
  margin-bottom: 36px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-section {
  padding: clamp(60px, 10vw, 120px) 0;
  border-top: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--color-text-muted);
  transition: color .15s;
}
.contact-link:hover { color: var(--color-primary); }
.contact-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Form -------------------------------------------------- */
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: .01em;
}
.form-group input,
.form-group textarea {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-size: .9rem;
  color: var(--color-text);
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-faint); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
textarea { min-height: 110px; }

.form-note {
  text-align: center;
  font-size: .85rem;
  margin-top: 12px;
  min-height: 20px;
  color: var(--color-green);
}
.form-note.error { color: #f87171; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: clamp(48px, 8vw, 80px) 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: .88rem;
  color: var(--color-text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: .88rem;
  color: var(--color-text-muted);
  transition: color .15s;
}
.footer-col a:hover { color: var(--color-text); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
  color: var(--color-text-faint);
}
