﻿:root {
  --rs-primary: #f7931e;
  --rs-secondary: #fbb03b;
  --rs-dark: #4d4d4d;
  --rs-muted: #666666;
  --rs-border: rgba(77, 77, 77, 0.15);
  --rs-shadow: 0 18px 40px rgba(77, 77, 77, 0.12);
}

body {
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--rs-dark);
  background: white;
  line-height: 1.6;
  overflow-x: hidden;
}

.layout-wide {
  width: 100%;
  max-width: 100%;
  padding-inline: clamp(1rem, 2.6vw, 3.2rem);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: -1;
  animation: floatOrb 12s ease-in-out infinite;
}

.bg-orb-1 {
  width: 280px;
  height: 280px;
  background: #ffd18e;
  top: 8%;
  left: -70px;
}

.bg-orb-2 {
  width: 340px;
  height: 340px;
  background: #ffe8bb;
  bottom: 2%;
  right: -100px;
  animation-delay: 2.4s;
}

@keyframes floatOrb {
  0%,
  100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-12px) translateX(10px); }
}

.section-space { padding: 5rem 0; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--rs-primary);
}

.section-title {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.section-text { color: var(--rs-muted); max-width: 64ch; }
.section-text.short { max-width: 38ch; }

.rs-navbar {
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(247, 147, 30, 0.12);
  transition: all 0.25s ease;
}

.rs-navbar.scrolled { box-shadow: 0 10px 28px rgba(77, 77, 77, 0.08); }

.brand-logo {
  max-width: 200px;
  height: auto;
  display: block;
  object-fit: contain;
}

.nav-link {
  font-weight: 700;
  color: var(--rs-dark);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:focus-visible {
  color: var(--rs-primary);
}

.nav-link.active {
  color: var(--rs-primary) !important;
  font-weight: 800;
}

.btn-rs {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--rs-primary);
  --bs-btn-border-color: var(--rs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #e4810d;
  --bs-btn-hover-border-color: #e4810d;
  --bs-btn-active-bg: #cf7309;
  --bs-btn-active-border-color: #cf7309;
  border-radius: 14px;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
}

.btn-outline-rs {
  color: var(--rs-primary);
  border: 1.8px solid var(--rs-primary);
  border-radius: 14px;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  background: rgba(255, 255, 255, 0.92);
}

.btn-outline-rs:hover,
.btn-outline-rs:focus { background: var(--rs-primary); color: #fff; }

/* HERO FULL COVER */
.hero-cover-section,
#heroCoverCarousel,
#heroCoverCarousel .carousel-inner,
#heroCoverCarousel .carousel-item {
  min-height: calc(100vh - 76px);
}

.hero-slide {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-slide-1 { background-image: url("../img/hero-cover-1-industrial-2.jpg"); }
.hero-slide-2 { background-image: url("../img/hero-cover-1-industrial-2.jpg"); }
.hero-slide-3 { background-image: url("../img/hero-cover-1-industrial-2.jpg"); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(34, 34, 34, 0.8) 0%, rgba(34, 34, 34, 0.5) 42%, rgba(34, 34, 34, 0.25) 100%);
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 880px;
  color: #fff;
  padding-left:5%;
}

.hero-logo {
  width: min(680px, 72vw);
  max-height: 170px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.4rem 0.55rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.hero-kicker {
  color: #ffe0ad;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-top: 0.55rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 68ch;
  margin-top: 0.9rem;
}

.hero-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.14);
}

.hero-outline:hover,
.hero-outline:focus {
  background: #fff;
  color: var(--rs-primary);
}

.hero-indicators [data-bs-target] {
  width: 34px;
  border-radius: 12px;
}

#heroCoverCarousel .carousel-control-prev,
#heroCoverCarousel .carousel-control-next { width: 6%; }

#heroCoverCarousel .carousel-control-prev-icon,
#heroCoverCarousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  padding: 1.3rem;
  background-size: 58%;
  
}

