/* =========================
   Variables / Reset
========================= */
:root{
  --rd-blue:#00b8d9;
  --nav-h:76px;
}

*{ box-sizing:border-box; }
html, body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family:Inter, Arial, Helvetica, sans-serif;
  color:#eaeaea;
  line-height:1.6;
  background:#0e0f12;
  overflow-y:scroll;
  padding-top:var(--nav-h);
}

a{ color:inherit; }

/* =========================
   Layout / Tipografía
========================= */
main{
  max-width:1100px;
  margin:0 auto;
  padding:40px 16px;
}

h1, h2{ color:#fff; }

h1{
  font-size:46px;
  line-height:1.1;
  letter-spacing:-0.02em;
  margin:0 0 12px;
}

h2{
  font-size:26px;
  letter-spacing:-0.01em;
  margin:0 0 10px;
}

h3{
  margin:0 0 8px;
  color:#fff;
  letter-spacing:-0.01em;
  font-size:18px;
}

p{
  max-width:820px;
  margin:0 0 12px;
}

ul{ margin:10px 0 0; }

.lead{
  font-size:18px;
  color:#bfc3c9;
  max-width:760px;
  margin:0 0 12px;
}

/* Secciones */
main section{
  padding:34px 0;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
main section:last-child{ border-bottom:0; }

/* =========================
   Header / Nav
========================= */
header.rd-header,
.rd-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:9999;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.08);
  color:#111;
}

header.rd-header nav,
.rd-header nav,
.rd-nav{
  max-width:1100px;
  margin:0 auto;
  min-height:var(--nav-h);
  padding:0 16px;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}

/* Logo / Brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  min-width:0;
}

.rd-logo{
  height:50px;
  width:auto;
  display:block;
}

.brand-text{
  font-weight:700;
  letter-spacing:.2px;
  color:#111;
  font-size:20px;
  white-space:nowrap;
}

/* Bloque derecho: links + banderas (juntos) */
.nav-links{
  margin-left:auto;              /* <- EMPUJA TODO A LA DERECHA */
  display:flex;
  align-items:center;
  gap:16px;                      /* <- separación uniforme */
}

/* Links */
.nav-links a{
  text-decoration:none;
  color:rgba(0,0,0,0.85);
  font-weight:600;
  margin-left:0;                 /* <- QUITAMOS el margin-left viejo */
}
.nav-links a:hover{ color:#000; }
/* Por defecto: el bloque mobile no se ve */
.rd-lang-mini--mobile{ display:none; }

/* En móvil:
   - ocultamos banderas "desktop"
   - mostramos banderas dentro del menú hamburguesa
*/
@media (max-width:700px){
  .rd-header > .rd-nav > .rd-lang-mini{ display:none; } /* el bloque desktop */
  header.is-open .rd-lang-mini--mobile,
  .rd-header.is-open .rd-lang-mini--mobile{
    display:flex;
    margin:6px 0 10px;
    justify-content:flex-start;
  }

  /* Para que no quede pegado arriba dentro del desplegable */
  header.is-open .nav-links,
  .rd-header.is-open .nav-links{
    padding-top:14px;
  }
}

/* =========================
   Language flags
========================= */
.rd-lang-mini{
  display:flex;
  gap:10px;
  align-items:center;
  margin-left:0;                 /* <- SIN empujar a la izquierda */
}

.rd-flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  text-decoration:none;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:4px;
}

.rd-flag img{
  display:block;
  width:22px;
  height:22px;
}

.rd-flag[aria-current="page"]{
  border:1px solid #00b8d9;
}

/* Responsive */
@media (max-width:700px){
  .rd-lang-mini{ gap:8px; }
  .rd-flag{ width:30px; height:30px; padding:3px; }
  .rd-flag img{ width:20px; height:20px; }
}

/* =========================
   Hamburger
========================= */
.nav-toggle{
  display:none;
  border:0;
  background:transparent;
  width:40px;
  height:40px;
  border-radius:12px;
  cursor:pointer;
  margin-left:auto;
  flex:0 0 auto;
  padding:0;
  line-height:40px;
}

.nav-toggle:focus-visible{
  outline:2px solid rgba(0,0,0,.25);
  outline-offset:2px;
}

