/* ============================================
   PROGRAMA EJECUTIVO EN SEGUROS — AAPAS
   Custom styles (violeta brand) + overrides
   ============================================ */

:root {
  --pe-primary: #004f92;
  --pe-primary-dark: #003b6e;
  --pe-primary-light: #2a7abf;
  --pe-accent: #7fc3ff;
  --pe-bg-soft: #e8f4ff;
  --pe-text: #0f2235;
  --pe-text-soft: #4a5b6e;
  --pe-border: #d6e8f7;
  --pe-white: #ffffff;
  --pe-gradient: linear-gradient(135deg, #004f92 0%, #2a7abf 100%);
  --pe-gradient-soft: linear-gradient(135deg, #e8f4ff 0%, #ffffff 100%);
  --pe-shadow-sm: 0 2px 8px rgba(0, 79, 146, 0.08);
  --pe-shadow-md: 0 8px 24px rgba(0, 79, 146, 0.12);
  --pe-shadow-lg: 0 20px 48px rgba(0, 79, 146, 0.18);
  --pe-radius: 14px;
  --pe-radius-lg: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--pe-text);
  line-height: 1.6;
  background: var(--pe-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pe-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--pe-primary-dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pe-primary-light);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--pe-primary);
  margin: 0 0 14px;
  line-height: 1.15;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--pe-text-soft);
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section--center { text-align: center; }
.section--soft { background: var(--pe-bg-soft); }

.text-gradient {
  background: var(--pe-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--pe-gradient);
  color: var(--pe-white);
  box-shadow: var(--pe-shadow-md);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--pe-shadow-lg);
  color: var(--pe-white);
}
.btn--outline {
  background: transparent;
  color: var(--pe-primary);
  border-color: var(--pe-primary);
}
.btn--outline:hover {
  background: var(--pe-primary);
  color: var(--pe-white);
}
.btn--white {
  background: var(--pe-white);
  color: var(--pe-primary);
}
.btn--white:hover {
  background: var(--pe-bg-soft);
  color: var(--pe-primary-dark);
}
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--block { display: flex; width: 100%; }

/* ========== URGENCY BAR ========== */
.urgency-bar {
  background: var(--pe-gradient);
  color: var(--pe-white);
  padding: 10px 0;
  font-size: 0.9rem;
  position: relative;
}
.urgency-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.urgency-bar__inner p { margin: 0; }
.urgency-bar__inner a {
  color: var(--pe-white);
  font-weight: 700;
  text-decoration: underline;
}
.urgency-bar__sep { opacity: 0.5; margin: 0 6px; }

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pe-border);
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.header__logo img { height: 44px; width: auto; }
.header__nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header__link {
  color: var(--pe-text);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.header__link:hover { color: var(--pe-primary); }
.header__cta { flex-shrink: 0; }
.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pe-primary);
  border-radius: 2px;
  transition: .3s;
}

@media (max-width: 960px) {
  .header__nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--pe-white);
    padding: 80px 28px 28px;
    box-shadow: -8px 0 24px rgba(0,0,0,0.08);
    transition: right .3s ease;
    z-index: 110;
  }
  .header__nav.is-open { right: 0; }
  .header__nav ul { flex-direction: column; gap: 18px; }
  .header__toggle { display: flex; }
  .header__cta { display: none; }
}

/* ========== HERO ========== */
.hero {
  background: var(--pe-gradient);
  color: var(--pe-white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,163,240,0.18) 0%, transparent 70%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--pe-white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__eyebrow {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pe-accent);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--pe-white);
}
.hero__subtitle {
  font-size: 1.15rem;
  margin: 0 0 28px;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
}
.hero__stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__stat-pill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
}
.hero__stat-pill strong { color: var(--pe-accent); margin-right: 6px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- SHOWCASE ROTATIVO ---------- */
.hero__showcase {
  position: relative;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__showcase-stage {
  position: relative;
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__showcase-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity .9s ease, transform .9s ease;
  pointer-events: none;
}
.hero__showcase-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.hero__showcase-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.32);
  margin-bottom: 18px;
  background: var(--pe-bg-soft);
  position: relative;
}
.hero__showcase-photo::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--pe-accent), transparent 60%, var(--pe-accent));
  opacity: 0.4;
  z-index: -1;
  animation: showcaseHalo 8s linear infinite;
}
.hero__showcase-photo img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.hero__showcase-name {
  color: var(--pe-white);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 4px;
  line-height: 1.2;
}
.hero__showcase-materia {
  color: var(--pe-accent);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.hero__showcase-role {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  margin: 0;
  max-width: 340px;
  line-height: 1.4;
}
.hero__showcase-dots {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 360px;
}
.hero__showcase-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}
.hero__showcase-dot:hover { background: rgba(255,255,255,0.55); }
.hero__showcase-dot.is-active {
  background: var(--pe-white);
  width: 22px;
  border-radius: 4px;
}

