@font-face{font-family:"RV DejaVu Sans";src:url("fonts/DejaVuSans.woff") format("woff");font-weight:400;font-display:swap;}
@font-face{font-family:"RV DejaVu Sans";src:url("fonts/DejaVuSans-Bold.woff") format("woff");font-weight:700;font-display:swap;}
@font-face{font-family:"RV DejaVu Serif";src:url("fonts/DejaVuSerif.woff") format("woff");font-weight:400;font-display:swap;}

/* =========================================================
   RITO DE VENECIA MÉXICO - LANDING DIVI COMPLETA
========================================================= */

.rv-mx {
  --rv-navy: #3B1762;
  --rv-navy-2: #3B1762;
  --rv-teal: #7030B0;
  --rv-gold: #B39960;
  --rv-cream: #F6F3EC;
  --rv-paper: #F6F3EC;
  --rv-white: #ffffff;
  --rv-muted: rgba(255,255,255,.74);
  --rv-text: #25212B;
  --rv-border: rgba(179,153,96,.28);
  --rv-shadow: 0 24px 70px rgba(59,23,98,.16);

  font-family: "RV DejaVu Sans", Arial, sans-serif;
  color: var(--rv-text);
  background: var(--rv-paper);
  overflow: hidden;
}

.rv-mx * {
  box-sizing: border-box;
}

.rv-mx h1,
.rv-mx h2,
.rv-mx h3,
.rv-mx h4 {
  font-family: "RV DejaVu Serif", Georgia, serif;
  margin: 0;
  color: var(--rv-navy);
  letter-spacing: -0.03em;
}

.rv-mx p {
  margin: 0;
  line-height: 1.85;
}

.rv-mx a {
  color: inherit;
  text-decoration: none;
}

.rv-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.rv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--rv-gold);
  margin-bottom: 18px;
}

.rv-eyebrow:before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--rv-gold);
  display: block;
}

.rv-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
  transition: all .28s ease;
  cursor: pointer;
  overflow: hidden;
}

.rv-btn > span {
  position: relative;
  z-index: 1;
}

.rv-btn-primary {
  background: linear-gradient(120deg, #e0bd7d, var(--rv-gold) 45%, #e0bd7d);
  background-size: 220% 100%;
  background-position: 0% 0%;
  color: var(--rv-navy-2) !important;
  box-shadow: 0 14px 34px rgba(179,153,96,.26);
  transition: background-position .6s ease, transform .28s ease, box-shadow .28s ease;
}

.rv-btn-primary:hover {
  background-position: 100% 0%;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(179,153,96,.36);
}

.rv-btn-primary:before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
}

.rv-btn-primary:hover:before {
  left: 130%;
}

.rv-btn-secondary {
  color: var(--rv-white) !important;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.rv-btn-secondary:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  transform: scale(1.08);
  opacity: 0;
  transition: all .4s ease;
}

.rv-btn-secondary:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(179,153,96,.5);
  transform: translateY(-2px);
}

.rv-btn-secondary:hover:before {
  border-color: rgba(179,153,96,.3);
  transform: scale(1);
  opacity: 1;
}

/* HERO */

.rv-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 90px 0 70px;
  color: var(--rv-white);
  background: var(--rv-navy-2);
  overflow: hidden;
}

.rv-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.rv-hero-video video,
.rv-hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* fallback visual si el video no carga */
.rv-hero-video img {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.rv-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(59,23,98,.98) 0%, rgba(59,23,98,.91) 45%, rgba(59,23,98,.58) 100%),
    radial-gradient(circle at 20% 20%, rgba(179,153,96,.22), transparent 32%),
    radial-gradient(circle at 80% 45%, rgba(112,48,176,.32), transparent 30%);
}

.rv-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 74px 74px;
  pointer-events: none;
}

.rv-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 50px;
  align-items: center;
}

.rv-hero h1 {
  color: var(--rv-white);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  max-width: 850px;
}