.nav-toggle-icon{
  display:block;
  width:22px;
  height:2px;
  background:#111;
  position:relative;
  margin:0 auto;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background:#111;
}
.nav-toggle-icon::before{ top:-7px; }
.nav-toggle-icon::after{ top:7px; }
/* =========================
   Links dentro del contenido
========================= */
main a{
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.35);
  padding-bottom:1px;
  transition: color .25s ease, border-color .25s ease;
}

main a:hover,
main a:focus-visible{
  color:var(--rd-blue);
  border-bottom-color:var(--rd-blue);
}

/* =========================
   CTA (legacy)
========================= */
.cta{
  display:inline-block;
  margin-top:18px;
  padding:12px 18px;
  background:var(--rd-blue);
  color:#fff;
  text-decoration:none;
  border-radius:10px;
  font-weight:700;
  transition: filter .2s ease, transform .1s ease;
}
.cta:hover{
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* =========================
   Botones (rd-btn)
========================= */
.rd-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  min-height:52px;
  padding:0 22px;
  border-radius:14px;

  background:var(--rd-blue);
  color:#fff;
  font-weight:800;
  line-height:1;
  text-decoration:none;

  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(0,184,217,.22);

  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.rd-btn:hover,
.rd-btn:focus-visible{
  background:#00a4c2;
  color:#fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,184,217,.28);
}

.rd-btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(0,184,217,.22);
}

.rd-btn--ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:none;
}
.rd-btn--ghost:hover{
  background:rgba(255,255,255,.06);
  color:#fff;
}

.rd-cta{ margin:18px 0; }

.rd-cta-row{
  display:flex;
  gap:16px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  margin:16px 0 8px;
}

/* Botones sin subrayado en contenido */
main a.rd-btn{
  border-bottom:0 !important;
  padding-bottom:0 !important;
}

/* =========================
   Back to top
========================= */
.rd-backtop{
  position:fixed;
  right:22px;
  bottom:22px;
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--rd-blue);
  color:#fff;
  text-decoration:none;
  font-size:20px;
  font-weight:700;
  border-radius:50%;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  z-index:200;
  transition:filter .2s ease, transform .15s ease;
}
.rd-backtop:hover{
  filter:brightness(1.08);
  transform:translateY(-2px);
}

/* =========================
   Hero full width
========================= */
.hero-full{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:
    linear-gradient(135deg, rgba(0,0,0,.75), rgba(0,0,0,.35)),
    url("../img/hero.jpg");
  background-size:cover;
  background-position:center;
  padding:150px 0 90px;
}

.hero-full-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
  color:#fff;
}

.hero-full-inner .lead{ color:rgba(255,255,255,.88); }

/* =========================
   Full width background section
========================= */
.bg-section{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:
    linear-gradient(135deg, rgba(0,0,0,.80), rgba(0,0,0,.45)),
    url("../img/modelo.jpg");
  background-size:cover;
  background-position:center;
  padding:80px 0;
}

.bg-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
  color:#fff;
}

.bg-inner p{
  color:rgba(255,255,255,.90);
  max-width:720px;
}

/* =========================
   Steps
========================= */
.steps{ padding:40px 0; }

.steps-grid{
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.step-card{
  position:relative;
  display:block;
  min-height:420px;
  border-radius:18px;
  overflow:hidden;

  border:1px solid rgba(255,255,255,.08);
  background:#000;

  text-decoration:none;
  color:inherit;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;

  transition:transform .2s ease, border-color .2s ease;
}

.step-art{
  position:absolute;
  inset:0;
  z-index:0;
}

.step-art img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.step-art::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 35%,
    rgba(0,0,0,0.15) 65%,
    rgba(0,0,0,0.05) 90%
  );
}

.step-content{
  position:absolute;
  inset:0;
  z-index:2;

  display:flex;
  flex-direction:column;
  justify-content:space-between;

  padding:28px;
  color:#fff;
}

.step-content h3{
  margin:0 0 8px 0;
  font-size:1.25rem;
  font-weight:700;
  text-shadow: 0 8px 24px rgba(0,0,0,.65);
}

.step-content p{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-shadow: 0 6px 18px rgba(0,0,0,.55);
}

