/* ===========================================================
   Uma Sacola — Institutional site
   =========================================================== */

/*EDITMODE-BEGIN*/
/* tweaks live in app.jsx */
/*EDITMODE-END*/

:root {
  --navy-900: #07254c;
  --navy-800: #0b2e5c;
  --navy-700: #123a72;
  --navy-600: #1a4d92;
  --navy-50:  #eaf0fb;

  --green-500: #3cb878;
  --green-600: #2fa268;
  --green-700: #26885a;
  --green-100: #d6f0e2;

  --amber-400: #f5c518;
  --amber-500: #e6b412;

  --ink-900: #0a1628;
  --ink-700: #283749;
  --ink-500: #5b6b80;
  --ink-300: #a5b1c1;

  --bone: #f7f4ec;
  --paper: #ffffff;
  --off: #f3eee1;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(7, 37, 76, 0.08), 0 2px 8px rgba(7, 37, 76, 0.06);
  --shadow-md: 0 6px 18px rgba(7, 37, 76, 0.12), 0 2px 6px rgba(7, 37, 76, 0.08);
  --shadow-lg: 0 22px 48px rgba(7, 37, 76, 0.22), 0 6px 14px rgba(7, 37, 76, 0.10);

  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-text);
  color: var(--ink-900);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 28px; } }

/* ====================== NAVBAR ====================== */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 46, 92, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-links {
  display: flex; gap: 34px; align-items: center;
  font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.82);
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--amber-400); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--green-500);
  color: white;
  border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--green-600); transform: translateY(-1px); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ====================== HERO ====================== */
.hero {
  position: relative;
  background: var(--navy-800);
  color: white;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 620px at 85% 10%, rgba(60, 184, 120, 0.18), transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(245, 197, 24, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 30px;
  min-height: calc(100svh - 76px);
  position: relative;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 48px 30px 64px;
    min-height: 0;
  }
}
@media (max-width: 720px) {
  .hero-visual {
    width: calc(100% - 32px);
    margin: 0 auto;
  }
  .hero-frame { inset: 24px 0 0 24px; }
  .hero-card { inset: 0 24px 24px 0; }
  .hero-chip.br { right: 0; bottom: -14px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.04);
}
.eyebrow .dot {
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--green-500);
  display: inline-grid; place-items: center;
  color: white; font-size: 10px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  margin-top: 0;
}
.hero h1 .accent { color: var(--green-500); }
.hero h1 .amber { color: var(--amber-400); }

.hero-lede {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
}

.hero-cta-row {
  display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 15.5px;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn-primary {
  background: var(--green-500); color: white;
  box-shadow: 0 8px 20px rgba(60, 184, 120, 0.35);
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--amber-400); color: var(--amber-400); }
.btn-amber { background: var(--amber-400); color: var(--navy-900); }
.btn-amber:hover { background: var(--amber-500); transform: translateY(-2px); }

.hero-stats {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 36px; max-width: 560px;
}
.hero-stats .stat-val { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: white; }
.hero-stats .stat-lbl { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* Hero visual (stacked bag card w/ yellow frame) */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  width: 100%;
}
.hero-frame {
  position: absolute;
  inset: 40px 0 0 40px;
  border: 2px solid var(--amber-400);
  border-radius: 0;
}
.hero-card {
  position: absolute;
  inset: 0 40px 40px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ccc;
  box-shadow: var(--shadow-lg);
  border: 6px solid white;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero-chip {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-chip .ch-num { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--navy-800); white-space: nowrap; }
.hero-chip .ch-lbl { font-size: 12px; color: var(--ink-500); line-height: 1.3; }
.hero-chip.tl { top: -12px; left: -18px; min-width: 180px; }
.hero-chip .ch-lbl { white-space: nowrap; }
.hero-chip.br { bottom: -14px; right: -14px; background: var(--green-500); color: white; }
.hero-chip.br .ch-num, .hero-chip.br .ch-lbl { color: white; }

/* ====================== LOGOS STRIP ====================== */
.logos-strip {
  background: var(--navy-900);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
}
.logos-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.logos-strip .label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; white-space: nowrap;
}
.logos-row { display: flex; gap: 44px; flex-wrap: wrap; }
.logos-row .placeholder-logo {
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.02em; font-size: 20px;
  color: rgba(255,255,255,0.45);
}