#flecha-izq {
  font-size: 30pt !important;
  color: #f7931e !important;
}
#flecha-der {
  font-size: 30pt !important;
  color: #f7931e !important;
}

#indicadores {
  background-color: white;
}

#nosotros {
  background-image: url("../img/tower-bg-01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.stat-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--rs-border);
  border-radius: 18px;
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: 0 10px 24px rgba(77, 77, 77, 0.08);
}

.stat-value {
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  font-weight: 800;
  margin: 0;
  color: var(--rs-primary);
}

.stat-label { margin: 0.2rem 0 0; color: var(--rs-muted); font-size: 0.92rem; }

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.feature-list li { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 600; }
.feature-list i { color: var(--rs-primary); margin-top: 0.2rem; }

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-mini-card {
  background: #fff;
  border: 1px solid var(--rs-border);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 12px 28px rgba(77, 77, 77, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(77, 77, 77, 0.12);
}

.about-mini-card i { font-size: 1.2rem; color: var(--rs-primary); }
.about-mini-card h3 { font-size: 1.05rem; margin: 0.7rem 0 0.35rem; font-weight: 700; }
.about-mini-card p { margin: 0; font-size: 0.92rem; color: var(--rs-muted); }

/* SERVICIOS - GRID */
#servicios {
  background-image: url("../img/ing_electrico_sitio.png");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
}

#servicios::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.4); */
  z-index: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
  padding-top: 5%;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(247, 147, 30, 0.3);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(77, 77, 77, 0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(247, 147, 30, 0.25);
  border-color: rgba(247, 147, 30, 0.5);
}

.service-card-header {
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(247, 147, 30, 0.2);
  padding-bottom: 1rem;
}

.service-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rs-primary);
  margin-bottom: 0.5rem;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--rs-dark);
  margin: 0;
  line-height: 1.3;
}

.service-card-body {
  flex-grow: 1;
}

.service-description {
  color: var(--rs-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  color: var(--rs-dark);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  position: relative;
  line-height: 1.6;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rs-primary);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-title {
    font-size: 1.15rem;
  }

  .service-list li {
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.2rem;
  }
}
.projects-section .project-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--rs-border);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 10px 26px rgba(77, 77, 77, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 28px rgba(77, 77, 77, 0.12);
}

.project-card i { font-size: 1.25rem; color: var(--rs-primary); }
.project-card h3 { font-size: 1.08rem; margin-top: 0.75rem; font-weight: 700; }
.project-card p { margin: 0; color: var(--rs-muted); font-size: 0.93rem; }

.project-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  margin-top: 0.9rem;
  border-radius: 16px;
  object-fit: cover;
}

.projects-section .project-card {
  display: flex;
  flex-direction: column;
}

.cta-box {
  background: white;
  border: none;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--rs-shadow);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

#proyectos{
  background-image: url("../img/gray-bg-01.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* Contacto: formulario y mapa */
.contact-form-card,
.map-card {
  background: #fff;
  border: 1px solid rgba(247, 147, 30, 0.2);
  border-radius: 22px;
  padding: clamp(1.1rem, 2.2vw, 1.8rem);
  box-shadow: var(--rs-shadow);
}

.contact-card-title {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 800;
  margin: 0;
}

.contact-card-text {
  color: var(--rs-muted);
  margin: 0.4rem 0 1rem;
}

.contact-form .line-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rs-muted);
}

.contact-form .line-input {
  width: 100%;
  border: none;
  border-bottom: 2px solid rgba(77, 77, 77, 0.25);
  border-radius: 0;
  background: transparent;
  color: var(--rs-dark);
  padding: 0.5rem 0.15rem 0.55rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form .line-input::placeholder {
  color: rgba(77, 77, 77, 0.55);
}

.contact-form .line-input:focus {
  border-bottom-color: var(--rs-primary);
}

.line-textarea {
  min-height: 110px;
  resize: vertical;
}

.map-embed-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(77, 77, 77, 0.16);
  min-height: 360px;
}

