/* Recursos asociativos — layout inspirado en la propuesta */

/* Hero verde */
.rs-hero {
  background: var(--green);
  color: #fff;
  padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}

.rs-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: min(520px, 60vw);
  height: min(520px, 60vw);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(0.5px);
}

.rs-hero__grid {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--wrap-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.rs-breadcrumb {
  margin: 0 0 14px;
}

.rs-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
}

.rs-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.rs-breadcrumb a:hover,
.rs-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.rs-breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.rs-hero__title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.rs-hero__subtitle {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.94);
}

.rs-hero__art {
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

.rs-hero__art svg {
  width: min(420px, 100%);
  height: auto;
  opacity: 0.9;
}

/* Sección base */
.rs-section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.rs-section--tint {
  background: #f6f8f4;
}

.rs-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--page-accent);
}

.rs-h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

.rs-prose {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 60ch;
}

.rs-prose + .rs-prose {
  margin-top: 1rem;
}

/* Grid 2 columnas */
.rs-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

/* Tarjeta lateral */
.rs-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 10px 34px rgba(15, 17, 19, 0.06);
}

.rs-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--page-accent-soft);
  color: var(--page-accent);
  font-weight: 800;
  font-size: 0.82rem;
}

.rs-card__tag svg {
  width: 18px;
  height: 18px;
}

.rs-card__title {
  margin: 14px 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
}

.rs-card__text {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Mapa (placeholder) */
.rs-map {
  margin: 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--page-border-subtle);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(15, 17, 19, 0.06);
}

.rs-map img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.rs-cta {
  margin-top: 16px;
}

/* Servicios: grid iconos */
.rs-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 14px;
  margin-top: 18px;
}

.rs-service {
  text-align: center;
  padding: 12px 10px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--page-border-subtle);
}

.rs-service__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--page-accent-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  color: var(--page-accent);
}

.rs-service__icon svg {
  width: 26px;
  height: 26px;
}

.rs-service__label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

/* Banner final */
.rs-banner {
  margin-top: clamp(28px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: 0 10px 34px rgba(15, 17, 19, 0.06);
}

.rs-banner__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--page-accent-soft);
  display: grid;
  place-items: center;
  color: var(--page-accent);
}

.rs-banner__icon svg {
  width: 28px;
  height: 28px;
}

.rs-banner__title {
  margin: 0 0 4px;
  font-weight: 800;
  color: #111;
}

.rs-banner__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .rs-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rs-hero__grid {
    grid-template-columns: 1fr;
  }

  .rs-hero__art {
    justify-content: flex-start;
  }

  .rs-grid-2 {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .rs-banner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .rs-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