/* ====================== SECTIONS ====================== */
.section { padding: 110px 0; }
.section-tight { padding: 88px 0; }
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 52px 0; }
}
.section-dark { background: var(--navy-800); color: white; }
.section-bone { background: var(--bone); }
.section-paper { background: var(--paper); }

.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 40px; margin-bottom: 56px;
}
.sec-head .left { max-width: 680px; }
.sec-head h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  margin-top: 18px;
}
.sec-head .sub {
  margin-top: 18px; color: var(--ink-500); font-size: 17px; line-height: 1.55;
  max-width: 560px;
}
.section-dark .sec-head .sub { color: rgba(255,255,255,0.68); }
.section-dark .eyebrow { color: rgba(255,255,255,0.78); border-color: rgba(255,255,255,0.18); }
.section-dark .eyebrow.bone { color: var(--navy-800); background: var(--amber-400); border-color: transparent; }

@media (max-width: 820px) { .sec-head { flex-direction: column; align-items: start; } }

/* ====================== CATALOGO / PRODUTOS ====================== */
.cat-tabs {
  display: flex; gap: 8px; background: white;
  border-radius: 999px; padding: 6px;
  box-shadow: var(--shadow-sm);
}
.cat-tab {
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-500);
  transition: background .15s, color .15s;
}
.cat-tab.active { background: var(--navy-800); color: white; }
.cat-tab:not(.active):hover { color: var(--navy-800); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } }

.prod-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(11, 46, 92, 0.07);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
  position: relative;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--amber-400); }
.prod-image {
  aspect-ratio: 4 / 3.3;
  background: var(--navy-800);
  position: relative; overflow: hidden;
}
.prod-image img { width: 100%; height: 100%; object-fit: cover; }
.prod-image .size-chip {
  position: absolute; top: 14px; left: 14px;
  background: var(--amber-400); color: var(--navy-900);
  padding: 6px 10px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
}
.prod-image .dim-chip {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(11, 46, 92, 0.92);
  color: white; padding: 6px 10px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px;
}

.prod-body { padding: 22px 22px 24px; }
.prod-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy-900); }
.prod-desc { margin-top: 6px; color: var(--ink-500); font-size: 14px; line-height: 1.5; }

.prod-price-table {
  margin-top: 18px;
  background: var(--green-500);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: white;
}
.prod-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: baseline;
  column-gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-size: 14px;
}
.prod-price-row:last-child { border-bottom: 0; }
.prod-price-row .qty { opacity: 0.9; }
.prod-price-row .unit {
  font-size: 13px;
  opacity: 0.85;
  white-space: nowrap;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.prod-price-row .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  min-width: 88px;
}
.prod-price-row .price sub { font-size: 11px; opacity: 0.85; font-weight: 500; }

.prod-foot {
  margin-top: 18px;
  display: flex; justify-content: flex-end; align-items: center;
  gap: 10px;
}
.prod-foot button {
  padding: 10px 16px; border-radius: 999px;
  background: var(--navy-800); color: white;
  font-size: 13.5px; font-weight: 600;
  transition: background .15s;
}
.prod-foot button:hover { background: var(--navy-700); }