.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.footer-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.95), rgba(255, 255, 255, 1)),
    url("../img/gray-bg-01.jpg") center/cover no-repeat;
  border-top: 1px solid rgba(77, 77, 77, 0.1);
  color: var(--rs-muted);
}

.footer-logo {
  width: clamp(145px, 17vw, 200px);
  height: auto;
  object-fit: contain;
}

.footer-banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 220px;
  margin-bottom: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: url("../img/tower-bg-01.jpg") center/cover no-repeat;
  box-shadow: 0 18px 42px rgba(77, 77, 77, 0.12);
}

.footer-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(18, 18, 18, 0.82) 0%, rgba(18, 18, 18, 0.55) 45%, rgba(18, 18, 18, 0.25) 100%);
}

.footer-banner-content {
  position: relative;
  z-index: 1;
  max-width: 58rem;
  color: #fff;
}

.footer-kicker {
  color: #ffe0ad;
}

.footer-banner-title {
  margin: 0.55rem 0 0.65rem;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
}

.footer-banner-text {
  max-width: 64ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.footer-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.footer-banner-actions .btn-outline-rs {
  background: rgba(255, 255, 255, 0.95);
}

.footer-sitemap {

  padding: clamp(1.2rem, 2vw, 1.8rem);
  margin-bottom: 1.2rem;
}

.footer-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.footer-sitemap-column h3 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--rs-dark);
}

.footer-sitemap-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-sitemap-column a {
  color: var(--rs-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-sitemap-column a:hover,
.footer-sitemap-column a:focus-visible {
  color: var(--rs-primary);
  transform: translateX(2px);
}

.footer-sitemap-legal {
  border-left: 1px solid rgba(77, 77, 77, 0.08);
  padding-left: 1.2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.25rem 0 0.1rem;
}

.footer-brand-row {
  min-width: 0;
}

.footer-credit {
  color: var(--rs-muted);
  font-size: 0.92rem;
}

/* CLIENTES CAROUSEL */
.clients-section {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(247, 147, 30, 0.12), transparent 35%),
    radial-gradient(circle at bottom right, rgba(251, 176, 59, 0.14), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
}

.clients-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(247, 147, 30, 0.12);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(77, 77, 77, 0.08);
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.clients-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.clients-marquee {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
}

.clients-marquee-viewport {
  overflow: hidden;
  border-radius: 22px;
}

.clients-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
  will-change: transform;
  padding: 0.2rem;
  transform: translate3d(var(--clients-shift, 0px), 0, 0);
}

.client-card {
  flex: 0 0 auto;
  width: clamp(140px, 21vw, 250px);
}

.client-logo-shell {
  width: 100%;
  min-height: clamp(130px, 16vw, 190px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 240, 0.96));
  border: 1px solid rgba(77, 77, 77, 0.08);
  border-radius: 26px;
  box-shadow: 0 10px 26px rgba(77, 77, 77, 0.08);
  padding: clamp(1rem, 2vw, 1.6rem);
}

.client-logo {
  width: 100%;
  height: 100%;
  max-width: 360px;
  max-height: 120px;
  object-fit: contain;
  filter: saturate(0.98) contrast(1.02);
  animation: clientLogoIn 0.45s ease both;
  border-radius: 20px;
}

.client-logo-wide {
  max-width: 300px;
  max-height: 100px;
}

@keyframes clientLogoIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.clients-control {
  width: 4.5rem;
  opacity: 1;
  border: none;
  background: transparent;
  padding: 0;
}

.clients-control-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--rs-primary);
  box-shadow: 0 8px 18px rgba(77, 77, 77, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.clients-control:hover .clients-control-icon,
.clients-control:focus .clients-control-icon,
.clients-control:focus-visible .clients-control-icon {
  transform: scale(1.05);
  background: #fff;
}

/* Botón flotante Go Top */
.go-top-btn {
  position: fixed;
  right: 48%;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--rs-primary), var(--rs-secondary));
  color: #fff;
  box-shadow: 0 12px 22px rgba(77, 77, 77, 0.22);
  cursor: pointer;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
}

