/* ============================================================
   Landing pública REAL - basada en propuesta WEB
   ============================================================ */

.public-body {
  background:
    radial-gradient(circle at 15% 46%, rgba(153, 13, 206, .08), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(153, 13, 206, .06), transparent 28%),
    #ffffff;
  color: var(--primary);
}

.topbar.public-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(153,13,206,.08);
  backdrop-filter: blur(16px);
}

.public-topbar .nav {
  height: 72px;
}

.public-topbar .brand-logo {
  width: 118px;
}

.public-topbar .nav-links {
  gap: clamp(18px, 4vw, 56px);
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
}

.public-topbar .nav-links a {
  font-size: 14px;
}

.social-strip {
  display: inline-flex;
  align-items: center;
}

.social-strip img {
  height: 31px;
  width: auto;
}

.hero-real {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 22% 10%, rgba(255,183,3,.95) 0 24%, transparent 25%),
    radial-gradient(circle at 92% 18%, rgba(255,183,3,.96) 0 22%, transparent 23%),
    linear-gradient(135deg, var(--primary) 0%, #ae0edb 48%, var(--primary) 100%);
}

.hero-real::before {
  content: "";
  position: absolute;
  left: -5%;
  top: -22%;
  width: 55%;
  height: 92%;
  background: var(--accent);
  border-radius: 50%;
  transform: rotate(18deg);
}

.hero-real::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -28%;
  width: 48%;
  height: 86%;
  background: var(--accent);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.hero-real .container {
  position: relative;
  z-index: 2;
}

.hero-real-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 26px;
}

.hero-products {
  position: relative;
  min-height: 380px;
}

.hero-products img {
  position: absolute;
  left: -40px;
  bottom: -80px;
  width: min(820px, 118%);
  max-width: none;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,.18));
}

.hero-copy-real {
  text-align: left;
  color: white;
  padding: 36px 0;
}

.hero-copy-real h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  line-height: .86;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.hero-copy-real h1 span {
  display: block;
  color: var(--accent);
}

.hero-copy-real p {
  max-width: 600px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions-real {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions-real .btn-light {
  color: var(--primary);
}

.public-section {
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.public-section.compact {
  padding: 54px 0;
}

.real-section-title {
  margin: 0 0 20px;
  color: var(--primary);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: .95;
  letter-spacing: -.045em;
  text-align: center;
  text-transform: uppercase;
}

.real-section-title strong {
  color: var(--accent);
}

.real-section-lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  text-align: center;
  font-size: 17px;
  line-height: 1.65;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(210px, 1fr));
  gap: 24px;
  margin-top: 34px;
  overflow-x: auto;
  padding: 4px 4px 22px;
  scroll-snap-type: x proximity;
}

.real-plan-card {
  min-height: 342px;
  min-width: 210px;
  border: 2px solid var(--primary);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  box-shadow: 0 18px 36px rgba(104,0,133,.08);
}

.real-plan-card-header {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--accent);
  background: var(--primary);
  font-size: 28px;
  line-height: .95;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.real-plan-card-media {
  height: 160px;
  display: grid;
  place-items: center;
  padding: 14px;
  background:
    radial-gradient(circle at center, rgba(255,183,3,.18), transparent 58%),
    #fff;
}

.real-plan-card-media img {
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.13));
}

