/* ==========================================================================
   Genial Link — Conversion Landing Page
   Flow: Hook → Pain → Fix → Results → Proof → How + FAQ → Contact
   ========================================================================== */

:root {
  --bg-base: #0a0f1d;
  --bg-darker: #070a14;
  --bg-surface: rgba(18, 26, 44, 0.75);
  --bg-surface-elevated: rgba(23, 33, 56, 0.9);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-emerald: rgba(16, 185, 129, 0.45);
  --border-violet: rgba(168, 85, 247, 0.45);

  /* Brand & Accent colors */
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);

  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  --secondary: #38bdf8;
  --accent-violet: #a855f7;
  --accent-amber: #f59e0b;
  --danger: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1200px;
  --gutter: 24px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button {
  font-family: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Ambient glow background layers */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-top {
  top: -120px;
  left: 20%;
  width: min(550px, 80%);
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(56, 189, 248, 0.08) 60%, transparent 80%);
}

.glow-mid {
  top: 1500px;
  right: 0;
  width: min(650px, 100%);
  height: 650px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(16, 185, 129, 0.05) 60%, transparent 80%);
}

/* ---------- Buttons & Badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%);
  color: #032b1a;
  font-weight: 700;
  padding: 14px 28px;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #18c991 0%, #0f766e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn--whatsapp {
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
  color: #04261a;
  font-weight: 800;
  padding: 14px 28px;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.btn--header {
  padding: 10px 18px;
  font-size: 14px;
}

.btn--lg {
  font-size: 17px;
  padding: 17px 32px;
}

.btn--submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #34d399;
}

/* Animations only use transform/opacity where possible, so they run on the
   compositor without repainting the page every frame. */
.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(2.6); opacity: 0; }
}

/* main.js adds .anim-paused to sections that are off screen. */
.anim-paused,
.anim-paused *,
.anim-paused *::before,
.anim-paused *::after {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot::after { animation: none; display: none; }
  html { scroll-behavior: auto; }
}

.trust-stars {
  color: #fbbf24;
  letter-spacing: 1px;
}

.spoken-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spoken-badges li {
  font-size: 12.5px;
  font-weight: 600;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  padding: 4px 12px;
}