.rv-hero-copy {
  color: var(--rv-muted);
  font-size: 18px;
  max-width: 680px;
  margin-top: 26px;
}

.rv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.rv-hero-card {
  border: 1px solid rgba(179,153,96,.30);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.30);
}

.rv-hero-card h3 {
  color: var(--rv-white);
  font-size: 24px;
  margin-bottom: 14px;
}

.rv-hero-card p {
  color: rgba(255,255,255,.72);
  font-size: 15px;
}

.rv-mini-nav {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.rv-mini-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.84);
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
  transition: all .25s ease;
}

.rv-mini-nav a:hover {
  background: rgba(179,153,96,.16);
  border-color: rgba(179,153,96,.36);
  color: var(--rv-white);
  transform: translateX(4px);
}

.rv-mini-nav a span {
  color: var(--rv-gold);
}

/* SECCIONES */

.rv-section {
  padding: 92px 0;
  position: relative;
}

.rv-section-light {
  background: var(--rv-paper);
}

.rv-section-white {
  background: var(--rv-white);
}

.rv-section-dark {
  background: linear-gradient(135deg, #3B1762, #3B1762);
  color: var(--rv-white);
}

.rv-section-dark h2,
.rv-section-dark h3,
.rv-section-dark h4 {
  color: var(--rv-white);
}

.rv-section-dark p {
  color: rgba(255,255,255,.75);
}

.rv-title-row {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 38px;
  align-items: start;
  margin-bottom: 42px;
}

.rv-title-row h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.rv-title-row p {
  color: rgba(37,33,43,.76);
  font-size: 17px;
}

.rv-section-dark .rv-title-row p {
  color: rgba(255,255,255,.74);
}

/* IMÁGENES */

.rv-media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 460px;
  box-shadow: var(--rv-shadow);
  background: #d8d8d8;
}

.rv-media-frame img,
.rv-media-frame video {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.rv-media-frame:hover img,
.rv-media-frame:hover video {
  transform: scale(1.04);
}

.rv-media-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(59,23,98,0), rgba(59,23,98,.52));
}

.rv-media-label {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--rv-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(59,23,98,.55);
  backdrop-filter: blur(10px);
}

/* OBJETIVOS */

.rv-info-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.rv-info-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.rv-info-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.rv-info-card {
  position: relative;
  background: var(--rv-white);
  border: 1px solid rgba(59,23,98,.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 38px rgba(59,23,98,.07);
  transition: all .25s ease;
  overflow: hidden;
}

.rv-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(59,23,98,.12);
}

.rv-info-card:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0%, var(--rv-gold) 8%, transparent 20%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  animation: rv-card-rotate 3s linear infinite paused;
  pointer-events: none;
}

.rv-info-card:hover:before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes rv-card-rotate {
  to { background: conic-gradient(from 360deg, transparent 0%, var(--rv-gold) 8%, transparent 20%); }
}

.rv-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(179,153,96,.14);
  color: var(--rv-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  transition: transform .5s ease, background .3s ease;
}

.rv-info-card:hover .rv-icon {
  transform: rotate(90deg);
  background: rgba(179,153,96,.26);
}

.rv-info-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.rv-info-card p {
  font-size: 14px;
  color: rgba(37,33,43,.72);
}

.rv-function-card {
  margin-top: 34px;
  background: var(--rv-navy);
  color: var(--rv-white);
  border-radius: 34px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--rv-shadow);
  position: relative;
  overflow: hidden;
}

.rv-function-card:before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  top: -130px;
  border-radius: 50%;
  border: 1px solid rgba(179,153,96,.24);
  box-shadow: inset 0 0 0 70px rgba(179,153,96,.035);
}

.rv-function-card > * {
  position: relative;
  z-index: 1;
}

.rv-function-card h2,
.rv-function-card h3 {
  color: var(--rv-white);
}

.rv-function-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.rv-function-grid article {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
}

