/* ==================== HOMEPAGE-SPECIFIC ==================== */

/* Hero */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 600px;
  background: radial-gradient(ellipse at center top, rgba(34, 198, 230, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; }

.hero-title {
  font-size: clamp(32px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease) 0.1s both;
  overflow-wrap: break-word;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  max-width: 620px; margin: 0 auto 14px;
  animation: fadeInUp 0.8s var(--ease) 0.2s both;
}
.hero-subtitle-en {
  font-size: 14px; color: var(--ink-3); margin-bottom: 40px;
  animation: fadeInUp 0.8s var(--ease) 0.25s both;
}

.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px;
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.hero-meta {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease) 0.4s both;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3);
}
.hero-meta-item svg { color: var(--accent); flex-shrink: 0; }

/* Hero image */
.hero-image {
  max-width: 1000px; margin: 80px auto 0;
  padding: 8px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  position: relative; z-index: 2;
  animation: fadeInUp 1s var(--ease) 0.5s both;
  overflow: hidden;
}
.hero-image img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: calc(var(--radius-xl) - 8px);
}

/* Trust */
.trust {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-label {
  text-align: center; font-size: 12px; font-weight: 500;
  color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.trust-badges {
  display: flex; justify-content: center; align-items: center;
  gap: 10px; flex-wrap: wrap;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.25s var(--ease-smooth);
}
.trust-badge:hover {
  border-color: rgba(34, 198, 230, 0.4);
  color: var(--ink);
}
.trust-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .trust-badges { gap: 8px; }
  .trust-badge { padding: 6px 12px; font-size: 12px; }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  align-items: stretch;
}
/* If a row has an orphan card, stretch it to fill the whole row so we
   never leave dead space (defensive against future package additions). */
.pricing-grid > .pkg:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
}
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid > .pkg:last-child:nth-child(3n + 1) { grid-column: auto; }
  .pricing-grid > .pkg:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-grid > .pkg:last-child:nth-child(3n + 1),
  .pricing-grid > .pkg:last-child:nth-child(odd) { grid-column: auto; }
}

.pkg {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: visible;
  transition: all 0.3s var(--ease-smooth);
}
.pkg:hover { transform: translateY(-4px); border-color: var(--line-3); background: var(--surface-hi); }
.pkg.featured {
  background: linear-gradient(180deg, rgba(34, 198, 230, 0.08) 0%, var(--surface) 60%);
  border-color: var(--accent); border-width: 1.5px;
  box-shadow: 0 0 0 1px rgba(34, 198, 230, 0.2), 0 20px 60px -20px rgba(34, 198, 230, 0.3);
}
.pkg-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--bg);
  padding: 6px 16px; border-radius: 100px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px -4px rgba(34, 198, 230, 0.5), 0 0 0 4px var(--bg);
  z-index: 2;
}
.pkg-header {
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.pkg-name {
  font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px;
}
.pkg-price {
  display: flex; align-items: baseline; gap: 3px; margin-bottom: 12px;
}
.pkg-price .currency { font-size: 20px; font-weight: 600; color: var(--ink-2); }
.pkg-price .amount {
  font-size: 38px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1;
}
.pkg-price .plus { font-size: 28px; font-weight: 600; color: var(--accent); }
.pkg-price .custom {
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--accent);
}
.pkg.featured .pkg-price .amount { color: var(--accent); }

.pkg-desc {
  font-size: 13px; color: var(--ink-2); line-height: 1.5; margin-bottom: 3px;
}
.pkg-desc-en {
  font-size: 11px; color: var(--ink-3);
}

.pkg-features { list-style: none; margin-bottom: 24px; flex: 1; }
.pkg-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  font-size: 13px; color: var(--ink-2);
}
.pkg-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