/* ====================== PROCESS ====================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-left: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  padding: 32px 28px 36px;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 260px;
}
.process-num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--amber-400); letter-spacing: 0.12em;
}
.process-step h3 { font-size: 22px; font-weight: 700; }
.process-step p { color: rgba(255,255,255,0.68); font-size: 14.5px; line-height: 1.55; }

/* ====================== CALC (QUOTE) ====================== */
.calc-shell {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 900px) { .calc-shell { grid-template-columns: 1fr; } }
.calc-left { padding: 44px 44px 48px; }
@media (max-width: 560px) { .calc-left { padding: 32px 24px; } }
.calc-right {
  background: var(--navy-800);
  color: white;
  padding: 44px 44px 48px;
  position: relative;
}
@media (max-width: 560px) { .calc-right { padding: 32px 24px; } }

.calc-kicker { font-family: var(--font-mono); color: var(--green-600); font-size: 12px; letter-spacing: 0.12em; }
.calc-left h3 { font-size: 32px; font-weight: 800; margin-top: 10px; color: var(--navy-900); }
.calc-left p.lede { color: var(--ink-500); margin-top: 10px; font-size: 15.5px; max-width: 420px; }

.calc-field { margin-top: 26px; }
.calc-field .label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--ink-700); font-weight: 600; margin-bottom: 10px;
}
.calc-field .val { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy-800); }

.size-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-btn {
  padding: 14px 8px;
  border-radius: 12px;
  background: var(--bone);
  color: var(--navy-900);
  border: 1.5px solid transparent;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: all .15s;
}
.size-btn .s-big { font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.size-btn .s-sm { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-500); }
.size-btn:hover { border-color: var(--navy-800); }
.size-btn.active { background: var(--navy-800); color: white; border-color: var(--navy-800); }
.size-btn.active .s-sm { color: rgba(255,255,255,0.7); }
/* Scoped for the mockup controls so its active state is unambiguous */
.mockup-controls .size-btn.active { background: var(--navy-800); color: white; }

.orient-buttons { display: flex; gap: 8px; }
.orient-btn {
  flex: 1; padding: 12px;
  border-radius: 12px;
  background: var(--bone);
  font-weight: 600; font-size: 13.5px;
  border: 1.5px solid transparent;
  transition: all .15s;
}
.orient-btn:hover { border-color: var(--navy-800); }
.orient-btn.active { background: var(--navy-800); color: white; }

input[type="range"].qty-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px;
  background: var(--bone);
  border-radius: 999px; outline: none;
}
input[type="range"].qty-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--green-500); border: 3px solid white;
  box-shadow: var(--shadow-md); cursor: pointer;
}
input[type="range"].qty-slider::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--green-500); border: 3px solid white;
  cursor: pointer;
}

.qty-presets { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.qty-presets button {
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ink-500);
  background: var(--bone);
  transition: all .15s;
}
.qty-presets button:hover { color: var(--navy-800); }
.qty-presets button.active { background: var(--navy-800); color: white; }

/* Right side: preview + total */
.calc-right .label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); }
.calc-preview-bag {
  margin-top: 18px;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  aspect-ratio: 1.2;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}
