/**
 * Tesis Landing — estilos para la page /ayuda-para-tesis-de-derecho-en-costa-rica/
 * Enqueue condicional desde bufete-legal-publisher.php
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Source+Sans+3:wght@400;600;700&display=swap');

/* ======== TESIS LANDING — Bufete de Costa Rica ======== */
.tl-wrap { font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif; color: #2a3a52; line-height: 1.65; font-size: 17px; }
.tl-wrap h2, .tl-wrap h3, .tl-wrap h4 { font-family: 'Playfair Display', Georgia, serif; color: #0a1628; line-height: 1.25; letter-spacing: -0.01em; }
.tl-wrap p { margin: 0 0 14px 0; }
.tl-wrap a { color: #002a28; text-decoration: underline; text-decoration-color: rgba(200,164,78,0.55); text-underline-offset: 3px; transition: color .2s; }
.tl-wrap a:hover { color: #c8a44e; }
.tl-wrap strong { color: #0a1628; font-weight: 700; }

/* Eyebrow */
.tl-eyebrow { display: inline-block; font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #c8a44e; margin-bottom: 14px; }
.tl-eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: #c8a44e; vertical-align: middle; margin-right: 10px; }

/* ======== HERO ======== */
.tl-hero { position: relative; padding: 48px 36px 44px; background: linear-gradient(135deg, #ffffff 0%, #f6f8fb 100%); border-radius: 14px; box-shadow: 0 4px 28px rgba(10, 22, 40, 0.08), 0 0 0 1px rgba(200, 164, 78, 0.18); margin: 0 0 48px 0; overflow: hidden; }
.tl-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #c8a44e, #e8c96a, #c8a44e); }
.tl-hero-title { font-size: 34px; font-weight: 800; margin: 0 0 14px 0; color: #0a1628; }
.tl-hero-tag { font-size: 19px; font-weight: 600; color: #002a28; margin-bottom: 18px; font-family: 'Source Sans 3', sans-serif; }
.tl-hero-lead { font-size: 17px; color: #2a3a52; max-width: 700px; margin-bottom: 26px; }
.tl-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.tl-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 10px; font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 15px; text-decoration: none !important; transition: transform .15s, box-shadow .2s, background .2s; letter-spacing: 0.01em; border: none; cursor: pointer; }
.tl-btn-primary { background: #002a28; color: #fff !important; box-shadow: 0 4px 14px rgba(0, 42, 40, 0.28); }
.tl-btn-primary:hover { background: #003c3a; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 42, 40, 0.35); color: #fff !important; }
.tl-btn-secondary { background: #fff; color: #002a28 !important; border: 2px solid #002a28; }
.tl-btn-secondary:hover { background: #002a28; color: #fff !important; transform: translateY(-1px); }
.tl-btn-gold { background: linear-gradient(135deg, #c8a44e, #b08c3a); color: #fff !important; box-shadow: 0 4px 14px rgba(200, 164, 78, 0.35); }
.tl-btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(200, 164, 78, 0.45); color: #fff !important; }
.tl-btn-lg { padding: 18px 34px; font-size: 17px; }

/* ======== Section scaffolding ======== */
.tl-section { margin: 0 0 56px 0; }
.tl-section-head { text-align: center; margin-bottom: 36px; }
.tl-section-head h2 { font-size: 28px; font-weight: 700; margin: 6px 0 10px 0; }
.tl-section-head p { color: #54617a; max-width: 720px; margin: 0 auto; font-size: 16px; }

/* ======== Pillars (3 cols) ======== */
.tl-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tl-pillar { text-align: center; padding: 30px 22px; background: #fff; border-radius: 14px; border: 1px solid rgba(10, 22, 40, 0.06); transition: transform .2s, box-shadow .2s; }
.tl-pillar:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(10, 22, 40, 0.08); }
.tl-pillar-icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #fff6db, #ffffff); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: #c8a44e; font-size: 26px; border: 1px solid rgba(200,164,78,0.3); }
.tl-pillar h3 { font-size: 18px; margin: 0 0 8px 0; }
.tl-pillar p { font-size: 15px; color: #54617a; margin: 0; }

/* ======== Deliverables grid (4 cards) ======== */
.tl-deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tl-deliverable { position: relative; padding: 28px; background: #fff; border-radius: 14px; box-shadow: 0 4px 28px rgba(10, 22, 40, 0.08), 0 0 0 1px rgba(200, 164, 78, 0.18); overflow: hidden; }
.tl-deliverable::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #c8a44e, #e8c96a, #c8a44e); }
.tl-deliverable-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.tl-deliverable-icon { width: 48px; height: 48px; border-radius: 10px; background: #002a28; color: #c8a44e; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.tl-deliverable h3 { font-size: 19px; margin: 0; }
.tl-deliverable p { font-size: 15px; color: #54617a; margin: 0; }

/* ======== Levels (pills) ======== */
.tl-levels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tl-level { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #f6f8fb; border-radius: 12px; border-left: 4px solid #c8a44e; }
.tl-level-num { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; color: #c8a44e; line-height: 1; flex-shrink: 0; min-width: 36px; }
.tl-level h3 { font-size: 17px; margin: 0 0 6px 0; }
.tl-level p { font-size: 14.5px; color: #54617a; margin: 0; }

/* ======== Authority (Lic. Arroyo) ======== */
.tl-authority { background: linear-gradient(135deg, #0a1628 0%, #002a28 100%); color: #fff; padding: 44px 36px; border-radius: 14px; position: relative; overflow: hidden; }
.tl-authority::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #c8a44e, #e8c96a, #c8a44e); }
.tl-authority .tl-eyebrow { color: #e8c96a; }
.tl-authority h2 { color: #fff; font-size: 28px; margin: 0 0 10px 0; }
.tl-authority-lead { color: rgba(255,255,255,0.78); max-width: 720px; margin-bottom: 32px; font-size: 16px; }
.tl-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 28px; }
.tl-fact { background: rgba(255,255,255,0.04); border: 1px solid rgba(200,164,78,0.22); padding: 22px; border-radius: 12px; }
.tl-fact-icon { color: #c8a44e; font-size: 22px; margin-bottom: 10px; }
.tl-fact h4 { color: #fff; font-size: 16px; margin: 0 0 6px 0; font-family: 'Source Sans 3', sans-serif; font-weight: 700; }
.tl-fact p { color: rgba(255,255,255,0.72); font-size: 14.5px; margin: 0; }
.tl-thesis-card { background: rgba(200,164,78,0.1); border: 1px solid rgba(200,164,78,0.4); border-radius: 12px; padding: 22px 26px; display: flex; gap: 18px; align-items: center; }
.tl-thesis-card .tl-thesis-ic { font-size: 32px; color: #e8c96a; flex-shrink: 0; }
.tl-thesis-card .tl-thesis-body { flex: 1; }
.tl-thesis-card h4 { color: #fff; font-size: 16px; margin: 0 0 4px 0; font-family: 'Source Sans 3', sans-serif; font-weight: 700; }
.tl-thesis-card p { color: rgba(255,255,255,0.72); font-size: 14px; margin: 0 0 8px 0; }
.tl-thesis-card a { color: #e8c96a !important; font-weight: 700; text-decoration: none !important; font-size: 14.5px; }
.tl-thesis-card a:hover { color: #fff !important; }

/* ======== Branches (tag cloud) ======== */
.tl-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tl-branch { padding: 14px 16px; background: #fff; border-radius: 10px; border: 1px solid rgba(10,22,40,0.08); display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #0a1628; transition: border-color .2s, transform .15s, color .2s; text-decoration: none !important; }
a.tl-branch, a.tl-branch:visited { color: #0a1628 !important; text-decoration: none !important; }
.tl-branch:hover { border-color: #c8a44e; transform: translateY(-2px); color: #002a28 !important; }
.tl-branch i { color: #c8a44e; font-size: 14px; }
.tl-branches-note { margin-top: 22px; padding: 18px 22px; background: #fff6db; border-left: 4px solid #c8a44e; border-radius: 8px; font-size: 15px; color: #54617a; }

/* ======== Citation formats ======== */
.tl-citations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tl-cite-card { background: #fff; border-radius: 14px; padding: 26px 22px; border: 1px solid rgba(10,22,40,0.08); text-align: center; transition: transform .2s, box-shadow .2s; }
.tl-cite-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(10,22,40,0.08); border-color: rgba(200,164,78,0.4); }
.tl-cite-badge { display: inline-block; padding: 6px 14px; border-radius: 8px; background: #002a28; color: #c8a44e; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 14px; }
.tl-cite-card h3 { font-size: 18px; margin: 0 0 10px 0; }
.tl-cite-card p { font-size: 14.5px; color: #54617a; margin: 0; }

/* ======== Process timeline ======== */
.tl-timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 44px; }
.tl-timeline::before { content: ""; position: absolute; left: 18px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, #c8a44e 0%, rgba(200,164,78,0.2) 100%); }
.tl-step { position: relative; padding: 0 0 32px 24px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step-num { position: absolute; left: -44px; top: 0; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid #c8a44e; color: #0a1628; font-family: 'Playfair Display', serif; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(200,164,78,0.25); }
.tl-step h3 { font-size: 18px; margin: 4px 0 6px 0; }
.tl-step p { font-size: 15px; color: #54617a; margin: 0; }

/* ======== Pricing card ======== */
.tl-pricing { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 14px; padding: 44px 40px 40px; position: relative; overflow: hidden; box-shadow: 0 10px 40px rgba(10, 22, 40, 0.12), 0 0 0 1px rgba(200, 164, 78, 0.3); text-align: center; }
.tl-pricing::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #c8a44e, #e8c96a, #c8a44e); }
.tl-pricing-badge { display: inline-block; padding: 6px 14px; border-radius: 8px; background: #fff6db; color: #002a28; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.tl-pricing h2 { font-size: 26px; margin: 0 0 6px 0; }
.tl-pricing-price { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 800; color: #002a28; line-height: 1.1; margin: 18px 0 8px 0; }
.tl-pricing-price-sub { font-size: 15px; color: #54617a; margin-bottom: 26px; }
.tl-pricing-list { list-style: none; padding: 0; margin: 0 auto 28px auto; text-align: left; max-width: 440px; }
.tl-pricing-list li { padding: 10px 0 10px 34px; position: relative; font-size: 15.5px; color: #2a3a52; border-bottom: 1px dashed rgba(10,22,40,0.08); }
.tl-pricing-list li:last-child { border-bottom: none; }
.tl-pricing-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 10px; color: #c8a44e; font-size: 14px; width: 24px; height: 24px; border-radius: 50%; background: #fff6db; display: flex; align-items: center; justify-content: center; }
.tl-pricing-note { font-size: 13px; color: #54617a; margin-top: 16px; font-style: italic; }

/* ======== Pricing tiers (two-step) ======== */
.tl-pricing-intro { font-size: 16px; color: #2a3a52; line-height: 1.6; max-width: 520px; margin: 0 auto 36px auto; }
.tl-pricing-tier { text-align: left; padding: 28px 26px; border-radius: 12px; position: relative; margin-bottom: 0; }
.tl-pricing-tier--entry { background: linear-gradient(135deg, #fffaef 0%, #fff6db 100%); border: 1px solid rgba(200, 164, 78, 0.35); }
.tl-pricing-tier--full { background: #f6f8fb; border: 1px solid rgba(10, 22, 40, 0.08); }
.tl-pricing-tier-heading { display: flex; align-items: center; gap: 12px; font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 700; color: #0a1628; margin: 0 0 8px 0; line-height: 1.3; }
.tl-pricing-tier-step { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #002a28; color: #e8c96a; border-radius: 50%; font-family: 'Source Sans 3', sans-serif; font-size: 15px; font-weight: 800; flex-shrink: 0; }
.tl-pricing-tier .tl-pricing-price { font-size: 34px; margin: 14px 0 4px 0; text-align: left; }
.tl-pricing-price-suffix { font-family: 'Source Sans 3', sans-serif; font-size: 16px; font-weight: 600; color: #54617a; letter-spacing: 0; text-transform: none; }
.tl-pricing-tier-sub { font-size: 14.5px; line-height: 1.6; color: #54617a; margin: 0 0 18px 0; }
.tl-pricing-tier .tl-pricing-list { max-width: 100%; margin: 0 0 22px 0; }
.tl-pricing-tier .tl-pricing-list li { font-size: 14.5px; }
.tl-pricing-tier .tl-btn { width: 100%; justify-content: center; }
.tl-pricing-tier .tl-pricing-note { text-align: center; margin-top: 14px; }
.tl-pricing-tier-sep { height: 24px; position: relative; margin: 6px 0; }
.tl-pricing-tier-sep::before { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #c8a44e; font-size: 22px; background: #fff; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(200, 164, 78, 0.45); }
.tl-pricing-urgent { background: #fff6db; border-left: 3px solid #c8a44e; padding: 14px 18px; border-radius: 8px; text-align: left; font-style: normal !important; color: #0a1628 !important; font-size: 14px !important; line-height: 1.55; margin-top: 28px !important; }

/* ======== Final CTA ======== */
.tl-cta-final { background: linear-gradient(135deg, #002a28 0%, #0a1628 100%); color: #fff; padding: 52px 36px; border-radius: 14px; text-align: center; position: relative; overflow: hidden; }
.tl-cta-final::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #c8a44e, #e8c96a, #c8a44e); }
.tl-cta-final h2 { color: #fff; font-size: 30px; margin: 10px 0 14px 0; }
.tl-cta-final p { color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 28px auto; font-size: 16.5px; }
.tl-cta-final .tl-eyebrow { color: #e8c96a; }
.tl-wa-hint { margin-top: 20px; font-size: 13.5px; color: rgba(255,255,255,0.6); }
.tl-wa-hint i { color: #25D366; margin-right: 6px; }

/* ======== FAQ wrapper (light spacing above shortcode) ======== */
.tl-faq-wrap { margin: 0 0 48px 0; }
.tl-faq-intro { text-align: center; margin-bottom: 26px; }
.tl-faq-intro h2 { font-size: 28px; margin: 6px 0 8px 0; }
.tl-faq-intro p { color: #54617a; max-width: 680px; margin: 0 auto; font-size: 16px; }

/* ======== Responsive ======== */
@media (max-width: 720px) {
  .tl-wrap { font-size: 16px; }
  .tl-hero { padding: 36px 24px 32px; }
  .tl-hero-title { font-size: 26px; }
  .tl-hero-tag { font-size: 17px; }
  .tl-hero-ctas { flex-direction: column; }
  .tl-btn { width: 100%; justify-content: center; }
  .tl-pillars, .tl-deliverables, .tl-levels, .tl-facts, .tl-citations, .tl-branches { grid-template-columns: 1fr; }
  .tl-section-head h2, .tl-pricing h2, .tl-cta-final h2, .tl-authority h2 { font-size: 23px; }
  .tl-authority, .tl-cta-final { padding: 36px 24px; }
  .tl-pricing { padding: 32px 22px; }
  .tl-pricing-price { font-size: 32px; }
  .tl-timeline { padding-left: 36px; }
  .tl-step-num { left: -36px; width: 32px; height: 32px; font-size: 14px; }
  .tl-thesis-card { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .tl-hero-title { font-size: 23px; }
  .tl-deliverable, .tl-authority, .tl-cta-final, .tl-hero { padding-left: 20px; padding-right: 20px; }
  .tl-branches { grid-template-columns: 1fr; }
}
