@font-face {
    font-family: "Catamaran";
    src: url("../fonts/Catamaran_global.woff2") format("woff2"), url("../fonts/Catamaran_global.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   BRICK GLOBAL.CSS
   Base común para páginas marketing / producto
   Carga después de bootstrap.css y app.min.css.
   Los CSS de cada página van después de este archivo.
   ========================================================= */

/* ===========================
   1. Design tokens
   =========================== */

:root {
  --ink: #0b1220;
  --muted: #334155;
  --line: #e2e8f0;
  --brand: #0ea5e9;
  --soft: #f7f9fc;
  --soft2: #ededed;
  --surface: #ffffff;
  --backdrop: #f3f2ef;

  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 28px;
  --space-7: 36px;
  --space-8: 48px;

  --font-family-base: "Catamaran", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --font-size-body: 16px;
  --font-size-body-lg: 18px;
  --font-size-small: 13px;

  --font-size-h1: clamp(40px, 5.2vw, 60px);
  --font-size-h2: clamp(28px, 3.6vw, 38px);
  --font-size-h3: 22px;
  --font-size-h4: 18px;

  --line-height-body: 1.65;
  --line-height-heading-tight: 1.06;
  --line-height-heading: 1.12;
}

/* ===========================
   2. Base global
   =========================== */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  background-color: var(--backdrop) !important;
  color: var(--ink);
}

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

/* ===========================
   3. Contenedores y secciones
   =========================== */

.re-mg .container {
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--space-7) var(--space-4);
}

.re-mg .section {
  padding-block: 40px !important;
}

.re-mg .section + .section {
  padding-top: 0 !important;
}

.page-wrap-gray {
  background-color: var(--surface);
  max-width: 1280px;
  margin: 40px auto;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  padding: 24px 48px;
  padding-top: 0 !important;
}


.white-container {
  padding-top: 0 !important;
}

/* Primer hero dentro del contenedor blanco */
.re-mg .white-container > .container.section.center:first-of-type,
.page-wrap-gray .white-container > .section:first-of-type {
  padding-top: 40px !important;
}

.page-wrap-gray .white-container > .section:first-of-type h1 {
  margin-top: 0;
}

@media (max-width: 1440px) {
  .page-wrap-gray {
    max-width: 1200px;
    padding-inline: 40px;
  }
}

@media (max-width: 1366px) {
  .page-wrap-gray {
    max-width: 100%;
    padding-inline: 32px;
  }
}

@media (max-width: 768px) {
  .re-mg .section {
    padding-block: 32px !important;
  }

  .re-mg .white-container > .container.section.center:first-of-type,
  .page-wrap-gray .white-container > .section:first-of-type {
    padding-top: 16px !important;
  }
}

@media (max-width: 560px) {
  .page-wrap-gray {
    padding: 16px 18px !important;
  }

  .re-mg .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ===========================
   4. Tipografía
   =========================== */

.title-xxl {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-heading-tight);
  font-weight: var(--font-weight-extrabold);
  color: var(--ink);
  margin-bottom: 16px;
}

.title-xl {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-heading);
  font-weight: var(--font-weight-extrabold);
  color: var(--ink);
  margin-bottom: 12px;
}

.title-md {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}

.eyebrow {
  display: block;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 14px;
  margin-top: 0;
}

.re-mg h1,
.re-mg h2,
.re-mg h3,
.re-mg .title-xxl,
.re-mg .title-xl,
.re-mg .title-md {
  color: var(--ink) !important;
}

.re-mg p {
  font-size: var(--font-size-body);
  color: var(--muted) !important;
  line-height: var(--line-height-body);
}

.re-mg .lead {
  font-size: var(--font-size-body-lg);
  color: var(--muted) !important;
  line-height: var(--line-height-body);
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
}

.container.section .eyebrow {
  margin-top: 0 !important;
}

.re-mg .alt-bg .eyebrow,
.re-mg section .wrap > .eyebrow,
.re-mg section .split > .eyebrow {
  margin-left: 32px !important;
  padding-left: 4px !important;
}


.center {
  text-align: center;
}