.real-plan-card-body {
  padding: 16px 16px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.real-plan-card-body h3 {
  margin: 0;
  color: var(--accent);
  font-size: 22px;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.03em;
}

.real-plan-card-body h3 span {
  display: block;
  color: var(--primary);
  font-size: 21px;
  text-transform: none;
}

.real-plan-card-body p {
  min-height: 42px;
  margin: 9px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.real-plan-card-body .btn {
  align-self: center;
  margin-top: auto;
  min-height: 34px;
  padding: 8px 18px;
  font-size: 12px;
}

.plan-meta-visual,
.plan-ruta-visual {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -.08em;
  box-shadow: 0 16px 28px rgba(104,0,133,.16);
}

.plan-ruta-visual {
  border-radius: 32px;
}

.what-real-wrap {
  position: relative;
}

.what-real-wrap::before,
.faq-section::before {
  content: "";
  position: absolute;
  width: 920px;
  height: 920px;
  left: -360px;
  top: 60px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  opacity: .9;
  pointer-events: none;
}

.what-real-card {
  position: relative;
  z-index: 2;
  width: min(850px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 28px;
  align-items: center;
  color: white;
  background: var(--primary);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.what-real-card h2 {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: clamp(32px, 4vw, 50px);
  line-height: .95;
  letter-spacing: -.045em;
}

.what-real-card p {
  margin: 0 0 14px;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
}

.what-real-card img {
  width: 250px;
  height: 320px;
  object-fit: cover;
  border-radius: 22px;
}

.steps-real {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.step-real-card {
  background: white;
  border: 2px solid var(--primary);
  border-radius: 22px;
  padding: 26px;
  text-align: center;
}

.step-real-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--accent);
  font-size: 26px;
  font-weight: 900;
}

.step-real-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 24px;
  letter-spacing: -.03em;
}

.step-real-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq-section {
  position: relative;
  background: #fff;
}

.faq-section::before {
  left: auto;
  right: -420px;
  top: 0;
}

.faq-box {
  position: relative;
  z-index: 2;
  width: min(940px, 100%);
  margin: 32px auto 0;
  overflow: hidden;
  border: 2px solid var(--accent);
  border-radius: 24px 24px 0 0;
  background: white;
}

.faq-title-bar {
  padding: 26px 36px;
  color: var(--accent);
  background: var(--primary);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -.04em;
}

.faq-box details {
  border-top: 1px solid var(--accent);
}

.faq-box summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 34px;
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-box summary::-webkit-details-marker {
  display: none;
}

.faq-box summary::after {
  content: "⌄";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--primary);
  font-weight: 900;
}

.faq-box details[open] summary {
  background: var(--accent);
}

.faq-box details[open] summary::after {
  content: "⌃";
}

.faq-content {
  padding: 0 34px 24px;
  color: var(--primary);
  line-height: 1.65;
}

.real-footer {
  background: var(--accent);
  color: white;
  padding: 38px 0;
}

.real-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 34px;
  align-items: start;
}

.real-footer img.footer-logo {
  width: 115px;
  margin-bottom: 16px;
}

.real-footer p,
.real-footer a {
  color: white;
  line-height: 1.4;
  font-size: 14px;
}

.real-footer-menu {
  display: grid;
  gap: 5px;
  font-weight: 600;
}

.real-footer-legal {
  font-size: 12px;
  line-height: 1.32;
  opacity: .96;
}

@media (max-width: 1100px) {
  .hero-real-grid {
    grid-template-columns: 1fr;
  }

  .hero-products {
    min-height: 300px;
  }

  .hero-products img {
    position: relative;
    left: 0;
    bottom: -20px;
    width: 100%;
  }

  .hero-copy-real {
    text-align: center;
  }

  .hero-copy-real p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-real {
    justify-content: center;
  }

  .featured-grid {
    grid-template-columns: repeat(7, 230px);
  }

  .real-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .public-topbar .nav {
    gap: 12px;
  }

  .public-topbar .nav-links {
    gap: 14px;
    font-size: 12px;
    overflow-x: auto;
  }

  .social-strip {
    display: none;
  }

  .hero-real {
    min-height: auto;
    padding: 44px 0 0;
  }

  .hero-copy-real h1 {
    font-size: 52px;
  }

  .what-real-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .what-real-card img {
    width: 100%;
    height: 250px;
  }

  .steps-real {
    grid-template-columns: 1fr;
  }

  .faq-title-bar {
    padding: 22px;
  }

  .faq-box summary,
  .faq-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}
