/* ============================================================
   avely.ai — Main Stylesheet
   AI-Powered Digital Transformation
   Brand: Outfit + Cormorant Garamond · Fuchsia #FF0A6C
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* avely.ai brand palette */
  --bordeaux:       #FF0A6C;   /* brand fuchsia — primary */
  --wine:           #FF3D8A;   /* fuchsia hover */
  --pink-accent:    #CC0055;   /* fuchsia deep */
  --blush-bg:       #F2F2F8;   /* brand light bg */
  --white:          #FFFFFF;
  --graphite:       #080810;   /* brand black */
  --muted:          #6B6B9A;   /* brand muted purple-grey */
  --border:         rgba(255,10,108,0.14);
  --dark:           #0D0D1A;   /* brand dark bg */
  --dark2:          #13132A;   /* brand dark2 */
  --shadow-sm:      0 2px 8px rgba(255,10,108,0.07);
  --shadow-md:      0 8px 32px rgba(255,10,108,0.11);
  --shadow-lg:      0 20px 60px rgba(255,10,108,0.13);
  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --space-xs:       0.5rem;
  --space-sm:       1rem;
  --space-md:       2rem;
  --space-lg:       4rem;
  --space-xl:       7rem;
  --font-sans:      'Outfit', system-ui, -apple-system, sans-serif;
  --font-display:   'Outfit', system-ui, sans-serif;
  --font-serif:     'Cormorant Garamond', Georgia, serif;
  --transition:     0.25s cubic-bezier(0.4,0,0.2,1);
  --max-width:      1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--graphite);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--graphite);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }

.text-sm  { font-size: 0.875rem; }
.text-xs  { font-size: 0.78rem; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background: var(--blush-bg);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p   { color: rgba(255,255,255,0.72); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* ── Section Label ─────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bordeaux);
  background: rgba(255,10,108,0.07);
  border: 1px solid rgba(255,10,108,0.15);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.section-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bordeaux);
  flex-shrink: 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

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

.section-header p {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--pink-accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--white);
  border-color: var(--bordeaux);
}

.btn-primary:hover {
  background: var(--wine);
  border-color: var(--wine);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,10,108,0.28);
}

.btn-outline {
  background: transparent;
  color: var(--bordeaux);
  border-color: var(--bordeaux);
}

.btn-outline:hover {
  background: var(--bordeaux);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition);
}

.btn-arrow:hover::after { transform: translateX(4px); }

/* ── Header / Nav ──────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--space-md);
}

/* Wordmark — avely.ai brand style */
.wordmark {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--graphite);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Hexagon icon */
.wm-icon {
  flex-shrink: 0;
  display: block;
}

/* .ai suffix uses Cormorant Garamond italic in brand fuchsia */
.wordmark-suffix,
.wordmark span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.12em;
  letter-spacing: 0.03em;
  color: var(--bordeaux);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--bordeaux);
  background: rgba(255,10,108,0.06);
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blush-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switcher:hover {
  border-color: var(--bordeaux);
  background: rgba(255,10,108,0.05);
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-code {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bordeaux);
  text-transform: uppercase;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.menu-toggle:hover { background: var(--blush-bg); }

.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--space-sm) var(--space-md);
  gap: 0.25rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--bordeaux); }

.mobile-nav .btn {
  margin-top: 0.75rem;
  justify-content: center;
}

/* ── Hero Section ──────────────────────────────────────────── */
#hero {
  padding-top: calc(68px + var(--space-xl));
  padding-bottom: var(--space-xl);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

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

/* avely.ai brand grid pattern */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,10,108,0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,10,108,0.04) 1px, transparent 1px) 0 0 / 32px 32px;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 55%; height: 110%;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,10,108,0.07) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-content { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 1.5rem;
}

.hero-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bordeaux);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  color: var(--bordeaux);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-trust-icon {
  width: 18px; height: 18px;
  color: var(--bordeaux);
}

/* Hero visual — abstract SVG network */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(255,10,108,0.12));
}

/* ── Value Proposition ─────────────────────────────────────── */
#value-prop {
  background: var(--dark);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
}

.value-item {
  background: var(--dark);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
}

.value-item:hover {
  background: rgba(255,10,108,0.25);
}

.value-icon {
  width: 44px; height: 44px;
  background: rgba(255,10,108,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--pink-accent);
}

.value-item h4 {
  color: var(--white);
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.value-item p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ── Services ──────────────────────────────────────────────── */
#services {
  background: var(--blush-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bordeaux), var(--pink-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--pink-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  background: rgba(255,10,108,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--bordeaux);
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(255,10,108,0.14);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--graphite);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bordeaux);
  background: rgba(255,10,108,0.07);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* Last service card spans 2 cols on 3-col grid */
.services-grid .service-card:last-child {
  grid-column: span 1;
}

/* ── How It Works ──────────────────────────────────────────── */
#how-it-works {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-lg);
  position: relative;
}

/* Connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--bordeaux), var(--pink-accent), var(--bordeaux));
  opacity: 0.25;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 16px rgba(255,10,108,0.3);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255,10,108,0.2);
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Industries ────────────────────────────────────────────── */
#industries {
  background: var(--blush-bg);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: var(--space-lg);
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
}

.industry-card:hover {
  border-color: var(--pink-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.industry-icon {
  width: 40px; height: 40px;
  background: rgba(255,10,108,0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bordeaux);
  flex-shrink: 0;
}

.industry-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.industry-card p {
  font-size: 0.83rem;
  line-height: 1.55;
}

/* ── Why avely.ai ────────────────────────────────────────────── */
#why-aitera {
  background: var(--white);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-visual svg {
  width: 100%;
  max-width: 480px;
}

.differentiators {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: var(--space-md);
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--blush-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.diff-item:hover {
  border-color: var(--pink-accent);
  box-shadow: var(--shadow-sm);
}

.diff-check {
  width: 28px; height: 28px;
  background: var(--bordeaux);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.diff-check svg {
  width: 14px; height: 14px;
  color: var(--white);
}

.diff-item h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.diff-item p  { font-size: 0.87rem; line-height: 1.6; }

/* ── Security & Privacy ────────────────────────────────────── */
#security {
  background: var(--dark);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

.security-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
}

.security-card:hover {
  background: rgba(255,10,108,0.2);
  border-color: rgba(232,183,200,0.25);
}

.security-icon {
  width: 44px; height: 44px;
  background: rgba(255,10,108,0.35);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--pink-accent);
}

.security-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.security-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
}

.security-disclaimer {
  margin-top: var(--space-md);
  padding: 1.25rem 1.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.6;
}

/* ── About ─────────────────────────────────────────────────── */
#about {
  background: var(--blush-bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: var(--space-md);
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bordeaux);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Contact ───────────────────────────────────────────────── */
#contact {
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.contact-detail svg {
  width: 18px; height: 18px;
  color: var(--bordeaux);
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: var(--blush-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--graphite);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--graphite);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px rgba(255,10,108,0.1);
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--bordeaux);
  flex-shrink: 0;
  cursor: pointer;
}

.form-consent label {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}

.form-consent a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  line-height: 1.55;
}

/* CAPTCHA */
.h-captcha {
  margin-bottom: 1.25rem;
}

/* ── CTA Banner ────────────────────────────────────────────── */
#cta-banner {
  background: linear-gradient(135deg, #FF0A6C 0%, #CC0055 100%);
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}

#cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232,183,200,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner-inner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────────── */
#site-footer {
  background: var(--dark2);
  color: rgba(255,255,255,0.65);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .wordmark {
  color: var(--graphite);
  margin-bottom: 1rem;
  display: block;
}

.footer-brand .wordmark .wordmark-suffix,
.footer-brand .wordmark span {
  color: var(--bordeaux);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--pink-accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--pink-accent); }

/* ── Cookie Banner ─────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  width: calc(100% - 3rem);
  max-width: 780px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

.cookie-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  flex: 1;
}

.cookie-text a {
  color: var(--pink-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background: var(--bordeaux);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-cookie-accept:hover { background: var(--wine); }

.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-cookie-decline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-eyebrow-dot { animation: none; }
  .btn:hover { transform: none; }
  .service-card:hover { transform: none; }
  .industry-card:hover { transform: none; }
  .diff-item:hover { transform: none; }
}

/* ── Legal Pages ───────────────────────────────────────────── */
.legal-page {
  padding-top: calc(68px + var(--space-lg));
  padding-bottom: var(--space-xl);
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.legal-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.legal-header .section-label { margin-bottom: 1rem; }
.legal-header h1 { margin-bottom: 0.75rem; }
.legal-header p  { font-size: 0.92rem; }

.legal-body h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--graphite);
}

.legal-body h3 {
  font-size: 1.05rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-body p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-body ul li {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.legal-placeholder {
  background: rgba(255,10,108,0.05);
  border: 1.5px dashed var(--pink-accent);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  color: var(--bordeaux);
  line-height: 1.6;
}

.legal-placeholder strong { font-weight: 700; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bordeaux);
  margin-bottom: 2rem;
  transition: gap var(--transition);
}

.back-link:hover { gap: 0.75rem; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --space-xl: 5rem; }

  .nav-links { display: none; }
  .header-right .btn { display: none; }
  .menu-toggle { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }

  .value-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid::before { display: none; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .security-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 3rem;
    --space-md: 1.5rem;
  }

  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 1rem; }

  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  #cookie-banner.hidden {
    transform: translateY(20px);
  }

  .cookie-actions { width: 100%; }
  .btn-cookie-accept,
  .btn-cookie-decline { flex: 1; text-align: center; }

  .contact-form { padding: 1.75rem 1.25rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
}

/* ── Focus Styles ──────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--bordeaux);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Skip Link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--bordeaux);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }
