@font-face {
  font-family: "Allura Local";
  src: url("../fonts/allura-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --rp-purple: #401268;
  --rp-purple-dark: #2b0c47;
  --rp-turquoise: #c8ebeb;
  --rp-lavender: #e8dff5;
  --rp-peach: #fdebd0;
  --rp-orange: #ee8d50;
  --rp-cream: #fffaf4;
  --rp-white: #ffffff;
  --rp-text: #2f2438;
  --rp-muted: #665d6d;
  --rp-border: rgba(64, 18, 104, 0.16);
  --rp-shadow: 0 16px 42px rgba(64, 18, 104, 0.10);
  --rp-radius: 22px;
  --rp-container: 1180px;
  --rp-font-body: "Poppins", Arial, sans-serif;
  --rp-font-display: "Cinzel Decorative", Georgia, serif;
  --rp-font-script: "Allura Local", "Allura", cursive;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--rp-text);
  background: var(--rp-cream);
  font-family: var(--rp-font-body);
  font-size: 17px;
  line-height: 1.7;
}

.rp-landing *,
.rp-site-header *,
.rp-preview-footer * {
  box-sizing: border-box;
}

body.rp-landing-page #header {
  display: none;
}

.rp-skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 12px 16px;
  color: var(--rp-white);
  background: var(--rp-purple);
  border-radius: 8px;
}

.rp-skip-link:focus {
  transform: translateY(0);
}

.rp-site-header {
  position: sticky;
  z-index: 999;
  top: 0;
  background: rgba(255, 250, 244, 0.96);
  border-bottom: 1px solid var(--rp-border);
  backdrop-filter: blur(12px);
}

body.admin-bar .rp-site-header { top: 32px; }

.rp-site-header__inner {
  width: min(calc(100% - 32px), var(--rp-container));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rp-logo {
  display: inline-flex;
  align-items: center;
}

.rp-logo img {
  display: block;
  width: 108px;
  height: 64px;
  object-fit: contain;
}

.rp-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  color: var(--rp-purple);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
}

.rp-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.rp-site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rp-site-nav a {
  color: var(--rp-purple);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.rp-site-nav a:hover,
.rp-site-nav a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.rp-container {
  width: min(calc(100% - 40px), var(--rp-container));
  margin-inline: auto;
}

.rp-section {
  padding: clamp(72px, 8vw, 118px) 0;
}

.rp-section--compact {
  padding: clamp(48px, 6vw, 78px) 0;
}

.rp-section--white { background: var(--rp-white); }
.rp-section--lavender { background: var(--rp-lavender); }
.rp-section--turquoise { background: var(--rp-turquoise); }
.rp-section--peach { background: var(--rp-peach); }
.rp-section--purple { background: var(--rp-purple); color: var(--rp-white); }

.rp-eyebrow {
  margin: 0 0 14px;
  color: var(--rp-orange);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rp-eyebrow--purple { color: var(--rp-purple); }

.rp-kicker {
  margin: 18px 0 0;
  color: var(--rp-purple);
  font-family: var(--rp-font-script);
  font-size: clamp(2rem, 2.25vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
}

.rp-landing .rp-kicker,
.rp-landing .rp-about__name {
  font-family: var(--rp-font-script) !important;
}

.rp-landing h1,
.rp-landing h2,
.rp-landing h3 {
  margin-top: 0;
  color: var(--rp-purple);
  line-height: 1.2;
  text-wrap: balance;
}

.rp-landing h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-family: var(--rp-font-display);
  font-size: clamp(2.25rem, 5.6vw, 4.9rem);
  letter-spacing: -0.035em;
}

.rp-landing h2 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.025em;
}

.rp-landing h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.rp-title-line {
  display: block;
}

.rp-lead {
  max-width: 760px;
  margin: 0;
  color: var(--rp-muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.rp-section--purple h2,
.rp-section--purple h3,
.rp-section--purple .rp-lead,
.rp-section--purple .rp-eyebrow {
  color: var(--rp-white);
}

.rp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 110px) 0;
  background: var(--rp-cream);
}

.rp-hero::before {
  position: absolute;
  top: -110px;
  right: 4vw;
  width: 340px;
  height: 340px;
  content: "";
  background: var(--rp-turquoise);
  border-radius: 50%;
  opacity: 0.7;
}

.rp-hero::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  content: "";
  border: 2px solid rgba(238, 141, 80, 0.35);
  border-radius: 50%;
}