.go-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-top-btn:hover { filter: brightness(0.95); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(247, 147, 30, 0.45);
  outline-offset: 2px;
}

@media (max-width: 992px) {
  .section-space { padding: 4rem 0; }
  .brand-logo { height: clamp(36px, 8.2vw, 54px); }
  .hero-slide,
  .hero-cover-section,
  #heroCoverCarousel,
  #heroCoverCarousel .carousel-inner,
  #heroCoverCarousel .carousel-item {
    min-height: calc(82vh - 72px);
  }

  .service-slide { grid-template-columns: 1fr; }
  .service-content { padding: 1.2rem; }
}

@media (max-width: 768px) {
  .about-card-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 1.4rem; }
  #heroCoverCarousel .carousel-control-prev,
  #heroCoverCarousel .carousel-control-next {
    width: 14%;
  }
}

@media (max-width: 991.98px) {
  #servicios {
    background-attachment: scroll;
  }

  .white-box {
    margin-left: 0 !important;
    max-width: 100%;
    width: 100%;
    border-radius: 20px;
  }

  .service-content {
    padding: 1rem 1rem 1.1rem;
  }

  #section-titulo {
    font-size: 1rem;
  }

  .white-box .section-title {
    font-size: clamp(1.35rem, 4.5vw, 1.7rem);
  }

  .service-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
  }

  .service-content ul {
    padding-left: 1.1rem;
    margin-bottom: 0;
  }

  .service-content li {
    font-size: 0.96rem;
    line-height: 1.5;
    margin-bottom: 0.55rem;
  }

  .justify-content {
    text-align: left;
  }

  .carousel-indicators {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center;
  }

  .clients-panel {
    padding: 1rem;
  }

  .clients-marquee {
    grid-template-columns: 1fr;
  }

  .client-card {
    width: clamp(140px, 36vw, 220px);
  }

  .clients-control {
    width: 3.4rem;
  }

  .footer-sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-sitemap-legal {
    border-left: 0;
    padding-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  #servicios {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
    background-position: center top;
  }

  .white-box {
    border-radius: 18px;
  }

  .white-box.service-content {
    gap: 0.75rem !important;
  }

  .service-content {
    padding: 0.9rem 0.85rem 1rem;
  }

  .service-content h3 {
    font-size: 1rem;
  }

  .service-content li {
    font-size: 0.92rem;
  }

  #section-titulo {
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .carousel-indicators [data-bs-target] {
    width: 24px;
  }

  .clients-panel {
    border-radius: 22px;
  }

  .clients-heading {
    margin-bottom: 0.85rem;
  }

  .client-logo-shell {
    min-height: 120px;
    border-radius: 18px;
    padding: 0.9rem;
  }

  .client-logo {
    max-width: 250px;
    max-height: 82px;
  }

  .client-logo-wide {
    max-width: 220px;
    max-height: 72px;
  }

  .client-card {
    width: 82vw;
  }

  .clients-control-icon {
    width: 2.35rem;
    height: 2.35rem;
  }

  .clients-control {
    width: 2.8rem;
  }

  .footer-banner {
    border-radius: 22px;
  }

  .footer-sitemap {
    border-radius: 22px;
  }

  .footer-sitemap-grid {
    grid-template-columns: 1fr;
  }

  .footer-sitemap-legal {
    border-left: 0;
    padding-left: 0;
  }
}

