/* ================================================================
   CRM Remonti — Landing page stili
   ================================================================ */

:root {
  --bg: #0f172a;
  --bg-deep: #020617;
  --surface: #0b1120;
  --surface-soft: #111827;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --border-strong: rgba(148, 163, 184, 0.4);
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-soft: rgba(34, 197, 94, 0.12);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --text-main: #d9dde4;
  --text-strong: #f1f5f9;
  --text-muted: #9ca3af;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #22c55e;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.65);
  --shadow-glow: 0 24px 80px rgba(34, 197, 94, 0.25);

  --gradient-accent: linear-gradient(90deg, #22c55e, #38bdf8);
  --gradient-nav: radial-gradient(circle at top left, #22c55e 0, #16a34a 12%, #0f172a 42%, #020617 100%);
  --gradient-body: radial-gradient(circle at top, #1e293b 0, #020617 45%, #000 100%);
  --gradient-card: radial-gradient(circle at top left, rgba(34,197,94,0.12), rgba(15,23,42,0.96));
}

/* --------------------- Reset & base --------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text-main);
  background: var(--bg-deep);
  background-image: var(--gradient-body);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  color: var(--text-strong);
  letter-spacing: 0.02em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p  { margin: 0; text-wrap: pretty; }

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
}

section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(34,197,94,0.35);
  margin-bottom: 18px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--text-muted); margin-top: 12px; font-size: 1.05rem; }

/* --------------------- Buttons --------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #052e16;
  box-shadow: 0 8px 24px rgba(34,197,94,0.32);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 32px rgba(34,197,94,0.45);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text-strong);
  border: 1px solid var(--border-subtle);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.btn-ghost {
  color: var(--text-muted);
  padding: 10px 14px;
}
.btn-ghost:hover { color: var(--text-strong); }

/* --------------------- Header / Nav --------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(2, 6, 23, 0.72);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-nav);
  opacity: 0.22;
  pointer-events: none;
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text-strong);
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: url("assets/logo-icon.svg") center/cover no-repeat, #0f172a;
  box-shadow: 0 6px 18px rgba(34,197,94,0.25);
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text strong { font-size: 1rem; letter-spacing: 0.02em; }
.nav-logo-text span { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.08em; }

.nav-links {
  display: flex;
  gap: 6px;
  margin-left: 28px;
  list-style: none;
  padding: 0;
  flex: 1;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text-main);
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-strong); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(15,23,42,0.6);
  border: 1px solid var(--border-subtle);
}
.lang-btn {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  transition: all 0.2s;
}
.lang-btn[aria-pressed="true"] {
  background: var(--gradient-accent);
  color: #052e16;
  box-shadow: 0 4px 12px rgba(34,197,94,0.35);
}

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(2, 6, 23, 0.96);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 20px 20px;
    margin: 0;
    backdrop-filter: blur(14px);
  }
  .nav-toggle {
    display: inline-flex;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    align-items: center; justify-content: center;
    flex-direction: column; gap: 4px;
  }
  .nav-toggle span {
    width: 18px; height: 2px; background: var(--text-main); border-radius: 2px;
  }
  .nav-cta-label { display: none; }
  .nav-cta { padding: 12px 14px; }
}

/* --------------------- Hero --------------------- */
.hero {
  padding-top: clamp(60px, 8vw, 96px);
  padding-bottom: clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -240px;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(34,197,94,0.32) 0%, rgba(34,197,94,0) 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(56,189,248,0.22) 0%, rgba(56,189,248,0) 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 span.accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 560px;
}
.hero-bullets {
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.98rem;
}
.hero-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-main);
}
.hero-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--primary-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.hero-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.hero-note::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 10px var(--primary);
}

.hero-mock {
  position: relative;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(148,163,184,0.2), rgba(15,23,42,0.8));
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s ease;
}
.hero-mock:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-4px); }
.hero-mock::before {
  content: "";
  position: absolute;
  inset: -40px -60px;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.35), rgba(34,197,94,0) 70%);
  z-index: -1;
  filter: blur(30px);
}
.hero-mock img {
  border-radius: 14px;
  display: block;
  width: 100%;
}
.hero-mock-badge {
  position: absolute;
  left: -18px; bottom: 30px;
  padding: 10px 16px;
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}
.hero-mock-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.3); }
}