.rv-function-grid h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.rv-function-grid p {
  color: rgba(255,255,255,.74);
  font-size: 14px;
}

/* HISTORIA */

.rv-history-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 34px;
  align-items: stretch;
}

.rv-copy-card {
  background: var(--rv-white);
  border: 1px solid rgba(59,23,98,.08);
  border-radius: 34px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--rv-shadow);
}

.rv-copy-card p + p {
  margin-top: 18px;
}

.rv-highlight-lines {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.rv-highlight-lines div {
  padding: 16px 18px;
  border-left: 3px solid var(--rv-gold);
  background: rgba(179,153,96,.09);
  border-radius: 0 16px 16px 0;
  font-weight: 800;
  color: var(--rv-navy);
}

/* PRESENCIA */

.rv-presence-layout {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 34px;
  align-items: center;
}

.rv-presence {
  display: grid;
  gap: 18px;
  counter-reset: rvstep;
}

.rv-presence-card {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(179,153,96,.22);
  border-radius: 28px;
  padding: 28px;
  overflow: hidden;
}

.rv-presence-card:before {
  counter-increment: rvstep;
  content: "0" counter(rvstep);
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(179,153,96,.15);
  border: 1px solid rgba(179,153,96,.32);
  color: var(--rv-gold);
  font-weight: 900;
  margin-bottom: 18px;
}

.rv-presence-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.rv-presence-card p {
  font-size: 15px;
}

/* PROCESO */

.rv-process-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 30px;
  align-items: start;
}

.rv-process-aside {
  position: sticky;
  top: 30px;
  background: var(--rv-navy);
  color: var(--rv-white);
  border-radius: 32px;
  padding: 34px;
  overflow: hidden;
}

.rv-process-aside h2 {
  color: var(--rv-white);
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 18px;
}

.rv-process-aside p {
  color: rgba(255,255,255,.72);
}

.rv-process-media {
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  height: 260px;
  border: 1px solid rgba(255,255,255,.12);
}

.rv-process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rv-process-list {
  display: grid;
  gap: 16px;
}

.rv-process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  background: var(--rv-white);
  border: 1px solid rgba(59,23,98,.08);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 14px 38px rgba(59,23,98,.06);
}

.rv-process-number {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--rv-cream);
  color: var(--rv-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  border: 1px solid rgba(179,153,96,.28);
}

.rv-process-item h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.rv-process-item p {
  color: rgba(37,33,43,.74);
}

/* DOCUMENTOS */

.rv-docs-wrap {
  background: var(--rv-white);
  border-radius: 36px;
  padding: clamp(26px, 4vw, 50px);
  border: 1px solid rgba(59,23,98,.08);
  box-shadow: var(--rv-shadow);
}

.rv-docs-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.rv-docs-head h2 {
  font-size: clamp(30px, 4vw, 50px);
}

.rv-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rv-doc-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--rv-paper);
  border: 1px solid rgba(59,23,98,.08);
}

.rv-doc-card :is(h3,h4) {
  font-size: 18px;
  margin-bottom: 8px;
}

.rv-doc-card p {
  color: rgba(37,33,43,.72);
  font-size: 14px;
}

.rv-doc-card-featured {
  grid-column: span 3;
  background: rgba(179,153,96,.12);
  border-color: rgba(179,153,96,.34);
}

.rv-doc-card-featured h4 {
  color: var(--rv-navy);
}

/* CHECKLIST DE DOCUMENTOS (check dibujado) */

.rv-doc-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.rv-doc-check > span:last-child {
  display: block;
}