/* AVISO DE PRIVACIDAD */
.privacy-page {
  background:
    radial-gradient(circle at top left, rgba(247, 147, 30, 0.13), transparent 30%),
    radial-gradient(circle at top right, rgba(251, 176, 59, 0.14), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, #ffffff 42%, #fffaf3 100%);
  color: var(--rs-dark);
  scroll-behavior: smooth;
}

.privacy-page .section-kicker {
  letter-spacing: 0.08em;
}

.privacy-shell {
  position: relative;
  overflow: hidden;
}

.privacy-shell::before,
.privacy-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.privacy-shell::before {
  width: 320px;
  height: 320px;
  top: 8%;
  right: -120px;
  background: rgba(247, 147, 30, 0.35);
}

.privacy-shell::after {
  width: 260px;
  height: 260px;
  bottom: 12%;
  left: -90px;
  background: rgba(251, 176, 59, 0.32);
}

.privacy-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(10px);
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid rgba(247, 147, 30, 0.14);
}

.privacy-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.privacy-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.privacy-brand img {
  width: clamp(150px, 20vw, 220px);
  height: auto;
  object-fit: contain;
}

.privacy-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.privacy-brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--rs-dark);
}

.privacy-brand-copy span {
  font-size: 0.86rem;
  color: var(--rs-muted);
}

.privacy-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.privacy-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4.2rem) 0 2rem;
}

.privacy-hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 240, 0.92)),
    radial-gradient(circle at top right, rgba(247, 147, 30, 0.12), transparent 28%);
  border: 1px solid rgba(247, 147, 30, 0.16);
  border-radius: 30px;
  box-shadow: 0 22px 50px rgba(77, 77, 77, 0.09);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.privacy-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 147, 30, 0.18), transparent 68%);
}

.privacy-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 1.4rem;
  align-items: center;
}

.privacy-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0.55rem 0 0.8rem;
}

.privacy-summary {
  font-size: 1.02rem;
  color: var(--rs-muted);
  max-width: 68ch;
}

.privacy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 147, 30, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--rs-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.privacy-side-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(77, 77, 77, 0.08);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: 0 18px 36px rgba(77, 77, 77, 0.08);
}

.privacy-side-card h2,
.privacy-side-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.privacy-side-card p {
  margin: 0.65rem 0 0;
  color: var(--rs-muted);
}

.privacy-side-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.privacy-side-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--rs-dark);
}

.privacy-side-list i {
  color: var(--rs-primary);
  margin-top: 0.18rem;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.36fr);
  gap: 1.5rem;
  align-items: start;
}

.privacy-main,
.privacy-aside {
  min-width: 0;
}

.privacy-section-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(247, 147, 30, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(77, 77, 77, 0.08);
  padding: clamp(1.2rem, 2vw, 1.8rem);
}

.privacy-section-card + .privacy-section-card {
  margin-top: 1rem;
}

.privacy-section {
  position: relative;
  padding: 1.2rem 0;
  scroll-margin-top: 110px;
}

.privacy-section + .privacy-section {
  border-top: 1px solid rgba(77, 77, 77, 0.08);
}

.privacy-section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.privacy-section-num {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--rs-primary), var(--rs-secondary));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(247, 147, 30, 0.2);
}

.privacy-section-title {
  margin: 0;
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
  font-weight: 850;
  line-height: 1.2;
}

.privacy-section-body {
  color: var(--rs-dark);
}

.privacy-section-body p {
  color: var(--rs-muted);
}

.privacy-section-body ul,
.privacy-section-body ol {
  margin-bottom: 0;
  color: var(--rs-dark);
}

.privacy-section-body li + li {
  margin-top: 0.5rem;
}

.privacy-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.privacy-mini-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 240, 0.95));
  border: 1px solid rgba(77, 77, 77, 0.08);
  border-radius: 18px;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 10px 22px rgba(77, 77, 77, 0.06);
}

.privacy-mini-card h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.privacy-mini-card p,
.privacy-mini-card li {
  font-size: 0.94rem;
  margin-bottom: 0;
}

.privacy-mini-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.15rem;
}

.privacy-callout {
  margin-top: 1rem;
  border-left: 4px solid var(--rs-primary);
  background: rgba(247, 147, 30, 0.07);
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 0 16px 16px 0;
}