@keyframes showcaseHalo {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .hero__showcase-stage { height: 320px; }
  .hero__showcase-photo { width: 180px; height: 180px; }
  .hero__showcase-name { font-size: 1.1rem; }
}

/* ---------- FACULTY MARQUEE ---------- */
.faculty-marquee {
  background: var(--pe-primary-dark);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.faculty-marquee::before,
.faculty-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.faculty-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--pe-primary-dark), transparent);
}
.faculty-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--pe-primary-dark), transparent);
}
.faculty-marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
}
.faculty-marquee:hover .faculty-marquee__track {
  animation-play-state: paused;
}
.faculty-marquee__face {
  width: 50px; height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
  display: block;
  transition: transform .25s ease, border-color .25s ease;
}
.faculty-marquee__face:hover {
  transform: scale(1.15);
  border-color: var(--pe-accent);
}
.faculty-marquee__face img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__showcase-slide { transition: opacity .2s ease; }
  .hero__showcase-photo::after { animation: none; }
  .faculty-marquee__track { animation: none; }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
}

/* ========== INTRO BLOCK ========== */
.intro {
  padding: 90px 0;
  background: var(--pe-white);
}
.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.intro__text p {
  font-size: 1.08rem;
  color: var(--pe-text-soft);
  margin: 0 0 16px;
}
.intro__highlights {
  background: var(--pe-bg-soft);
  border-radius: var(--pe-radius-lg);
  padding: 36px;
  display: grid;
  gap: 16px;
}
.intro__highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--pe-white);
  border-radius: var(--pe-radius);
  padding: 18px 20px;
  box-shadow: var(--pe-shadow-sm);
}
.intro__highlight-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--pe-gradient);
  color: var(--pe-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.intro__highlight strong { display: block; color: var(--pe-primary); font-size: 1.1rem; }
.intro__highlight span { color: var(--pe-text-soft); font-size: 0.95rem; }

@media (max-width: 880px) {
  .intro__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ========== PILLARS / PUNTOS CLAVE ========== */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.pillar-card {
  background: var(--pe-white);
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius-lg);
  padding: 32px 26px;
  text-align: left;
  transition: all .3s ease;
  position: relative;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pe-shadow-md);
  border-color: var(--pe-primary-light);
}
.pillar-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--pe-bg-soft);
  color: var(--pe-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.pillar-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--pe-primary);
}
.pillar-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pe-text-soft);
}

/* ========== ENFOQUES (DUAL PATHS) ========== */
.tracks__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}
.track-card {
  background: var(--pe-white);
  border: 2px solid var(--pe-border);
  border-radius: var(--pe-radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .3s ease;
  overflow: hidden;
}
.track-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--pe-gradient);
}
.track-card:hover {
  border-color: var(--pe-primary-light);
  box-shadow: var(--pe-shadow-md);
  transform: translateY(-4px);
}
.track-card__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--pe-bg-soft);
  color: var(--pe-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  width: fit-content;
}
.track-card__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--pe-gradient);
  color: var(--pe-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.track-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  color: var(--pe-primary);
}
.track-card p {
  margin: 0 0 20px;
  color: var(--pe-text-soft);
}
.track-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.track-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}
.track-card ul li i {
  color: var(--pe-primary-light);
  margin-top: 4px;
  flex-shrink: 0;
}
.track-card__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--pe-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.track-card__date {
  color: var(--pe-text-soft);
  font-size: 0.9rem;
}
.track-card__date strong { color: var(--pe-primary); }