.rv-doc-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rv-doc-check .rv-check-box {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid rgba(59,23,98,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 2px;
  transition: all .25s ease;
}

.rv-doc-check svg {
  width: 14px;
  height: 14px;
}

.rv-doc-check svg path {
  fill: none;
  stroke: var(--rv-navy-2);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset .3s ease .05s;
}

.rv-doc-check input:checked ~ .rv-check-box {
  background: var(--rv-gold);
  border-color: var(--rv-gold);
}

.rv-doc-check input:checked ~ .rv-check-box svg path {
  stroke-dashoffset: 0;
}

.rv-doc-card.is-checked {
  border-color: rgba(179,153,96,.4);
  background: rgba(179,153,96,.06);
}

/* SELLO-LOADER (anillo orbital alrededor del logo, el sello nunca gira) */

.rv-seal-loader {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.rv-seal-loader-ring {
  position: relative;
  width: 64px;
  height: 64px;
  flex: none;
}

.rv-seal-loader-ring img {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border-radius: 50%;
  object-fit: contain;
  animation: rv-seal-pulse 2.4s ease-in-out infinite;
}

.rv-seal-loader-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: rv-seal-spin 1.6s linear infinite;
}

.rv-seal-loader-ring circle {
  fill: none;
  stroke: rgba(179,153,96,.2);
  stroke-width: 2.5;
}

.rv-seal-loader-ring path {
  fill: none;
  stroke: var(--rv-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
}

@keyframes rv-seal-spin {
  to { transform: rotate(360deg); }
}

@keyframes rv-seal-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(179,153,96,0)); }
  50% { filter: drop-shadow(0 0 6px rgba(179,153,96,.45)); }
}

.rv-seal-loader-label {
  font-size: 13px;
  color: rgba(37,33,43,.65);
  letter-spacing: .04em;
}

.rv-section-dark .rv-seal-loader-label {
  color: rgba(255,255,255,.6);
}

/* AFILIACIÓN */

.rv-affiliation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.rv-affiliation-copy {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(179,153,96,.22);
  border-radius: 30px;
  padding: clamp(26px, 4vw, 42px);
}

.rv-affiliation-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 22px;
}

.rv-affiliation-copy p + p {
  margin-top: 16px;
}

.rv-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.rv-doc-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  font-size: 14px;
}

.rv-doc-list li:before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--rv-gold);
  font-weight: 900;
}

.rv-note {
  margin-top: 26px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(179,153,96,.13);
  border: 1px solid rgba(179,153,96,.30);
  color: rgba(255,255,255,.82);
}

.rv-note strong {
  color: var(--rv-white);
}

/* CONTACTO */

.rv-contact {
  background: var(--rv-paper);
}

.rv-contact-card {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 30px;
  align-items: center;
  background: var(--rv-navy);
  color: var(--rv-white);
  border-radius: 38px;
  padding: clamp(30px, 5vw, 60px);
  box-shadow: var(--rv-shadow);
  overflow: hidden;
  position: relative;
}

.rv-contact-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(59,23,98,.90) 0%, rgba(59,23,98,.76) 38%, rgba(59,23,98,.72) 100%),
    radial-gradient(circle at 18% 24%, rgba(179,153,96,.20), transparent 28%),
    radial-gradient(circle at 85% 70%, rgba(112,48,176,.24), transparent 30%),
    url("mesa-trabajo-rito-venecia-1600.webp") center center / cover no-repeat;
  pointer-events: none;
}

.rv-contact-card > * {
  position: relative;
  z-index: 1;
}

.rv-contact-card h2 {
  color: var(--rv-white);
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 18px;
}

.rv-contact-card p {
  color: rgba(255,255,255,.78);
}

.rv-contact-card > div:first-child {
  max-width: 520px;
}

.rv-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.rv-contact-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 26px;
}

.rv-contact-box :is(h3,h4) {
  color: var(--rv-white);
  font-size: 22px;
  margin-bottom: 10px;
}



/* FORMULARIO PROPIO (conectado al plugin Rito de Venecia Leads) */

.rv-contact-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.rv-field {
  position: relative;
  width: 100%;
}

.rv-field input,
.rv-field textarea,
.rv-field select {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 28px 18px 12px;
  font-size: 16px;
  line-height: 1.45;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  transition:
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease,
    color .3s ease;
}

.rv-field textarea {
  resize: vertical;
  min-height: 180px;
  padding-top: 30px;
}