.step-link{
  margin-top:auto;
  font-weight:800;
  align-self:flex-start;
  color:#fff;
}

.step-card:hover,
.step-card:focus-visible{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.18);
}

.step-card:hover .step-link,
.step-card:focus-visible .step-link{
  text-decoration:underline;
}

/* =========================
   Service blocks
========================= */
.service-block{ padding:34px 0; }

.service-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.service-grid > div{
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  border-radius:16px;
  padding:18px;
}

.service-grid p{
  margin-bottom:10px;
  max-width:none;
}

/* =========================
   Spec hero
========================= */
.spec-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:
    linear-gradient(135deg, rgba(0,0,0,.80), rgba(0,0,0,.45)),
    url("../img/mockup-captura.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  padding:80px 0;
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.spec-hero-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
  color:#fff;
}

.spec-hero-inner p,
.spec-hero-inner li{ color:rgba(255,255,255,.92); }

/* =========================
   Contact hero
========================= */
.rd-hero{
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  min-height:620px;
  display:flex;
  align-items:center;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

.rd-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.35) 0%,
    rgba(0,0,0,.18) 55%,
    rgba(0,0,0,.05) 100%
  );
  pointer-events:none;
}

.rd-hero-inner{
  position:relative;
  z-index:2;
  max-width:1100px;
  margin:0 auto;
  padding:48px 24px;
  color:#fff;
}

.rd-hero-inner h1{
  margin:0 0 14px;
  font-size:42px;
  line-height:1.1;
}

.rd-hero-inner p{
  margin:0;
  max-width:680px;
  color:rgba(255,255,255,.90);
  font-size:16px;
  line-height:1.6;
}

.rd-hero-ctas{
  display:flex;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}

.rd-hero--contact{
  background-image:url("/3D/assets/img/contact-building.jpg");
}

/* =========================
   Buttons: WhatsApp / Mail
========================= */
.wa-btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:10px;
  background:#25D366;
  color:#111;
  font-weight:600;
  text-decoration:none;
  transition: filter .2s ease, transform .1s ease;
}
.wa-btn:hover{ filter:brightness(1.08); }

.mail-btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:10px;
  background:var(--rd-blue);
  color:#fff;
  font-weight:600;
  text-decoration:none;
  border:none;
  transition:filter .2s ease, transform .1s ease;
}
.mail-btn:hover{ filter:brightness(1.08); }

/* =========================
   Formulario contacto
========================= */
.rd-form{
  margin-top:18px;
  max-width:900px;
}

.rd-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
  margin:18px 0;
}

.rd-block{ margin:14px 0; }

.rd-form label{
  display:block;
  font-weight:700;
  margin-bottom:8px;
}

.rd-form input[type="text"],
.rd-form input[type="tel"],
.rd-form input[type="email"],
.rd-form input[type="url"],
.rd-form textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;
  outline:none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.rd-form textarea{ resize: vertical; }

.rd-form input:focus,
.rd-form textarea:focus{
  border-color: rgba(0,184,217,.75);
  box-shadow: 0 0 0 3px rgba(0,184,217,.18);
}

.rd-fieldset{
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:14px;
  margin:18px 0;
}

.rd-fieldset legend{
  padding:0 8px;
  font-weight:800;
}

.rd-checks{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px 14px;
  margin-top:10px;
}

.rd-checks label{
  font-weight:600;
  margin:0;
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.rd-consent{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:14px 0 18px;
  font-weight:600;
}

.rd-captcha{ margin:10px 0 18px; }

.rd-form-note{
  margin-top:12px;
  opacity:.85;
  font-size:.95rem;
}

/* Honeypot */
.rd-hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* =========================
   Webs amigas (legacy cards)
========================= */
.rd-list{
  margin-top:22px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.rd-client-card{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap:18px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  overflow:hidden;
}

.rd-client-media{
  border-radius:14px;
  overflow:hidden;
  background:#000;
  min-height:140px;
}

.rd-client-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.rd-client-title{
  margin:0 0 4px;
  font-size:1.25rem;
}

.rd-client-zone{
  margin:0 0 10px;
  opacity:.85;
  font-weight:700;
}

.rd-client-desc{
  margin:0 0 14px;
  opacity:.92;
  line-height:1.55;
}

.rd-client-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* =========================
   Footer
========================= */
.rd-footer{
  width:100%;
  background:#0e0f12;
  border-top:1px solid rgba(255,255,255,.08);
  color:#bfc3c9;
  font-size:13px;
}

.rd-footer-inner{
  max-width:1100px;
  margin:0 auto;
  padding:28px 24px 22px;
  display:flex;
  flex-direction:column;
  gap:14px;
  text-align:center;
  align-items:center;
}

.rd-footer-brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  letter-spacing:.3px;
  align-items:center;
}

.rd-footer-brand strong{
  color:#fff;
  font-weight:700;
}

.rd-footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  justify-content:center;
}