@media (max-width: 760px) {
  .tracks__grid { grid-template-columns: 1fr; }
}

/* ========== STRUCTURE / DUAL CUATRIMESTRES ========== */
.structure {
  background: var(--pe-bg-soft);
}
.structure__diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 40px;
}
.structure__step {
  background: var(--pe-white);
  border-radius: var(--pe-radius-lg);
  padding: 28px;
  box-shadow: var(--pe-shadow-sm);
}
.structure__step-eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pe-primary-light);
  margin-bottom: 8px;
}
.structure__step h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--pe-primary);
}
.structure__step p { margin: 0; font-size: 0.92rem; color: var(--pe-text-soft); }
.structure__step--common {
  background: var(--pe-gradient);
  color: var(--pe-white);
}
.structure__step.structure__step--common h3,
.structure__step.structure__step--common .structure__step-eyebrow { color: var(--pe-white); }
.structure__step.structure__step--common p { color: rgba(255,255,255,0.9); }
.structure__step.structure__step--common h3 i { color: var(--pe-accent) !important; }
.structure__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--pe-primary-light);
}

@media (max-width: 880px) {
  .structure__diagram { grid-template-columns: 1fr; }
  .structure__arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ========== SCHEDULE TABLE ========== */
.schedule__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 28px;
  flex-wrap: wrap;
}
.schedule__tab {
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid var(--pe-border);
  background: var(--pe-white);
  color: var(--pe-text-soft);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all .25s ease;
}
.schedule__tab:hover { border-color: var(--pe-primary-light); color: var(--pe-primary); }
.schedule__tab.is-active {
  background: var(--pe-gradient);
  border-color: transparent;
  color: var(--pe-white);
}
.schedule__panel { display: none; }
.schedule__panel.is-active { display: block; }
.schedule__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--pe-white);
  border-radius: var(--pe-radius-lg);
  overflow: hidden;
  box-shadow: var(--pe-shadow-sm);
  font-size: 0.92rem;
}
.schedule__table thead {
  background: var(--pe-gradient);
  color: var(--pe-white);
}
.schedule__table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.schedule__table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--pe-border);
  color: var(--pe-text-soft);
}
.schedule__table tr:last-child td { border-bottom: none; }
.schedule__table tr:hover td { background: var(--pe-bg-soft); }
.schedule__table td:first-child {
  font-weight: 700;
  color: var(--pe-primary);
  white-space: nowrap;
}
.schedule__table td:nth-child(2) { color: var(--pe-text); font-weight: 500; }

@media (max-width: 760px) {
  .schedule__table { font-size: 0.82rem; }
  .schedule__table th, .schedule__table td { padding: 10px 8px; }
}

/* ========== PROFESORES ========== */
.faculty__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.faculty-card {
  background: var(--pe-white);
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius);
  padding: 22px;
  transition: all .25s ease;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.faculty-card:hover {
  border-color: var(--pe-primary-light);
  box-shadow: var(--pe-shadow-sm);
  transform: translateY(-3px);
}
.faculty-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--pe-gradient);
  color: var(--pe-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,79,146,0.18);
  overflow: hidden;
}
img.faculty-card__avatar {
  object-fit: cover;
  background: var(--pe-bg-soft);
}
.faculty-card__body { flex: 1; min-width: 0; }
.faculty-card__name {
  font-weight: 700;
  color: var(--pe-primary);
  font-size: 1rem;
  margin: 0 0 6px;
}
.faculty-card__bio {
  margin: 0;
  font-size: 0.88rem;
  color: var(--pe-text-soft);
  line-height: 1.55;
}

/* ========== BENEFITS ========== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.benefit-pill {
  background: var(--pe-white);
  border-radius: var(--pe-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--pe-shadow-sm);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all .3s ease;
}
.benefit-pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--pe-shadow-md);
}
.benefit-pill__num {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--pe-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  flex-shrink: 0;
}
.benefit-pill__text {
  font-size: 1rem;
  color: var(--pe-text);
  font-weight: 500;
}

/* ========== PRICING ========== */
.pricing { background: var(--pe-bg-soft); }