.rp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.rp-hero h1 {
  max-width: 680px;
  font-family: var(--rp-font-body);
  font-size: clamp(2.55rem, 3.4vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.rp-hero__copy > p:not(.rp-eyebrow):not(.rp-kicker) {
  max-width: 720px;
}

.rp-hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: end;
}

.rp-hero__image-wrap::before {
  position: absolute;
  inset: -14px 14px 14px -14px;
  content: "";
  background: var(--rp-turquoise);
  border-radius: 32px;
}

.rp-hero__image {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  box-shadow: var(--rp-shadow);
}

.rp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.rp-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  color: var(--rp-purple);
  background: var(--rp-orange);
  border: 2px solid var(--rp-orange);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(238, 141, 80, 0.22);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.rp-button:hover {
  transform: translateY(-2px);
  background: #f29d67;
  box-shadow: 0 12px 26px rgba(238, 141, 80, 0.28);
}

.rp-button:focus-visible,
.rp-menu-toggle:focus-visible,
.rp-landing a:focus-visible,
.rp-landing summary:focus-visible {
  outline: 3px solid #147a7a;
  outline-offset: 4px;
}

.rp-button--light {
  color: var(--rp-purple);
  background: var(--rp-white);
  border-color: var(--rp-white);
  box-shadow: none;
}

.rp-button--small {
  min-height: 44px;
  padding: 9px 17px;
  font-size: 0.95rem;
}

.rp-helper {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--rp-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.rp-grid-2,
.rp-grid-3,
.rp-grid-4 {
  display: grid;
  gap: 20px;
  margin-top: 42px;
}

.rp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.rp-card {
  height: 100%;
  padding: clamp(24px, 3vw, 34px);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius);
}

.rp-card p:last-child { margin-bottom: 0; }
.rp-card--lavender { background: var(--rp-lavender); }
.rp-card--turquoise { background: var(--rp-turquoise); }
.rp-card--peach { background: var(--rp-peach); }

#situacion .rp-card {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.rp-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  color: var(--rp-white);
  background: var(--rp-purple);
  border-radius: 50%;
  font-weight: 800;
}

.rp-statement {
  max-width: 850px;
  margin: 48px auto 0;
  color: var(--rp-purple);
  font-size: clamp(1.35rem, 2.7vw, 2.1rem);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

.rp-service {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.rp-service__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.32);
}

.rp-service__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.32);
}

.rp-service__list strong {
  color: var(--rp-peach);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rp-service__list span {
  color: rgba(255,255,255,.94);
  font-size: 1.08rem;
  line-height: 1.6;
}

.rp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.rp-tags li {
  padding: 9px 14px;
  color: var(--rp-purple);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
}

.rp-process {
  counter-reset: rp-step;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.rp-process li {
  counter-increment: rp-step;
  display: grid;
  grid-template-columns: 82px 190px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rp-border);
}

.rp-process li::before {
  content: "0" counter(rp-step);
  color: var(--rp-orange);
  font-size: 1.35rem;
  font-weight: 800;
}

.rp-process strong {
  color: var(--rp-purple);
  font-size: 1.08rem;
  text-transform: uppercase;
}

.rp-proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0;
}

.rp-metric {
  padding: 24px;
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: 18px;
}

.rp-metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rp-purple);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.rp-metric span {
  color: var(--rp-muted);
  font-size: 1rem;
}

.rp-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
  align-items: start;
}

.rp-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: 18px;
}

.rp-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.rp-testimonial {
  display: flex;
  height: 100%;
  margin: 0;
  padding: clamp(26px, 3vw, 38px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--rp-white);
  border-left: 5px solid var(--rp-orange);
  border-radius: 0 var(--rp-radius) var(--rp-radius) 0;
  text-align: center;
}

.rp-testimonial p {
  margin-top: 0;
  color: var(--rp-text);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
}

.rp-testimonial footer {
  color: var(--rp-purple);
  font-size: 0.95rem;
  font-weight: 800;
}

.rp-about {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
}

.rp-about__image-wrap {
  position: relative;
  width: min(100%, 410px);
}

.rp-about__image-wrap::before {
  position: absolute;
  inset: -14px 14px 14px -14px;
  content: "";
  background: var(--rp-lavender);
  border-radius: 46% 54% 42% 58% / 56% 41% 59% 44%;
}