.rd-footer-links a{
  color:#bfc3c9;
  text-decoration:none;
  transition:color .2s ease;
}
.rd-footer-links a:hover{ color:#fff; }

.rd-footer-copy{
  color:#7e838a;
  font-size:12px;
}

.rd-footer-seal{
  display:flex;
  justify-content:center;
}

.rd-footer-seal img,
.rd-footer-seal iframe{ max-height:32px; }

.rd-footer-main{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  justify-content:center;
  margin-top:22px;
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:.3px;
}

.rd-footer-main a{
  text-decoration:none;
  color:#fff;
  transition:color .18s ease, transform .18s ease;
}

.rd-footer-main a:hover{
  color:var(--rd-blue);
  transform:translateY(-1px);
}

.rd-footer-legal{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
  margin-top:12px;
  font-size:.88rem;
  font-weight:500;
  opacity:.7;
}

.rd-footer-legal a{
  text-decoration:none;
  color:#fff;
  transition:color .18s ease;
}
.rd-footer-legal a:hover{ color:var(--rd-blue); }

.rd-footer-guide{
  margin-top:16px;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  text-align:center;
}

.rd-footer-guide-title{
  font-weight:800;
  letter-spacing:.3px;
  margin-bottom:10px;
  font-size:1.02rem;
}

.rd-footer-guide-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
}

.rd-footer-guide-links a{
  text-decoration:none;
  color:#fff;
  font-weight:700;
  opacity:.92;
  transition:color .18s ease, opacity .18s ease;
}

.rd-footer-guide-links a:hover{
  color:var(--rd-blue);
  opacity:1;
}

/* =========================
   Language switch
========================= */
.rd-langbar{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 18px;
}

.rd-langbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;

  border:2px solid rgba(0,184,217,.55);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.2px;
  line-height:1;

  background:transparent;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}

.rd-langbtn:hover,
.rd-langbtn:focus-visible{
  border-color:var(--rd-blue);
  transform: translateY(-1px);
  outline:none;
}

.rd-langbtn--active{
  background:var(--rd-blue);
  border-color:var(--rd-blue);
  color:#fff;
}

main a.rd-langbtn{
  border-bottom:0;
  padding-bottom:0;
}

/* =========================
   Hero foto
========================= */
.rd-hero-photo{
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  min-height:420px;
  overflow:hidden;
  background:#000;
}

.rd-hero-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.rd-hero-photo__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 35%,
    rgba(0,0,0,0.15) 70%,
    rgba(0,0,0,0.05) 100%
  );
  pointer-events:none;
}

.rd-hero-photo__inner{
  position:absolute;
  left:0;
  right:0;
  bottom: clamp(18px, 4vw, 36px);
  z-index:2;

  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
}

.rd-hero-photo__inner h1{
  margin:0;
  color:#fff;
  font-size:clamp(1.8rem, 4vw, 3.2rem);
  font-weight:900;
  line-height:1.05;
  text-shadow:0 8px 28px rgba(0,0,0,.4);
}

/* =========================
   Pricing
========================= */
.pricing-tabs,
.pricing-toggle{
  display:flex;
  justify-content:center;
  gap:12px;
  margin:24px 0 35px;
}

.pricing-tab{
  background:transparent;
  border:1px solid rgba(255,255,255,.2);
  color:#fff;
  padding:10px 16px;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
}

.pricing-tab.is-active{
  background:var(--rd-blue);
  border-color:var(--rd-blue);
}