.pkg-cta {
  width: 100%;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px;
  background: var(--surface-hi); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 100px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.pkg-cta:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.pkg.featured .pkg-cta { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.pkg.featured .pkg-cta:hover { background: var(--accent-2); border-color: var(--accent-2); }

/* How it works */
.how {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1100px; margin: 48px auto 0;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all 0.3s var(--ease-smooth);
}
.step:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: rgba(34, 198, 230, 0.12);
  border: 1px solid rgba(34, 198, 230, 0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--accent);
}
.step-number {
  font-size: 12px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.05em; margin-bottom: 10px;
}
.step-title {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px;
}
.step-desc { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 6px; }
.step-desc-en { font-size: 13px; color: var(--ink-3); line-height: 1.55; margin-bottom: 20px; }
.step-duration {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 100px;
  font-size: 12px; font-weight: 500; color: var(--ink-3);
}

/* Portfolio */
.projects {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) { .projects { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }

.project {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.project:hover { transform: translateY(-4px); border-color: var(--line-2); }
.project:hover .project-image img { transform: scale(1.05); }

.project-image {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
}
.project-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.project-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 12, 34, 0.6) 100%);
  pointer-events: none;
}

.project-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 10px;
  background: rgba(18, 12, 34, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 11px; font-weight: 600; color: var(--ink);
}
.project-body { padding: 24px; flex: 1; }
.project-metric { font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.project-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.project-desc { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-bottom: 4px; }
.project-desc-en { font-size: 12px; color: var(--ink-3); }

/* Why BeiraByte */
.why-bb {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 56px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; } }

.why-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s var(--ease-smooth);
  overflow: hidden;
}
.why-card::after {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  background: var(--surface-hi);
}
.why-card:hover::after { opacity: 1; }

.why-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,198,230,0.14) 0%, rgba(34,198,230,0.04) 100%);
  border: 1px solid rgba(34, 198, 230, 0.28);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.why-card h3 {
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 12px;
  color: var(--ink);
}
.why-card p {
  font-size: 14px; line-height: 1.65;
  color: var(--ink-2); margin-bottom: 10px;
}
.why-card p.why-en {
  font-size: 12px; color: var(--ink-3);
  font-style: italic; margin-bottom: 0;
}
.why-card em {
  font-style: normal; color: var(--accent); font-weight: 500;
}

/* =======================================================
   CALCULATOR — premium redesign
   ======================================================= */

/* LEFT PANEL — now its own card */

/* =========== BASE PACKAGE CARDS =========== */

/* When there's an odd 5th card, let it span the full width so we never
   leave a giant empty hole on the right. */

/* "Sob consulta" needs less room than €€€€ values — shrink to keep visual balance */

/* Make room for the badge on cards that have one */

/* =========== ADD-ON ROWS =========== */

/* =========== RIGHT: SUMMARY PANEL =========== */
/* RIGHT PANEL — self-contained sticky card, sized to its content */

/* Contact divider */

/* Contact links row */

@keyframes bb-line-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* FAQ */
.faq-list {
  max-width: 760px; margin: 48px auto 0;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item.open { border-color: var(--line-2); }
.faq-q {
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; user-select: none;
}
.faq-q-text {
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-smooth);
  color: var(--ink-2);
}
.faq-item.open .faq-toggle {
  background: var(--accent); border-color: var(--accent); color: var(--bg);
  transform: rotate(45deg);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-smooth); }
.faq-a-inner {
  padding: 0 24px 24px;
  font-size: 14px; line-height: 1.65; color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.faq-a-inner .en {
  display: block; margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-3);
}
.faq-item.open .faq-a { max-height: 300px; }