.rv-field select {
  appearance: none;
  cursor: pointer;
}

.rv-field select option {
  color: #3B1762;
  background: #ffffff;
}

.rv-field input::placeholder,
.rv-field textarea::placeholder {
  color: rgba(255,255,255,.54);
  -webkit-text-fill-color: rgba(255,255,255,.54) !important;
}

.rv-field label {
  position: absolute;
  left: 18px;
  top: 18px;
  font-size: 15px;
  color: rgba(255,255,255,.62);
  pointer-events: none;
  transition: all .25s ease;
}

.rv-field input:focus,
.rv-field textarea:focus,
.rv-field select:focus {
  border-color: var(--rv-gold);
  background: rgba(255,255,255,.11);
  box-shadow: 0 0 0 3px rgba(179,153,96,.12);
}

.rv-field input:focus + label,
.rv-field input:not(:placeholder-shown) + label,
.rv-field textarea:focus + label,
.rv-field textarea:not(:placeholder-shown) + label,
.rv-field select:focus + label,
.rv-field select:valid + label,
.rv-field-select label {
  top: 9px;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--rv-gold);
}

.rv-field input:-webkit-autofill,
.rv-field input:-webkit-autofill:hover,
.rv-field input:-webkit-autofill:focus,
.rv-field textarea:-webkit-autofill,
.rv-field select:-webkit-autofill {
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 0 1000px rgba(255,255,255,.08) inset !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,.08) inset !important;
  transition: background-color 9999s ease-in-out 0s;
  border: 1px solid rgba(255,255,255,.16) !important;
}

.rv-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.6;
}

.rv-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--rv-gold);
  flex: none;
}

.rv-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.rv-form-submit {
  justify-self: start;
  border: 0;
}

.rv-form-submit:disabled {
  cursor: not-allowed;
}

.rv-form-message {
  font-size: 14px;
  min-height: 20px;
  line-height: 1.5;
  margin-top: 4px;
}

.rv-form-message.is-success {
  color: #d9f7d9;
}

.rv-form-message.is-error {
  color: #ffd0d0;
}


/* =========================================================
   REQUISITOS - CARDS NUMERADAS CON ANIMACIÓN SUTIL
========================================================= */

.rv-docs-grid-clean {
  align-items: stretch;
}

.rv-doc-card-clean {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 172px;
  overflow: hidden;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease;
}

.rv-doc-card-clean:before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rv-gold), transparent);
  transform: translateX(-110%);
  opacity: 0;
  transition: transform .7s ease, opacity .35s ease;
}

.rv-doc-card-clean:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(59,23,98,.10);
  border-color: rgba(179,153,96,.38);
  background: #fffaf0;
}

.rv-doc-card-clean:hover:before {
  transform: translateX(110%);
  opacity: 1;
}

.rv-doc-number {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(179,153,96,.13);
  border: 1px solid rgba(179,153,96,.36);
  color: var(--rv-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .05em;
  flex: none;
  transition:
    transform .35s ease,
    background .35s ease,
    color .35s ease,
    box-shadow .35s ease;
}

.rv-doc-number:after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 20px;
  border: 1px solid rgba(179,153,96,.0);
  transform: scale(.86);
  opacity: 0;
  transition: all .35s ease;
}

.rv-doc-card-clean:hover .rv-doc-number {
  background: var(--rv-gold);
  color: var(--rv-navy-2);
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 12px 28px rgba(179,153,96,.26);
}

.rv-doc-card-clean:hover .rv-doc-number:after {
  border-color: rgba(179,153,96,.38);
  transform: scale(1);
  opacity: 1;
}

.rv-doc-card-clean :is(h3,h4) {
  margin-top: 4px;
}

.rv-doc-card-clean p {
  margin-top: 10px;
}

.rv-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s ease,
    transform .7s ease;
}