.privacy-callout strong {
  display: block;
  margin-bottom: 0.2rem;
}

.privacy-side-sticky {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.privacy-toc,
.privacy-contact,
.privacy-doc {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(77, 77, 77, 0.08);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 14px 30px rgba(77, 77, 77, 0.07);
}

.privacy-toc h3,
.privacy-contact h3,
.privacy-doc h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 850;
}

.privacy-toc p,
.privacy-contact p,
.privacy-doc p {
  color: var(--rs-muted);
  margin: 0.45rem 0 0;
}

.privacy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.4rem;
  max-height: 55vh;
  overflow: auto;
  scrollbar-width: thin;
}

.privacy-toc-list a {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  color: var(--rs-dark);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.privacy-toc-list a:hover,
.privacy-toc-list a:focus-visible,
.privacy-toc-list a.active {
  background: rgba(247, 147, 30, 0.08);
  border-color: rgba(247, 147, 30, 0.18);
  transform: translateX(2px);
}

.privacy-toc-list .toc-num {
  color: var(--rs-primary);
  font-weight: 900;
  flex: 0 0 auto;
}

.privacy-toc-list .toc-text {
  font-size: 0.93rem;
  line-height: 1.35;
}

.privacy-contact-list {
  list-style: none;
  padding: 0;
  margin: 0.95rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.privacy-contact-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.privacy-contact-list i {
  color: var(--rs-primary);
  margin-top: 0.2rem;
}

.privacy-contact-list strong {
  display: block;
  font-size: 0.88rem;
}

.privacy-contact-list span,
.privacy-contact-list a {
  color: var(--rs-muted);
  font-size: 0.92rem;
  word-break: break-word;
}

.privacy-contact-list a {
  text-decoration: none;
}

.privacy-doc .btn {
  width: 100%;
}

.privacy-form-sim {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 240, 0.96));
  border: 1px solid rgba(77, 77, 77, 0.08);
  border-radius: 18px;
  padding: 1rem;
}

.privacy-checkbox-row {
  display: grid;
  gap: 0.65rem;
}

.privacy-checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.privacy-checkbox input {
  margin-top: 0.28rem;
}

.privacy-sign-line {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.privacy-sign-field {
  border-bottom: 1.6px solid rgba(77, 77, 77, 0.3);
  padding-bottom: 0.3rem;
  min-height: 2rem;
}

.privacy-sign-field span {
  display: block;
  color: rgba(77, 77, 77, 0.58);
  font-size: 0.9rem;
}

.privacy-footer {
  margin-top: 2rem;
  padding: 1.5rem 0 2rem;
  color: var(--rs-muted);
}

.privacy-footer-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(77, 77, 77, 0.08);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 30px rgba(77, 77, 77, 0.06);
}

.privacy-footer-card p {
  margin: 0;
}

.privacy-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.privacy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

@media (max-width: 991.98px) {
  .privacy-hero-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-side-sticky {
    position: static;
  }

  .privacy-toc-list {
    max-height: none;
  }

  .privacy-header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-header-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .privacy-brand {
    align-items: flex-start;
  }

  .privacy-brand-copy {
    gap: 0;
  }

  .privacy-grid-2,
  .privacy-sign-line {
    grid-template-columns: 1fr;
  }

  .privacy-hero-card,
  .privacy-section-card,
  .privacy-toc,
  .privacy-contact,
  .privacy-doc,
  .privacy-footer-card {
    border-radius: 18px;
  }
}

/* AVISO DE PRIVACIDAD - FORMATO DOCUMENTAL */
.legal-page {
  background:
    radial-gradient(circle at top left, rgba(247, 147, 30, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(251, 176, 59, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, #ffffff 32%, #fffaf2 100%);
  color: var(--rs-dark);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(247, 147, 30, 0.12);
}

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.legal-brand img {
  width: clamp(155px, 20vw, 230px);
  height: auto;
  object-fit: contain;
}

.legal-brand-copy {
  display: grid;
  gap: 0.08rem;
}

.legal-brand-copy strong {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rs-dark);
}

.legal-brand-copy span {
  color: var(--rs-muted);
  font-size: 0.86rem;
}

.legal-hero {
  padding: clamp(1.6rem, 3.6vw, 3rem) 0 1.1rem;
}

.legal-hero-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 240, 0.94));
  border: 1px solid rgba(247, 147, 30, 0.14);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(77, 77, 77, 0.08);
  padding: clamp(1.3rem, 3vw, 2rem);
}