/* ---------- Typography & Utility ---------- */
.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(100deg, #10b981 0%, #34d399 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-emerald { color: #34d399; }
.text-amber { color: #fbbf24; }
.text-cyan { color: #22d3ee; }
.text-violet { color: #c084fc; }

.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section--darker {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-pretitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-pretitle--warn {
  color: #fbbf24;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 76px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.site-header.is-scrolled {
  background: rgba(7, 10, 20, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.logo img {
  width: 125px;
  height: auto;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 5px 10px;
  border-radius: var(--radius-full);
}

.lang-switch a:hover {
  color: var(--text-main);
}

.lang-switch a[aria-current="page"] {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.header-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.header-phone-link svg {
  width: 16px;
  height: 16px;
}

.header-phone-link:hover {
  color: var(--primary);
}

.btn--header svg {
  width: 18px;
  height: 18px;
}

/* ---------- 1. Hook ---------- */
.hero-section {
  padding: 40px 0 84px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-content .badge-pill {
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 580px;
}

.hero-cta-note {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 12px 0 22px;
  max-width: 460px;
}

.hero-alt-channels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.hero-alt-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-right: 4px;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.channel-chip svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.channel-chip:hover {
  border-color: var(--border-emerald);
  background: rgba(16, 185, 129, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-proof li + li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

.hero-proof strong {
  color: var(--text-main);
}

.hero-photo {
  position: relative;
  align-self: start;
  min-width: 0;
  height: min(640px, calc(100vh - 150px));
  min-height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card), 0 0 40px rgba(16, 185, 129, 0.08);
}

.hero-photo__img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  min-width: 140%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  z-index: 0;
  will-change: transform;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 14, 20, 0.9) 0%, rgba(6, 14, 20, 0.35) 30%, rgba(6, 14, 20, 0) 55%);
}

/* Named agents under the hero headline: avatar + one-sentence introduction */
.agent-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
  max-width: 560px;
}

.agent-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.agent-row__avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  object-fit: cover;
  font-size: 20px;
  font-weight: 800;
  border: 2px solid currentColor;
  background: rgba(6, 14, 20, 0.6);
  box-shadow: 0 0 16px -4px currentColor;
}

.agent-row__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.agent-row__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 8px;
  font-size: 16px;
}

.agent-row__name {
  font-weight: 800;
}

.agent-row__sep {
  color: var(--text-dim);
}

.agent-row__role {
  font-weight: 700;
  color: var(--text-main);
}

.agent-row--emerald .agent-row__avatar,
.agent-row--emerald .agent-row__name { color: #34d399; }
.agent-row--cyan .agent-row__avatar,
.agent-row--cyan .agent-row__name { color: #22d3ee; }
.agent-row--violet .agent-row__avatar,
.agent-row--violet .agent-row__name { color: #c084fc; }

/* Rotating example conversations over the hero photo (one per AI role) */
.chat-demo {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  margin: 0;
  padding: 12px 14px 14px;
  border-radius: var(--radius-md);
  background: rgba(9, 20, 29, 0.94);
  border: 1px solid var(--border-subtle);
}

.chat-demo__tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.chat-demo__tab {
  position: relative;
  overflow: hidden;
  padding: 5px 11px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.chat-demo__tab:hover {
  color: var(--text-main);
}

.chat-demo__tab[aria-selected="true"] {
  color: #04261a;
  background: var(--primary);
  border-color: var(--primary);
}

/* Progress fill on the active tab while auto-rotating (duration set by JS) */
.chat-demo.is-rotating .chat-demo__tab[aria-selected="true"]::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: rgba(4, 38, 26, 0.55);
  transform-origin: left;
  animation: demo-progress var(--demo-interval, 6s) linear forwards;
}

@keyframes demo-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.chat-demo__label {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* All scenes share one grid cell, so the card height never jumps. */
.chat-demo__scenes {
  display: grid;
}

.chat-demo__scene {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.chat-demo__scene.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.chat-demo__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.chat-demo__icon {
  display: inline-flex;
  color: var(--whatsapp);
}

.chat-demo__icon svg {
  width: 16px;
  height: 16px;
}

.chat-demo__scene--support .chat-demo__icon { color: #22d3ee; }
.chat-demo__scene--ops .chat-demo__icon { color: #fbbf24; }

.chat-demo__bubble {
  margin: 0;
  max-width: 88%;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.45;
  border-radius: 12px;
}

.chat-demo__bubble--in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.chat-demo__bubble--out {
  align-self: flex-end;
  background: #005c4b;
  color: #e9fdf5;
  border-bottom-right-radius: 4px;
}

.chat-demo__scene--ops .chat-demo__bubble--out {
  align-self: flex-start;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fef3c7;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
}

.chat-demo__scene--ops .chat-demo__bubble--in {
  align-self: flex-end;
  background: #005c4b;
  color: #e9fdf5;
  border-radius: 12px;
  border-bottom-right-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .chat-demo__scene { transition: none; }
}

/* ---------- 2. Diagram: one agent, connected to everything ---------- */
.section--flow {
  border-top: 1px solid var(--border-subtle);
}

.section--flow .section-subtitle {
  max-width: 640px;
  margin: 0 auto;
}

/* Languages | agent | channels, with the business apps underneath.
   main.js draws the SVG connectors from the nodes' measured positions. */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    "langs hub channels"
    "apps  apps apps";
  align-items: center;
  column-gap: clamp(20px, 9vw, 130px);
  row-gap: 64px;
  max-width: 980px;
  margin: 0 auto;
}

.flow__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.flow__lines path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
  /* Advanced 10x/s by main.js (--flow-step) only while on screen. */
  stroke-dashoffset: calc(var(--flow-step, 0) * -2px);
}

.flow__lines .is-lang { stroke: rgba(125, 211, 252, 0.7); fill: #7dd3fc; }
.flow__lines .is-channel { stroke: rgba(52, 211, 153, 0.7); fill: #34d399; }
.flow__lines .is-app-web { stroke: rgba(52, 211, 153, 0.7); fill: #34d399; }
.flow__lines .is-app-store { stroke: rgba(251, 191, 36, 0.7); fill: #fbbf24; }
.flow__lines .is-app-biz { stroke: rgba(192, 132, 252, 0.75); fill: #c084fc; }
.flow__lines path { fill: none !important; }

.flow__group,
.flow__hub,
.flow__apps {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.flow__group--langs { grid-area: langs; text-align: right; }
.flow__group--channels { grid-area: channels; }

.flow__label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.flow__nodes {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flow__group--langs .flow__nodes { align-items: flex-end; }
.flow__group--channels .flow__nodes { align-items: flex-start; }

/* Languages: speech bubbles with a tail */
.flow-bubble {
  position: relative;
  max-width: 100%;
  padding: 9px 16px;
  border-radius: 16px;
  background: #0f2536;
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #bae6fd;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.flow-bubble::after {
  content: '';
  position: absolute;
  right: 16px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #0f2536;
  border-right: 1px solid rgba(56, 189, 248, 0.45);
  border-bottom: 1px solid rgba(56, 189, 248, 0.45);
  transform: rotate(45deg);
}

.flow-bubble,
.flow-bubble--more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.flag {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.flag svg {
  width: 100%;
  height: 100%;
}

.flow-bubble--more {
  border-style: dashed;
  color: var(--text-muted);
  font-weight: 600;
}

.flow-bubble--more svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #7dd3fc;
}

/* Channels: pills with icons */
.flow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background: #0c241f;
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--text-main);
  font-size: 14.5px;
  font-weight: 700;
}

.flow-pill svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.flow-pill--whatsapp svg { color: var(--whatsapp); }
.flow-pill--call svg { color: #34d399; }
.flow-pill--text svg { color: #22d3ee; }
.flow-pill--chat svg { color: #c084fc; }

/* The agent hub */
.flow__hub {
  grid-area: hub;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow__hub-ring {
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.35), rgba(16, 185, 129, 0.12) 70%), #111a2e;
  border: 2px solid rgba(192, 132, 252, 0.7);
  box-shadow: 0 0 0 8px rgba(168, 85, 247, 0.08), 0 0 40px rgba(168, 85, 247, 0.35);
  color: #e9d5ff;
  position: relative;
}

.flow__hub-ring::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(192, 132, 252, 0.45);
  animation: hub-ring 3s ease-out infinite;
}

.flow__hub-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes hub-ring {
  from { transform: scale(0.92); opacity: 0.9; }
  to { transform: scale(1.3); opacity: 0; }
}

/* Caption backgrounds mask connector lines that pass behind them */
.flow__hub-name {
  background: var(--bg-base);
  border-radius: 6px;
  padding: 0 6px;
}

.flow__hub-name {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 800;
}

/* Business apps under the agent: three cards, each with its top tasks */
.flow__apps {
  grid-area: apps;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.flow-app {
  --app-color: #34d399;
  --app-border: rgba(16, 185, 129, 0.45);
  --app-bg: rgba(16, 185, 129, 0.08);
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--app-border);
  background: linear-gradient(180deg, var(--app-bg) 0%, rgba(18, 26, 44, 0.9) 100%);
  text-align: left;
}

.flow-app--store {
  --app-color: #fbbf24;
  --app-border: rgba(245, 158, 11, 0.45);
  --app-bg: rgba(245, 158, 11, 0.08);
}

.flow-app--biz {
  --app-color: #c084fc;
  --app-border: rgba(168, 85, 247, 0.45);
  --app-bg: rgba(168, 85, 247, 0.1);
}

.flow-app__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;  color: var(--app-color);
}

.flow-app__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--app-bg);
  color: var(--app-color);
}

.flow-app__icon svg {
  width: 18px;
  height: 18px;
}

.flow-app__tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-app__tasks li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

.flow-app__tasks li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  color: var(--app-color);
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .flow__hub-ring::before {
    animation: none;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .flow-app {
    padding: 16px;
  }

  .flow-app__tasks li {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .flow {
    column-gap: 10px;
    row-gap: 44px;
  }

  /* Keep the middle column narrow so both side columns have room. */
  .flow__hub {
    max-width: 104px;
  }

  .flow__label {
    font-size: 10.5px;
    margin-bottom: 10px;
  }

  .flow__nodes {
    gap: 12px;
  }

  .flow-bubble,
  .flow-pill {
    padding: 7px 10px;
    font-size: 12.5px;
  }

  .flow-pill {
    gap: 5px;
  }

  .flow-bubble::after {
    right: 12px;
  }

  .flow-pill svg {
    width: 14px;
    height: 14px;
  }

  .flow__hub-ring {
    width: 72px;
    height: 72px;
  }


  .flow__hub-name {
    font-size: 15px;
  }



  .flag,
  .flow-bubble--more svg {
    width: 15px;
    height: 15px;
  }

  .flow-bubble {
    gap: 6px;
  }

  /* Apps stack; main.js draws a vertical line down the left into each card. */
  .flow__apps {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-left: 26px;
  }
}

/* ---------- 2. Pain ---------- */
.pain-layout--with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pain-layout__img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-layout--with-image .pain-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.pain-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid rgba(245, 158, 11, 0.6);
  border-radius: var(--radius-lg);
}

.pain-layout--with-image .pain-card {
  flex-direction: row;
  padding: 20px 22px;
}

.pain-card__icon {
  font-size: 26px;
  line-height: 1;
}

.pain-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.pain-card__text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- 3. Fix ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.agent-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.55) 0%, rgba(18, 26, 44, 0.9) 100%);
  border: 1px solid var(--border-violet);
  box-shadow: 0 10px 40px -10px rgba(168, 85, 247, 0.2);
}

.agent-card__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.agent-card__row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.agent-card__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-violet);
}

.agent-card__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.agent-card__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 22px;
}

.price-tag {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.price-tag strong {
  color: var(--text-main);
  font-size: 16px;
}

/* Price badge: a pill tinted with the product's color */
.price-tag--pill {
  --pill-bg: rgba(168, 85, 247, 0.12);
  --pill-border: var(--border-violet);
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
}

.price-tag--web {
  --pill-bg: rgba(16, 185, 129, 0.12);
  --pill-border: rgba(16, 185, 129, 0.45);
}

.price-tag--store {
  --pill-bg: rgba(245, 158, 11, 0.12);
  --pill-border: rgba(245, 158, 11, 0.45);
}

.price-tag--app {
  --pill-bg: rgba(34, 211, 238, 0.12);
  --pill-border: rgba(34, 211, 238, 0.45);
}

.price-tag--violet {
  margin-top: 4px;
  align-self: flex-start;
  padding: 8px 16px;
}

.price-tag--violet strong {
  font-size: 18px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.service-card__icon--store {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}

.service-card__icon--app {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
}

.service-card__title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

.price-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

.currency-note {
  margin: 32px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* Connectors: animated dotted links from the AI agent card to each service.
   Desktop: horizontal links across the column gap. Stacked layout (≤1024px):
   a vertical "bus" down the left side with a branch into each card. */
.solutions-grid {
  --link-gap: 72px;
  --link-color: rgba(192, 132, 252, 0.75);
  column-gap: var(--link-gap);
}

.service-card {
  position: relative;
}

.service-card--web { --link-arrow: #34d399; }
.service-card--store { --link-arrow: #fbbf24; }
.service-card--app { --link-arrow: #22d3ee; }

.service-card__link {
  position: absolute;
  top: 50%;
  right: 100%;
  width: var(--link-gap);
  height: 2px;
  margin-top: -1px;
  background: repeating-linear-gradient(90deg, var(--link-color) 0 6px, transparent 6px 12px);
  background-position: calc(var(--flow-step, 0) * 2px) 0;
  pointer-events: none;
}

/* Port dot where the link leaves the agent card (or the bus) */
.service-card__link::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.8);
}

/* Arrowhead into the service card, in that service's color */
.service-card__link::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -5px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--link-arrow, #c084fc);
}

/* ---------- 4. Results ---------- */
.results-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
}

.results-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
}

.results-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform-origin: 50% 0;
  will-change: transform;
}

.results-media__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(6, 14, 20, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.result-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.result-item__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.result-item__text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- 5. Proof ---------- */
.google-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 6px 0 0;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14.5px;
  color: var(--text-muted);
}

.google-badge strong {
  color: var(--text-main);
}

.google-badge a {
  color: var(--primary);
  font-weight: 700;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 28px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.testimonial__quote {
  flex: 1;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-main);
}

.testimonial__translated {
  margin: -6px 0 0;
  font-size: 12px;
  font-style: italic;
  color: var(--text-dim);
}

.testimonial__who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 14px;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-weight: 800;
}

.testimonial__biz {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- 6. How it works + FAQ ---------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: none;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.step-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.faq {
  max-width: 780px;
  margin: 64px auto 0;
}

.faq__title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 20px;
}

.faq__item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq__item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  font-size: 16px;
  font-weight: 700;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__item summary:hover {
  color: #6ee7b7;
}

.faq__item p {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- 7. Contact ---------- */
.section--contact {
  padding-bottom: 100px;
  background: radial-gradient(ellipse at 20% 0%, rgba(37, 211, 102, 0.07) 0%, transparent 60%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-heading {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.contact-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 28px;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.channel-card:hover {
  border-color: var(--border-emerald);
  transform: translateX(3px);
}

.channel-card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary);
}

.channel-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--text-muted);
}

.channel-card__body strong {
  font-size: 16px;
  color: var(--text-main);
}

.channel-card__arrow {
  color: var(--text-dim);
  font-size: 18px;
}

.channel-card--whatsapp {
  padding: 20px 22px;
  border-color: rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.14) 0%, rgba(18, 140, 126, 0.08) 100%);
}

.channel-card--whatsapp .channel-card__icon {
  width: 50px;
  height: 50px;
  background: var(--whatsapp);
  color: #04261a;
}

.channel-card--whatsapp .channel-card__icon svg {
  width: 26px;
  height: 26px;
}

.channel-card--whatsapp strong {
  font-size: 18px;
}

.channel-card--whatsapp .channel-card__body > span {
  color: #86efac;
}

.channel-card--whatsapp .channel-card__arrow {
  color: var(--whatsapp);
}

/* Form Card */
.form-wrapper {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 6px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 22px;
}

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

.form-field {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.required {
  color: var(--primary);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(10, 15, 29, 0.7);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-main);
  transition: var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(10, 15, 29, 0.95);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.05);
}

.field-error {
  display: none;
  color: #fca5a5;
  font-size: 12px;
  margin-top: 5px;
}

.form-field.has-error .field-error {
  display: block;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-container {
  margin: 16px 0;
}

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
  line-height: 1.5;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.form-status.is-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.form-privacy-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 32px;
}

.footer-logo img {
  width: 110px;
}

.footer-contact {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  color: var(--text-dim);
}

.footer-contact a:hover,
.footer-legal a:hover {
  color: var(--primary);
}

.footer-legal {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Privacy Policy ---------- */
.back-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.back-link:hover {
  color: var(--primary);
}

.legal__container {
  max-width: 780px;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.legal__meta {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 32px;
}

.legal h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 40px 0 12px;
}

.legal h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 22px 0 8px;
}

.legal p,
.legal li {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 14px;
}

.legal li {
  margin-bottom: 8px;
}

.legal strong {
  color: var(--text-main);
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Maintenance notice (native <dialog>) ---------- */
.notice-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-main);
  overflow: visible;
}

.notice-dialog::backdrop {
  background: rgba(3, 6, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.notice-dialog[open] .notice-dialog__panel {
  animation: notice-pop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes notice-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.notice-dialog__panel {
  position: relative;
  padding: 34px 28px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    linear-gradient(var(--bg-surface-elevated), var(--bg-surface-elevated)) padding-box,
    linear-gradient(135deg, rgba(245, 158, 11, 0.7), rgba(168, 85, 247, 0.6), rgba(16, 185, 129, 0.7)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 50px -10px rgba(245, 158, 11, 0.25);
}

.notice-dialog__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.notice-dialog__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.notice-dialog__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.06);
}

.notice-dialog__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.notice-dialog__text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.notice-dialog__button {
  width: 100%;
}

/* "Message sent" variant: green check instead of the amber wrench. */
.notice-dialog--success .notice-dialog__panel {
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 50px -10px rgba(16, 185, 129, 0.3);
}

.notice-dialog--success .notice-dialog__icon {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .notice-dialog[open] .notice-dialog__panel { animation: none; }
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .solutions-grid,
  .results-layout,
  .contact-layout,
  .pain-layout--with-image {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-photo {
    height: 500px;
    min-height: 0;
  }

  .pain-grid,
  .testimonials-grid,
  .steps-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pain-card {
    flex-direction: row;
  }

  .solutions-grid {
    row-gap: 32px;
  }

  .service-list {
    padding-left: 48px;
  }

  .service-card__link {
    width: 24px;
  }

  /* Bus segment: from the gap above each card down to the next one */
  .service-card::before {
    content: '';
    position: absolute;
    left: -25px;
    top: -16px;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--link-color) 0 6px, transparent 6px 12px);
    background-position: 0 calc(var(--flow-step, 0) * 2px);
    pointer-events: none;
  }

  .service-card:first-of-type::before {
    top: -32px;
  }

  .service-card:last-of-type::before {
    bottom: 50%;
  }
}

@media (max-width: 820px) {
  .header-phone-link {
    display: none;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 24px 20px;
  }

  .agent-card {
    padding: 28px 22px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-section {
    padding: 36px 0 60px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .header-actions {
    gap: 10px;
  }

  .logo img {
    width: 104px;
  }

  .lang-switch a {
    padding: 5px 7px;
  }

  /* WhatsApp header button shrinks to its icon on small phones */
  .btn--header {
    padding: 10px;
  }

  .btn--header span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero-content > .btn--lg {
    width: 100%;
  }

  .hero-photo {
    height: 460px;
  }

  .chat-demo__bubble {
    font-size: 12.5px;
  }

  .chat-demo__label {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