.eyebrow.center {
  display: block;
  text-align: center !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

@media (max-width: 560px) {
  .re-mg .lead,
  .re-mg p {
    max-width: none !important;
  }

  .re-mg .alt-bg .eyebrow,
  .re-mg section .wrap > .eyebrow,
  .re-mg section .split > .eyebrow {
    margin-left: 16px !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 400px) {
  .re-mg p,
  .re-mg .lead {
    font-size: 16px;
  }

  .re-mg .title-xxl {
    font-size: 32px;
  }

  .re-mg .title-xl {
    font-size: 24px;
  }

  .re-mg .title-md {
    font-size: 20px;
  }
}

/* ===========================
   5. Botones y CTAs
   =========================== */

.re-mg .actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

.re-mg .btn {
  appearance: none;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-weight: var(--font-weight-extrabold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.re-mg .btn-primary {
  background: var(--brand);
  color: #fff;
  border: 1px solid #0f172a20;
}

.re-mg .btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease;
}

.re-mg .btn-ghost:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.re-mg .btn-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 2px solid currentColor;
  border-radius: 50%;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
  vertical-align: middle;
  font-size: 18px;
}

@media (max-width: 560px) {
  .re-mg .actions {
    justify-content: center !important;
  }

  .re-mg .btn,
  .btn,
  .btn-outline,
  .btn-pill {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
  }

  .re-mg .btn {
    min-width: 240px;
  }

  .btn-icon,
  .re-mg .btn-icon {
    display: none !important;
  }
}

/* ===========================
   6. Wraps, bloques y splits
   =========================== */

.re-mg .wrap,
.re-mg .wrap-banner {
  background: var(--soft2);
  padding: 28px 8px !important;
  border-radius: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  border: none !important;
}

.re-mg section.alt-bg {
  background: var(--soft);
  padding: 28px 8px !important;
  border-radius: 22px;
}

.re-mg section .wrap {
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px) !important;
}

.re-mg section .split {
  padding: 24px 32px !important;
  border-radius: 18px;
}

.re-mg .wrap-banner {
  padding: clamp(20px, 3vw, 28px) !important;
  border-radius: 22px;
}

.re-mg .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.re-mg .split .media {
  border: none;
  background: transparent;
  min-height: 320px;
  overflow: visible;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.re-mg .split .media.tall {
  min-height: 420px;
}

.re-mg .media,
.re-mg .media picture {
  width: 100%;
}

.re-mg .split .media img,
.re-mg .media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  display: block;
}

@media (max-width: 1100px) {
  .re-mg .container {
    padding: var(--space-6) var(--space-4);
  }

  .re-mg .split {
    gap: var(--space-5);
  }

  .re-mg .split .media {
    min-height: 300px;
  }
}

@media (max-width: 980px) {
  .re-mg .split {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .re-mg .split .media {
    order: 2;
  }
}

@media (max-width:560px){
  .re-mg .wrap,
  .re-mg .wrap-banner,
  .re-mg section .wrap,
  .re-mg section .split{
      padding:22px 16px !important;

  }

  .re-mg .split .media,
  .re-mg .media{
      min-height:auto !important;
      height:auto !important;
  }

  .re-mg .media img{
      margin:0 auto !important;
  }

}

/* ===========================
   7. Cards
   =========================== */

.re-mg .cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.re-mg .cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 340px));
  gap: var(--space-5);
  justify-content: center;
}

.re-mg .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.re-mg .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

.re-mg .card .media {
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  display: grid;
  place-items: center;
}

.re-mg .card .body {
  padding: var(--space-4);
}

.re-mg .card h3 {
  margin-bottom: 10px;
}

@media (max-width: 1100px) {
  .re-mg .cards-4 {
    gap: var(--space-4);
  }
}

@media (max-width: 980px) {
  .re-mg .cards-4,
  .re-mg .cards-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .re-mg .cards-4,
  .re-mg .cards-3 {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   8. Icon list
   =========================== */

.re-mg .icon-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.re-mg .icon-list--indented {
  padding-left: 10px;
}

.re-mg .icon-li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 18px;
}

.re-mg .icon-li .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
  border: none !important;
}

.re-mg .icon-li .icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.re-mg .icon-list .lead {
  margin: 0;
}

@media (max-width: 560px) {
  .re-mg .icon-list {
    gap: 16px;
  }

  .re-mg .icon-li {
    align-items: flex-start;
  }

  .re-mg .icon-li li {
    margin-bottom: 14px;
    line-height: 1.6;
  }
}

/* ===========================
   9. Hero / banners reutilizables
   =========================== */

.re-mg .hero-banner {
  width: 100%;
  height: auto;
  min-height: 260px;
  border-radius: 20px;
  background-color: #f1f5f9;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid #e5e7eb;
  margin-top: 28px;
}

.re-mg .bleed-banner {
  position: relative;
  padding: 0;
  margin: 40px 0;
}

.re-mg .bleed-banner .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.re-mg .bleed-banner .panel {
  background: rgba(0,0,0,.55);
  color: #fff;
  margin: 0 auto;
  border-radius: 22px;
  padding: 32px 24px;
  text-align: center;
}

.re-mg .bleed-banner .panel .title-xl {
  color: #fff !important;
  margin: 0;
  font-size: 22px !important;
  line-height: 1.35 !important;
}

.resultado-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: #f7f9fb;
  border-radius: 12px;
  font-size: 1.05rem;
  line-height: 1.45;
  border: 1px solid rgba(0,0,0,0.04);
}

.banner-pill {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  backdrop-filter: blur(4px);
}

@media (max-width: 560px) {
  .re-mg .hero-banner {
    min-height: 200px;
    border-radius: 16px;
  }

  .re-mg .bleed-banner .panel .title-xl {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
}

/* ===========================
   10. Utilidades responsivas
   =========================== */

@media (max-width: 560px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 561px) {
  .show-mobile {
    display: none !important;
  }
}
/* ===========================
   11. Whatsapp
   =========================== */

.whatsapp-float{
  position:fixed;
  right:24px;
  bottom:24px;
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#25D366;
  text-decoration:none;
  overflow:hidden;
  z-index:9999;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  transition:transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float img,
.whatsapp-float svg{
  width:34px;
  height:34px;
  max-width:34px;
  max-height:34px;
  display:block;
  object-fit:contain;
}

.whatsapp-float:hover{
  transform:scale(1.08);
}

@media (max-width:560px){
  .whatsapp-float{
    right:12px;
    bottom:18px;
    z-index:99999;
  }
}