.legal-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.legal-hero-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0.55rem 0 0.75rem;
}

.legal-hero-text {
  max-width: 76ch;
  color: var(--rs-muted);
  margin: 0;
  font-size: 1.02rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 147, 30, 0.16);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.legal-doc-wrap {
  padding-bottom: 3rem;
}

.legal-doc {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(77, 77, 77, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(77, 77, 77, 0.08);
  overflow: hidden;
}

.legal-doc-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(77, 77, 77, 0.08);
  background: linear-gradient(180deg, rgba(255, 249, 240, 0.9), rgba(255, 255, 255, 0.98));
}

.legal-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.legal-index a {
  text-decoration: none;
  color: var(--rs-dark);
  border: 1px solid rgba(247, 147, 30, 0.14);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.legal-index a:hover,
.legal-index a:focus-visible,
.legal-index a.active {
  background: rgba(247, 147, 30, 0.1);
  border-color: rgba(247, 147, 30, 0.3);
  transform: translateY(-1px);
}

.legal-content {
  padding: clamp(1.1rem, 2vw, 1.55rem);
}

.legal-section {
  padding: 1rem 0 1.15rem;
  border-bottom: 1px solid rgba(77, 77, 77, 0.08);
  scroll-margin-top: 110px;
  opacity: 0;
  transform: translateY(16px);
}

.legal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0.25rem;
}

.legal-section-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.legal-section-num {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--rs-primary), var(--rs-secondary));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(247, 147, 30, 0.2);
}

.legal-section-title {
  margin: 0;
  font-size: clamp(1.12rem, 1.65vw, 1.42rem);
  font-weight: 850;
  line-height: 1.25;
}

.legal-section-body {
  color: var(--rs-dark);
}

.legal-section-body p {
  margin-bottom: 0.8rem;
  color: var(--rs-muted);
}

.legal-section-body p:last-child {
  margin-bottom: 0;
}

.legal-section-body ul,
.legal-section-body ol {
  margin: 0.4rem 0 0;
  padding-left: 1.25rem;
  color: var(--rs-dark);
}

.legal-section-body li + li {
  margin-top: 0.45rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legal-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 240, 0.95));
  border: 1px solid rgba(77, 77, 77, 0.08);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(77, 77, 77, 0.05);
}

.legal-box h3,
.legal-box h4 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 800;
}

.legal-box p {
  margin-bottom: 0;
}

.legal-aside {
  margin-top: 1rem;
  background: rgba(247, 147, 30, 0.07);
  border-left: 4px solid var(--rs-primary);
  border-radius: 0 14px 14px 0;
  padding: 0.95rem 1rem;
}

.legal-aside strong {
  display: block;
  margin-bottom: 0.25rem;
}

.legal-signature {
  padding-top: 0.45rem;
}

.legal-footer {
  padding: 0 0 2rem;
}

.legal-footer-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(77, 77, 77, 0.08);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 30px rgba(77, 77, 77, 0.06);
  color: var(--rs-muted);
}

.legal-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.legal-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--rs-primary);
}

@media (max-width: 991.98px) {
  .legal-header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .legal-hero-top {
    align-items: flex-start;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .legal-brand {
    align-items: flex-start;
  }

  .legal-doc,
  .legal-hero-card {
    border-radius: 18px;
  }

  .legal-index {
    gap: 0.45rem;
  }

  .legal-index a {
    padding: 0.4rem 0.65rem;
  }
}