.rv-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rv-reveal-delay-1 { transition-delay: .05s; }
.rv-reveal-delay-2 { transition-delay: .10s; }
.rv-reveal-delay-3 { transition-delay: .15s; }
.rv-reveal-delay-4 { transition-delay: .20s; }
.rv-reveal-delay-5 { transition-delay: .25s; }
.rv-reveal-delay-6 { transition-delay: .30s; }
.rv-reveal-delay-7 { transition-delay: .35s; }

.rv-doc-card-letter {
  min-height: auto;
  background:
    linear-gradient(135deg, rgba(179,153,96,.13), rgba(255,255,255,.58)),
    var(--rv-paper);
}

.rv-doc-card-letter .rv-doc-number {
  background: var(--rv-gold);
  color: var(--rv-navy-2);
}



/* DOCUMENTOS - CTAS ALINEADOS */
.rv-docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
  align-items: center;
}

.rv-docs-actions .rv-btn {
  min-width: 280px;
}

/* AFILIACIÓN - LISTA ORDENADA CON JERARQUÍA */
.rv-doc-list-ordered {
  display: grid;
  gap: 14px;
}

.rv-doc-list-ordered li {
  position: relative;
  padding: 18px 20px 18px 52px;
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  font-size: 14px;
}

.rv-doc-list-ordered li:before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 18px;
  color: var(--rv-gold);
  font-weight: 900;
  font-size: 16px;
}

.rv-doc-list-ordered li strong {
  display: block;
  color: var(--rv-white);
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: .01em;
}

.rv-doc-list-ordered li span {
  display: block;
  color: rgba(255,255,255,.74);
}


/* IMÁGENES PROPIAS - RITO DE VENECIA
   Dimensiones base: imágenes horizontales aprox. 1000x563; logotipo cuadrado. */
.rv-hero-video.rv-hero-image-only img {
  position: relative;
  inset: auto;
  z-index: 0;
  object-position: center center;
}

.rv-frame-16x9 {
  aspect-ratio: 16 / 9;
  min-height: auto;
}

.rv-frame-16x9 img,
.rv-frame-16x9 video {
  min-height: auto;
  height: 100%;
  object-fit: cover;
}

.rv-img-history { object-position: center center; }
.rv-img-presence { object-position: center center; }
.rv-img-process { object-position: center center; }

.rv-frame-portrait {
  aspect-ratio: 4 / 5;
  min-height: 560px;
  width: min(100%, 520px);
}

.rv-frame-centered {
  margin-inline: auto;
}

.rv-frame-portrait img,
.rv-frame-portrait video {
  min-height: 560px;
  height: 100%;
  object-fit: cover;
}

.rv-history-grid .rv-frame-portrait {
  justify-self: start;
}

.rv-presence-layout .rv-frame-portrait {
  justify-self: center;
}

