/* Capa moderna para Inicio y Servicios: se carga después de styles.css */

.page-home .hero {
  isolation: isolate;
  background: radial-gradient(circle at 79% 23%,rgba(178,122,244,.28),transparent 25rem), radial-gradient(circle at 13% 87%,rgba(94,53,129,.32),transparent 29rem), #211D25;
}
.page-home .hero::before, .page-home .hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(8px);
}
.page-home .hero::before {
  width: min(45vw,660px); aspect-ratio: 1; right: -16vw; top: 8%;
  background: radial-gradient(circle,rgba(178,122,244,.29),rgba(178,122,244,0) 68%);
}
.page-home .hero::after {
  width: min(32vw,460px); aspect-ratio: 1; left: -13vw; bottom: -30%;
  background: radial-gradient(circle,rgba(94,53,129,.33),rgba(94,53,129,0) 70%);
}
.page-home .hero-inner { min-height: 720px; align-items: center; }
.page-home .hero-copy { padding-block: 26px; }
.page-home .hero h1 { max-width: 760px; text-wrap: balance; }
.page-home .hero h1 span { text-shadow: 0 0 24px rgba(178,122,244,.22); }
.page-home .hero-lead { color: rgba(246,243,233,.9); }
.page-home .hero-context { border-color: rgba(246,243,233,.24); }
.page-home .hero-media { isolation: isolate; }
.page-home .hero-glow {
  position: absolute; z-index: 0; width: 92%; height: 78%; right: -7%; top: 9%; border-radius: 50%;
  background: radial-gradient(circle,rgba(178,122,244,.54),rgba(94,53,129,.12) 44%,rgba(94,53,129,0) 72%);
  filter: blur(12px); pointer-events: none;
}
.page-home .photo-frame {
  z-index: 1; inset: 20px -8px 28px 0; border: 1px solid rgba(246,243,233,.23); border-radius: 20px;
  background: #5E3581; box-shadow: 0 26px 65px rgba(33,29,37,.5),0 0 0 10px rgba(178,122,244,.07);
}
.page-home .photo-frame > img { filter: saturate(.82) contrast(1.02); }
.page-home .photo-cut {
  z-index: 1; background: radial-gradient(circle at 15% 20%,rgba(178,122,244,.12),rgba(178,122,244,0) 40%); pointer-events: none;
}
.page-home .hero-ribbon, .page-home .hero-isotipo { display: none; }

.page-home .button.primary, .pricing-card .button.primary {
  color: #211D25; border-color: rgba(246,243,233,.72);
  background: linear-gradient(135deg,#B27AF4 0%,#F6F3E9 135%);
  box-shadow: inset 0 1px 0 rgba(246,243,233,.9),0 12px 27px rgba(94,53,129,.28);
}
.page-home .button.primary:not(.pending):hover, .page-home .button.primary:not(.pending):focus-visible {
  background: linear-gradient(135deg,#F6F3E9 0%,#B27AF4 125%);
  box-shadow: inset 0 1px 0 #F6F3E9,0 15px 32px rgba(178,122,244,.34);
}

.pricing-section {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 4% 15%,rgba(94,53,129,.58),rgba(94,53,129,0) 28rem), radial-gradient(circle at 96% 88%,rgba(178,122,244,.2),rgba(178,122,244,0) 31rem), #211D25;
}
.pricing-section::before {
  content: ''; position: absolute; z-index: -1; width: min(50vw,780px); aspect-ratio: 1; top: 11%; right: -18vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle,rgba(178,122,244,.15),rgba(178,122,244,0) 67%);
}
.pricing-section .section-layout, .process-section .section-layout { display: block; }
.pricing-section .section-heading, .process-section .section-heading {
  width: 100%; max-width: 800px; margin-bottom: 42px;
}
.pricing-section .section-heading h2, .process-section .section-heading h2 {
  max-width: 800px; font-size: clamp(32px,3.4vw,52px);
}
.pricing-section .section-body, .process-section .section-body { width: 100%; max-width: none; }

.pricing-grid, .pricing-extras-grid {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; width: 100%;
}
.pricing-extras-grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 18px; }
.pricing-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 100%; padding: clamp(24px,2.2vw,34px); overflow: hidden;
  border: 1px solid rgba(246,243,233,.28); border-radius: 20px; background: rgba(246,243,233,.07); color: #F6F3E9;
  box-shadow: 0 18px 34px rgba(33,29,37,.22);
}
.pricing-card::before {
  content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 100% 0,rgba(178,122,244,.2),rgba(178,122,244,0) 39%);
}
.pricing-card > * { position: relative; z-index: 1; }
.pricing-card.plan-tone-1 { background: #F6F3E9; border-color: #F6F3E9; color: #211D25; }
.pricing-card.plan-tone-1::before { background: radial-gradient(circle at 100% 0,rgba(178,122,244,.28),rgba(178,122,244,0) 42%); }
.pricing-card.plan-tone-2 { background: rgba(246,243,233,.1); border-color: rgba(178,122,244,.68); }
.pricing-card.plan-tone-3 { background: #5E3581; border-color: rgba(246,243,233,.46); }
.pricing-card.plan-tone-4 { background: rgba(33,29,37,.82); border-color: rgba(246,243,233,.34); }

.plan-head { padding-bottom: 20px; border-bottom: 1px solid currentColor; }
.plan-index {
  display: block; margin-bottom: 18px; font: 600 11px/1 var(--font-body); letter-spacing: .16em; opacity: .72;
}
.pricing-card h3 { margin: 0; font-size: 22px; line-height: 1.18; letter-spacing: -.035em; }
.pricing-grid .pricing-card h3 { min-height: 2.36em; }
.plan-rate { display: block; margin-top: 8px; font: 500 12px/1.4 var(--font-body); letter-spacing: 0; opacity: .78; }
.plan-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin: 22px 0 0; font-family: var(--font-title); line-height: 1.1;
}
.price-prefix, .price-suffix { font: 500 12px/1.45 var(--font-body); letter-spacing: 0; }
.price-amount { font-size: clamp(36px,3vw,42px); letter-spacing: -.06em; }
.plan-body { padding-top: 22px; }
.plan-body > p { font-size: 14px; line-height: 1.72; }
.plan-body > p:not(:first-child) { margin-bottom: 9px; font-weight: 650; }
.plan-inclusions > p { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.plan-features { margin: 0 0 22px; padding-left: 0; font-size: 14px; line-height: 1.65; }
.plan-features .content-list { margin-block: 0; padding-left: 19px; }
.plan-features li { padding-left: 4px; margin-bottom: 8px; }
.pricing-card .content-list li::marker { color: #B27AF4; }
.plan-tone-1 .content-list li::marker { color: #5E3581; }
.plan-condition {
  margin: 0 0 22px; padding: 12px 0 0; border-top: 1px solid currentColor; font-size: 12px; line-height: 1.55; opacity: .78;
}
.plan-action { margin-top: auto; padding-top: 12px; }
.pricing-card .button { width: 100%; min-height: 58px; padding: 13px 17px; border-radius: 14px; font-size: 11px; line-height: 1.25; }
.pricing-card .pending { cursor: not-allowed; }
.pricing-card .button small { margin-top: 5px; color: #211D25; }
.pricing-footer {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px 42px; width: 100%;
  margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(246,243,233,.3); font-size: 14px;
}
.pricing-footer p { max-width: 830px; margin: 0; color: rgba(246,243,233,.84); }
.pricing-footer a {
  flex-shrink: 0; color: #F6F3E9; font: 600 13px var(--font-title); text-decoration-color: #B27AF4; text-underline-offset: 5px;
}

.process-section {
  position: relative; overflow: hidden; isolation: isolate; color: #211D25;
  background: radial-gradient(circle at 12% 20%,rgba(178,122,244,.28),rgba(178,122,244,0) 25rem), radial-gradient(circle at 88% 78%,rgba(94,53,129,.18),rgba(94,53,129,0) 28rem), #F6F3E9;
}
.process-section::before {
  content: ''; position: absolute; z-index: -1; width: min(45vw,670px); aspect-ratio: 1; top: -30%; right: -15%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle,rgba(178,122,244,.22),rgba(178,122,244,0) 70%);
}
.process-timeline {
  --timeline-gap: clamp(22px,3vw,54px);
  position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--timeline-gap); margin: 0; padding: 0; list-style: none;
}
.process-timeline::before {
  content: ''; position: absolute; top: 18px; left: 14px; right: calc(25% - var(--timeline-gap) * .75 - 14px); height: 1px; background: #5E3581; opacity: .45;
}
.timeline-step { position: relative; min-width: 0; padding-top: 53px; }
.timeline-node {
  position: absolute; top: 5px; left: 0; display: grid; width: 28px; height: 28px; place-items: center;
  border: 1px solid #5E3581; border-radius: 50%; background: #F6F3E9;
  box-shadow: 0 0 0 7px rgba(246,243,233,.7),0 0 18px rgba(178,122,244,.4);
}
.timeline-node::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #B27AF4; }
.timeline-step h3 { margin-bottom: 12px; font-size: 22px; }
.timeline-step p { margin-bottom: 0; font-size: 14px; line-height: 1.72; }
.process-section .section-cta { margin-top: 40px; }
.process-section .button.primary {
  color: #211D25; border-color: #5E3581; background: linear-gradient(135deg,#B27AF4 0%,#F6F3E9 135%);
  box-shadow: inset 0 1px 0 #F6F3E9,0 12px 25px rgba(94,53,129,.22);
}

@media (max-width:1080px) {
  .pricing-grid, .pricing-extras-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-home .hero-inner { min-height: 650px; }
}
@media (max-width:800px) {
  .pricing-section .section-heading, .process-section .section-heading { margin-bottom: 32px; }
  .process-timeline { display: block; padding-left: 45px; }
  .process-timeline::before { top: 13px; right: auto; bottom: 13px; left: 13px; width: 1px; height: auto; }
  .timeline-step { min-height: 0; padding: 0 0 35px; }
  .timeline-step:last-child { padding-bottom: 0; }
  .timeline-node { top: 0; left: -45px; }
}
@media (max-width:600px) {
  .page-home .hero-inner { min-height: 0; }
  .page-home .hero-copy { padding-block: 0; }
  .page-home .photo-frame { inset: 5px 0 20px !important; border-radius: 20px !important; }
  .page-home .hero-glow { width: 105%; height: 85%; right: -12%; }
  .pricing-section, .process-section { padding-block: 54px; }
  .pricing-grid, .pricing-extras-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .pricing-extras-grid { margin-top: 14px; }
  .pricing-card { padding: 25px 22px; }
  .pricing-card h3, .timeline-step h3 { font-size: 22px; }
  .pricing-grid .pricing-card h3 { min-height: 0; }
  .price-amount { font-size: 38px; }
  .pricing-footer { align-items: flex-start; flex-direction: column; margin-top: 24px; }
  .process-timeline { padding-left: 42px; }
  .timeline-node { left: -42px; }
}
@media (prefers-reduced-motion:reduce) {
  .page-home .hero::before, .page-home .hero::after, .page-home .hero-glow, .pricing-section::before, .process-section::before { filter: none; }
}
