/* =========================================================
   RVZ INGENIERÍA SAS · Tema claro corporativo
   ========================================================= */
:root {
  --rvz-navy: #0b2a55;
  --rvz-navy-2: #12396f;
  --rvz-blue: #0e5fb4;
  --rvz-blue-2: #0b4f97;
  --rvz-cyan: #1cb5e0;
  --rvz-cyan-soft: #e6f6fc;
  --rvz-blue-soft: #e9f1fb;
  --rvz-green: #2e9e4f;
  --rvz-green-soft: #e7f6ec;
  --rvz-amber: #c98a00;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --border: #e2e8f2;
  --text: #0f1b2d;
  --muted: #5b6678;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 85, .06), 0 2px 8px rgba(11, 42, 85, .05);
  --shadow: 0 10px 30px rgba(11, 42, 85, .08), 0 2px 6px rgba(11, 42, 85, .05);
  --shadow-lg: 0 24px 60px rgba(11, 42, 85, .14), 0 6px 16px rgba(11, 42, 85, .06);
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--rvz-navy); letter-spacing: -.015em; }
a { color: var(--rvz-blue); }
a:hover { color: var(--rvz-navy); }
::selection { background: var(--rvz-cyan); color: #fff; }
img { max-width: 100%; }

/* ---------------------------------------------------- botones */
.btn { border-radius: 12px; font-weight: 600; }
.btn-rvz, .btn-rvz-outline, .btn-rvz-light {
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.4rem; font-size: .97rem; font-weight: 600;
  border-radius: 12px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-rvz { background: var(--rvz-blue); color: #fff; border: 1px solid var(--rvz-blue); box-shadow: 0 8px 20px rgba(14, 95, 180, .25); }
.btn-rvz:hover { background: var(--rvz-navy); border-color: var(--rvz-navy); color: #fff; transform: translateY(-2px); }
.btn-rvz-outline { background: #fff; color: var(--rvz-navy); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-rvz-outline:hover { border-color: var(--rvz-blue); color: var(--rvz-blue); transform: translateY(-2px); }
.btn-rvz-light { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-rvz-light:hover { background: #fff; color: var(--rvz-navy); }
.btn-wa { background: #1fa855; border-color: #1fa855; color: #fff; box-shadow: 0 8px 20px rgba(31, 168, 85, .25); }
.btn-wa:hover { background: #178f47; border-color: #178f47; color: #fff; }

/* ---------------------------------------------------- navegación */
.rvz-nav { background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%); border-bottom: 1px solid transparent; padding: .9rem 0; transition: padding .3s, background .3s, box-shadow .3s, border-color .3s; }
.rvz-nav.is-scrolled { background: rgba(255, 255, 255, .97); padding: .5rem 0; border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.rvz-nav .navbar-brand img { height: 40px; width: auto; transition: height .3s; }
.rvz-nav.is-scrolled .navbar-brand img { height: 34px; }
.rvz-nav .nav-link { color: var(--text) !important; font-weight: 500; font-size: .93rem; padding: .5rem .75rem !important; border-radius: 10px; }
.rvz-nav .nav-link:hover, .rvz-nav .nav-link.active { color: var(--rvz-blue) !important; background: var(--rvz-blue-soft); }
.rvz-nav .dropdown-menu { border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: .4rem; }
.rvz-nav .dropdown-item { border-radius: 10px; padding: .55rem .8rem; font-weight: 500; }
.rvz-nav .dropdown-item i { color: var(--rvz-blue); margin-right: .45rem; }
.rvz-nav .dropdown-item:active { background: var(--rvz-blue); }
.rvz-nav .btn-nav { padding: .5rem 1rem; font-size: .9rem; }
@media (max-width: 991px) {
  .rvz-nav .navbar-collapse { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: .6rem; margin-top: .6rem; box-shadow: var(--shadow); }
  .rvz-nav .btn-nav { width: 100%; justify-content: center; margin-top: .4rem; }
}

/* ---------------------------------------------------- secciones */
.section { padding: 6rem 0; position: relative; }
.section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.navy { background: linear-gradient(135deg, var(--rvz-navy) 0%, var(--rvz-navy-2) 60%, #0e4a8a 100%); color: #dbe6f5; }
.section.navy h2, .section.navy h3, .section.navy h4 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rvz-blue); }
.eyebrow::before { content: ""; width: 18px; height: 10px; background:
  linear-gradient(135deg, transparent 45%, var(--rvz-cyan) 45%, var(--rvz-cyan) 62%, transparent 62%) 0 0 / 9px 10px no-repeat,
  linear-gradient(45deg, transparent 38%, var(--rvz-cyan) 38%, var(--rvz-cyan) 55%, transparent 55%) 0 0 / 9px 10px no-repeat,
  linear-gradient(135deg, transparent 45%, var(--rvz-blue) 45%, var(--rvz-blue) 62%, transparent 62%) 8px 0 / 9px 10px no-repeat,
  linear-gradient(45deg, transparent 38%, var(--rvz-blue) 38%, var(--rvz-blue) 55%, transparent 55%) 8px 0 / 9px 10px no-repeat; }
.section.navy .eyebrow { color: var(--rvz-cyan); }
.title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.18; margin: .8rem 0 1rem; }
.lead-rvz { font-size: 1.07rem; color: var(--muted); max-width: 760px; }
.text-center .lead-rvz { margin-inline: auto; }
.section.navy .lead-rvz { color: #c8d6ea; }
.accent { color: var(--rvz-blue); font-weight: 700; }

/* ---------------------------------------------------- hero */
.hero { position: relative; padding: 9rem 0 5rem; overflow: hidden;
  background:
    radial-gradient(800px 420px at 88% 18%, rgba(28, 181, 224, .14), transparent 70%),
    radial-gradient(640px 380px at 0% 100%, rgba(14, 95, 180, .10), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%230e5fb4' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 40h40l20 20h40M100 60l20-20h40M20 120h50l20-20h30M120 100v40M40 40V0M90 160v-40l20-20'/%3E%3C/g%3E%3Cg fill='%231cb5e0' fill-opacity='.22'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='100' cy='60' r='3'/%3E%3Ccircle cx='70' cy='120' r='3'/%3E%3Ccircle cx='120' cy='100' r='3'/%3E%3Ccircle cx='110' cy='100' r='2'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin: 1rem 0 1.2rem; }
.hero h1 .hl { background: linear-gradient(90deg, var(--rvz-blue), var(--rvz-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead-rvz { font-size: 1.12rem; }
.hero-sm { padding: 8.5rem 0 4rem; }
.hero-sm h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); }

.hero-media { position: relative; }
.hero-media .frame { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #fff; }
.hero-media .frame img, .hero-media .frame video { display: block; width: 100%; height: auto; }
.hero-media::before { content: ""; position: absolute; z-index: -1; right: -16px; bottom: -16px; width: 58%; height: 62%; border-radius: 24px; background: linear-gradient(135deg, var(--rvz-cyan), var(--rvz-blue)); opacity: .9; }
.hero-media::after { content: ""; position: absolute; z-index: -1; left: -16px; top: -16px; width: 32%; height: 34%; border-radius: 22px; background: radial-gradient(var(--rvz-blue) 1.3px, transparent 1.5px) 0 0 / 14px 14px; opacity: .35; }
.float-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: .6rem .9rem; box-shadow: var(--shadow); font-weight: 600; font-size: .86rem; color: var(--rvz-navy); animation: floaty 5s ease-in-out infinite; }
.float-badge i { color: var(--rvz-blue); font-size: 1.05rem; }
.float-badge.b1 { left: -18px; top: 14%; }
.float-badge.b2 { right: -14px; bottom: 12%; animation-delay: -2.5s; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.65rem; color: var(--rvz-blue); line-height: 1.1; }
.stat span { font-size: .8rem; color: var(--muted); }
.section.navy .stat { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.section.navy .stat strong { color: #fff; }
.section.navy .stat span { color: #b8c8df; }

/* ---------------------------------------------------- tarjetas */
.card-rvz { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); height: 100%; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative; overflow: hidden; }
.card-rvz.hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(14, 95, 180, .28); }
.card-rvz .pad, .card-rvz.pad { padding: 1.6rem; }
.section.alt .card-rvz.soft { background: var(--bg); }
.ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem; color: var(--rvz-blue); background: var(--rvz-blue-soft); flex: 0 0 auto; }
.ico.cyan { color: #0b88ad; background: var(--rvz-cyan-soft); }
.ico.green { color: var(--rvz-green); background: var(--rvz-green-soft); }
.ico.navy { color: #fff; background: var(--rvz-navy); }
.card-rvz h3, .card-rvz h4 { font-size: 1.08rem; font-weight: 700; margin: 1rem 0 .5rem; }
.card-rvz p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; }
.checks li { position: relative; padding-left: 1.6rem; font-size: .93rem; }
.checks li::before { content: "\F26E"; font-family: bootstrap-icons; color: var(--rvz-green); font-size: 1rem; line-height: 1.5; position: absolute; left: 0; top: 0; }

.service-card .media { height: 170px; overflow: hidden; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .media img { transform: scale(1.06); }
.service-card .media .ico { position: absolute; left: 1.2rem; top: 146px; z-index: 3; box-shadow: var(--shadow); background: #fff; }
.service-card .pad { padding-top: 2.2rem; }
.card-rvz::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--rvz-blue), var(--rvz-cyan)); transition: width .4s ease; z-index: 2; }
.card-rvz.hover:hover::before { width: 100%; }

.mv-card { padding: 1.8rem; }
.mv-card h3 { display: flex; align-items: center; gap: .7rem; margin-top: 0; }

.callout { display: flex; gap: 1.2rem; align-items: center; padding: 1.6rem 1.8rem; border-radius: 18px; background: linear-gradient(135deg, var(--rvz-blue-soft), var(--rvz-cyan-soft)); border: 1px solid #d3e4f7; }
.callout h4 { margin: 0 0 .3rem; font-size: 1.1rem; }
.callout p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------- productos */
.filter-bar { display: inline-flex; flex-wrap: wrap; gap: .35rem; padding: .35rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.filter-bar button { border: 0; background: transparent; padding: .5rem 1rem; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.filter-bar button.active { background: var(--rvz-blue); color: #fff; }
.filter-bar button:not(.active):hover { background: var(--rvz-blue-soft); color: var(--rvz-blue); }
.product { padding: 1.4rem; display: flex; flex-direction: column; gap: .2rem; }
.product .top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.product h4 { margin: .9rem 0 .35rem; font-size: 1.05rem; }
.product .tag { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: var(--rvz-blue-soft); color: var(--rvz-blue); }
.product .tag.edu { background: var(--rvz-green-soft); color: var(--rvz-green); }
.product .tag.inn { background: var(--rvz-cyan-soft); color: #0b88ad; }
.product a.more { margin-top: auto; padding-top: .8rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
.product-col.is-hidden { display: none; }

/* ---------------------------------------------------- pasos / timeline */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; counter-reset: paso; }
.step { position: relative; padding: 1.4rem 1.1rem; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); counter-increment: paso; }
.step::before { content: counter(paso, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: #fff; background: linear-gradient(135deg, var(--rvz-blue), var(--rvz-cyan)); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: .8rem; }
.step h4 { font-size: 1rem; margin: 0 0 .35rem; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 1199px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .steps { grid-template-columns: 1fr; } }

/* ODS */
.ods-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; }
.ods-card img { width: 86px; height: 86px; border-radius: 12px; flex: 0 0 auto; object-fit: cover; }
.ods-card h4 { margin: 0 0 .35rem; font-size: 1rem; }

/* organismos / convocatorias */
.org-card { padding: 1.6rem; display: flex; flex-direction: column; height: 100%; }
.org-card .org-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: .9rem 0 1.2rem; }
.org-card .org-tags span { font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); }
.org-card .btn-rvz-outline { margin-top: auto; align-self: flex-start; }

/* ---------------------------------------------------- galería / lightbox */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #dfe7f2; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem .9rem; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(11, 42, 85, .88)); }
.gallery figcaption b { display: block; font-size: .95rem; }
@media (max-width: 767px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery figcaption span { display: none; } }
.lightbox .modal-content { background: transparent; border: 0; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 14px; background: #000; }
.lightbox .cap { color: #fff; text-align: center; margin-top: .8rem; }
.lightbox .btn-close { position: absolute; top: -2.4rem; right: 0; filter: invert(1); opacity: .9; }

.photo-card { overflow: hidden; display: flex; flex-direction: column; }
.photo-card .carousel img { height: 210px; object-fit: cover; }
.photo-card .pad { flex: 1; }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 190px; width: auto; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: #fff; }

/* ---------------------------------------------------- FAQ */
.faq .accordion-item { border: 1px solid var(--border); border-radius: 14px !important; overflow: hidden; margin-bottom: .7rem; box-shadow: var(--shadow-sm); }
.faq .accordion-button { font-weight: 600; font-family: var(--font-head); color: var(--rvz-navy); padding: 1.1rem 1.3rem; }
.faq .accordion-button:not(.collapsed) { background: var(--rvz-blue-soft); color: var(--rvz-blue); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(14, 95, 180, .15); }
.faq .accordion-body { color: var(--muted); }

/* ---------------------------------------------------- chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 10px; font-size: .9rem; font-weight: 500; background: #fff; border: 1px solid var(--border); }
.chip i { color: var(--rvz-blue); }
.section.alt .chip { background: var(--bg); }

/* ---------------------------------------------------- contacto */
.contact-card { padding: 2rem; }
.contact-list { display: grid; gap: .7rem; margin-top: 1.2rem; }
.contact-list a { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); text-decoration: none; color: var(--text); font-weight: 600; transition: border-color .2s, box-shadow .2s, transform .2s; }
.contact-list a:hover { border-color: var(--rvz-blue); box-shadow: var(--shadow); transform: translateX(3px); color: var(--text); }
.contact-list small { display: block; font-weight: 500; color: var(--muted); }
.form-control, .form-select { border-radius: 10px; border-color: var(--border); padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: #8db7e6; box-shadow: 0 0 0 .2rem rgba(14, 95, 180, .14); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--rvz-navy); }

.cta-band { border-radius: 22px; padding: 2.6rem; background: linear-gradient(135deg, var(--rvz-navy), #0e4a8a); color: #dbe6f5; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(rgba(28, 181, 224, .45), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band > * { position: relative; z-index: 1; }

/* ---------------------------------------------------- documento (política) */
.doc-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.toc { position: sticky; top: 96px; padding: 1.2rem; }
.toc h6 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.toc a { display: block; padding: .35rem .6rem; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .9rem; }
.toc a:hover { background: var(--rvz-blue-soft); color: var(--rvz-blue); }
.doc { padding: 2.4rem; }
.doc h2 { font-size: 1.2rem; margin: 2rem 0 .7rem; scroll-margin-top: 100px; }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: #37435a; }
.doc ul { padding-left: 1.2rem; }
.doc .meta { display: inline-flex; gap: .4rem; align-items: center; font-size: .85rem; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: .3rem .8rem; }
@media (max-width: 991px) { .doc-wrap { grid-template-columns: 1fr; } .toc { position: static; } .doc { padding: 1.6rem; } }

/* ---------------------------------------------------- footer */
.rvz-footer { background: var(--rvz-navy); color: #b8c8df; padding: 4rem 0 2rem; }
.rvz-footer img.logo { height: 40px; width: auto; margin-bottom: 1rem; }
.rvz-footer h6 { color: #fff; font-family: var(--font-head); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.rvz-footer a { color: #e4ecf7; text-decoration: none; }
.rvz-footer a:hover { color: var(--rvz-cyan); }
.rvz-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.rvz-footer i { color: var(--rvz-cyan); margin-right: .35rem; }
.rvz-footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.6rem; padding-top: 1.4rem; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }

.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 990; width: 54px; height: 54px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 26px rgba(31, 168, 85, .4); text-decoration: none; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------------------------------------------------- animaciones */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------- responsive */
@media (max-width: 991px) {
  .hero { padding-top: 7.5rem; }
  .float-badge.b1 { left: 8px; } .float-badge.b2 { right: 8px; }
  .hero-media::before, .hero-media::after { display: none; }
}
@media (max-width: 767px) {
  .section { padding: 4.2rem 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .callout { flex-direction: column; text-align: center; }
  .cta-band { padding: 1.8rem; }
  .marquee-track img { height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* tutor IA (página GoSmart) */
.tutor-btn { box-shadow: 0 10px 26px rgba(14, 95, 180, .35) !important; }
.lightbox .cap b { display: block; font-size: 1rem; }
.lightbox .cap span { opacity: .85; font-size: .9rem; }
@media (max-width: 575px) {
  .float-badge { display: none; }
  .wa-float { width: 48px; height: 48px; font-size: 1.4rem; left: 14px; bottom: 14px; }
}

/* =========================================================
   Páginas de producto (MarketCosto, GoSaber, PQRSD)
   ========================================================= */
.browser { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.browser .bar { display: flex; align-items: center; gap: .45rem; padding: .55rem .8rem; background: #eef2f8; border-bottom: 1px solid var(--border); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #f2605a; display: inline-block; }
.browser .bar i:nth-child(2) { background: #f6be4f; } .browser .bar i:nth-child(3) { background: #5bc561; }
.browser .bar span { margin-left: .6rem; flex: 1; font-size: .75rem; color: var(--muted); background: #fff; border-radius: 8px; padding: .2rem .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; height: auto; }
.phone { width: 230px; border-radius: 30px; padding: 9px; background: #0f1b2d; box-shadow: var(--shadow-lg); }
.phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.mock-stack { position: relative; padding-right: 70px; }
.mock-stack .phone { position: absolute; right: 0; bottom: -40px; width: 170px; }
@media (max-width: 575px) { .mock-stack { padding-right: 0; } .mock-stack .phone { display: none; } }

.brand-mc { --p: #f7c600; }
.prod-hero .eyebrow { color: var(--rvz-blue); }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.pill-row span { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--rvz-navy); }
.pill-row span i { color: var(--rvz-green); }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-row + .feature-row { margin-top: 5rem; }
.feature-row.rev > :first-child { order: 2; }
@media (max-width: 991px) { .feature-row { grid-template-columns: 1fr; gap: 2rem; } .feature-row.rev > :first-child { order: 0; } .feature-row + .feature-row { margin-top: 3.5rem; } }
.feature-row h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; margin: .6rem 0 .8rem; }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; }
.flow .node { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.3rem; box-shadow: var(--shadow-sm); position: relative; }
.flow .node h4 { font-size: 1rem; margin: .8rem 0 .3rem; }
.flow .node p { font-size: .9rem; color: var(--muted); margin: 0; }
.flow .node:not(:last-child)::after { content: "\F138"; font-family: bootstrap-icons; position: absolute; right: -1.05rem; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: var(--rvz-blue); color: #fff; display: grid; place-items: center; font-size: .95rem; box-shadow: var(--shadow); }
@media (max-width: 767px) { .flow { grid-template-columns: 1fr; } .flow .node:not(:last-child)::after { right: 50%; top: auto; bottom: -1.05rem; transform: translateX(50%) rotate(90deg); } }

.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.module-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .module-grid, .module-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .module-grid, .module-grid.cols-4 { grid-template-columns: 1fr; } }
.module { display: flex; gap: .9rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.section.alt .module { background: var(--bg); }
.module h4 { font-size: .98rem; margin: 0 0 .2rem; }
.module p { font-size: .87rem; color: var(--muted); margin: 0; }

.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 767px) { .two-col-list { grid-template-columns: 1fr; } }
.side-card { padding: 1.6rem; }
.side-card h3 { display: flex; gap: .7rem; align-items: center; margin-top: 0; }

.legal-note { display: flex; gap: .9rem; padding: 1.1rem 1.3rem; border-radius: 14px; background: #fff8e6; border: 1px solid #f3dfa6; color: #5c4400; font-size: .92rem; }
.legal-note i { font-size: 1.3rem; color: #b98400; }

.table-terms { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); background: #fff; }
.table-terms th, .table-terms td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); font-size: .94rem; }
.table-terms tr:last-child td { border-bottom: 0; }
.table-terms th { background: var(--rvz-blue-soft); color: var(--rvz-navy); font-family: var(--font-head); font-size: .85rem; text-align: left; }
.table-terms td b { color: var(--rvz-blue); }

.product-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.product-links a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--rvz-navy); }
.product-links a:hover { border-color: var(--rvz-blue); color: var(--rvz-blue); }
.risk { font-size: .78rem; color: #8a5a00; background: #fff8e6; border-radius: 8px; padding: .35rem .6rem; margin-top: .6rem; }

/* ---------- Menú de productos (3 columnas) y pie con lista en 2 columnas ---------- */
.rvz-nav .dropdown-menu.mega { padding: .6rem; }
.rvz-nav .dropdown-menu.mega .dropdown-header { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .4rem .8rem .2rem; }
.rvz-nav .dropdown-menu.mega .mega-col { list-style: none; }
@media (min-width: 992px) {
  .rvz-nav .dropdown-menu.mega { display: none; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: .2rem .4rem; left: 50%; transform: translateX(-50%); }
  .rvz-nav .dropdown-menu.mega.show { display: grid; }
}
.rvz-footer ul.cols2 { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.section.navy .card-rvz h3, .section.navy .card-rvz h4, .section.navy .flow .node h4 { color: var(--rvz-navy); }
/* Galería de capturas de software: sin recorte */
.gallery.contain figure { background: #fff; border: 1px solid var(--border); }
.gallery.contain img { object-fit: contain; padding: .4rem; }
.gallery.contain figure:hover img { transform: scale(1.03); }
.gallery.contain figure { aspect-ratio: auto; display: flex; flex-direction: column; }
.gallery.contain img { aspect-ratio: 16 / 10; height: auto; }
.gallery.contain figcaption { position: static; background: none; color: var(--rvz-navy); padding: .2rem 1rem .9rem; border-top: 1px solid var(--border); }
.gallery.contain figcaption span { color: var(--muted); font-size: .84rem; }