.pricing-set{ display:none; }
.pricing-set.is-active{ display:block; }

.pricing-cards{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}

.pricing-card{
  display:flex;
  flex-direction:column;
  height:100%;
  border-radius:22px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  text-decoration:none;
  color:inherit;
  min-height:100%;
}

.pricing-card-top{
  position:relative;
  height:190px;
  overflow:hidden;
}

.pricing-card-top img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:brightness(.85) contrast(1.05);
}

.pricing-card-title{
  position:absolute;
  left:18px;
  bottom:14px;
  margin:0;
  font-size:20px;
  font-weight:800;
  color:#fff;
  text-shadow:0 6px 18px rgba(0,0,0,.55);
}

.pricing-card-body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  padding:18px 18px 10px;
}

.pricing-features{
  margin:0;
  padding-left:18px;
  flex:1 1 auto;
}

.pricing-extras{
  margin-top:12px;
  margin-bottom:8px;
}

.pricing-card-cta{
  margin-top:auto;
  padding:16px 18px 20px;
  display:flex;
  justify-content:center;
}

.pricing-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:260px;
  padding:14px 18px;
  border-radius:14px;
  background:var(--rd-blue);
  color:#fff;
  font-weight:800;
  text-align:center;
  text-decoration:none;
  transition:filter .2s ease, transform .15s ease;
}

.pricing-card:hover .pricing-btn{
  filter:brightness(1.08);
  transform:translateY(-1px);
}

.pricing-pack-top{
  padding:28px 20px 22px;
  color:#fff;
}

.pack-1 .pricing-pack-top{ background:#00b8d9; }
.pack-2 .pricing-pack-top{ background:#009fbf; }
.pack-3 .pricing-pack-top{ background:#007f99; }
.pack-4 .pricing-pack-top{ background:#005e73; }

.pricing-pack-top h3{
  margin:0 0 6px;
  font-size:18px;
  font-weight:800;
}

.pricing-pack-top p{
  margin:0;
  font-size:16px;
  font-weight:600;
  opacity:.95;
}
.pricing-note {
    text-align: center;
    margin-top: 60px;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #8a8f98;
    opacity: 0.8;
}


/* =========================
   Utilidades: figuras
========================= */
.rd-figure,
.rd-figure img{ max-width:100%; }

.rd-figure img{
  display:block;
  width:100%;
  height:auto;
}

.rd-figure{ margin:20px 0; }

/* =========================
   Webs amigas (índice + cards)
========================= */
.rd-divider{
  border:0;
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 26px 0;
}

.rd-alpha{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  row-gap:10px;
  justify-content:center;
  max-width:820px;
  margin:0 auto 20px;
}

.rd-alpha a{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:44px;
  height:44px;
  padding:0;

  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);

  color:#fff;
  font-weight:800;
  text-decoration:none;
  line-height:1;

  cursor:pointer;
  user-select:none;

  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}

.rd-alpha a:not(.is-disabled):hover,
.rd-alpha a:not(.is-disabled):focus-visible{
  border-color: rgba(0,184,217,.55);
  transform: translateY(-1px);
}

.rd-alpha a.is-disabled{
  opacity:.35;
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  pointer-events:none;
  cursor:default;
  transform:none;
}

.rd-letter{ padding: 18px 0 6px; }
.rd-letter > h2{ margin: 0 0 12px; }

.rd-empty{
  opacity:.75;
  margin: 0 0 6px;
}

.rd-wa-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}

.rd-wa-card{
  position:relative;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease;
}

.rd-wa-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.18);
}

.rd-wa-card__link{
  position:absolute;
  inset:0;
  z-index:3;
}

.rd-wa-logo{
  height:200px;
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
  border-radius:14px 14px 0 0;
}

.rd-wa-logo img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
}

.rd-wa-body{
  padding:14px 14px 16px;
  position:relative;
  z-index:2;
}

.rd-wa-title{
  margin:0 0 4px;
  font-size:1.05rem;
  font-weight:900;
}

.rd-wa-meta{
  margin:0 0 10px;
  opacity:.82;
  font-weight:700;
}

.rd-wa-desc{
  margin:0 0 14px;
  opacity:.92;
  line-height:1.55;
}

