/* ==========================================================================
   Velora IA — Stylesheet
   Palette: Deep Violet (#6231E9), White (#FFFFFF), Anthracite (#18181F)
   Typography: Manrope
   ========================================================================== */

:root {
  --violet: #6231e9;
  --violet-dark: #4c21c7;
  --violet-light: #7c52f2;
  --violet-tint: #f3efff;
  --violet-border: rgba(98, 49, 233, 0.22);

  --anthracite: #18181f;
  --anthracite-soft: #24242f;
  --ink-body: #4a4a5c;
  --ink-muted: #6e6e82;

  --white: #ffffff;
  --surface-subtle: #f8f8fb;
  --border: #e6e6f0;
  --border-strong: #d4d4e3;

  --success: #0e9f6e;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;

  --error: #dc2626;
  --error-bg: #fef2f2;
  --error-border: #fecaca;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(24, 24, 31, 0.04);
  --shadow-sm: 0 8px 24px rgba(24, 24, 31, 0.06);
  --shadow-md: 0 18px 42px rgba(24, 24, 31, 0.09);
  --shadow-violet: 0 12px 30px rgba(98, 49, 233, 0.28);

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
  --container-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-body);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--anthracite);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition),
    border-color var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(98, 49, 233, 0.35);
  outline-offset: 2px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--violet);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(98, 49, 233, 0.22);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--violet-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-violet);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background-color: var(--white);
  color: var(--anthracite);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--violet);
  color: var(--violet);
  background-color: var(--violet-tint);
  transform: translateY(-2px);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 230, 240, 0.8);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(24, 24, 31, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--anthracite);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-light) 100%);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(98, 49, 233, 0.28);
}

.brand-name span {
  color: var(--violet);
  margin-left: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-body);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background-color: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--violet);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  padding: 0 10px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--anthracite);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 18px 0 24px;
  box-shadow: var(--shadow-md);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--anthracite);
  padding: 10px 4px;
  border-bottom: 1px solid var(--surface-subtle);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
}

.hero-glow {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 49, 233, 0.13) 0%, rgba(98, 49, 233, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: var(--violet-tint);
  border: 1px solid var(--violet-border);
  color: var(--violet);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(98, 49, 233, 0.18);
}

.hero h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.45rem);
  line-height: 1.1;
  margin-bottom: 22px;
}

.text-accent {
  color: var(--violet);
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--ink-body);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.trust-item svg {
  color: var(--violet);
  flex-shrink: 0;
}

/* Hero Dashboard Card */
.impact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.impact-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(98, 49, 233, 0.25), rgba(230, 230, 240, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.impact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.impact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 4px;
}

.impact-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--anthracite);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.kpi-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kpi-box-accent {
  background: linear-gradient(135deg, var(--violet) 0%, #4d22cb 100%);
  border-color: transparent;
  color: var(--white);
}

.kpi-value {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--anthracite);
}

.kpi-box-accent .kpi-value {
  color: var(--white);
}

.kpi-caption {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.kpi-box-accent .kpi-caption {
  color: rgba(255, 255, 255, 0.86);
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--ink-body);
  margin-bottom: 6px;
}

.progress-meta strong {
  color: var(--anthracite);
  font-weight: 800;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: #ecebf5;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet) 0%, var(--violet-light) 100%);
}

.impact-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Metrics Strip */
.metrics-strip {
  margin-top: 64px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
  border-right: 1px solid var(--border);
}

.metric-item:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--violet);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.metric-desc {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* Sections Common */
.section {
  padding: 96px 0;
  position: relative;
}

.section-light {
  background-color: var(--surface-subtle);
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet);
  background: var(--violet-tint);
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2,
.about-intro h2,
.contact-info h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin-bottom: 16px;
}

.section-header p,
.lead-text {
  font-size: 1.06rem;
  color: var(--ink-body);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: start;
}

.body-text {
  margin-top: 14px;
  color: var(--ink-muted);
}

.method-box {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
}

.method-box h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.method-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.method-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--violet-tint);
  color: var(--violet);
  font-weight: 800;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.method-steps strong {
  display: block;
  color: var(--anthracite);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.method-steps p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.pillars-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet-border);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--violet-tint);
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet-border);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-top .icon-badge {
  margin-bottom: 0;
}

.service-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 999px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-card > p {
  color: var(--ink-muted);
  font-size: 0.96rem;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  color: var(--ink-body);
  font-weight: 500;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--violet);
  padding-top: 18px;
  border-top: 1px solid var(--border);
  transition: gap var(--transition), color var(--transition);
}

