*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Poppins", sans-serif;
}



.rm-hero{
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.hero-bg-slider,
.hero-bg-slider .swiper-wrapper,
.hero-bg-slider .swiper-slide{
  width: 100%;
  height: 100%;
}

.hero-bg-slider .swiper-slide{
  position: relative;
}

.rm-hero-bg{
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transform: scale(1.15);
  transition: transform 1.8s ease-out;
  position: relative;
  z-index: 0;
}

.rm-hero-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-bg-slider .swiper-slide-active .rm-hero-bg{
  transform: scale(1.03);
}

.rm-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.55) 32%,
    rgba(0, 0, 0, 0.18) 60%,
    rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.rm-hero-left{
  position: absolute;
  left: 4%;
  top: 52%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 3;
}

.rm-hero-line{
  width: 1px;
  height: 320px;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.12));
}

.rm-hero-step span{
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.rm-hero-content{
  position: absolute;
  left: 10vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 520px;
  z-index: 3;

  right: calc(6vw + min(640px, 45vw) + 4vw);
}

.rm-hero-tag{
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.35);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

#rm-hero-title{
  font-size: clamp(3rem, 4.8vw, 4.2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
}

#rm-hero-desc{
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 44ch;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}

.rm-hero-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 11px 38px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.hero-cards-slider{
  position: absolute;
  right: 6vw;
  top: 53%;
  transform: translateY(-50%);
  width: min(640px, 45vw);
  z-index: 3;
}

.hero-cards-slider .swiper-wrapper{
  align-items: center;
}

.hero-cards-slider .swiper-slide{
  width: 320px;
  height: 320px;
  opacity: 0.92;
  transition: opacity 0.3s ease, transform .3s ease;
}

.rm-card{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.rm-card-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.98;
}

.rm-card::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0));
}

.rm-card-info{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
}

.rm-card-info h3{
  font-size: 1rem;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 1);
}

.rm-card-info p{
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 1);
}

.rm-card:hover{
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.55);
}

.rm-hero-bottom{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  z-index: 3;
}

.rm-hero-arrows{
  display: flex;
  gap: 12px;
}

.rm-arrow{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.rm-hero-count{
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

@media (max-width: 1200px){
  .rm-hero-content{
    left: 8vw;
    max-width: 480px;
    right: calc(4vw + min(560px, 50vw) + 3vw);
  }
  .hero-cards-slider{
    right: 4vw;
    width: min(560px, 50vw);
  }
}

@media (max-width: 900px){
  .rm-hero{
    min-height: 100vh;
  }

  .rm-hero-content{
    position: absolute;
    left: 8vw;
    right: 8vw;
    top: 48%;
    transform: translateY(-50%);
    max-width: none;
  }

  .hero-cards-slider{
    display: none;
  }

  .rm-hero-left{
    display: none;
  }

  #rm-hero-title{
    font-size: 2.4rem;
  }

  .rm-hero-bottom{
    bottom: 18px;
    gap: 50px;
  }
}

@media (max-width: 480px){
  #rm-hero-title{
    font-size: 2.1rem;
  }
}


