/* ===== PLAN LANDING PAGES — comparte tokens con style.css ===== */

.plan-page {
  background: var(--bg-light);
  color: var(--text-on-light);
  min-height: 100vh;
}

/* El header de las plan pages es estático (no fixed sobre canvas) */
.plan-page .site-header { position: sticky; }

.plan-page main { padding-top: 0; }

/* ===== HERO ===== */
.plan-hero {
  position: relative;
  padding: 120px 6vw 100px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.plan-hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.plan-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(30, 42, 72, 0.45);
}

.plan-breadcrumb a { color: rgba(30, 42, 72, 0.45); text-decoration: none; transition: color 0.2s; }
.plan-breadcrumb a:hover { color: var(--accent); }
.plan-breadcrumb .current { color: var(--accent); }

.plan-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(30, 188, 189, 0.1);
  border: 1px solid rgba(30, 188, 189, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
}

.plan-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
}

.plan-title em { font-style: normal; color: var(--accent); }

.plan-tagline {
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(30, 42, 72, 0.7);
  max-width: 440px;
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 6px;
}

.plan-price-from {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30, 42, 72, 0.5);
}

.plan-price-amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
}

.plan-price-period {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(30, 42, 72, 0.55);
  text-transform: uppercase;
}

.plan-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.plan-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(30, 42, 72, 0.82);
}

.plan-highlights li::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.plan-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.plan-ghost-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(30, 42, 72, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.plan-ghost-link:hover { color: var(--accent); }

/* ===== HERO IMAGE ===== */
.plan-hero-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #fff;
  box-shadow: 0 30px 80px rgba(30, 42, 72, 0.16);
}

.plan-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.plan-media-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 8px 24px rgba(30, 42, 72, 0.12);
}

.plan-media-badge strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.plan-media-badge span {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(30, 42, 72, 0.55);
}

/* ===== INCLUDED / FEATURE GRID ===== */
.plan-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 6vw;
  border-top: 1px solid rgba(30, 42, 72, 0.08);
}

.plan-section-head {
  margin-bottom: 48px;
  max-width: 620px;
}

.plan-section-head .static-label { margin-bottom: 12px; }

.plan-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
}

.plan-section-head p {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(30, 42, 72, 0.6);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(30, 42, 72, 0.07);
}

.included-item .ic {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.included-item .ic svg { width: 12px; height: 12px; stroke: #fff; }

.included-item.off { opacity: 0.4; }
.included-item.off .ic { background: rgba(30, 42, 72, 0.18); }

.included-item p {
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(30, 42, 72, 0.82);
}

/* ===== SPECS ===== */
.plan-specs { background: #f7f4ee; }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.spec-card {
  background: #fff;
  border: 1px solid rgba(30, 42, 72, 0.08);
  border-radius: 16px;
  padding: 26px 24px;
}

.spec-card .spec-k {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.spec-card .spec-v {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-on-light);
}

.spec-card .spec-sub {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(30, 42, 72, 0.55);
}

/* ===== IDEAL FOR ===== */
.ideal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ideal-card {
  background: #fff;
  border: 1px solid rgba(30, 42, 72, 0.1);
  border-radius: 18px;
  padding: 30px 28px;
}

.ideal-card .ideal-icon { font-size: 1.6rem; margin-bottom: 14px; }

.ideal-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-on-light);
  margin-bottom: 8px;
}

.ideal-card p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(30, 42, 72, 0.65);
}

/* ===== CROSS-SELL (otros planes) ===== */
.cross-sell { background: var(--bg-light); }

.cross-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cross-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid rgba(30, 42, 72, 0.1);
  border-radius: 18px;
  padding: 26px 28px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cross-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(30, 42, 72, 0.1); }

.cross-card .cross-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-on-light);
}

.cross-card .cross-price {
  font-size: 0.84rem;
  color: rgba(30, 42, 72, 0.55);
  margin-top: 2px;
}

.cross-card .cross-arrow {
  font-size: 1.2rem;
  color: var(--accent);
}

/* ===== FINAL CTA reutiliza .section-final-cta de style.css ===== */
.plan-page .section-final-cta { border-top: none; }

/* ===== THEME: PRO (destacado) ===== */
.theme-pro .plan-eyebrow,
.theme-ultra .plan-eyebrow { color: var(--accent); }

/* ===== THEME: ULTRA (premium / alcalina) ===== */
.theme-ultra { --accent: #16a59c; }

.theme-ultra .plan-hero {
  background: radial-gradient(120% 120% at 80% 0%, rgba(43, 249, 243, 0.12) 0%, rgba(240, 236, 227, 0) 55%);
}

.theme-ultra .plan-eyebrow {
  color: #0f7d76;
  background: rgba(43, 249, 243, 0.16);
  border-color: rgba(22, 165, 156, 0.3);
}

.theme-ultra .plan-media-badge strong { color: #0f7d76; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .plan-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 90px 6vw 70px;
  }
  .plan-hero-media { order: -1; aspect-ratio: 3 / 2; }
  .included-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .ideal-grid { grid-template-columns: 1fr; }
  .cross-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .plan-section { padding: 60px 6vw; }
  .specs-grid { grid-template-columns: 1fr; }
}

/* ===== PÁGINA CÓMO FUNCIONA ===== */
.tech-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 130px 6vw 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tech-intro .plan-tagline { max-width: 640px; }

.tech-row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  border-top: 1px solid rgba(30, 42, 72, 0.08);
}

.tech-text { display: flex; flex-direction: column; gap: 18px; }

.tech-row h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
}

.tech-plans {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(30, 42, 72, 0.5);
}
.tech-plans strong { color: var(--accent); font-weight: 600; }

.tech-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(30, 42, 72, 0.7);
}

.tech-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }

.tech-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(30, 42, 72, 0.82);
}

.tech-list li::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.tech-media {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #c1bfb9;
  box-shadow: 0 26px 64px rgba(30, 42, 72, 0.16);
  display: grid;
  place-items: center;
}

.tech-media img { width: 76%; height: 76%; object-fit: contain; }

.tech-row.reverse .tech-media { order: -1; }

@media (max-width: 900px) {
  .tech-row {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 6vw;
  }
  .tech-media,
  .tech-row.reverse .tech-media { order: -1; aspect-ratio: 3 / 2; }
}