.rd-wa-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.rd-wa-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  background: rgba(0,184,217,.18);
  border:1px solid rgba(0,184,217,.35);
  font-weight:800;
  text-decoration:none;
  border-bottom:0;
}

.rd-wa-pill--ghost{
  background: transparent;
  border:1px solid rgba(255,255,255,.14);
}

.rd-wa-intro{
  margin-top:10px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.rd-client-hero{
  display:flex;
  gap:16px;
  align-items:center;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  margin: 12px 0 18px;
}

.rd-client-hero__logo{
  width:160px;
  height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.25);
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  padding:12px;
  flex:0 0 auto;
}

.rd-client-hero__logo img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

.rd-client-box{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

/* =========================
   Ajustes enlaces (rd-article)
========================= */
.rd-article a:not(.rd-btn):not(.pricing-btn):not(.wa-btn):not(.mail-btn){
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.35);
  padding-bottom:1px;
  transition: color .25s ease, border-color .25s ease;
}

.rd-article a:not(.rd-btn):not(.pricing-btn):not(.wa-btn):not(.mail-btn):hover,
.rd-article a:not(.rd-btn):not(.pricing-btn):not(.wa-btn):not(.mail-btn):focus-visible{
  color:var(--rd-blue);
  border-bottom-color:var(--rd-blue);
}

.rd-article a.rd-btn,
.rd-article a.pricing-btn,
.rd-article a.wa-btn,
.rd-article a.mail-btn{
  border-bottom:0;
  padding-bottom:0;
  text-decoration:none;
}

.rd-article .rd-cta-row{
  justify-content:flex-start;
  max-width:820px;
}

/* =========================
   Responsive
========================= */
@media (max-width:1100px){
  .pricing-cards{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}

@media (max-width:980px){
  .steps-grid{ grid-template-columns:1fr; }
  .step-card{ min-height:450px; }
  .rd-wa-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width:900px){
  .steps-grid{ grid-template-columns:1fr; }
  .step-card{ min-height:360px; }
}

@media (max-width:860px){
  .rd-grid{ grid-template-columns:1fr; }
  .rd-checks{ grid-template-columns:1fr; }
  .rd-client-card{ grid-template-columns:1fr; }
  .rd-client-media{ min-height:180px; }
}

@media (max-width:800px){
  .service-grid{ grid-template-columns:1fr; }
}

@media (max-width:700px){
  :root{ --nav-h:64px; }

  header nav,
  .rd-nav{
    min-height:var(--nav-h);
    padding:0 14px;
  }

  h1{ font-size:30px; }

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .nav-links{ display:none; }

  header.is-open .nav-links,
  .rd-header.is-open .nav-links{
    display:block;
    position:absolute;
    left:16px;
    right:16px;
    top: calc(var(--nav-h) - 6px);
    padding:12px;
    border-radius:16px;
    background: rgba(255,255,255,.96);
    border:1px solid rgba(0,0,0,.10);
    backdrop-filter: blur(10px);
    z-index:999;
  }

  header.is-open .nav-links a,
  .rd-header.is-open .nav-links a{
    display:block;
    padding:12px 10px;
    border-radius:12px;
    margin-left:0;
  }

  header.is-open .nav-links a:hover,
  .rd-header.is-open .nav-links a:hover{
    background: rgba(0,0,0,.04);
  }

  header.is-open .nav-toggle-icon{ background:transparent; }
  header.is-open .nav-toggle-icon::before{ top:0; transform:rotate(45deg); }
  header.is-open .nav-toggle-icon::after{ top:0; transform:rotate(-45deg); }

  .rd-hero{ min-height:260px; }
  .rd-hero-inner h1{ font-size:32px; }

  .rd-hero-photo{ min-height:260px; }
  .rd-hero-photo__inner{ padding:0 16px; bottom:14px; }

  .pricing-cards{ grid-template-columns:1fr; }
  .rd-wa-grid{ grid-template-columns: 1fr; }

  .rd-client-hero{
    flex-direction:column;
    align-items:flex-start;
  }
  .rd-client-hero__logo{ width:100%; }
}

@media (max-width:520px){
  .rd-langbtn{
    flex:1 1 auto;
    text-align:center;
  }
}