.service-link:hover {
  gap: 12px;
  color: var(--violet-dark);
}

/* Dark Benefits Section */
.section-dark {
  background-color: var(--anthracite);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.dark-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 49, 233, 0.28) 0%, rgba(98, 49, 233, 0) 70%);
  pointer-events: none;
}

.section-tag-dark {
  background: rgba(98, 49, 233, 0.22);
  color: #cab9ff;
  border: 1px solid rgba(124, 82, 242, 0.35);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

.benefits-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(124, 82, 242, 0.55);
}

.benefit-num {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #b79eff;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-banner {
  position: relative;
  margin-top: 44px;
  padding: 36px 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(98, 49, 233, 0.24) 0%, rgba(36, 36, 47, 0.92) 100%);
  border: 1px solid rgba(124, 82, 242, 0.35);
}

.testimonial-banner blockquote {
  margin: 0 0 22px;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--white);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
}

.testimonial-author span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact Section */
.section-contact {
  background: linear-gradient(180deg, #f8f8fb 0%, #ffffff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-highlights {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--violet-tint);
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.highlight-item strong {
  display: block;
  color: var(--anthracite);
  font-size: 0.96rem;
  margin-bottom: 2px;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.direct-contact-card {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.direct-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.direct-link {
  display: inline-block;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--violet);
  margin-bottom: 4px;
}

.direct-link:hover {
  text-decoration: underline;
}

.direct-meta {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* Form Card */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.req {
  color: var(--violet);
  font-weight: 800;
}

.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.form-alert.is-error {
  background-color: var(--error-bg);
  color: #991b1b;
  border-color: var(--error-border);
}

.form-alert.is-warning {
  background-color: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.form-alert.is-success {
  background-color: var(--success-bg);
  color: #065f46;
  border-color: var(--success-border);
}

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

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 7px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.label-row label {
  margin-bottom: 0;
}

.char-counter {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.form-group input[type='text'],
.form-group input[type='email'],
.form-group input[type='tel'],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--white);
  color: var(--anthracite);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9b9bad;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #b4b4cc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(98, 49, 233, 0.12);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--error);
  background-color: #fffafa;
}

.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--error);
}

/* Consent Checkbox */
.consent-group {
  margin-top: 4px;
  margin-bottom: 22px;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 0 !important;
  font-weight: 500 !important;
}

.checkbox-label input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  border: 1.5px solid var(--border-strong);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), border-color var(--transition);
}

.checkbox-label input:checked + .checkbox-custom {
  background-color: var(--violet);
  border-color: var(--violet);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -1px);
}

.checkbox-label input:focus-visible + .checkbox-custom {
  box-shadow: 0 0 0 4px rgba(98, 49, 233, 0.22);
}

.form-group.has-error .checkbox-custom {
  border-color: var(--error);
}

.checkbox-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-body);
}

.inline-link {
  border: none;
  background: none;
  padding: 0;
  color: var(--violet);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-loader[hidden],
.btn-label[hidden] {
  display: none;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.4px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-footnote {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Success State */
.form-success {
  text-align: center;
  padding: 36px 16px;
}

.success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--ink-body);
  max-width: 420px;
  margin: 0 auto 24px;
}

.success-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--violet-tint);
  border: 1px solid var(--violet-border);
  font-size: 0.9rem;
  color: var(--ink-body);
  margin-bottom: 26px;
}

.success-meta strong {
  color: var(--violet);
  font-weight: 800;
}

/* Footer */
.site-footer {
  background: var(--anthracite);
  color: rgba(255, 255, 255, 0.72);
  padding: 68px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-footer {
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 310px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #cab9ff;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal-btn {
  background: none;
  border: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
}

.footer-legal-btn:hover {
  color: var(--white);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(24, 24, 31, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.15rem;
}

.modal-close {
  border: none;
  background: var(--surface-subtle);
  color: var(--anthracite);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.93rem;
}

.modal-body a {
  color: var(--violet);
  font-weight: 700;
}

.modal-footer {
  padding: 16px 26px 22px;
  display: flex;
  justify-content: flex-end;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 240ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-item:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 48px 0 44px;
  }

  .section {
    padding: 68px 0;
  }

  .services-grid,
  .benefits-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .metric-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 18px;
  }

  .metric-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .contact-form-card {
    padding: 24px 20px;
  }

  .testimonial-banner {
    padding: 26px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
