/* SoftSystemPro /tarifas — scoped page styles. Do not leak into nav/footer. */
.tarifas-page { background: #F4F7FB; color: #0B1F3A; }
.tarifas-page .t-main { font-family: Outfit, Inter, system-ui, sans-serif; }

.tarifas-page .t-wrap { width: min(1440px, calc(100% - 32px)); margin-inline: auto; }
.tarifas-page .t-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #E87722; margin: 0 0 10px;
}
.tarifas-page .t-eyebrow::before {
  content: ""; width: 18px; height: 2px; background: #E87722; border-radius: 2px;
}
.tarifas-page .t-main h1, .tarifas-page .t-main h2, .tarifas-page .t-main h3 { font-family: Outfit, Inter, sans-serif; letter-spacing: -0.03em; }
.tarifas-page .t-lead { font-size: 1.05rem; color: #5B6B7C; line-height: 1.55; margin: 0; }
.tarifas-page .t-muted { color: #5B6B7C; }
.tarifas-page .t-iva { font-size: 12px; color: #5B6B7C; margin: 6px 0 0; }

/* Hero */
.tarifas-page .t-hero {
  position: relative; min-height: min(78vh, 720px);
  display: grid; align-items: end; color: #fff;
  overflow: hidden; background: #0B1F3A;
}
.tarifas-page .t-hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.tarifas-page .t-hero-media picture, .tarifas-page .t-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block;
}
.tarifas-page .t-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,31,58,.35) 0%, rgba(11,31,58,.55) 45%, rgba(11,31,58,.92) 100%),
    linear-gradient(90deg, rgba(11,31,58,.55) 0%, rgba(11,31,58,.15) 60%);
}
.tarifas-page .t-hero-copy {
  position: relative; z-index: 1; padding: 120px 0 64px; max-width: 760px;
}
.tarifas-page .t-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.05; margin: 0 0 16px; color: #fff;
}
.tarifas-page .t-hero .t-lead { color: rgba(255,255,255,.86); font-size: 1.15rem; max-width: 58ch; }
.tarifas-page .t-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tarifas-page .t-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 22px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 0; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.tarifas-page .t-btn-primary { background: #E87722; color: #fff; }
.tarifas-page .t-btn-primary:hover { background: #d36a1b; }
.tarifas-page .t-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.tarifas-page .t-btn-ghost:hover { background: rgba(255,255,255,.2); }
.tarifas-page .t-btn-navy { background: #0B1F3A; color: #fff; }
.tarifas-page .t-btn-navy:hover { background: #163056; }
.tarifas-page .t-btn-outline { background: #fff; color: #0B1F3A; border: 1px solid #D5DEE8; }
.tarifas-page .t-btn-outline:hover { border-color: #0B1F3A; }

/* Line cards */
.tarifas-page .t-lines { padding: 28px 0 8px; }
.tarifas-page .t-lines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tarifas-page .t-line {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 280px;
  color: #fff; text-decoration: none; display: flex; align-items: flex-end;
  box-shadow: 0 10px 30px rgba(11,31,58,.1);
}
.tarifas-page .t-line-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.tarifas-page .t-line-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,.2), rgba(11,31,58,.88));
}
.tarifas-page .t-line-std .t-line-bg { background-image: var(--t-mosaico); }
.tarifas-page .t-line-med .t-line-bg { background-image: var(--t-hero); background-position: center 35%; }
.tarifas-page .t-line-body { position: relative; z-index: 1; padding: 28px; }
.tarifas-page .t-line h2 { margin: 0 0 8px; font-size: 1.7rem; color: #fff; }
.tarifas-page .t-line p { margin: 0; color: rgba(255,255,255,.86); font-size: .98rem; max-width: 46ch; }
.tarifas-page .t-line-go { display: inline-flex; margin-top: 16px; font-weight: 600; color: #fff; }
.tarifas-page .t-line:hover .t-line-go { color: #E87722; }

/* Sections */
.tarifas-page .t-section { padding: 56px 0; }
.tarifas-page .t-section-head { max-width: 640px; margin-bottom: 28px; }
.tarifas-page .t-section h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 0 0 10px; font-weight: 700; }

/* Product grid */
.tarifas-page .t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tarifas-page .t-card {
  background: #fff; border: 1px solid #D5DEE8; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(11,31,58,.05);
  transition: box-shadow .2s ease;
}
.tarifas-page .t-card:hover { box-shadow: 0 12px 28px rgba(11,31,58,.1); }
.tarifas-page .t-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e8eef5; }
.tarifas-page .t-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tarifas-page .t-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.tarifas-page .t-card-icon { width: 36px; height: 36px; color: #E87722; margin-bottom: 8px; }
.tarifas-page .t-card-icon svg { width: 36px; height: 36px; display: block; }
.tarifas-page .t-card h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 700; }
.tarifas-page .t-card h3 a { color: inherit; text-decoration: none; }
.tarifas-page .t-card h3 a:hover { color: #E87722; }
.tarifas-page .t-card .t-tagline { margin: 0 0 12px; color: #5B6B7C; font-size: .92rem; line-height: 1.45; }
.tarifas-page .t-price { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.tarifas-page .t-desde-label { font-size: .85rem; font-weight: 600; color: #5B6B7C; margin-right: 4px; letter-spacing: 0; }
.tarifas-page .t-month { font-size: .95rem; font-weight: 600; color: #0B1F3A; margin-top: 2px; }
.tarifas-page .t-bullets { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.tarifas-page .t-bullets li {
  position: relative; padding-left: 18px; font-size: .88rem; color: #3a4a5c; line-height: 1.4;
}
.tarifas-page .t-bullets li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px;
  border-radius: 50%; background: #E87722;
}
.tarifas-page .t-note { font-size: .82rem; color: #5B6B7C; margin: 12px 0 0; line-height: 1.45; }
.tarifas-page .t-card-cta { margin-top: auto; padding-top: 16px; }
.tarifas-page .t-card-cta .t-btn { width: 100%; }

/* Plans */
.tarifas-page .t-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tarifas-page .t-plan {
  background: #fff; border: 1px solid #D5DEE8; border-radius: 18px; padding: 22px 20px;
}
.tarifas-page .t-plan.is-featured { border-color: #E87722; box-shadow: 0 0 0 1px #E87722; }
.tarifas-page .t-plan-name { font-weight: 700; font-size: 1.15rem; margin: 0 0 4px; }
.tarifas-page .t-plan-price { font-size: 1.35rem; font-weight: 700; margin: 0 0 8px; color: #E87722; }
.tarifas-page .t-plan p { margin: 0 0 12px; color: #5B6B7C; font-size: .92rem; }
.tarifas-page .t-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.tarifas-page .t-plan li { padding-left: 18px; position: relative; font-size: .88rem; }
.tarifas-page .t-plan li::before { content: "✓"; position: absolute; left: 0; color: #E87722; font-weight: 700; }
.tarifas-page .t-ambit { margin-top: 16px; font-size: .88rem; color: #5B6B7C; }

/* Catalog */
.tarifas-page .t-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tarifas-page .t-cat {
  background: #fff; border: 1px solid #D5DEE8; border-radius: 18px; padding: 22px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.tarifas-page .t-cat-icon { width: 40px; height: 40px; color: #E87722; }
.tarifas-page .t-cat-icon svg { width: 40px; height: 40px; }
.tarifas-page .t-cat h3 { margin: 8px 0 0; font-size: 1.1rem; }
.tarifas-page .t-cat .t-price { color: #E87722; }
.tarifas-page .t-fuera { margin-top: 16px; font-size: .9rem; color: #5B6B7C; }

/* Steps / diagnosis */
.tarifas-page .t-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: start; }
.tarifas-page .t-steps { display: grid; gap: 14px; }
.tarifas-page .t-step {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; background: #fff;
  border: 1px solid #D5DEE8; border-radius: 16px; padding: 16px 18px; align-items: start;
}
.tarifas-page .t-step-num {
  width: 48px; height: 48px; border-radius: 14px; background: #0B1F3A; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
}
.tarifas-page .t-step h3 { margin: 0 0 4px; font-size: 1.05rem; }
.tarifas-page .t-step p { margin: 0; color: #5B6B7C; font-size: .92rem; }
.tarifas-page .t-diag {
  background: #0B1F3A; color: #fff; border-radius: 20px; padding: 28px 24px;
}
.tarifas-page .t-diag h3 { margin: 0 0 8px; font-size: 1.35rem; color: #fff; }
.tarifas-page .t-diag .t-price { font-size: 2.2rem; color: #fff; }
.tarifas-page .t-diag p { color: rgba(255,255,255,.82); }
.tarifas-page .t-diag .t-iva { color: rgba(255,255,255,.7); }
.tarifas-page .t-chip {
  display: inline-block; background: #E87722; color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; margin-bottom: 10px;
}

/* Guarantees */
.tarifas-page .t-guarantees { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tarifas-page .t-g {
  background: #fff; border: 1px solid #D5DEE8; border-radius: 16px; padding: 16px 14px;
}
.tarifas-page .t-g-icon { width: 32px; height: 32px; color: #E87722; margin-bottom: 8px; }
.tarifas-page .t-g-icon svg { width: 32px; height: 32px; }
.tarifas-page .t-g h3 { margin: 0 0 6px; font-size: .95rem; }
.tarifas-page .t-g p { margin: 0; font-size: .8rem; color: #5B6B7C; line-height: 1.45; }

/* Accordions */
.tarifas-page .t-acc { display: grid; gap: 8px; }
.tarifas-page .t-acc details {
  background: #fff; border: 1px solid #D5DEE8; border-radius: 14px; padding: 0;
}
.tarifas-page .t-acc summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.tarifas-page .t-acc summary::-webkit-details-marker { display: none; }
.tarifas-page .t-acc summary::after { content: "+"; color: #E87722; font-size: 1.3rem; font-weight: 500; }
.tarifas-page .t-acc details[open] summary::after { content: "–"; }
.tarifas-page .t-acc .t-acc-body { padding: 0 20px 16px; color: #5B6B7C; font-size: .95rem; line-height: 1.55; }

/* CTA band */
.tarifas-page .t-cta {
  margin: 8px 0 40px; background: #0B1F3A; color: #fff; border-radius: 24px; padding: 36px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.tarifas-page .t-cta h2 { margin: 0 0 6px; color: #fff; font-size: 1.7rem; }
.tarifas-page .t-cta p { margin: 0; color: rgba(255,255,255,.82); }

/* Reveal — light, transform/opacity only */
@media (prefers-reduced-motion: no-preference) {
  .tarifas-page .t-reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
  .tarifas-page .t-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tarifas-page .t-reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .tarifas-page .t-grid, .tarifas-page .t-plans, .tarifas-page .t-catalog, .tarifas-page .t-lines-grid, .tarifas-page .t-split {
    grid-template-columns: 1fr 1fr;
  }
  .tarifas-page .t-guarantees { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .tarifas-page .t-hero { min-height: 70vh; }
  .tarifas-page .t-hero-copy { padding: 108px 0 44px; }
  .tarifas-page .t-grid, .tarifas-page .t-plans, .tarifas-page .t-catalog, .tarifas-page .t-lines-grid, .tarifas-page .t-split, .tarifas-page .t-guarantees {
    grid-template-columns: 1fr;
  }
  .tarifas-page .t-line { min-height: 220px; }
  .tarifas-page .t-section { padding: 40px 0; }
}