.rm-project{ background:#f6f1ea; color:#181818; padding:80px 8vw 96px; }
.rm-project-inner{ max-width:1120px; margin:0 auto; display:flex; align-items:center; gap:64px; }
.rm-project-media{ flex:0 0 360px; }
.rm-project-media img{ width:100%; max-width:420px; display:block; border-radius:24px; box-shadow:0 26px 60px rgba(0,0,0,0.25); object-fit:cover; }
.rm-project-info{ flex:1; }
.rm-project-kicker{ font-size:.85rem; text-transform:uppercase; letter-spacing:.18em; color:#9b7b45; margin-bottom:10px; }
.rm-project-title{ font-size:2.2rem; line-height:1.2; margin-bottom:16px; }
.rm-project-lead{ font-size:1rem; line-height:1.7; color:#3c3c3c; margin-bottom:12px; }
.rm-project-data{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 26px; margin-bottom:26px; }
.rm-project-label{ display:block; font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color:#8a8a8a; margin-bottom:3px; }
.rm-project-value{ font-size:.95rem; font-weight:600; }
@media(max-width:960px){ .rm-project-inner{ flex-direction:column; align-items:flex-start; gap:32px; } .rm-project-media{ width:100%; } .rm-project-data{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px){ .rm-project{ padding:60px 6vw 72px; } .rm-project-title{ font-size:1.9rem; } .rm-project-data{ grid-template-columns:1fr; } }

.rm-news{ background:#f4f6fb; padding:80px 7vw 90px; }
.rm-news-inner{ max-width:1200px; margin:0 auto; display:grid; grid-template-columns:minmax(0,360px) minmax(0,1fr); gap:50px; align-items:flex-start; }
.rm-news-intro h2{ font-size:2.4rem; font-weight:700; color:#003a8c; margin-bottom:16px; }
.rm-dot{ color:#e10613; }
.rm-news-text{ font-size:.98rem; line-height:1.7; color:#333; margin-bottom:18px; }
.rm-news-links{ font-size:.95rem; line-height:1.7; margin-bottom:28px; }
.rm-news-links a{ color:#e10613; font-weight:600; text-decoration:none; }
.rm-news-links a:hover{ text-decoration:underline; }
.rm-news-cta{ display:flex; flex-direction:column; gap:18px; }
.rm-news-btn{ display:inline-flex; align-items:center; padding:11px 30px; border-radius:999px; border:1px solid #003a8c; color:#003a8c; font-size:.95rem; font-weight:600; text-decoration:none; background:#fff; box-shadow:0 10px 25px rgba(0,0,0,0.06); transition:.2s ease; }
.rm-news-btn:hover{ background:#003a8c; color:#fff; }
.rm-news-line{ height:4px; width:100%; max-width:260px; background:#003a8c; border-radius:999px; }
.rm-news-slider-wrapper{ width:100%; position:relative; overflow:hidden; }
.rm-news-slider{ padding-bottom:40px; overflow:hidden; }
.rm-news-card{ background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 18px 40px rgba(0,0,0,0.12); display:flex; flex-direction:column; width:100%; min-height:360px; }
.rm-news-slider .swiper-wrapper{ align-items:stretch; }
.rm-news-slider .swiper-slide{ display:flex; }
.rm-news-img{ width:100%; padding-top:58%; background-size:contain; background-repeat:no-repeat; background-position:center; background-color:#fff; }
.rm-news-body{ padding:16px 20px 20px; }
.rm-news-tag{ display:block; font-size:.78rem; color:#808080; margin-bottom:6px; }
.rm-news-body h3{ font-size:.98rem; line-height:1.6; color:#102a43; margin-bottom:12px; }
.rm-news-more{ font-size:.88rem; color:#e10613; font-weight:600; text-decoration:none; }
.rm-news-more:hover{ text-decoration:underline; }
.rm-news-nav{ position:absolute; right:0; bottom:0; display:flex; gap:10px; }
.rm-news-arrow{ width:32px; height:32px; border-radius:50%; border:1px solid #c1c7d6; background:#fff; color:#003a8c; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 8px 18px rgba(0,0,0,0.08); transition:.18s ease; }
.rm-news-arrow:hover{ background:#003a8c; color:#fff; }
@media(max-width:960px){ .rm-news-inner{ grid-template-columns:1fr; } }

.rm-sumate{ position:relative; width:100%; padding:70px 8vw; color:#fff; overflow:hidden; }
.rm-sumate-bg{ position:absolute; inset:0; background-size:cover; background-position:center; filter:brightness(.45); z-index:0; }
.rm-sumate-inner{ position:relative; z-index:2; max-width:1120px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; gap:40px; }
.rm-sumate-info h2{ font-size:2.4rem; font-weight:700; margin-bottom:8px; }
.rm-sumate-info p{ font-size:1.05rem; margin-bottom:6px; opacity:.95; }
.rm-sumate-link{ font-size:.95rem; font-weight:600; color:#fff; text-decoration:underline; }
.rm-sumate-btn{ display:inline-flex; align-items:center; gap:10px; padding:12px 30px; border-radius:999px; background:#fff; color:#1b1b1b; font-weight:600; font-size:.95rem; text-decoration:none; box-shadow:0 18px 40px rgba(0,0,0,0.35); transition:transform .2s ease, box-shadow .2s ease; }
.rm-sumate-btn:hover{ transform:translateY(-3px); box-shadow:0 22px 50px rgba(0,0,0,0.4); }
@media(max-width:860px){ .rm-sumate-inner{ flex-direction:column; text-align:center; } }

.rm-sponsors{ background:#fff; padding:70px 6vw; text-align:center; }
.rm-sponsors-title{ font-size:1.9rem; font-weight:700; margin-bottom:40px; color:#111; }
.rm-sponsors-logos{ display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:40px 70px; max-width:1200px; margin:0 auto; }
.rm-sponsors-logos img{ height:75px; width:auto; object-fit:contain; filter:grayscale(100%); opacity:.9; transition:.25s ease; }
.rm-sponsors-logos img:hover{ filter:grayscale(0%); opacity:1; transform:translateY(-4px); }

.rm-footer{ width:100%; background:#0d3b80; padding:25px 0; text-align:center; color:#fff; font-size:.9rem; }


.rm-lang{
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 8;
}

.rm-lang-btn{
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(0,0,0,0.55);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.rm-lang-icon{
  font-size: 18px;
  line-height: 1;
}

.rm-lang-code{
  font-size: 0.78rem;
  letter-spacing: .18em;
  font-weight: 700;
}

.rm-lang-menu{
  position: absolute;
  top: 52px;
  right: 0;
  width: 170px;
  background: rgba(15,15,18,0.94);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 8px;
  display: none;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.rm-lang-menu.is-open{
  display: block;
}

.rm-lang-item{
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.95);
  text-align: left;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: .95rem;
}

.rm-lang-item:hover{
  background: rgba(255,255,255,0.10);
}


.rm-menu-btn{
  position: absolute;
  top: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
  z-index: 6;

  display: flex;          
  flex-direction: column;  
  align-items: center;     
  justify-content: center; 
  gap: 5px;                

  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.rm-menu-btn span{
  display:block;
  width:22px;
  height:2px;
  background:#fff;
  border-radius:999px;
  margin:0; 
}


.rm-menu-overlay{
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 9;
}

.rm-menu{
  position: fixed; top: 0; left: 0; height: 100vh; width: 320px; max-width: 86vw;
  background: rgba(15,15,18,0.92); backdrop-filter: blur(10px);
  transform: translateX(-105%); transition: transform .28s ease; z-index: 10;
  padding: 18px 16px; color: #fff; border-right: 1px solid rgba(255,255,255,0.08);
}

.rm-menu.is-open{ transform: translateX(0); }
.rm-menu-overlay.is-open{ opacity: 1; pointer-events: auto; }
.rm-menu-top{ display:flex; align-items:center; justify-content:space-between; padding:6px 6px 14px; }
.rm-menu-title{ font-weight:700; letter-spacing:.18em; font-size:.9rem; opacity:.95; }
.rm-menu-close{ width:36px; height:36px; border-radius:12px; border:0; background:rgba(255,255,255,0.12); color:#fff; font-size:1.4rem; cursor:pointer; }
.rm-menu-list{ list-style:none; padding:8px 6px; }
.rm-menu-link{ display:flex; align-items:center; justify-content:space-between; padding:12px; border-radius:12px; color:#fff; text-decoration:none; font-size:.98rem; transition:background .18s ease; }
.rm-menu-link:hover{ background:rgba(255,255,255,0.08); }
.rm-menu-sep{ height:1px; margin:10px 0; background:rgba(255,255,255,0.10); }
.rm-submenu{ list-style:none; padding:6px 0 10px 18px; display:none; }
.rm-submenu a{ display:block; padding:8px 12px; border-radius:10px; color:rgba(255,255,255,0.92); text-decoration:none; font-size:.92rem; background:rgba(255,255,255,0.06); margin-bottom:8px; }
.rm-submenu a:hover{ background:rgba(255,255,255,0.10); }

@media (hover:hover){ .rm-has-sub:hover > .rm-submenu{ display:block; } }
@media (hover:none){ .rm-has-sub.is-open > .rm-submenu{ display:block; } }

@media (max-width: 480px){
  .rm-lang{ right: 16px; top: 16px; }
  .rm-menu-btn{ left: 16px; top: 16px; }
}

.rm-menu-list{
  list-style: none;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rm-menu-item{ width: 100%; }

.rm-menu-link{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: .98rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
}

.rm-menu-link:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.14);
}

.rm-ico{
  width: 22px;
  display: inline-flex;
  justify-content: center;
  opacity: .95;
}

.rm-text{
  flex: 1;
  display: inline-block;
}

.rm-end{
  width: 20px;
  display: inline-flex;
  justify-content: flex-end;
  opacity: .85;
}

.rm-menu-sep{
  height: 1px;
  margin: 6px 0;
  background: rgba(255,255,255,0.10);
}

.rm-submenu{
  list-style: none;
  padding: 10px 0 0 0;
  margin: 0;
  display: none;
}

.rm-submenu li{ margin-top: 8px; }

.rm-submenu a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: .95rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.rm-submenu a:hover{
  background: rgba(255,255,255,0.09);
}

/* Flecha */
.rm-chevron{
  transition: transform .18s ease;
}

.rm-has-sub.is-open > .rm-submenu{
  display: block;
}

.rm-has-sub.is-open > .rm-menu-link .rm-chevron{
  transform: rotate(180deg);
}

@media (hover:hover){
  .rm-has-sub:hover > .rm-submenu{ display:block; }
  .rm-has-sub:hover > .rm-menu-link .rm-chevron{ transform: rotate(180deg); }
}