/* --------------------- Industry marquee --------------------- */
.industry-strip {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.industry-track {
  display: flex;
  gap: 56px;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
.industry-chip svg {
  width: 22px; height: 22px; color: var(--primary); flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------- For whom (industries grid) --------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .industries-grid { grid-template-columns: 1fr; }
}
.industry-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-accent);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 22px 60px rgba(34,197,94,0.22); }
.industry-card:hover::before { opacity: 1; }
.industry-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
}
.industry-icon svg { width: 26px; height: 26px; }
.industry-card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.industry-card p { color: var(--text-muted); font-size: 0.93rem; }

.industries-message {
  margin-top: 36px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.industries-message strong { color: var(--text-strong); }

/* --------------------- Modules (alternating rows) --------------------- */
.modules-list { display: grid; gap: 72px; }
.module-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
}
.module-row.reverse { grid-template-columns: 1.25fr 1fr; }
.module-row.reverse .module-text { order: 2; }
.module-row.reverse .module-shot { order: 1; }

@media (max-width: 900px) {
  .module-row, .module-row.reverse {
    grid-template-columns: 1fr; gap: 28px;
  }
  .module-row.reverse .module-text { order: 1; }
  .module-row.reverse .module-shot { order: 2; }
}

.module-index {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.24em;
  margin-bottom: 14px;
}
.module-text h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 14px;
}
.module-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.module-tags {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0;
}
.module-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(15,23,42,0.8);
  border: 1px solid var(--border-subtle);
}

.module-shot {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(56,189,248,0.1));
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.module-shot:hover { transform: translateY(-4px); }
.module-shot::after {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.15), transparent 70%);
  z-index: -1;
  filter: blur(20px);
}
.module-shot img {
  border-radius: var(--radius-md);
  width: 100%;
}

/* --------------------- Advantages --------------------- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .advantages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .advantages-grid { grid-template-columns: 1fr; } }

.advantage-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s, border-color 0.25s;
}
.advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,197,94,0.5);
}
.advantage-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.advantage-icon svg { width: 22px; height: 22px; }
.advantage-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.advantage-card p { color: var(--text-muted); font-size: 0.92rem; }

/* counters row */
.stats-row {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
}
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat-num {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { margin-top: 8px; font-size: 0.85rem; color: var(--text-muted); }

/* --------------------- Pricing --------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,0.4);
}
.price-card.featured {
  transform: scale(1.03);
  background: var(--gradient-card);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
  border: 0;
}
.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: var(--gradient-accent);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }
@media (max-width: 900px) {
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
}

.price-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--gradient-accent);
  color: #052e16;
  box-shadow: 0 6px 18px rgba(34,197,94,0.4);
}
.price-name {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.price-amount {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 6px;
}
.price-amount .num {
  font-size: 3rem; font-weight: 700; color: var(--text-strong); line-height: 1;
}
.price-amount .per { color: var(--text-muted); font-size: 0.95rem; }
.price-tag-custom {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 10px;
}
.price-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid; gap: 10px;
  flex: 1;
}
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.93rem;
}
.price-features li::before {
  content: "";
  flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.price-card .btn { width: 100%; }
.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------- Roadmap --------------------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .roadmap-grid { grid-template-columns: 1fr; gap: 32px; } }

.roadmap-copy p { color: var(--text-muted); font-size: 1.05rem; margin-top: 16px; line-height: 1.7; }
.roadmap-copy .btn { margin-top: 26px; }

.timeline {
  position: relative;
  padding-left: 30px;
  list-style: none;
  margin: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
  border-radius: 2px;
}
.timeline li {
  position: relative;
  padding: 16px 20px;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -26px; top: 24px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
}
.timeline .date {
  display: block;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.timeline h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline p { color: var(--text-muted); font-size: 0.88rem; }

/* --------------------- Custom / handshake block --------------------- */
.custom-block {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 800px) { .custom-block { grid-template-columns: 1fr; text-align: center; } }

.custom-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: grid; place-items: center;
  background: rgba(34,197,94,0.15);
  color: var(--primary);
  flex-shrink: 0;
}
@media (max-width: 800px) { .custom-icon { margin: 0 auto; } }
.custom-icon svg { width: 38px; height: 38px; }
.custom-block h3 { margin-bottom: 8px; }
.custom-block p { color: var(--text-muted); font-size: 1rem; }