.pricing__toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.pricing__toggle-btn {
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--pe-border);
  background: var(--pe-white);
  color: var(--pe-text-soft);
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}
.pricing__toggle-btn.is-active {
  background: var(--pe-gradient);
  border-color: transparent;
  color: var(--pe-white);
}

.pricing__grid {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.pricing__grid.is-active { display: grid; }

.price-card {
  background: var(--pe-white);
  border-radius: var(--pe-radius-lg);
  padding: 36px;
  box-shadow: var(--pe-shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .3s ease;
}
.price-card--featured {
  border: 2px solid var(--pe-primary);
  box-shadow: var(--pe-shadow-md);
}
.price-card__ribbon {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--pe-gradient);
  color: var(--pe-white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-card h3 {
  margin: 0 0 6px;
  color: var(--pe-primary);
  font-size: 1.35rem;
}
.price-card__sub { color: var(--pe-text-soft); font-size: 0.95rem; margin: 0 0 22px; }
.price-card__price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pe-primary);
  margin: 14px 0 6px;
  line-height: 1;
}
.price-card__price small {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pe-text-soft);
  margin-top: 6px;
}
.price-card__detail {
  background: var(--pe-bg-soft);
  border-radius: var(--pe-radius);
  padding: 16px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.price-card__detail strong { color: var(--pe-primary); }
.price-card__discount-badge {
  display: inline-block;
  background: #16a34a;
  color: var(--pe-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-left: 6px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
}
.price-card ul li {
  font-size: 0.92rem;
  color: var(--pe-text-soft);
  display: flex;
  gap: 8px;
}
.price-card ul li i { color: #16a34a; margin-top: 4px; }
.price-card__footer { margin-top: auto; }

.pricing__notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 920px;
  margin: 32px auto 0;
}
.pricing__note {
  background: var(--pe-white);
  border-left: 4px solid var(--pe-primary);
  border-radius: var(--pe-radius);
  padding: 18px 20px;
  font-size: 0.92rem;
  color: var(--pe-text-soft);
}
.pricing__note strong { color: var(--pe-primary); display: block; margin-bottom: 4px; }

@media (max-width: 760px) {
  .pricing__grid.is-active { grid-template-columns: 1fr; }
  .pricing__notes { grid-template-columns: 1fr; }
}

/* ========== FAQ ========== */
.faq__list { max-width: 820px; margin: 32px auto 0; }
.faq__item {
  background: var(--pe-white);
  border: 1px solid var(--pe-border);
  border-radius: var(--pe-radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .25s ease;
}
.faq__item[open] { border-color: var(--pe-primary-light); box-shadow: var(--pe-shadow-sm); }
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--pe-primary);
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__icon { transition: transform .3s ease; color: var(--pe-primary-light); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__answer { padding: 0 22px 18px; color: var(--pe-text-soft); font-size: 0.96rem; }
.faq__answer p { margin: 0 0 8px; }

/* ========== CTA FINAL ========== */
.cta-final {
  background: var(--pe-gradient);
  color: var(--pe-white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.cta-final__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-final h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--pe-white);
}
.cta-final p {
  font-size: 1.1rem;
  margin: 0 0 32px;
  color: rgba(255,255,255,0.9);
}
.cta-final__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 32px;
  font-size: 0.98rem;
}
.cta-final__contacts a { color: var(--pe-white); }
.cta-final__contacts a:hover { color: var(--pe-accent); }

/* ========== FOOTER ========== */
.footer {
  background: var(--pe-primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer__logo { height: 44px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__about { font-size: 0.92rem; line-height: 1.6; }
.footer h4 {
  color: var(--pe-white);
  font-size: 1rem;
  margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 5px 0; font-size: 0.92rem; }
.footer ul a { color: rgba(255,255,255,0.8); }
.footer ul a:hover { color: var(--pe-accent); }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--pe-white);
}
.footer__social a:hover { background: var(--pe-accent); color: var(--pe-primary-dark); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: var(--pe-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(37,211,102,0.4);
  z-index: 99;
  transition: all .25s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--pe-white);
}

/* ========== FADE IN ANIMATION ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