.calc-total-card {
  margin-top: 28px;
  background: var(--green-500);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.calc-total-card .row { display: flex; justify-content: space-between; color: white; font-size: 14px; padding: 3px 0; }
.calc-total-card .row b { font-family: var(--font-display); font-weight: 700; }
.calc-total-card .divider { height: 1px; background: rgba(255,255,255,0.25); margin: 12px 0; }
.calc-total-card .grand {
  display: flex; justify-content: space-between; align-items: baseline;
}
.calc-total-card .grand .l { color: rgba(255,255,255,0.85); font-size: 13px; }
.calc-total-card .grand .r {
  font-family: var(--font-display); font-weight: 800; font-size: 36px; color: white; line-height: 1;
}
.calc-total-card .grand .r sub { font-size: 16px; opacity: 0.85; font-weight: 600; }
@media (max-width: 560px) {
  .calc-total-card .grand .r { font-size: 28px; }
  .calc-total-card .grand .r sub { font-size: 14px; }
}

.calc-right .hint { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.4; }
.calc-right .cta {
  margin-top: 22px; display: block; width: 100%;
  text-align: center;
}

/* ====================== DIFERENCIAIS ====================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-card {
  background: white;
  border: 1px solid rgba(11,46,92,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 220px;
  transition: border-color .15s, transform .15s;
}
.diff-card:hover { border-color: var(--amber-400); transform: translateY(-3px); }
.diff-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: grid; place-items: center;
}
.diff-card h4 { font-size: 18px; color: var(--navy-900); }
.diff-card p { color: var(--ink-500); font-size: 14px; line-height: 1.55; }

/* ====================== TESTIMONIALS — WhatsApp mock ====================== */
.wa-chat {
  max-width: 720px;
  margin: 0 auto;
  background: #efeae2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(7,37,76,0.18), 0 8px 20px rgba(7,37,76,0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  border: 1px solid rgba(0,0,0,0.06);
}

/* Header — light, like real WhatsApp */
.wa-header {
  background: #ffffff;
  color: #111b21;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.wa-back {
  color: #54656f;
  display: grid; place-items: center;
  padding: 4px 4px;
}
.wa-avatar {
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  color: white; font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.wa-avatar-shop {
  background: linear-gradient(135deg, var(--green-500), var(--navy-800));
}
.wa-info { flex: 1; min-width: 0; }
.wa-name { font-weight: 600; font-size: 16px; line-height: 1.15; color: #111b21; }
.wa-status { font-size: 12.5px; color: #667781; margin-top: 2px; }
.wa-actions { display: flex; gap: 18px; color: #54656f; align-items: center; }
.wa-act { display: grid; place-items: center; }

/* Body — beige with a subtle doodle hint */
.wa-body {
  padding: 16px 12px 14px;
  background-color: #efeae2;
  background-image:
    radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1.5px),
    radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1.5px);
  background-size: 28px 28px, 36px 36px;
  background-position: 0 0, 14px 18px;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 320px;
}
.wa-day {
  align-self: center;
  background: #ffffff;
  color: #5b6b80;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.08);
}

/* Row = avatar + bubble (incoming) or just bubble (outgoing) */
.wa-row { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; max-width: 92%; }
.wa-row-in { align-self: flex-start; }
.wa-row-out { align-self: flex-end; }

.wa-bubble-avatar {
  width: 32px; height: 32px; border-radius: 999px;
  color: white; display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wa-msg {
  position: relative;
  padding: 7px 10px 6px;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.4;
  color: #111b21;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
  word-wrap: break-word;
  max-width: 100%;
}
.wa-msg-in {
  background: white;
  border-top-left-radius: 0;
}
.wa-msg-in::before {
  content: "";
  position: absolute;
  top: 0; left: -8px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 8px 10px 0;
  border-color: transparent white transparent transparent;
}
.wa-msg-out {
  background: #d9fdd3;
  border-top-right-radius: 0;
}
.wa-msg-out::before {
  content: "";
  position: absolute;
  top: 0; right: -8px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 10px 8px;
  border-color: transparent transparent #d9fdd3 transparent;
}
.wa-sender {
  font-size: 13px;
  font-weight: 600;
  color: var(--sender-color, #1f7aec);
  margin-bottom: 2px;
}
.wa-text { font-size: 14.5px; color: #111b21; }
.wa-meta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-top: 4px;
}
.wa-meta-out { justify-content: flex-end; }
.wa-role { font-size: 11px; color: #667781; font-style: italic; }
.wa-time {
  font-size: 11px; color: #667781; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.wa-ticks { vertical-align: middle; }

/* Input bar */
.wa-input {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 8px 8px 8px;
  background: #f0f2f5;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.wa-input-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  color: #54656f;
  flex-shrink: 0;
}
.wa-input-placeholder {
  flex: 1;
  padding: 10px 14px;
  background: white;
  border-radius: 999px;
  font-size: 14.5px;
  color: #667781;
  min-width: 0;
}
.wa-input-mic {
  width: 42px; height: 42px; border-radius: 999px;
  background: #00a884; color: white;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-left: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

@media (max-width: 560px) {
  .wa-row { max-width: 95%; }
  .wa-msg { font-size: 14px; }
  .wa-name { font-size: 15px; }
  .wa-input-placeholder { font-size: 14px; }
  .wa-input-icon:nth-child(4) { display: none; }
}

/* ====================== TESTIMONIALS — Carousel shell ====================== */
.wa-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.wa-swiper {
  overflow: hidden;
  padding-bottom: 44px;
}
.wa-swiper .swiper-wrapper {
  align-items: stretch;
}
.wa-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.wa-swiper .swiper-slide .wa-chat {
  margin: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}
.wa-swiper .swiper-slide .wa-body {
  flex: 1;
}
.wa-swiper .swiper-button-prev,
.wa-swiper .swiper-button-next {
  width: 42px;
  height: 42px;
  margin-top: -21px;
  background: #ffffff;
  color: var(--navy-800);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(7, 37, 76, 0.14), 0 2px 6px rgba(7, 37, 76, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-swiper .swiper-button-prev:hover,
.wa-swiper .swiper-button-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7, 37, 76, 0.18);
}
.wa-swiper .swiper-button-prev { left: 16px; }
.wa-swiper .swiper-button-next { right: 16px; }
.wa-swiper .swiper-button-prev::after,
.wa-swiper .swiper-button-next::after {
  font-size: 15px;
  font-weight: 800;
}
.wa-swiper .swiper-button-disabled {
  opacity: 0.35;
}
.wa-swiper .swiper-pagination {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
}
.wa-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--navy-800);
  opacity: 0.2;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.wa-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--green-500);
  transform: scale(1.25);
}

@media (max-width: 720px) {
  .wa-carousel { padding: 0; }
  .wa-swiper .swiper-button-prev,
  .wa-swiper .swiper-button-next { display: none; }
}

.testi-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

.testi-main {
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 52px 56px;
  border: 1px solid rgba(11,46,92,0.08);
  position: relative;
}
@media (max-width: 560px) { .testi-main { padding: 36px 28px; } }
.testi-quote {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500;
  color: var(--navy-900);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.testi-quote::before { content: "“"; color: var(--green-500); font-family: serif; font-size: 80px; line-height: 0.8; display: block; margin-bottom: 8px; }
.testi-who { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 999px;
  background: linear-gradient(135deg, var(--green-500), var(--navy-800));
  display: grid; place-items: center;
  color: white; font-family: var(--font-display); font-weight: 700;
}
.testi-who .name { font-weight: 700; color: var(--navy-900); }
.testi-who .role { color: var(--ink-500); font-size: 13.5px; }

.testi-side {
  display: flex; flex-direction: column; gap: 20px;
}
.testi-card-sm {
  background: var(--paper); border-radius: var(--radius-lg);
  border: 1px solid rgba(11,46,92,0.08);
  padding: 24px 26px; flex: 1;
  display: flex; flex-direction: column;
}
.testi-card-sm p { color: var(--navy-900); font-size: 15px; line-height: 1.5; flex: 1; }
.testi-card-sm .name { margin-top: 16px; color: var(--ink-500); font-size: 13px; font-weight: 600; }

/* ====================== FAQ ====================== */
.faq {
  max-width: 860px; margin: 0 auto;
}
.faq-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11,46,92,0.08);
  padding: 4px 4px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-header {
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; width: 100%; text-align: left;
}
.faq-header .q { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: 17px; }
.faq-toggle {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--bone); color: var(--navy-800);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform .2s, background .15s;
}
.faq-item.open .faq-toggle { background: var(--navy-800); color: white; transform: rotate(45deg); }
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-body { max-height: 400px; }
.faq-body-inner {
  padding: 0 24px 22px;
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.6;
}

/* ====================== CTA STRIP ====================== */
.cta-strip {
  background: var(--amber-400);
  color: var(--navy-900);
  padding: 56px 0;
}
.cta-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-strip h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; max-width: 720px; line-height: 1.1; }
.cta-strip .btn-primary { background: var(--navy-800); box-shadow: none; }
.cta-strip .btn-primary:hover { background: var(--navy-900); }

/* ====================== FOOTER ====================== */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 {
  font-family: var(--font-display); font-size: 14px;
  color: white; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14.5px; transition: color .15s; }
.footer a:hover { color: var(--amber-400); }
.footer-about p { font-size: 14.5px; line-height: 1.6; margin-top: 14px; color: rgba(255,255,255,0.65); max-width: 340px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.45);
}

/* ====================== LOGO MARK (selo) ====================== */
.brand {
  display: inline-flex; align-items: center; gap: 12px;
}
.brand-mark {
  width: 44px; height: 44px;
  background: white;
  border-radius: 10px;
  display: grid; place-items: center;
  box-shadow: 0 2px 0 rgba(0,0,0,0.08);
  position: relative;
}
.brand-mark svg,
.brand-mark img { position: relative; z-index: 1; object-fit: contain; width: 36px; height: 36px; }
.brand-name {
  line-height: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.brand-name .tl { font-family: var(--font-display); font-size: 11px; color: var(--amber-400); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.brand-wordmark { display: block; height: 32px; width: auto; filter: brightness(0) invert(1); }
.brand-name.dark .brand-wordmark { filter: none; }

/* ====================== TWEAKS PANEL ====================== */
.tweaks-panel {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  background: white;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.1);
  padding: 18px 20px 20px;
  width: 280px;
  border: 1px solid rgba(0,0,0,0.06);
}
.tweaks-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.tweaks-header h4 { font-size: 14px; font-weight: 700; color: var(--navy-900); }
.tweaks-header .close { font-size: 22px; color: var(--ink-500); }
.tweak-row { margin-bottom: 14px; }
.tweak-row label { font-size: 11.5px; font-weight: 600; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 8px; }
.tweak-colors { display: flex; gap: 8px; }
.tweak-colors button {
  width: 28px; height: 28px; border-radius: 999px; border: 2.5px solid white;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.tweak-colors button.active { box-shadow: 0 0 0 2px var(--navy-800); }
.tweak-seg { display: flex; background: var(--bone); border-radius: 8px; padding: 3px; }
.tweak-seg button { flex: 1; padding: 8px; font-size: 12px; font-weight: 600; color: var(--ink-500); border-radius: 6px; }
.tweak-seg button.active { background: white; color: var(--navy-900); box-shadow: var(--shadow-sm); }

/* ====================== MOCKUP GENERATOR ====================== */
.mockup-shell {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid rgba(11,46,92,0.08);
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) { .mockup-shell { grid-template-columns: 1fr; padding: 24px; } }

.mockup-controls { display: flex; flex-direction: column; gap: 22px; }

.mockup-drop {
  border: 2px dashed rgba(11,46,92,0.22);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  background: var(--bone);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.mockup-drop:hover, .mockup-drop.over {
  border-color: var(--green-500);
  background: var(--green-100);
}
.mockup-drop.has { padding: 20px; }
.mockup-drop-icon {
  width: 52px; height: 52px; border-radius: 999px;
  background: white; color: var(--navy-800);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 6px;
}
.mockup-drop-title { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); font-size: 15px; }
.mockup-drop-hint { font-size: 12.5px; color: var(--ink-500); }
.mockup-drop-thumb {
  max-width: 140px; max-height: 80px; object-fit: contain;
  background: white; padding: 8px; border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.mockup-drop-change {
  margin-top: 10px;
  font-size: 12px; font-weight: 600; color: var(--green-700);
  text-decoration: underline;
}

.mockup-field label { font-size: 11.5px; font-weight: 600; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 10px; }

.mockup-colors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mockup-color {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--bone);
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 13px; font-weight: 600; color: var(--navy-900);
  transition: border-color .15s;
}
.mockup-color:hover { border-color: var(--navy-800); }
.mockup-color.active { border-color: var(--navy-800); background: white; }
.mockup-color .swatch {
  width: 18px; height: 18px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.mockup-toggle {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-700);
  cursor: pointer;
}
.mockup-toggle input { width: 18px; height: 18px; accent-color: var(--green-500); }

.mockup-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.mockup-actions .btn-outline[disabled] { opacity: 0.4; cursor: not-allowed; }

.mockup-stage {
  background: var(--bone);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; flex-direction: column;
  position: relative;
  min-height: 480px;
}
.mockup-stage > svg { flex: 1; border-radius: var(--radius-md); overflow: hidden; }

.bag-photo-stage {
  position: relative;
  width: 100%;
  max-height: 560px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(160deg, #e7efe2 0%, #9fbf98 55%, #5a8255 100%);
}
.bag-photo-base {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.bag-photo-logo {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  /* Snap to the bag image's rendered rectangle via the wrapper (image is object-fit: contain) */
}
.bag-photo-placeholder {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed;
  border-radius: 10px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  letter-spacing: 0.08em;
  pointer-events: none;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(1px);
}
.mockup-meta {
  margin-top: 16px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
}
.mockup-meta b { color: var(--navy-900); font-family: var(--font-display); font-size: 13px; }

/* ====================== MODAL ====================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7, 37, 76, 0.65);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 20px;
  animation: fadeIn .2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%; max-width: 520px;
  padding: 40px 40px 36px;
  box-shadow: var(--shadow-lg);
  animation: slideUp .25s;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 560px) { .modal { padding: 28px 24px; } }
.modal h3 { font-size: 26px; font-weight: 800; color: var(--navy-900); }
.modal .mclose {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--bone); color: var(--ink-700);
  display: grid; place-items: center;
}
.form-field { margin-top: 16px; }
.form-field label { font-size: 12px; font-weight: 600; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bone);
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: inherit; color: var(--navy-900);
  transition: border-color .15s, background .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--navy-800); background: white;
}
.form-field textarea { min-height: 90px; resize: vertical; }

.success-state {
  text-align: center;
}
.success-state .check {
  width: 72px; height: 72px; border-radius: 999px;
  background: var(--green-100); color: var(--green-600);
  display: grid; place-items: center; margin: 0 auto 18px;
}

/* ====================== EXAMPLES CAROUSEL (Swiper) ====================== */
.examples-swiper {
  padding: 4px 0 24px;
  overflow: hidden;
  width: 100%;
}
.examples-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  -webkit-transition-timing-function: linear !important;
  align-items: stretch;
}
.example-card {
  width: 360px;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.example-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 720px) {
  .example-card { width: 78vw; }
}

/* ====================== WHATSAPP FLOAT ====================== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35), 0 4px 10px rgba(7, 37, 76, 0.18);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.wa-float:hover {
  background: #1fbf5b;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.42), 0 6px 14px rgba(7, 37, 76, 0.22);
}
.wa-float svg { display: block; }
.wa-float-label { white-space: nowrap; }

@media (max-width: 560px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    padding: 14px;
  }
  .wa-float-label { display: none; }
}

/* ====================== DECORATIVE BITS ====================== */
.pattern-strip {
  height: 120px;
  background:
    linear-gradient(var(--amber-400), var(--amber-400)) 0 center / 100% 2px no-repeat,
    radial-gradient(circle at 20px 60px, var(--navy-50) 3px, transparent 4px),
    radial-gradient(circle at 60px 60px, var(--navy-50) 3px, transparent 4px);
  background-color: var(--bone);
  background-size: 100% 2px, 80px 80px, 80px 80px;
  background-position: 0 center, 0 0, 40px 40px;
}
