:root {
  --blue: #0b4ea2;
  --blue-dark: #082b57;
  --gold: #c79a2b;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9e2ee;
  --soft: #f3f7fb;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(8, 43, 87, 0.13);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: var(--white);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
  display: grid;
  grid-template-columns: 58px auto;
  column-gap: 10px;
  align-items: center;
  line-height: 1.05;
}

.brand img {
  width: 58px;
  height: 38px;
  object-fit: contain;
  grid-row: span 2;
}

.brand small {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.78rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 0.92rem;
}

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

.language-label {
  display: grid;
  gap: 2px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
}

select, input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

textarea { min-height: 110px; resize: vertical; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  background: var(--white);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(11, 78, 162, 0.2);
}

.button.ghost { border-color: var(--line); color: var(--ink); }
.button.small { min-height: 38px; padding: 8px 12px; white-space: nowrap; }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 8vw, 96px) clamp(16px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(8, 43, 87, 0.94), rgba(11, 78, 162, 0.82)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p { max-width: 760px; font-size: 1.18rem; color: rgba(255,255,255,0.9); }
.eyebrow { color: var(--gold); text-transform: uppercase; font-weight: 900; letter-spacing: 0.08em; font-size: 0.78rem; }

.hero-panel {
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: min(100%, 250px);
  height: 86px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 8px;
}

.hero-panel h2 { margin-top: 0; }
.hero-panel li { margin: 10px 0; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-row span {
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-weight: 750;
  font-size: 0.9rem;
}

.band, .split, .lead-panel, .tool-shell, .program-filters {
  padding: clamp(32px, 6vw, 72px) clamp(16px, 5vw, 72px);
}

.band h2, .split h2, .lead-panel h2 { font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.05; margin-top: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(8, 43, 87, 0.06);
}

.card h3 { margin-top: 0; line-height: 1.18; }
.card span { display: inline-block; color: var(--muted); font-weight: 800; font-size: 0.85rem; }

.price {
  display: block;
  color: var(--blue-dark);
  font-size: 1.9rem;
  line-height: 1;
  margin: 16px 0;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .button { margin-top: auto; }

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(42px, 7vw, 90px) clamp(16px, 5vw, 72px);
  background: linear-gradient(120deg, #06182f, #0b4ea2);
  color: var(--white);
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.about-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.12rem;
}

.about-hero img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 4px solid rgba(255,255,255,0.75);
}

.about-content {
  max-width: 980px;
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 26px;
  background: var(--soft);
}

.notice {
  border-left: 5px solid var(--gold);
  background: #fffaf0;
  padding: 20px;
  border-radius: 8px;
  color: #473714;
}

.checklist { padding-left: 1.1rem; }
.checklist li { margin: 9px 0; }

.lead-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 26px;
  background: var(--blue-dark);
  color: var(--white);
}

.lead-panel p { color: rgba(255,255,255,0.82); }

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lead-form textarea, .lead-form button { grid-column: 1 / -1; }

.tool-search, .program-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.program-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px clamp(16px, 5vw, 72px);
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.program-summary strong {
  color: var(--blue);
  font-size: 1.8rem;
}

.program-band { padding-top: 28px; }

.program-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-card dl {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 6px 10px;
  margin: 4px 0;
}

.program-card dt {
  color: var(--muted);
  font-weight: 900;
}

.program-card dd { margin: 0; }

.program-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.program-badges b {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--blue-dark);
  padding: 5px 9px;
  font-size: 0.78rem;
}

#google_translate_element {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-gadget-icon {
  display: none !important;
}

body { top: 0 !important; }

.tool-search { padding: 0 0 18px; }

.tool-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 24px;
}

.calculator {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.result {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 1.05rem;
}

.result strong { color: var(--blue-dark); font-size: 1.6rem; display: block; }

.sticky-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  border-radius: 999px;
  background: #22c55e;
  color: var(--white);
  padding: 14px 18px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(34,197,94,0.35);
}

footer {
  display: grid;
  gap: 12px;
  padding: 34px clamp(16px, 5vw, 72px);
  background: #050b14;
  color: rgba(255,255,255,0.78);
}

.footer-identity {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-identity img {
  width: 86px;
  height: 40px;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
  padding: 5px;
}

footer strong { color: var(--white); }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr; }
  nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .header-actions { justify-content: space-between; }
  .hero, .split, .lead-panel, .tool-shell, .about-hero { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}

@media (max-width: 620px) {
  .lead-form { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.35rem; }
  .button { width: 100%; }
  .header-actions { align-items: stretch; flex-direction: column; }
}