.rp-about__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 44% 56% 46% 54% / 55% 43% 57% 45%;
  box-shadow: var(--rp-shadow);
}

.rp-about .rp-kicker {
  white-space: normal;
}

.rp-about__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.12em 0.28em;
}

.rp-about__name {
  font-family: var(--rp-font-script);
  font-size: 1.28em;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.rp-faq {
  max-width: 900px;
  margin-top: 34px;
  border-top: 1px solid var(--rp-border);
}

.rp-faq details {
  border-bottom: 1px solid var(--rp-border);
}

.rp-faq summary {
  min-height: 58px;
  padding: 19px 46px 19px 0;
  color: var(--rp-purple);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.5;
}

.rp-faq details > div {
  max-width: 760px;
  padding: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.rp-contact {
  text-align: center;
}

.rp-contact h2,
.rp-contact .rp-lead,
.rp-contact .rp-kicker {
  margin-inline: auto;
}

.rp-contact .rp-kicker {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--rp-white);
  white-space: normal;
}

.rp-contact .rp-actions {
  justify-content: center;
}

.rp-contact .rp-helper {
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.65;
}

.rp-aid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 42px;
}

.rp-aid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  margin: 0;
}

.rp-aid img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.rp-aid figcaption {
  padding: 16px;
  color: var(--rp-purple);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.rp-preview-footer {
  padding: 34px 0;
  color: rgba(255,255,255,.82);
  background: var(--rp-purple-dark);
  font-size: 0.95rem;
}

.rp-preview-footer__inner {
  width: min(calc(100% - 40px), var(--rp-container));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.rp-preview-footer a { color: var(--rp-white); }

.rp-note {
  padding: 18px 20px;
  color: var(--rp-purple);
  background: var(--rp-peach);
  border-left: 4px solid var(--rp-orange);
  border-radius: 0 12px 12px 0;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .rp-grid-4,
  .rp-proof-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .rp-hero__grid,
  .rp-service,
  .rp-about { grid-template-columns: 1fr; }

  .rp-hero__image-wrap {
    width: min(82vw, 500px);
    justify-self: center;
  }

  .rp-kicker { white-space: normal; }

  .rp-about__image-wrap {
    width: min(100%, 440px);
    justify-self: center;
  }

  .rp-process li { grid-template-columns: 60px 150px 1fr; gap: 18px; }
}

@media (max-width: 1100px) {
  .rp-kicker { white-space: normal; }
}

@media (max-width: 780px) {
  .rp-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }

  .rp-site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    background: var(--rp-white);
    border: 1px solid var(--rp-border);
    border-radius: 0 0 18px 18px;
    box-shadow: var(--rp-shadow);
  }

  .rp-site-nav.is-open { display: flex; }

  .rp-site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
  }

  .rp-grid-2,
  .rp-grid-3,
  .rp-gallery,
  .rp-aid-grid { grid-template-columns: 1fr; }

  .rp-aid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rp-aid img { height: min(64vw, 300px); }

  .rp-service__list li { grid-template-columns: 1fr; gap: 6px; }

  .rp-process li { grid-template-columns: 48px 1fr; gap: 14px; }
  .rp-process li span { grid-column: 2; }

  .rp-preview-footer__inner { flex-direction: column; }

}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .rp-container { width: min(calc(100% - 28px), var(--rp-container)); }
  .rp-section { padding: 64px 0; }
  .rp-hero { padding-top: 50px; }
  .rp-landing h1 { font-size: clamp(2.05rem, 10.5vw, 3.1rem); }
  .rp-grid-4,
  .rp-proof-metrics { grid-template-columns: 1fr; }
  .rp-actions { align-items: stretch; flex-direction: column; }
  .rp-button { width: 100%; }
  .rp-hero__image-wrap { width: min(88vw, 380px); }
}

@media (orientation: landscape) and (max-height: 520px) {
  .rp-hero { padding: 38px 0 50px; }
  .rp-hero__grid { grid-template-columns: 1.2fr 0.8fr; gap: 28px; }
  .rp-hero__image-wrap { width: min(33vw, 280px); }
}

@media (max-width: 782px) {
  body.admin-bar .rp-site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .rp-site-header,
  .rp-actions { display: none; }
  .rp-section { padding: 36px 0; break-inside: avoid; }
  body { background: #fff; }
}