.rv-hero-seal {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.rv-hero-seal img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255,255,255,.92);
  padding: 4px;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.rv-hero-seal span {
  display: block;
  color: var(--rv-gold);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .rv-hero-grid,
  .rv-history-grid,
  .rv-title-row,
  .rv-presence-layout,
  .rv-process-grid,
  .rv-affiliation,
  .rv-contact-card {
    grid-template-columns: 1fr;
  }

  .rv-hero {
    min-height: auto;
    padding: 76px 0 54px;
  }

  .rv-info-grid,
  .rv-info-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rv-info-grid-3,
  .rv-function-grid {
    grid-template-columns: 1fr;
  }

  .rv-docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rv-doc-card-featured {
    grid-column: span 2;
  }

  .rv-process-aside {
    position: relative;
    top: auto;
  }

  .rv-media-frame,
  .rv-media-frame img,
  .rv-media-frame video {
    min-height: 360px;
  }

  .rv-frame-portrait,
  .rv-frame-portrait img,
  .rv-frame-portrait video {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .rv-container {
    width: min(100% - 26px, 1160px);
  }

  .rv-section {
    padding: 64px 0;
  }

  .rv-frame-portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .rv-hero h1 {
    font-size: 38px;
  }

  .rv-hero-copy {
    font-size: 16px;
  }

  .rv-info-grid,
  .rv-info-grid-6,
  .rv-docs-grid {
    grid-template-columns: 1fr;
  }

  .rv-doc-card-featured {
    grid-column: span 1;
  }

  .rv-docs-head {
    display: block;
  }

  .rv-docs-head .rv-btn {
    margin-top: 20px;
    width: 100%;
  }

  .rv-docs-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rv-docs-actions .rv-btn {
    width: 100%;
    min-width: 100%;
  }


  .rv-process-item {
    grid-template-columns: 1fr;
  }

  .rv-contact-actions,
  .rv-hero-actions {
    flex-direction: column;
  }

  .rv-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .rv-doc-card-clean {
    min-height: auto;
  }

  .rv-doc-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}

/* Plugin 1.0.0: labels in normal flow, mobile-safe controls. */
#rv-landing-plugin .rv-field {display:flex;flex-direction:column;gap:9px;min-width:0;}
#rv-landing-plugin .rv-field label {position:static!important;order:-1;transform:none!important;display:block;pointer-events:auto;line-height:1.5;font-size:13px!important;letter-spacing:.02em;text-transform:none;color:var(--rv-gold);white-space:normal;}
#rv-landing-plugin .rv-field input,#rv-landing-plugin .rv-field select,#rv-landing-plugin .rv-field textarea {padding:15px 18px;min-height:54px;max-width:100%;font-size:16px;line-height:1.5;}
#rv-landing-plugin .rv-field select {padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23c9a45c' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;}
#rv-landing-plugin .rv-field select option {color:#3B1762;-webkit-text-fill-color:#3B1762;}
#rv-landing-plugin .rv-img-history,#rv-landing-plugin .rv-img-presence {object-position:center 42%;}
#rv-landing-plugin .rv-grade-list {margin:18px 0 0;padding-left:20px;line-height:1.8;}
#rv-landing-plugin .rv-grade-list li {margin:8px 0;}
#rv-landing-plugin .rv-age-note {margin:0 0 24px;padding:18px;border-left:3px solid var(--rv-gold);background:var(--rv-cream);}
@media(prefers-reduced-motion:reduce){#rv-landing-plugin *,#rv-landing-plugin *::before,#rv-landing-plugin *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}#rv-landing-plugin .rv-reveal{opacity:1;transform:none;}}

/* 1.1.0 — media and semantic heading refinements. */
#rv-landing-plugin .rv-nav-title {font-size:24px;font-weight:700;color:#fff;margin:20px 0 12px;line-height:1.3;}
#rv-landing-plugin section[id] {scroll-margin-top:90px;}
#rv-landing-plugin .rv-contact-box h3 {color:#fff;}
#rv-landing-plugin .rv-hero-seal img,#rv-landing-plugin .rv-contact-seal img {object-fit:contain;}
@media(max-width:640px){#rv-landing-plugin .rv-contact-card:before {background-image:linear-gradient(100deg,rgba(59,23,98,.90),rgba(59,23,98,.76) 38%,rgba(59,23,98,.72)),radial-gradient(circle at 18% 24%,rgba(179,153,96,.20),transparent 28%),radial-gradient(circle at 85% 70%,rgba(112,48,176,.24),transparent 30%),url("mesa-trabajo-rito-venecia-1024.webp");}}

/* Distinct editorial scenes in 1.2.0 */
#rv-landing-plugin .rv-photo-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:32px;}
#rv-landing-plugin .rv-photo-pair figure {margin:0;overflow:hidden;border-radius:24px;background:var(--rv-navy);}
#rv-landing-plugin .rv-img-editorial {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;}
#rv-landing-plugin .rv-photo-pair figcaption {padding:16px 22px;color:var(--rv-white);font-size:16px;}
#rv-landing-plugin .rv-img-symbolism {display:block;width:100%;height:150px;object-fit:cover;object-position:center 70%;border-radius:14px;margin-bottom:20px;}
@media(max-width:640px){#rv-landing-plugin .rv-photo-pair {grid-template-columns:1fr;gap:18px;}}

#rv-landing-plugin .rv-function-grid .rv-img-symbolism {height:180px;object-position:center 55%;}
#rv-landing-plugin .rv-img-history {object-position:center 50%;}

/* Identity manual v03: institutional purple, flat gold, ivory and original emblem. */
#rv-landing-plugin{--rv-purple:#7030B0;--rv-deep-purple:#3B1762;--rv-blue:#142544;--rv-yellow:#FFF23A;}
#rv-landing-plugin h1,#rv-landing-plugin h2,#rv-landing-plugin h3,#rv-landing-plugin h4{font-weight:400;}
#rv-landing-plugin .rv-hero h1{font-size:clamp(38px,5vw,66px);line-height:1.15;}
#rv-landing-plugin .rv-eyebrow,#rv-landing-plugin .rv-icon,#rv-landing-plugin .rv-process-number,#rv-landing-plugin .rv-doc-number,#rv-landing-plugin .rv-doc-list li:before,#rv-landing-plugin .rv-doc-list-ordered li:before{color:var(--rv-purple);}
#rv-landing-plugin .rv-hero .rv-eyebrow,#rv-landing-plugin .rv-section-dark .rv-eyebrow,#rv-landing-plugin .rv-contact-card .rv-eyebrow{color:var(--rv-gold);}
#rv-landing-plugin .rv-btn-primary{background:var(--rv-gold);color:var(--rv-blue);}
#rv-landing-plugin .rv-btn-primary:before,#rv-landing-plugin .rv-info-card:before,#rv-landing-plugin .rv-hero-pattern{display:none;}
#rv-landing-plugin .rv-section-dark{background:var(--rv-deep-purple);}
#rv-landing-plugin .rv-function-card{background:var(--rv-purple);}
#rv-landing-plugin .rv-doc-card-letter{background:var(--rv-cream);}
#rv-landing-plugin .rv-hero-overlay{background:rgba(59,23,98,.88);}
#rv-landing-plugin .rv-media-frame:after{background:rgba(59,23,98,.08);}
#rv-landing-plugin .rv-media-label{background:var(--rv-deep-purple);color:white;}
#rv-landing-plugin .rv-contact-card:before{background-image:linear-gradient(rgba(59,23,98,.92),rgba(59,23,98,.92)),url("mesa-trabajo-rito-venecia-1600.webp");}
#rv-landing-plugin .rv-hero-seal{flex-direction:column;align-items:flex-start;}
#rv-landing-plugin .rv-hero-seal img,#rv-landing-plugin .rv-contact-seal img,#rv-landing-plugin .rv-footer img{width:234px;max-width:100%;height:auto;padding:27px;background:#FFFFFF;border-radius:0;box-shadow:none;object-fit:contain;}
@media(max-width:640px){#rv-landing-plugin .rv-contact-card:before{background-image:linear-gradient(rgba(59,23,98,.92),rgba(59,23,98,.92)),url("mesa-trabajo-rito-venecia-1024.webp");}}

#rv-landing-plugin .rv-doc-list-ordered li:before,#rv-landing-plugin .rv-section-dark .rv-icon{color:var(--rv-gold);}
#rv-landing-plugin .rv-doc-card-letter .rv-doc-number{color:var(--rv-blue);}
#rv-landing-plugin .rv-doc-card-clean:before{background:var(--rv-gold);}

/* 1.3.2: preserve the complete portrait still life without cropping the insignia. */
#rv-landing-plugin .rv-history-grid .rv-frame-portrait{aspect-ratio:auto;min-height:0;align-self:start;}
#rv-landing-plugin .rv-history-grid .rv-img-history{display:block;width:100%;height:auto;min-height:0;object-fit:contain;object-position:center;}
