:root {
  color-scheme: light;
  --ink: #102a3a;
  --muted: #587080;
  --surface: #ffffff;
  --line: #dce7e6;
  --brand: #0f766e;
  --brand-dark: #164e63;
  --brand-soft: #dff6f1;
  --danger: #b42318;
  --shadow: 0 22px 60px rgba(15, 76, 86, 0.16);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(45, 212, 191, 0.18), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(14, 116, 144, 0.12), transparent 28rem),
    #f3f8f7;
}

button, a { font: inherit; }
a { color: inherit; }
.hidden { display: none !important; }
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; }
.brand img { width: 42px; height: 42px; }
.brand img.tenant-brand-logo-custom { width: 76px; max-width:22vw; height:42px; object-fit:contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.toplink { color: var(--brand-dark); font-size: 14px; font-weight: 750; text-decoration: none; }
.toplink:hover { text-decoration: underline; }

.home-main { flex: 1; display: grid; place-items: center; padding: clamp(40px, 8vw, 90px) 20px; }
.hero { width: min(1100px, 100%); display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 6vw, 76px); align-items: center; }
.eyebrow { color: var(--brand); font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 12px 0 18px; font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -.045em; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(18px, 2.4vw, 23px); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(15, 118, 110, .22);
}
.button:hover { transform: translateY(-1px); }
.button.secondary { background: white; color: var(--brand-dark); border-color: var(--line); box-shadow: none; }
.button[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.button:disabled { opacity: .62; cursor: wait; transform: none; }
.feature-card { padding: 28px; border: 1px solid rgba(255,255,255,.65); border-radius: 24px; background: rgba(255,255,255,.78); box-shadow: var(--shadow); }
.feature-card img { width: 72px; height: 72px; }
.feature-card h2 { margin: 20px 0 8px; font-size: 24px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.feature-list { display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.feature-list li::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 900; }

.portal-shell { height: 100vh; overflow: hidden; }
.portal-header { height: 58px; min-height: 58px; padding-block: 7px; }
.portal-header .brand img { width: 34px; height: 34px; }
.portal-header .brand img.tenant-brand-logo-custom { width:64px; height:34px; object-fit:contain; }
.portal-frame { width: 100%; height: calc(100vh - 58px); border: 0; background: #fff; }
.portal-status { flex: 1; display: grid; place-items: center; padding: 28px; text-align: center; }
.portal-status-card { width: min(620px, 100%); padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.portal-status-card h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.08; }
.portal-status-card p { color: var(--muted); line-height: 1.6; }
.auth-card .actions { justify-content: center; }
.auth-user { margin: 18px auto 0; padding: 12px 15px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 750; }
.auth-user-inline { max-width: 46vw; overflow: hidden; color: var(--muted); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.auth-error { margin: 18px 0 0; color: var(--danger) !important; font-weight: 700; }
.auth-error-bar { margin: 0; padding: 9px 16px; border-bottom: 1px solid #f3c9c5; background: #fff2f0; text-align: center; }
.auth-frame-panel { flex: 1; min-height: 0; }
.auth-frame { width: 100%; height: calc(100vh - 70px); border: 0; background: #fff; }
.auth-top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; }
.auth-link-button { padding: 7px 0; border: 0; background: transparent; cursor: pointer; }
.auth-shell { height: 100vh; overflow: hidden; }
.auth-staff-frame { height: calc(100vh - 58px); }
.auth-shell:has(.auth-error-bar:not(.hidden)) .auth-staff-frame { height: calc(100vh - 99px); }
.config-code { display: block; margin: 18px 0; padding: 12px; border-radius: 8px; background: #f5f8f8; color: var(--danger); font: 700 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.footer { padding: 22px; color: var(--muted); text-align: center; font-size: 13px; }

.official-shell { min-height: 100vh; background: #f6faf9; }
.official-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
.official-nav { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 32px); }
.official-nav a { color: var(--muted); font-size: 14px; font-weight: 720; text-decoration: none; }
.official-nav a:hover { color: var(--brand); }
.official-login-top { min-height: 42px; padding: 9px 16px; font-size: 13px; box-shadow: none; }
.official-hero {
  width: min(1240px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 108px) 0;
}
.official-hero-copy h1 { max-width: 680px; font-size: clamp(42px, 6vw, 76px); }
.official-hero-copy .lead { max-width: 630px; }
.official-carousel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 28px;
  background: linear-gradient(135deg, #dff6f1, #dcecf0);
  box-shadow: var(--shadow);
}
.official-carousel-slides { position: absolute; inset: 0; }
.official-carousel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .55s ease; }
.official-carousel-slide.active { opacity: 1; }
.official-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.official-carousel-slide figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 14px;
  color: white;
  background: rgba(9, 38, 48, .76);
  backdrop-filter: blur(8px);
}
.official-carousel-slide figcaption span { font-size: 13px; line-height: 1.45; }
.official-carousel-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--brand-dark); font-weight: 800; }
.official-carousel-placeholder img { width: 105px; height: 105px; }
.official-carousel-placeholder img.tenant-brand-logo-custom { width:min(220px, 62%); height:110px; object-fit:contain; }
.carousel-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  color: white;
  background: rgba(9, 38, 48, .6);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.carousel-control.prev { left: 14px; }
.carousel-control.next { right: 14px; }
.carousel-dots { position: absolute; z-index: 4; bottom: 12px; left: 50%; display: flex; gap: 7px; transform: translateX(-50%); }
.carousel-dot { width: 9px; height: 9px; padding: 0; border: 1px solid white; border-radius: 50%; background: rgba(255,255,255,.42); cursor: pointer; }
.carousel-dot.active { background: white; transform: scale(1.18); }
.official-section { padding: clamp(58px, 7vw, 92px) max(18px, calc((100vw - 1240px) / 2)); scroll-margin-top: 76px; }
.official-section-tint { border-block: 1px solid #dfecea; background: #eaf5f2; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2, .official-cta h2 { margin: 7px 0 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.6; }
.official-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.official-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 34px rgba(15, 76, 86, .07);
}
.official-card h3 { margin: 10px 0 8px; font-size: 20px; line-height: 1.25; }
.official-card p { margin: 0 0 14px; color: var(--muted); line-height: 1.6; white-space: pre-line; }
.card-kicker { color: var(--brand); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--brand-dark); background: var(--brand-soft); font-size: 22px; font-weight: 900; }
.card-meta { margin-top: auto; color: var(--muted); }
.card-link { align-self: flex-start; margin-top: auto; color: var(--brand); font-weight: 800; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.contact-card.consolidated { min-height: 255px; }
.contact-description { margin-bottom: 12px !important; }
.contact-details { display: grid; gap: 5px; margin: 0 0 18px; color: #395766; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; }
.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg,#1597ff,#0867d7);
  box-shadow: 0 3px 8px rgba(15,35,50,.18);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.contact-action:hover, .contact-action:focus-visible { filter: brightness(.98); transform: translateY(-1px); box-shadow: 0 5px 12px rgba(15,35,50,.24); }
.contact-action.whatsapp { background: linear-gradient(145deg,#28dd6f,#0eaa4c); }
.contact-action.email { background: linear-gradient(145deg,#9b6cff,#6d28d9); }
.contact-action svg { width: 22px; height: 22px; flex: 0 0 22px; }
.news-card.urgent { border-color: #fdba74; border-left: 6px solid #ea580c; background: #fffaf5; }
.news-card.urgent .card-kicker { color: #c2410c; }
.news-card { min-width: 0; scroll-margin-top: 92px; }
.news-card-header { margin-bottom: 19px; text-align: center; }
.news-card-header h3 { margin: 8px 0 0; }
.news-inline-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 14px;
  background: #eef4f3;
  box-shadow: 0 8px 22px rgba(15, 76, 86, .1);
}
.news-inline-carousel.horizontal { aspect-ratio: 16 / 9; }
.news-inline-carousel.vertical { width: min(78%, 330px); aspect-ratio: 4 / 5; }
.news-inline-track { position: absolute; inset: 0; }
.news-inline-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eef4f3;
  opacity: 0;
  transition: opacity .28s ease;
}
.news-inline-track img.active { opacity: 1; }
.news-inline-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  color: #fff;
  background: rgba(9, 38, 48, .66);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.news-inline-control.previous { left: 9px; }
.news-inline-control.next { right: 9px; }
.news-inline-dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 9px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.news-inline-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}
.news-inline-dots button.active { background: #fff; transform: scale(1.2); }
.news-markdown { min-width: 0; margin-bottom: 14px; color: var(--muted); line-height: 1.62; overflow-wrap: anywhere; }
.news-markdown > :first-child { margin-top: 0; }
.news-markdown > :last-child { margin-bottom: 0; }
.news-markdown p { margin: 0 0 12px; white-space: normal; }
.news-markdown h1, .news-markdown h2, .news-markdown h3 { margin: 18px 0 8px; color: var(--ink); line-height: 1.25; }
.news-markdown h1 { font-size: 22px; }
.news-markdown h2 { font-size: 19px; }
.news-markdown h3 { font-size: 17px; }
.news-markdown ul, .news-markdown ol { margin: 0 0 13px; padding-left: 22px; }
.news-markdown li { margin: 4px 0; }
.news-markdown blockquote { margin: 12px 0; padding: 10px 13px; border-left: 4px solid var(--brand); color: #355a62; background: var(--brand-soft); }
.news-markdown code { padding: 2px 5px; border-radius: 5px; color: #0b5d58; background: #e5f3ef; font-size: .9em; }
.news-markdown a { color: var(--brand); font-weight: 750; }
.news-markdown hr { margin: 18px 0; border: 0; border-top: 1px solid var(--line); }
.news-markdown .md-align-left { text-align: left; }
.news-markdown .md-align-center { text-align: center; }
.news-markdown .md-align-right { text-align: right; }
.news-markdown .md-align-justify { text-align: justify; }
.news-markdown .md-color-verde { color: #0f766e; }
.news-markdown .md-color-azul { color: #165d7a; }
.news-markdown .md-color-rojo { color: #b42318; }
.news-markdown .md-color-naranja { color: #c2410c; }
.news-markdown .md-color-gris { color: #5b6f7a; }
.news-markdown .md-color-negro { color: #172b35; }
.news-validity { line-height: 1.45; }
.group-card .whatsapp-button { align-self: flex-start; min-height: 42px; margin-top: auto; padding: 9px 14px; background: linear-gradient(135deg, #15803d, #047857); box-shadow: none; font-size: 13px; }
.official-payment-wrap { display: grid; }
.official-payment-card {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #d9cce3;
  border-top: 6px solid #4b006e;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #fbf8fd);
  box-shadow: 0 18px 48px rgba(75, 0, 110, .1);
}
.official-payment-heading { display: flex; align-items: center; gap: 14px; }
.official-payment-heading img { width: 48px; height: 48px; padding: 5px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(75,0,110,.12); }
.official-payment-heading h3 { margin: 4px 0 0; color: #4b006e; font-size: 26px; }
.official-payment-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.official-payment-data div { display: grid; gap: 4px; padding: 14px; border: 1px solid #e2d7e9; border-radius: 12px; background: #f6f0f9; }
.official-payment-data small { color: #786581; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.official-payment-data strong { color: #3e2350; overflow-wrap: anywhere; }
.official-payment-card > p { color: var(--muted); line-height: 1.6; }
.jelpit-public-button { margin-top: 8px; background: #82e66f; color: #3e005f; box-shadow: none; }
.official-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.official-profile-card { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(15, 76, 86, .07); text-align: center; }
.official-profile-photo, .official-profile-initials { width: 128px; height: 128px; margin: 0 auto 17px; border-radius: 50%; }
.official-profile-photo { object-fit: cover; background: #e5eeee; }
.official-profile-initials { display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); font-size: 34px; font-weight: 850; }
.official-profile-card h3 { margin: 0 0 5px; font-size: 21px; }
.official-profile-role { display: block; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.official-profile-bio { margin: 14px 0; color: var(--muted); line-height: 1.6; white-space: pre-line; }
.official-profile-contacts { display: grid; gap: 8px; margin-top: 16px; }
.official-profile-contacts a { color: var(--brand); font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.official-empty { grid-column: 1 / -1; margin: 0; padding: 28px; border: 1px dashed #b9cdca; border-radius: 16px; color: var(--muted); text-align: center; background: rgba(255,255,255,.62); }
.official-cta {
  width: min(1240px, calc(100% - 36px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(60px, 8vw, 104px) auto;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 25px;
  color: white;
  background: linear-gradient(135deg, #0f766e, #164e63);
  box-shadow: var(--shadow);
}
.official-cta .eyebrow { color: #99f6e4; }
.official-cta .button { color: var(--brand-dark); background: white; box-shadow: none; }
.official-footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px clamp(18px, 4vw, 64px); border-top: 1px solid var(--line); color: var(--muted); background: white; font-size: 13px; }
.official-footer > div { display: grid; gap: 5px; }
.official-footer strong { color: var(--ink); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .topbar { padding-inline: 16px; }
  .brand-copy small { display: none; }
  .portal-header .brand-copy span { font-size: 14px; }
  .official-topbar { grid-template-columns: 1fr auto; min-height: 66px; }
  .official-nav { display: none; }
  .official-login-top { font-size: 0; }
  .official-login-top::after { content: "Ingresar"; font-size: 13px; }
  .official-hero { grid-template-columns: 1fr; width: min(100% - 28px, 680px); padding: 44px 0 62px; }
  .official-carousel { min-height: 320px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 12px; }
  .official-card-grid { grid-template-columns: 1fr; }
  .official-profile-grid { grid-template-columns: 1fr; }
  .official-payment-data { grid-template-columns: 1fr; }
  .official-cta { align-items: flex-start; flex-direction: column; }
  .official-footer { flex-direction: column; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .official-hero { grid-template-columns: 1fr; }
  .official-carousel { min-height: 460px; }
  .official-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ========================================================================== */
/* PORTADA COMERCIAL — NUESTRO CONJUNTO                                       */
/* ========================================================================== */
.marketing-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 7%, rgba(45, 212, 191, .16), transparent 27rem),
    linear-gradient(180deg, #f7fbfa 0, #fff 34rem, #fff 100%);
}
.marketing-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(230px, auto) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 12px max(20px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(207, 225, 222, .82);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}
.marketing-brand img { width: 44px; height: 44px; }
.marketing-nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 40px); }
.marketing-nav a { color: #486370; font-size: 13px; font-weight: 760; text-decoration: none; }
.marketing-nav a:hover, .marketing-nav a:focus-visible { color: var(--brand); }
.client-menu { position: relative; }
.client-menu summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid #cadbd8;
  border-radius: 10px;
  color: var(--brand-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.client-menu summary::-webkit-details-marker { display: none; }
.client-menu summary::after { content: "⌄"; color: #789097; font-size: 14px; }
.client-menu[open] summary { border-color: #7cbfb5; box-shadow: 0 0 0 3px rgba(15, 118, 110, .1); }
.client-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 250px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #d6e4e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(12, 54, 66, .16);
}
.client-menu-panel > span { padding: 7px 9px 5px; color: #7b9098; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.client-menu-panel a { padding: 10px 11px; border-radius: 8px; color: #294b58; font-size: 13px; font-weight: 750; text-decoration: none; }
.client-menu-panel a:hover, .client-menu-panel a:focus-visible { color: #0f766e; background: #eaf7f4; }
.marketing-main { display: block; }
.marketing-hero {
  width: min(1240px, calc(100% - 40px));
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(62px, 8vw, 108px) 0 clamp(72px, 9vw, 120px);
}
.marketing-hero-copy { position: relative; z-index: 2; }
.marketing-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #cbe8e2;
  border-radius: 999px;
  color: #0d655f;
  background: rgba(234, 247, 244, .8);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.marketing-pill span { width: 8px; height: 8px; border-radius: 50%; background: #21a88c; box-shadow: 0 0 0 5px rgba(33, 168, 140, .12); }
.marketing-hero h1 { max-width: 680px; margin: 24px 0 22px; color: #0b2c3b; font-size: clamp(48px, 5.5vw, 76px); line-height: .98; letter-spacing: -.055em; }
.marketing-hero h1 em { color: #0f766e; font-style: normal; }
.marketing-hero .lead { max-width: 625px; margin: 0; color: #526d79; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.62; }
.marketing-actions { margin-top: 32px; }
.marketing-primary { padding-inline: 24px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 9px 20px; margin: 25px 0 0; padding: 0; color: #5a747e; list-style: none; font-size: 12px; font-weight: 720; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust li::before { content: "✓"; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #0f766e; background: #dff6f1; font-size: 10px; font-weight: 900; }
.product-showcase { position: relative; z-index: 1; min-width: 0; padding: 28px 0 34px; }
.showcase-glow { position: absolute; inset: -70px -80px -70px -90px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(45, 212, 191, .24), rgba(14, 116, 144, .08) 45%, transparent 70%); filter: blur(12px); }
.dashboard-window { overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 22px; background: #fff; box-shadow: 0 32px 70px rgba(10, 56, 68, .2), 0 0 0 1px rgba(127, 173, 166, .16); transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.dashboard-topbar { height: 58px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 9px 16px; border-bottom: 1px solid #e4eceb; }
.dashboard-logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #e8f5f2; }
.dashboard-logo img { width: 25px; height: 25px; }
.dashboard-title { color: #264955; font-size: 12px; font-weight: 820; }
.dashboard-avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #0f766e, #164e63); font-size: 9px; font-weight: 850; }
.dashboard-layout { min-height: 395px; display: grid; grid-template-columns: 54px 1fr; background: #f6f9f9; }
.dashboard-sidebar { display: grid; align-content: start; justify-items: center; gap: 18px; padding-top: 24px; border-right: 1px solid #e2ebea; background: #fff; }
.dashboard-sidebar span { width: 19px; height: 6px; border-radius: 999px; background: #dce8e6; }
.dashboard-sidebar span.active { height: 19px; border-radius: 6px; background: #0f766e; box-shadow: 0 6px 13px rgba(15,118,110,.25); }
.dashboard-content { min-width: 0; padding: 24px; }
.dashboard-welcome { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dashboard-welcome div { display: grid; gap: 4px; }
.dashboard-welcome small { color: #82969d; font-size: 9px; }
.dashboard-welcome strong { color: #173b49; font-size: 17px; }
.dashboard-welcome > span { padding: 7px 9px; border-radius: 7px; color: #0f766e; background: #e5f5f1; font-size: 8px; font-weight: 800; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 13px; }
.dashboard-metrics article { min-width: 0; display: grid; gap: 5px; padding: 13px; border: 1px solid #e1ebea; border-radius: 12px; background: #fff; }
.dashboard-metrics i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; font-size: 10px; font-style: normal; font-weight: 900; }
.metric-teal { color: #0f766e; background: #dff6f1; }
.metric-blue { color: #165d7a; background: #e2f0f5; }
.metric-orange { color: #b45309; background: #ffedd5; }
.dashboard-metrics small { color: #80949b; font-size: 8px; }
.dashboard-metrics strong { overflow: hidden; color: #224450; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-bottom { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(130px, .75fr); gap: 11px; }
.activity-card, .quick-card { min-width: 0; padding: 14px; border: 1px solid #e1ebea; border-radius: 12px; background: #fff; }
.mock-heading { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.mock-heading strong, .quick-card > strong { color: #244754; font-size: 10px; }
.mock-heading span { color: #84979d; font-size: 8px; }
.activity-card p { display: flex; align-items: center; gap: 7px; margin: 8px 0; color: #607a84; font-size: 8px; }
.activity-card p i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #2bb69b; box-shadow: 0 0 0 3px #ddf5ef; }
.quick-card { display: grid; align-content: start; gap: 7px; }
.quick-card button { min-height: 27px; padding: 5px 7px; border: 1px solid #dbe8e5; border-radius: 6px; color: #42616c; background: #f8fbfa; font-size: 7px; text-align: left; }
.showcase-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.8); border-radius: 13px; background: rgba(255,255,255,.95); box-shadow: 0 18px 38px rgba(10, 56, 68, .18); backdrop-filter: blur(12px); }
.showcase-float > span { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 29px; border-radius: 9px; color: #fff; background: #0f766e; font-size: 11px; font-weight: 900; }
.showcase-float div { display: grid; gap: 2px; }
.showcase-float strong { color: #173b49; font-size: 10px; }
.showcase-float small { color: #748991; font-size: 8px; }
.float-resident { left: -34px; bottom: -3px; }
.float-message { top: -3px; right: -26px; }
.float-message > span { color: #0f766e; background: #dff6f1; }
.value-strip { width: min(1240px, calc(100% - 40px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; border-block: 1px solid #dce8e6; }
.value-strip p { min-width: 0; display: grid; gap: 5px; margin: 0; padding: 25px clamp(18px, 3vw, 38px); border-right: 1px solid #dce8e6; }
.value-strip p:last-child { border-right: 0; }
.value-strip strong { color: #173b49; font-size: 15px; }
.value-strip span { color: #71878f; font-size: 12px; line-height: 1.45; }
.marketing-section { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: clamp(76px, 9vw, 126px) 0; scroll-margin-top: 75px; }
.marketing-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 50px; align-items: end; margin-bottom: 40px; }
.marketing-heading h2, .experience-copy h2, .marketing-cta h2 { margin: 10px 0 0; color: #0d3040; font-size: clamp(34px, 4.2vw, 53px); line-height: 1.06; letter-spacing: -.045em; }
.marketing-heading > p, .centered-heading > p { margin: 0; color: #607985; font-size: 16px; line-height: 1.65; }
.centered-heading { max-width: 820px; display: block; margin-inline: auto; text-align: center; }
.centered-heading h2 { margin-bottom: 18px; }
.audience-section { padding-bottom: clamp(82px, 10vw, 132px); }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.audience-card { position: relative; overflow: hidden; min-height: 390px; padding: clamp(28px, 4vw, 48px); border: 1px solid #d9e6e3; border-radius: 24px; }
.audience-card::after { content: ""; position: absolute; width: 270px; height: 270px; right: -115px; bottom: -140px; border-radius: 50%; opacity: .6; }
.audience-council { background: linear-gradient(145deg, #f1faf7, #fff); }
.audience-council::after { background: #c8f2e7; }
.audience-company { background: linear-gradient(145deg, #eff7fa, #fff); }
.audience-company::after { background: #d0eaf1; }
.audience-label { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: #0f766e; background: rgba(255,255,255,.8); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.audience-card h3 { max-width: 500px; margin: 22px 0 13px; color: #143746; font-size: clamp(25px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.03em; }
.audience-card > p { max-width: 540px; color: #5a747f; line-height: 1.6; }
.audience-card ul { position: relative; z-index: 1; display: grid; gap: 11px; margin: 23px 0 0; padding: 0; list-style: none; }
.audience-card li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; color: #345561; font-size: 13px; line-height: 1.45; }
.audience-card li::before { content: "✓"; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #0f766e; background: #d9f3ec; font-size: 10px; font-weight: 900; }
.solutions-section { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - 1240px) / 2)); background: #f2f7f6; }
.solutions-section .marketing-heading { max-width: 1240px; margin-inline: auto; }
.solutions-grid { width: min(1240px, 100%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 auto; }
.solution-card { min-width: 0; min-height: 260px; display: flex; flex-direction: column; padding: 24px; border: 1px solid #dbe7e5; border-radius: 17px; background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.solution-card:hover { border-color: #a9d6cd; box-shadow: 0 18px 38px rgba(15, 76, 86, .09); transform: translateY(-3px); }
.solution-card.featured-solution { color: #fff; border-color: transparent; background: linear-gradient(145deg, #0f766e, #164e63); }
.solution-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 21px; border-radius: 12px; color: #0f766e; background: #dff6f1; font-size: 20px; font-weight: 900; }
.featured-solution .solution-icon { color: #fff; background: rgba(255,255,255,.16); }
.solution-card small { color: #0f766e; font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.featured-solution small { color: #99f6e4; }
.solution-card h3 { margin: 9px 0 10px; color: #183c49; font-size: 19px; line-height: 1.2; }
.featured-solution h3 { color: #fff; }
.solution-card p { margin: 0; color: #647d86; font-size: 13px; line-height: 1.58; }
.featured-solution p { color: #d5efeb; }
.experience-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: clamp(50px, 8vw, 105px); align-items: center; }
.experience-copy > p { color: #5d7781; font-size: 16px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: #0f766e; font-weight: 850; text-decoration: none; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.experience-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.experience-steps li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid #dce8e6; }
.experience-steps li:first-child { border-top: 1px solid #dce8e6; }
.experience-steps li > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: #0f766e; background: #dff6f1; font-size: 12px; font-weight: 900; }
.experience-steps h3 { margin: 1px 0 7px; color: #193e4b; font-size: 20px; }
.experience-steps p { margin: 0; color: #627c86; font-size: 14px; line-height: 1.55; }
.marketing-cta { width: min(1240px, calc(100% - 40px)); display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; margin: 0 auto clamp(76px, 9vw, 120px); padding: clamp(34px, 5vw, 60px); overflow: hidden; border-radius: 28px; color: #fff; background: radial-gradient(circle at 90% 20%, rgba(45,212,191,.26), transparent 22rem), linear-gradient(135deg, #0c4f5c, #0f766e); box-shadow: 0 24px 60px rgba(13, 77, 87, .22); }
.marketing-cta .eyebrow { color: #99f6e4; }
.marketing-cta h2 { color: #fff; }
.marketing-cta p { max-width: 710px; margin: 14px 0 0; color: #d7efec; line-height: 1.6; }
.cta-light { min-width: 230px; color: #0d5e5d; background: #fff; box-shadow: none; text-align: center; }
.marketing-footer { min-height: 120px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; padding: 27px max(20px, calc((100vw - 1240px) / 2)); border-top: 1px solid #dce8e6; color: #71868e; background: #f8fbfa; font-size: 12px; }
.marketing-footer .brand img { width: 38px; height: 38px; }
.marketing-footer p { margin: 0; }
.marketing-footer-meta { display: flex; align-items: center; gap: 18px; }
.marketing-footer-meta a { color: #41616d; font-weight: 780; text-decoration: none; }
.marketing-footer-meta a:hover, .marketing-footer-meta a:focus-visible { color: var(--brand); text-decoration: underline; }
.whatsapp-float { position: fixed; right: clamp(18px, 3vw, 34px); bottom: clamp(18px, 3vw, 30px); z-index: 90; min-height: 54px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 17px 10px 13px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; color: #fff; background: #1da851; box-shadow: 0 16px 38px rgba(8, 91, 42, .32); font-size: 13px; font-weight: 850; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { box-shadow: 0 20px 44px rgba(8, 91, 42, .4); transform: translateY(-3px); }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }

@media (max-width: 1100px) {
  .marketing-hero { grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); gap: 36px; }
  .solutions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-content { padding: 19px; }
  .float-resident { left: -12px; }
  .float-message { right: -10px; }
}

@media (max-width: 860px) {
  .marketing-header { grid-template-columns: 1fr auto; padding-inline: 18px; }
  .marketing-nav { display: none; }
  .marketing-hero { grid-template-columns: 1fr; width: min(100% - 34px, 720px); padding-top: 58px; }
  .marketing-hero-copy { text-align: center; }
  .marketing-pill, .marketing-actions, .hero-trust { justify-content: center; margin-inline: auto; }
  .marketing-hero .lead { margin-inline: auto; }
  .product-showcase { width: min(650px, 100%); margin: 5px auto 0; }
  .value-strip { grid-template-columns: 1fr; width: min(100% - 34px, 720px); }
  .value-strip p { border-right: 0; border-bottom: 1px solid #dce8e6; text-align: center; }
  .value-strip p:last-child { border-bottom: 0; }
  .marketing-heading { grid-template-columns: 1fr; gap: 16px; }
  .audience-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-section { grid-template-columns: 1fr; }
  .marketing-cta { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .cta-light { justify-self: center; }
  .marketing-footer { grid-template-columns: 1fr; justify-items: center; gap: 12px; text-align: center; }
  .marketing-footer-meta { flex-direction: column; gap: 8px; }
}

/* ========================================================================== */
/* INFORMACIÓN LEGAL — NUESTRO CONJUNTO                                      */
/* ========================================================================== */
.legal-shell { min-height: 100vh; background: linear-gradient(180deg, #f5fbf9 0, #fff 30rem); }
.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(207, 225, 222, .88);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
}
.legal-header-actions { display: flex; align-items: center; gap: 18px; }
.legal-header-actions a:not(.button) { color: #486370; font-size: 13px; font-weight: 760; text-decoration: none; }
.legal-header-actions a:not(.button):hover { color: var(--brand); }
.legal-header .button { min-height: 40px; padding: 8px 15px; font-size: 12px; box-shadow: none; }
.legal-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 62px 0 96px; }
.legal-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); gap: clamp(38px, 7vw, 88px); align-items: end; padding: 24px 0 58px; }
.legal-hero h1 { max-width: 820px; margin: 15px 0 20px; font-size: clamp(43px, 6vw, 68px); }
.legal-hero .lead { margin: 0; font-size: clamp(17px, 2vw, 20px); }
.legal-version { padding: 22px; border: 1px solid #cae2de; border-radius: 18px; background: #fff; box-shadow: 0 14px 38px rgba(15, 76, 86, .08); }
.legal-version span { display: block; color: #70868e; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-version strong { display: block; margin-top: 6px; color: #173b49; font-size: 18px; }
.legal-version p { margin: 12px 0 0; color: #617a84; font-size: 13px; line-height: 1.55; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; }
.legal-toc { position: sticky; top: 102px; display: grid; gap: 4px; padding: 16px; border: 1px solid #d8e7e4; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(15, 76, 86, .06); }
.legal-toc strong { padding: 5px 9px 9px; color: #173b49; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.legal-toc a { padding: 9px; border-radius: 8px; color: #56717b; font-size: 12px; font-weight: 720; line-height: 1.35; text-decoration: none; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: #0f766e; background: #eaf7f4; }
.legal-content { min-width: 0; display: grid; gap: 22px; }
.legal-card { scroll-margin-top: 100px; padding: clamp(26px, 4vw, 42px); border: 1px solid #dce8e6; border-radius: 21px; background: #fff; box-shadow: 0 15px 38px rgba(15, 76, 86, .055); }
.legal-card h2 { margin: 0 0 20px; color: #103848; font-size: clamp(27px, 3vw, 36px); letter-spacing: -.035em; }
.legal-card h3 { margin: 28px 0 10px; color: #174757; font-size: 18px; }
.legal-card h3:first-of-type { margin-top: 8px; }
.legal-card p, .legal-card li { color: #506b76; font-size: 14px; line-height: 1.72; }
.legal-card p { margin: 0 0 14px; }
.legal-card ul, .legal-card ol { margin: 10px 0 18px; padding-left: 22px; }
.legal-card li { margin: 7px 0; }
.legal-card a { color: #0f766e; font-weight: 760; }
.legal-callout { margin: 20px 0; padding: 18px 20px; border-left: 4px solid #0f766e; border-radius: 0 12px 12px 0; color: #315966; background: #eaf7f4; font-size: 14px; line-height: 1.65; }
.legal-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.legal-role { padding: 19px; border: 1px solid #d9e8e5; border-radius: 14px; background: #f8fbfa; }
.legal-role span { display: block; color: #0f766e; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.legal-role strong { display: block; margin: 7px 0; color: #173b49; font-size: 16px; }
.legal-role p { margin: 0; font-size: 13px; }
.legal-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 4px; }
.legal-contact div { min-width: 0; padding: 15px; border: 1px solid #dce8e6; border-radius: 12px; background: #f8fbfa; }
.legal-contact small { display: block; margin-bottom: 5px; color: #748a92; font-size: 10px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.legal-contact strong, .legal-contact a { color: #244b58; font-size: 13px; overflow-wrap: anywhere; }
.legal-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; padding: 27px max(20px, calc((100vw - 1180px) / 2)); border-top: 1px solid #dce8e6; color: #71868e; background: #f8fbfa; font-size: 12px; }
.legal-footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.legal-footer a { color: #41616d; font-weight: 760; text-decoration: none; }
.legal-footer a:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 820px) {
  .legal-header-actions a:not(.button) { display: none; }
  .legal-hero { grid-template-columns: 1fr; gap: 25px; }
  .legal-layout { grid-template-columns: 1fr; gap: 22px; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc strong { grid-column: 1 / -1; }
  .legal-role-grid, .legal-contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .legal-header { min-height: 67px; padding-inline: 14px; }
  .legal-header .brand img { width: 38px; height: 38px; }
  .legal-header .brand-copy span { font-size: 14px; }
  .legal-header .brand-copy small { display: none; }
  .legal-header .button { min-height: 38px; padding-inline: 11px; }
  .legal-main { width: calc(100% - 28px); padding-top: 40px; }
  .legal-hero { padding-bottom: 38px; }
  .legal-hero h1 { font-size: 42px; }
  .legal-toc { grid-template-columns: 1fr; }
  .legal-toc strong { grid-column: auto; }
  .legal-card { padding: 24px 20px; border-radius: 16px; }
  .legal-footer { grid-template-columns: 1fr; text-align: center; }
  .legal-footer-nav { justify-content: center; }
}

@media (max-width: 560px) {
  .marketing-header { min-height: 67px; }
  .marketing-brand img { width: 38px; height: 38px; }
  .marketing-brand .brand-copy span { font-size: 14px; }
  .marketing-brand .brand-copy small { display: none; }
  .client-menu summary { min-height: 39px; padding: 8px 11px; font-size: 11px; }
  .client-menu-panel { position: fixed; top: 72px; right: 13px; width: min(270px, calc(100vw - 26px)); }
  .marketing-hero { width: min(100% - 28px, 540px); min-height: auto; padding: 46px 0 70px; }
  .marketing-pill { font-size: 9px; }
  .marketing-hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .marketing-hero .lead { font-size: 16px; }
  .marketing-actions { display: grid; }
  .marketing-actions .button { width: 100%; }
  .hero-trust { display: grid; justify-content: start; max-width: 310px; text-align: left; }
  .product-showcase { padding-top: 8px; }
  .dashboard-window { transform: none; border-radius: 16px; }
  .dashboard-layout { min-height: 320px; grid-template-columns: 38px 1fr; }
  .dashboard-sidebar { gap: 14px; }
  .dashboard-content { padding: 13px; }
  .dashboard-welcome strong { font-size: 13px; }
  .dashboard-welcome > span { display: none; }
  .dashboard-metrics { gap: 6px; margin-top: 15px; }
  .dashboard-metrics article { padding: 9px; }
  .dashboard-metrics strong { font-size: 8px; }
  .dashboard-bottom { grid-template-columns: 1fr; }
  .quick-card { display: none; }
  .showcase-float { padding: 8px 10px; }
  .showcase-float > span { width: 24px; height: 24px; flex-basis: 24px; }
  .float-resident { left: -5px; bottom: -25px; }
  .float-message { top: -27px; right: -4px; }
  .marketing-section { width: min(100% - 28px, 540px); padding: 72px 0; }
  .solutions-section { width: 100%; padding-inline: 14px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }
  .audience-card { min-height: auto; padding: 28px 24px; }
  .marketing-heading h2, .experience-copy h2, .marketing-cta h2 { font-size: 36px; }
  .marketing-cta { width: calc(100% - 28px); padding: 32px 22px; border-radius: 20px; }
  .cta-light { width: 100%; min-width: 0; }
  .whatsapp-float { width: 56px; height: 56px; justify-content: center; padding: 0; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* v16.3.2-r3 — extensión aislada para reCAPTCHA del portal residente.
   No modifica reglas existentes y solo se muestra cuando Apps Script exige CAPTCHA. */
.portal-recaptcha-dock {
  display: none;
  min-height: 118px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -8px 24px rgba(15, 76, 86, .08);
}
.portal-recaptcha-dock.visible { display: block; }
.portal-recaptcha-inner {
  width: min(760px, 100%);
  min-height: 98px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.portal-recaptcha-copy { max-width: 360px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.portal-recaptcha-copy strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 14px; }
.portal-recaptcha-status { margin-top: 4px; color: var(--muted); font-size: 12px; }
.portal-recaptcha-status.error { color: var(--danger); font-weight: 700; }
.portal-shell.portal-recaptcha-active .portal-frame { height: calc(100vh - 58px - 118px); }
@media (max-width: 520px) {
  .portal-recaptcha-dock { min-height: 154px; padding: 8px 6px; }
  .portal-recaptcha-inner { min-height: 138px; gap: 6px; }
  .portal-recaptcha-copy { max-width: 100%; text-align: center; font-size: 12px; }
  .portal-shell.portal-recaptcha-active .portal-frame { height: calc(100vh - 58px - 154px); }
  #portalRecaptchaMount { transform: scale(.88); transform-origin: top center; margin-bottom: -8px; }
}