/* --------------------- FAQ accordion --------------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(34,197,94,0.4); }
.faq-q {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
  font-size: 1.02rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] .faq-q::after { transform: rotate(-135deg); }
.faq-a {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------- Contact form --------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-wrapper { grid-template-columns: 1fr; gap: 32px; } }

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.02rem; }
.contact-channels { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-channels li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.contact-channels .ch-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary-soft);
  display: grid; place-items: center; color: var(--primary);
  flex-shrink: 0;
}
.contact-channels .ch-icon svg { width: 20px; height: 20px; }
.contact-channels small { display: block; color: var(--text-muted); font-size: 0.78rem; }
.contact-channels strong { color: var(--text-strong); font-size: 0.98rem; font-weight: 600; }

.contact-form {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.full { grid-column: 1 / -1; }
.form-row label {
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 500;
}
.form-row label .req { color: var(--danger); margin-left: 2px; }
.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-strong);
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.95rem;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(2, 6, 23, 0.85);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row .err {
  font-size: 0.78rem; color: var(--danger); min-height: 1em;
}
.form-row input.invalid, .form-row select.invalid, .form-row textarea.invalid {
  border-color: var(--danger);
}
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.gdpr-row {
  grid-column: 1 / -1;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.gdpr-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); }

.form-success {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.4);
  color: var(--primary);
  margin-top: 16px;
  display: none;
  font-size: 0.93rem;
}
.form-success.show { display: block; animation: fadeIn 0.4s ease; }

.submit-btn { grid-column: 1 / -1; margin-top: 8px; }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .submit-btn { width: 100%; }
}

/* --------------------- Footer --------------------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(2, 6, 23, 0.5);
  padding: 64px 0 28px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-about p { color: var(--text-muted); font-size: 0.92rem; margin-top: 16px; max-width: 340px; }

.footer-col h4 {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-main); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.socials a:hover { color: var(--primary); border-color: rgba(34,197,94,0.5); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

.legal {
  border-top: 1px solid var(--border-subtle);
  margin-top: 48px;
  padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.legal a { color: var(--text-muted); transition: color 0.2s; }
.legal a:hover { color: var(--primary); }
.legal-made { font-size: 0.78rem; opacity: 0.7; }

/* --------------------- Floating: WhatsApp --------------------- */
.wa-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  z-index: 9999;
  animation: wa-pulse 2s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(37,211,102,0.6);
}
.wa-float svg { width: 30px; height: 30px; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 10px 30px rgba(37,211,102,0.5),  0 0 0 16px rgba(37,211,102,0); }
}
@media (max-width: 480px) {
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-float.lifted { bottom: 96px; }
}

/* --------------------- Floating: Scroll-to-top --------------------- */
.top-float {
  position: fixed;
  left: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #052e16;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(34,197,94,0.32);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
}
.top-float.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.top-float:hover { filter: brightness(1.08); }
.top-float svg { width: 20px; height: 20px; }
@media (max-width: 480px) {
  .top-float { width: 42px; height: 42px; left: 16px; bottom: 16px; }
}

/* --------------------- Exit-intent modal --------------------- */
.exit-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}
.exit-modal.open { display: flex; }
.exit-dialog {
  max-width: 460px; width: 100%;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  position: relative;
  background-image: var(--gradient-card);
}
.exit-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 10px;
  color: var(--text-muted);
  display: grid; place-items: center;
}
.exit-close:hover { color: var(--text-strong); background: rgba(255,255,255,0.05); }
.exit-dialog h3 { font-size: 1.4rem; margin-bottom: 10px; }
.exit-dialog p { color: var(--text-muted); margin-bottom: 22px; }
.exit-form { display: flex; flex-direction: column; gap: 10px; }
.exit-form input {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-strong);
}
.exit-form .btn { width: 100%; }

/* --------------------- Cookie banner --------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(120%);
  max-width: 720px; width: calc(100% - 32px);
  padding: 16px 20px;
  background: rgba(2, 6, 23, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  z-index: 9997;
  display: flex; align-items: center; gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner p { flex: 1; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}
.cookie-actions .cookie-accept {
  background: var(--gradient-accent);
  color: #052e16;
}
.cookie-actions .cookie-settings {
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.cookie-actions .cookie-settings:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}

/* --------------------- Reveal animation --------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --------------------- prefers-reduced-motion --------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .industry-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-mock { transform: none; }
}