/* Final CTA */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(34, 198, 230, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.final-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.final-title {
  font-size: clamp(28px, 5.5vw, 56px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}
.final-title .accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-sub {
  font-size: 17px; line-height: 1.5; color: var(--ink-2);
  max-width: 520px; margin: 0 auto 14px;
}
.final-sub-en { font-size: 14px; color: var(--ink-3); margin-bottom: 40px; }
.final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* AI Automation pkg card variant */
.pkg.pkg-ai {
  position: relative;
  border-color: rgba(199,146,234,0.3);
}
.pkg.pkg-ai:hover {
  border-color: rgba(199,146,234,0.55);
  box-shadow: 0 12px 36px rgba(199,146,234,0.12);
}
.pkg.pkg-ai .pkg-cta {
  background: linear-gradient(135deg, #C792EA 0%, #9D6FD9 100%);
  color: #FFFFFF;
}
.pkg.pkg-ai .pkg-cta:hover {
  box-shadow: 0 8px 22px rgba(199,146,234,0.4);
}
.pkg-flag {
  position: absolute;
  top: 14px; right: 14px;
  padding: 5px 11px;
  background: linear-gradient(135deg, #C792EA 0%, #9D6FD9 100%);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(199,146,234,0.4);
  line-height: 1.4;
  z-index: 2;
  white-space: nowrap;
}

/* Landing Page pkg card variant — warm orange entry-point */
.pkg.pkg-landing {
  position: relative;
  border-color: rgba(255,159,67,0.3);
  background:
    radial-gradient(circle at 0% 0%, rgba(255,159,67,0.06) 0%, transparent 50%),
    var(--surface);
}
.pkg.pkg-landing:hover {
  border-color: rgba(255,159,67,0.55);
  box-shadow: 0 12px 36px rgba(255,159,67,0.14);
}
.pkg-cta-warm {
  background: linear-gradient(135deg, #FF9F43 0%, #FF6B35 100%) !important;
  color: #FFFFFF !important;
}
.pkg-cta-warm:hover {
  box-shadow: 0 8px 22px rgba(255,159,67,0.4) !important;
}
.pkg-flag-warm {
  background: linear-gradient(135deg, #FF9F43 0%, #FF6B35 100%) !important;
  box-shadow: 0 4px 14px rgba(255,159,67,0.4) !important;
}

/* Landing Page warm-orange calc-base variant */

/* ============================================================
   DUAL-PRICE DISPLAY (sem IVA + com IVA 23%)
   Homepage package cards + calculator totals
   ============================================================ */

/* Homepage package card — secondary IVA price line */
.pkg-price-iva {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: -4px;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.pkg-price-iva strong {
  color: var(--ink-2);
  font-weight: 700;
}
.pkg.featured .pkg-price-iva strong {
  color: var(--accent);
}
.pkg-landing .pkg-price-iva strong {
  color: #FF9F43;
}

/* Calculator — dual total display */

/* ============================================
   SERVICES STRIP — v1.24.0
   Four service cards right under the hero: sites, AI automation,
   AI videos, AI consulting. Each links to its own ranking page.
   ============================================ */
.svc-strip { padding: 8px 0 56px; }
.svc-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.svc-card:hover,
.svc-card:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.svc-card-hot {
  border-color: rgba(34, 198, 230, 0.35);
  background:
    radial-gradient(ellipse at top left, rgba(34, 198, 230, 0.14) 0%, transparent 65%),
    var(--surface);
}
.svc-card-kicker {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(34, 198, 230, 0.10);
  border: 1px solid rgba(34, 198, 230, 0.28);
  margin-bottom: 14px;
}
.svc-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 6px;
}
.svc-card-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.svc-card-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.svc-card-link::after { content: " →"; }
@media (max-width: 1000px) { .svc-strip-grid { grid-template-columns: repeat(2, 1fr); } }
/* Phones: compact 2×2 — kicker, title and link only. */
@media (max-width: 560px) {
  .svc-strip { padding-bottom: 40px; }
  .svc-strip-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-card { padding: 16px 14px 14px; }
  .svc-card-kicker { font-size: 10px; margin-bottom: 10px; }
  .svc-card-title { font-size: 15px; margin-bottom: 10px; }
  .svc-card-text { display: none; }
  .svc-card-link { font-size: 12px; }
}

/* v1.24.0: three-line H1 (sites / AI automation / Lisbon) — a touch smaller
   so it does not dominate the fold; the service strip sits under the CTAs. */
.hero-title.hero-title-3l { font-size: clamp(32px, 6.2vw, 64px); }
.hero .svc-strip {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 56px auto 0;
  padding: 0;
  text-align: left;
  animation: fadeInUp 0.8s var(--ease) 0.45s both;
}
.hero .svc-strip + .hero-image { margin-top: 64px; }
@media (max-width: 560px) { .hero .svc-strip { margin-top: 40px; } }

/* ===================================================================
   v1.26.0 — home rework: who we work for, Lia proof, 3 prices
   =================================================================== */
.home-audience { padding-bottom: 40px; }
.home-audience .section-header { margin-bottom: 28px; }
.home-chips {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 820px;
}
.home-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 16px; border-radius: 100px;
  border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1.2;
}
a.home-chip-link { color: var(--ink); text-decoration: none; border-color: rgba(34,198,230,0.35); transition: border-color .2s var(--ease-smooth), background .2s var(--ease-smooth); }
a.home-chip-link span { color: var(--accent); }
a.home-chip-link:hover, a.home-chip-link:focus-visible { border-color: var(--accent); background: var(--surface-hi); }

.home-proof-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.home-proof-copy .section-title { margin-bottom: 28px; }
.home-proof-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.home-proof-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.home-proof-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(34,198,230,0.12); color: var(--accent);
  font-weight: 700; font-size: 15px;
}
.home-proof-steps strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.home-proof-steps span { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.home-proof-note { color: var(--ink-3); font-size: 14px; line-height: 1.55; margin: 0 0 24px; max-width: 520px; }

.home-chat {
  margin: 0; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.home-chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.home-chat-head strong { display: block; font-size: 14px; color: var(--ink); }
.home-chat-head span { font-size: 12px; color: var(--ink-3); }
.home-chat-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--accent); color: var(--bg) !important;
  font-weight: 700; font-size: 15px !important;
}
.home-chat-label {
  margin-left: auto; padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--line-3); color: var(--ink-2) !important;
  font-size: 11px !important; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.home-chat-body { padding: 20px 18px; display: grid; gap: 10px; }
.home-msg { max-width: 82%; padding: 10px 14px 6px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.home-msg p { margin: 0; }
.home-msg time { display: block; text-align: right; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.home-msg-in { justify-self: start; background: var(--bg-3); color: var(--ink); border-bottom-left-radius: 4px; }
.home-msg-out { justify-self: end; background: rgba(34,198,230,0.16); color: var(--ink); border-bottom-right-radius: 4px; }
.home-chat-alert {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
  padding: 10px 12px; border-radius: var(--radius); border: 1px dashed var(--line-3);
  color: var(--ink-2); font-size: 13px;
}
.home-chat-alert svg { color: var(--accent); flex: none; }
.home-chat figcaption { padding: 12px 18px 16px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--line); }

.home-pricing { margin-top: 0; }
.home-pricing-more { text-align: center; margin: 32px 0 0; }
.home-pricing-more a { color: var(--accent); font-weight: 600; text-decoration: none; }
.home-pricing-more a:hover, .home-pricing-more a:focus-visible { text-decoration: underline; }

.why-bb .why-grid { margin-top: 0; }
.home-promise-extra { text-align: center; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 720px; margin: 32px auto 0; }

@media (max-width: 960px) {
  .home-proof-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-chat { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .home-chip { font-size: 13px; padding: 8px 13px; }
  .home-msg { max-width: 90%; }
  .why-card { padding: 26px 22px; }
}

.home-process {
  list-style: none; margin: 40px auto 0; padding: 0; max-width: 1000px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.home-process li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink-2); font-size: 14px; line-height: 1.5;
}
.home-process strong { color: var(--ink); }
.home-process-num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: rgba(34,198,230,0.12); color: var(--accent);
}
@media (max-width: 860px) { .home-process { grid-template-columns: 1fr; max-width: 520px; } .home-process li { padding: 12px 14px; } }
@media (max-width: 768px) {
  /* page-home.css only loads on the PT and EN home pages. */
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
}
@media (max-width: 560px) {
  .why-card { padding: 22px 20px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .why-card .why-icon { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
  .why-card .why-icon svg { width: 20px; height: 20px; }
  .why-card h3 { margin: 6px 0 6px; font-size: 17px; }
  .why-card p { margin: 0; font-size: 14.5px; }
  .why-grid { gap: 12px; }
}
@media (max-width: 768px) {
  .home-audience { padding-bottom: 16px; }
  .home-proof { padding-top: 48px; }
}
/* The browser mock-up under the hero is gone, so the hero needs less bottom room. */
.hero { padding-bottom: 56px; }
@media (max-width: 560px) { .hero { padding-bottom: 24px; } }

/* ===================================================================
   v1.27.0 — home motion: hero glow, live chat demo, concepts showcase.
   Everything is static for prefers-reduced-motion (see the end).
   =================================================================== */

/* Hero: slow breathing glow + a second, violet light that drifts. */
.hero::before {
  background:
    radial-gradient(ellipse at center top, rgba(34, 198, 230, 0.16) 0%, transparent 60%),
    radial-gradient(300px circle at 28% 40%, rgba(139, 92, 246, 0.16) 0%, transparent 70%),
    radial-gradient(260px circle at 76% 32%, rgba(34, 230, 144, 0.09) 0%, transparent 70%);
  animation: bbHeroGlow 16s ease-in-out infinite alternate;
}
@keyframes bbHeroGlow {
  0%   { transform: translateX(-50%) scale(1);    opacity: 0.85; }
  50%  { transform: translateX(-47%) scale(1.07); opacity: 1; }
  100% { transform: translateX(-53%) scale(1.03); opacity: 0.9; }
}

/* Lia chat demo: messages arrive one by one (JS adds .chat-armed / .is-in). */
.home-msg { position: relative; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.home-typing { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; gap: 5px; }
.home-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); animation: bbTyping 1s infinite ease-in-out; }
.home-typing i:nth-child(2) { animation-delay: .15s; }
.home-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bbTyping { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-armed .home-msg,
.chat-armed .home-chat-alert { opacity: 0; transform: translateY(10px); }
.chat-armed .home-msg.is-in,
.chat-armed .home-chat-alert.is-in { opacity: 1; transform: none; }
.home-chat-alert { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.home-msg.is-typing p,
.home-msg.is-typing time { visibility: hidden; }
.home-msg.is-typing .home-typing { display: flex; }
.home-chat-head .home-chat-avatar { position: relative; }
.home-chat-head .home-chat-avatar::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px;
  border-radius: 50%; background: #22E690; border: 2px solid var(--bg-2);
}

/* Design concepts: a slow, seamless strip. */
.home-showcase { overflow: hidden; }
.home-showcase .section-header { margin-bottom: 44px; }
.home-marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.home-marquee-track { display: flex; width: max-content; animation: bbMarquee 60s linear infinite; }
.home-marquee:hover .home-marquee-track,
.home-marquee:focus-within .home-marquee-track { animation-play-state: paused; }
@keyframes bbMarquee { to { transform: translateX(-50%); } }
.home-marquee-group { display: flex; gap: 20px; padding: 6px 10px 6px; margin: 0; list-style: none; }
.home-shot { flex: none; width: 300px; }
.home-shot a { display: block; text-decoration: none; color: var(--ink); }
.home-shot-frame {
  display: block; padding: 14px; border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-hi) 0%, var(--surface) 100%);
  border: 1px solid var(--line-2);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.home-shot-frame svg { border-radius: 12px; }
.home-shot a:hover .home-shot-frame,
.home-shot a:focus-visible .home-shot-frame {
  transform: translateY(-6px);
  border-color: rgba(34, 198, 230, 0.45);
  box-shadow: 0 24px 50px -24px rgba(34, 198, 230, 0.45);
}
.home-shot-label { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.home-shot-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 100px; color: var(--accent); background: rgba(34, 198, 230, 0.12);
}
.home-showcase .home-pricing-more { margin-top: 28px; }
@media (max-width: 560px) {
  .home-shot { width: 230px; }
  .home-shot-frame { padding: 10px; border-radius: 16px; }
  .home-marquee-track { animation-duration: 45s; }
}

/* Gentle hover life on the service and price cards. */
.svc-card, .home-pricing .pkg { transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.svc-card:hover, .home-pricing .pkg:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .home-typing i { animation: none; }
  .home-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .home-marquee-track { animation: none; }
  .home-marquee-group[aria-hidden="true"] { display: none; }
  .svc-card:hover, .home-pricing .pkg:hover, .home-shot a:hover .home-shot-frame { transform: none; }
}
.home-shot-frame { aspect-ratio: 6 / 5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.home-shot-frame svg { width: 100% !important; height: 100% !important; }

/* v1.28.0 — LCP: the H1 and the intro paragraph are the largest elements on the
   first screen. They used fadeInUp (opacity 0 → 1 after a delay), which pushes
   Largest Contentful Paint back. They now rise in without ever being invisible. */
@keyframes bbRiseIn { from { transform: translateY(14px); } to { transform: none; } }
.hero-title, .hero-subtitle { animation: bbRiseIn .7s var(--ease) both; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-title, .hero-subtitle { animation: none; } }
