/* ============================================================
   HONESTIA CONNECT — B2B ACADEMIAS LANDING PORTAL
   Modularized External Stylesheet
   ============================================================ */

/* ============================================================
       COHERE 2026 DESIGN SYSTEM TOKENS
       ============================================================ */
    :root {
      --color-primary: #071829;
      --color-ink: #1e293b;
      --color-brand-blue: #0071e3;
      --color-brand-royal: #1863dc;
      --color-brand-navy: #071829;
      --color-brand-dark: #0b1526;
      --color-deep-green: #071829; /* Honestia Enterprise Deep Navy */
      --color-dark-navy: #071829;
      --color-canvas: #ffffff;
      --color-soft-stone: #f8fafc;
      --color-soft-stone-card: #ffffff;
      --color-pale-green: #ecfdf5;
      --color-pale-green-text: #059669;
      --color-pale-blue: #eff6ff;
      --color-pale-blue-text: #1d4ed8;
      --color-hairline: #e2e8f0;
      --color-border-light: #f1f5f9;
      --color-card-border: #e2e8f0;
      --color-muted: #94a3b8;
      --color-slate: #64748b;
      --color-body-muted: #475569;
      --color-action-blue: #0071e3;
      --color-coral: #f59e0b;
      --color-on-primary: #ffffff;
      --color-on-dark: #ffffff;

      --font-display: 'Outfit', sans-serif;
      --font-body: 'Inter', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;

      --radius-sm: 8px;
      --radius-md: 16px;
      --radius-lg: 22px;
      --radius-xl: 30px;
      --radius-pill: 9999px;

      --max-width: 1200px;
    }

    html.dark {
      --color-canvas: #090a0f;
      --color-primary: #ffffff;
      --color-ink: #f1f5f9;
      --color-soft-stone: #0f172a;
      --color-soft-stone-card: #131d33;
      --color-deep-green: #0a1730;
      --color-pale-green: rgba(5, 150, 105, 0.25);
      --color-pale-green-text: #34d399;
      --color-pale-blue: rgba(0, 113, 227, 0.2);
      --color-pale-blue-text: #60a5fa;
      --color-hairline: #1e293b;
      --color-border-light: #1e293b;
      --color-card-border: #1e293b;
      --color-muted: #94a3b8;
      --color-slate: #94a3b8;
      --color-body-muted: #cbd5e1;
      --color-on-primary: #090a0f;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      background-color: var(--color-canvas);
      color: var(--color-ink);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .co-container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Monospace accent tag */
    .co-mono-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-mono);
      font-size: 11.5px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-weight: 500;
      padding: 6px 14px;
      border-radius: var(--radius-pill);
      background: var(--color-pale-green);
      color: var(--color-pale-green-text);
      margin-bottom: 24px;
    }

    /* Buttons */
    .co-btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: var(--color-primary);
      color: var(--color-on-primary);
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 600;
      padding: 13px 28px;
      border-radius: var(--radius-pill);
      text-decoration: none;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      border: 1px solid transparent;
      cursor: pointer;
    }
    .co-btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.12);
      opacity: 0.95;
    }

    .co-btn-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: transparent;
      color: var(--color-ink);
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 600;
      padding: 13px 26px;
      border-radius: var(--radius-pill);
      text-decoration: none;
      border: 1px solid var(--color-hairline);
      transition: all 0.25s ease;
      cursor: pointer;
    }
    .co-btn-outline:hover {
      background: var(--color-soft-stone);
      border-color: var(--color-slate);
    }

    /* Hero Section */
    .co-hero {
      padding: 70px 0 60px;
      text-align: center;
    }
    .co-hero-title {
      font-family: var(--font-display);
      font-size: clamp(38px, 5.5vw, 68px);
      font-weight: 800;
      line-height: 1.04;
      letter-spacing: -0.035em;
      color: var(--color-ink);
      max-width: 960px;
      margin: 0 auto 24px;
    }
    .co-hero-title span.co-highlight {
      background: linear-gradient(135deg, #0071e3 0%, #1e40af 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .co-hero-subtitle {
      font-size: clamp(17px, 2.2vw, 20px);
      color: var(--color-body-muted);
      max-width: 760px;
      margin: 0 auto 36px;
      line-height: 1.5;
      font-weight: 400;
    }
    .co-hero-actions {
      display: flex;
      gap: 14px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 48px;
    }

    /* Hero Metrics Bar */
    .co-trust-strip {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      padding: 24px 32px;
      background: var(--color-soft-stone);
      border: 1px solid var(--color-hairline);
      border-radius: var(--radius-lg);
      max-width: 1040px;
      margin: 0 auto;
      text-align: left;
    }
    .co-trust-item h4 {
      font-family: var(--font-display);
      font-size: 26px;
      font-weight: 800;
      color: var(--color-ink);
      line-height: 1.1;
      margin-bottom: 4px;
      letter-spacing: -0.02em;
    }
    .co-trust-item p {
      font-size: 13px;
      color: var(--color-slate);
      line-height: 1.35;
    }

    /* Sections */
    .co-section {
      padding: 90px 0;
    }
    .co-section-header {
      margin-bottom: 50px;
      max-width: 780px;
    }
    .co-section-header.center {
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }
    .co-section-title {
      font-family: var(--font-display);
      font-size: clamp(28px, 3.8vw, 44px);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.15;
      color: var(--color-ink);
      margin-bottom: 16px;
    }
    .co-section-desc {
      font-size: 17px;
      color: var(--color-body-muted);
      line-height: 1.5;
    }

    /* Bento Grid */
    .co-bento-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 20px;
    }
    .co-bento-card {
      background: var(--color-soft-stone-card);
      border: 1px solid var(--color-hairline);
      border-radius: var(--radius-lg);
      padding: 36px 32px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .co-bento-card:hover {
      border-color: var(--color-slate);
      box-shadow: 0 12px 30px rgba(0,0,0,0.04);
    }
    .co-bento-card.col-8 { grid-column: span 8; }
    .co-bento-card.col-4 { grid-column: span 4; }
    .co-bento-card.col-6 { grid-column: span 6; }
    .co-bento-card.col-12 { grid-column: span 12; }

    .co-card-icon {
      width: 44px;
      height: 44px;
      border-radius: var(--radius-md);
      background: var(--color-canvas);
      border: 1px solid var(--color-hairline);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      margin-bottom: 20px;
    }
    .co-card-title {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 700;
      color: var(--color-ink);
      margin-bottom: 10px;
      letter-spacing: -0.015em;
    }
    .co-card-text {
      font-size: 15px;
      color: var(--color-body-muted);
      line-height: 1.55;
    }

    /* Deep Contrast Feature Band (Honestia Enterprise Brand) */
    .co-feature-band {
      background: var(--color-deep-green);
      color: #ffffff;
      border-radius: var(--radius-xl);
      padding: 64px 50px;
      margin: 40px 0;
      position: relative;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(7, 24, 41, 0.12);
    }
    .co-feature-band::after {
      content: '';
      position: absolute;
      top: -40%;
      right: -15%;
      width: 520px;
      height: 520px;
      background: radial-gradient(circle, rgba(0, 113, 227, 0.28) 0%, transparent 70%);
      pointer-events: none;
    }
    .co-feature-band h3 {
      font-family: var(--font-display);
      font-size: clamp(26px, 3.5vw, 38px);
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 16px;
      line-height: 1.15;
    }
    .co-feature-band p {
      font-size: 17px;
      color: rgba(255,255,255,0.85);
      max-width: 650px;
      line-height: 1.55;
      margin-bottom: 28px;
    }

    /* Calculator Component */
    .co-calc-box {
      background: var(--color-canvas);
      border: 1px solid var(--color-hairline);
      border-radius: var(--radius-lg);
      padding: 36px;
      box-shadow: 0 16px 40px rgba(0,0,0,0.03);
    }
    .co-calc-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 36px;
      align-items: center;
    }
    .co-calc-control {
      margin-bottom: 24px;
    }
    .co-calc-label {
      display: flex;
      justify-content: space-between;
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--color-ink);
    }
    .co-range-slider {
      width: 100%;
      height: 6px;
      border-radius: 4px;
      background: var(--color-hairline);
      outline: none;
      -webkit-appearance: none;
      appearance: none;
    }
    .co-range-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--color-brand-blue);
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35);
    }
    .co-calc-results {
      background: var(--color-soft-stone);
      border: 1px solid var(--color-hairline);
      border-radius: var(--radius-md);
      padding: 28px;
    }
    .co-calc-row {
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
      border-bottom: 1px solid var(--color-hairline);
      font-size: 14px;
    }
    .co-calc-row:last-child { border-bottom: none; }
    .co-calc-row.highlight {
      font-size: 18px;
      font-weight: 800;
      color: #055e4e;
      border-top: 2px solid var(--color-hairline);
      margin-top: 10px;
      padding-top: 14px;
    }
    html.dark .co-calc-row.highlight { color: #34d399; }

    /* Interactive Tier Selector Cards (Calculadora) */
    .co-calc-tiers-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: 10px;
    }
    .co-calc-tier-card {
      background: var(--color-canvas);
      border: 1.5px solid var(--color-hairline);
      border-radius: var(--radius-sm);
      padding: 12px 14px;
      cursor: pointer;
      text-align: left;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      user-select: none;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 76px;
      font-family: inherit;
    }
    .co-calc-tier-card:hover {
      border-color: var(--color-brand-blue);
      transform: translateY(-1px);
      box-shadow: 0 4px 14px rgba(0, 113, 227, 0.08);
    }
    .co-calc-tier-card.active {
      border-color: var(--color-brand-blue);
      background: rgba(0, 113, 227, 0.04);
      box-shadow: 0 0 0 1px var(--color-brand-blue), 0 4px 14px rgba(0, 113, 227, 0.12);
    }
    html.dark .co-calc-tier-card.active {
      background: rgba(0, 113, 227, 0.12);
    }
    .co-calc-tier-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 4px;
    }
    .co-calc-tier-name {
      font-family: var(--font-display);
      font-size: 13.5px;
      font-weight: 700;
      color: var(--color-ink);
    }
    .co-calc-tier-badge {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: var(--radius-pill);
      background: var(--color-pale-blue);
      color: var(--color-brand-blue);
      white-space: nowrap;
    }
    .co-calc-tier-card.active .co-calc-tier-badge {
      background: var(--color-brand-blue);
      color: #ffffff;
    }
    .co-calc-tier-desc {
      font-size: 11.5px;
      color: var(--color-slate);
      line-height: 1.35;
    }
    .co-calc-tier-tag {
      position: absolute;
      top: -8px;
      right: 8px;
      background: #059669;
      color: #ffffff;
      font-size: 9px;
      font-weight: 700;
      font-family: var(--font-mono);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 2px 6px;
      border-radius: var(--radius-pill);
      box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
    }

    /* WhatsApp Direct Contact Strip */
    .co-whatsapp-direct-card {
      margin-top: 28px;
      padding: 22px 26px;
      background: var(--color-canvas);
      border: 1px solid var(--color-hairline);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.03);
      max-width: 680px;
      margin-left: auto;
      margin-right: auto;
    }
    .co-whatsapp-direct-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #10b981;
      color: #ffffff;
      font-family: var(--font-display);
      font-size: 13.5px;
      font-weight: 600;
      padding: 11px 22px;
      border-radius: var(--radius-pill);
      text-decoration: none;
      transition: all 0.2s ease;
      white-space: nowrap;
      box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    }
    .co-whatsapp-direct-btn:hover {
      background: #059669;
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
    }

    /* Comparison Table */
    .co-table-wrapper {
      overflow-x: auto;
      border: 1px solid var(--color-hairline);
      border-radius: var(--radius-lg);
      background: var(--color-canvas);
    }
    .co-table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }
    .co-table th, .co-table td {
      padding: 18px 22px;
      font-size: 14px;
      border-bottom: 1px solid var(--color-hairline);
    }
    .co-table th {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      background: var(--color-soft-stone);
    }
    .co-table tr:last-child td { border-bottom: none; }
    .co-check { color: #055e4e; font-weight: 800; font-size: 18px; }
    .co-cross { color: #dc2626; font-weight: 800; font-size: 18px; }

    /* Contact Form Card */
    .co-form-card {
      background: var(--color-soft-stone-card);
      border: 1px solid var(--color-hairline);
      border-radius: var(--radius-xl);
      padding: 48px;
      max-width: 680px;
      margin: 0 auto;
    }
    .co-form-group {
      margin-bottom: 18px;
    }
    .co-form-label {
      display: block;
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--color-ink);
    }
    .co-input, .co-select, .co-textarea {
      width: 100%;
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--color-hairline);
      background: var(--color-canvas);
      color: var(--color-ink);
      font-family: var(--font-body);
      font-size: 14px;
      outline: none;
      transition: border-color 0.2s ease;
    }
    .co-input:focus, .co-select:focus, .co-textarea:focus {
      border-color: var(--color-action-blue);
      box-shadow: 0 0 0 3px rgba(24, 99, 220, 0.1);
    }

    /* 4-Tier Breakdown Cards */
    .co-tier-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 28px;
    }
    .co-tier-card {
      background: var(--color-canvas);
      border: 1px solid var(--color-card-border);
      border-radius: var(--radius-md);
      padding: 24px 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .co-tier-card:hover {
      transform: translateY(-3px);
      border-color: var(--color-brand-blue);
      box-shadow: 0 12px 28px rgba(0, 113, 227, 0.08);
    }
    .co-tier-card.featured {
      border-color: var(--color-brand-blue);
      background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
      box-shadow: 0 8px 24px rgba(0, 113, 227, 0.1);
    }
    html.dark .co-tier-card.featured {
      background: linear-gradient(180deg, #131d33 0%, #0a1730 100%);
    }

    /* 4-Step Timeline */
    .co-steps-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      margin-top: 32px;
    }
    .co-step-card {
      background: var(--color-canvas);
      border: 1px solid var(--color-card-border);
      border-radius: var(--radius-md);
      padding: 24px 20px;
      position: relative;
    }
    .co-step-badge {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 700;
      color: var(--color-brand-blue);
      background: var(--color-pale-blue);
      display: inline-block;
      padding: 4px 10px;
      border-radius: var(--radius-pill);
      margin-bottom: 12px;
    }

    /* Callout Box Soberanía */
    .co-callout-sovereignty {
      background: linear-gradient(135deg, #071829 0%, #0d2540 100%);
      color: #ffffff;
      border-radius: var(--radius-lg);
      padding: 44px 40px;
      margin: 40px 0;
      position: relative;
      overflow: hidden;
      box-shadow: 0 16px 36px rgba(7, 24, 41, 0.15);
    }

    /* FAQ Accordion */
    .co-faq-list {
      max-width: 860px;
      margin: 36px auto 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .co-faq-item {
      background: var(--color-canvas);
      border: 1px solid var(--color-card-border);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .co-faq-item:hover {
      border-color: var(--color-muted);
    }
    .co-faq-item.active {
      border-color: var(--color-brand-blue);
      box-shadow: 0 6px 18px rgba(0, 113, 227, 0.06);
    }
    .co-faq-question {
      width: 100%;
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: left;
      background: none;
      border: none;
      cursor: pointer;
      font-family: var(--font-display);
      font-size: 16.5px;
      font-weight: 700;
      color: var(--color-ink);
    }
    .co-faq-question svg {
      transition: transform 0.25s ease;
      color: var(--color-slate);
      flex-shrink: 0;
    }
    .co-faq-item.active .co-faq-question svg {
      transform: rotate(180deg);
      color: var(--color-brand-blue);
    }
    .co-faq-answer {
      display: none;
      padding: 0 24px 22px;
      font-size: 14.5px;
      color: var(--color-body-muted);
      line-height: 1.6;
    }
    .co-faq-item.active .co-faq-answer {
      display: block;
    }

    /* Accessibility & Motion Standards */
    :focus-visible {
      outline: 2px solid var(--color-brand-blue);
      outline-offset: 2px;
    }
    @media (prefers-reduced-motion: reduce) {
      *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
    }

    @media (max-width: 900px) {
      .co-bento-card.col-8, .co-bento-card.col-4, .co-bento-card.col-6 {
        grid-column: span 12;
      }
      .co-calc-grid {
        grid-template-columns: 1fr;
      }
      .co-form-card {
        padding: 30px 20px;
      }
      .co-feature-band {
        padding: 40px 24px;
      }
      .co-whatsapp-direct-card {
        flex-direction: column;
        text-align: center;
      }
      .co-whatsapp-direct-card > div {
        flex-direction: column;
        text-align: center;
      }
      .co-whatsapp-direct-btn {
        width: 100%;
        justify-content: center;
      }
    }
    @media (max-width: 580px) {
      .co-calc-tiers-grid {
        grid-template-columns: 1fr;
      }
    }
