/*
Theme Name:   ConsultadosEnColombia
Theme URI:    https://consuladosencolombia.com
Description:  Tema hijo de ASAP para consuladosencolombia.com
Author:       SEOFune
Author URI:   https://seofune.es
Template:     asap
Version:      1.0.0
Text Domain:  consuladosencolombia
*/

/* =====================================================
   VARIABLES — Paleta Colombia
   Azul institucional profundo + Dorado cálido
   Diferente a tramiteconsular.es en identidad visual
   pero idéntica arquitectura
===================================================== */
:root {
    /* Colores principales */
    --cc-navy:      #00205B;   /* Azul Colombia institucional profundo */
    --cc-navy-mid:  #003087;   /* Azul medio */
    --cc-navy-soft: #1a4a9e;   /* Azul suave para hover */
    --cc-gold:      #C9A227;   /* Dorado cálido Colombia */
    --cc-gold-lt:   #e2c060;   /* Dorado claro */
    --cc-red:       #CE1126;   /* Rojo Colombia (acento puntual) */

    /* Neutros */
    --cc-white:     #ffffff;
    --cc-offwhite:  #f7f8fa;
    --cc-text:      #0f1923;
    --cc-muted:     #536073;
    --cc-border:    #dde2eb;

    /* UI */
    --cc-radius:    6px;
    --cc-shadow:    0 2px 16px rgba(0,32,91,.10);
    --cc-shadow-lg: 0 8px 40px rgba(0,32,91,.16);

    /* Tipografía */
    --cc-font-head: "DM Serif Display", Georgia, serif;
    --cc-font-body: "Source Sans 3", system-ui, sans-serif;

    /* Aliases para compatibilidad con clases .tc- que vienen del tema tramiteconsular */
    --tc-navy:      var(--cc-navy);
    --tc-navy-mid:  var(--cc-navy-mid);
    --tc-navy-soft: var(--cc-navy-soft);
    --tc-gold:      var(--cc-gold);
    --tc-gold-lt:   var(--cc-gold-lt);
    --tc-white:     var(--cc-white);
    --tc-offwhite:  var(--cc-offwhite);
    --tc-text:      var(--cc-text);
    --tc-muted:     var(--cc-muted);
    --tc-border:    var(--cc-border);
    --tc-radius:    var(--cc-radius);
    --tc-shadow:    var(--cc-shadow);
    --tc-shadow-lg: var(--cc-shadow-lg);
    --tc-font-head: var(--cc-font-head);
    --tc-font-body: var(--cc-font-body);
}

/* =====================================================
   RESET & BASE
===================================================== */
.cc-container,
.tc-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   TOPBAR
===================================================== */
.tc-topbar {
    background: var(--cc-navy);
    color: rgba(255,255,255,.75);
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.tc-topbar .tc-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.tc-topbar a { color: rgba(255,255,255,.75); }
.tc-topbar a:hover { color: var(--cc-gold-lt); }
.tc-topbar-left  { display: flex; gap: 20px; align-items: center; }
.tc-topbar-right { display: flex; gap: 16px; align-items: center; }
.tc-topbar-flag  { font-size: 15px; }

/* =====================================================
   HEADER / NAV
===================================================== */
.tc-header {
    background: var(--cc-white);
    border-bottom: 3px solid var(--cc-gold);   /* Línea dorada diferenciadora */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0,32,91,.08);
}
.tc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 32px;
}

/* Logo */
.tc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.tc-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--cc-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}
.tc-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.tc-logo-name {
    font-family: var(--cc-font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--cc-navy);
    letter-spacing: -.2px;
}
.tc-logo-tagline {
    font-size: 11px;
    color: var(--cc-muted);
    letter-spacing: .3px;
    text-transform: uppercase;
}

/* Navegación */
.tc-nav { display: flex; align-items: center; gap: 4px; }
.tc-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--cc-text);
    padding: 6px 12px;
    border-radius: var(--cc-radius);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.tc-nav a:hover { background: var(--cc-offwhite); color: var(--cc-navy); }
.tc-nav a.current-menu-item { color: var(--cc-navy); font-weight: 600; }

.tc-btn {
    display: inline-block;
    padding: 9px 20px;
    border-radius: var(--cc-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.4;
}
.tc-btn-primary {
    background: var(--cc-navy);
    color: var(--cc-white) !important;
    border-color: var(--cc-navy);
}
.tc-btn-primary:hover {
    background: var(--cc-navy-soft);
    border-color: var(--cc-navy-soft);
}
.tc-btn-gold {
    background: var(--cc-gold);
    color: var(--cc-navy) !important;
    border-color: var(--cc-gold);
}
.tc-btn-gold:hover {
    background: var(--cc-gold-lt);
    border-color: var(--cc-gold-lt);
}
.tc-btn-outline {
    background: transparent;
    color: var(--cc-navy) !important;
    border-color: var(--cc-border);
}
.tc-btn-outline:hover {
    border-color: var(--cc-navy);
    background: var(--cc-offwhite);
}
.tc-btn-hero { padding: 13px 28px; font-size: 15px; }

/* Mobile nav toggle */
.tc-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--cc-navy);
}
@media (max-width: 768px) {
    .tc-nav-toggle { display: flex; }
    .tc-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        background: var(--cc-white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--cc-border);
        box-shadow: var(--cc-shadow);
        gap: 4px;
    }
    .tc-nav.open { display: flex; }
    .tc-nav a { width: 100%; padding: 10px 16px; }
}

/* =====================================================
   HERO
===================================================== */
.tc-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 60%, #1a4a9e 100%);
    color: var(--cc-white);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}
.tc-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -80px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(201,162,39,.18) 0%, transparent 70%);
    pointer-events: none;
}
.tc-hero::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -60px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
    pointer-events: none;
}
.tc-hero .tc-container { position: relative; z-index: 1; }
.tc-hero-eyebrow {
    display: inline-block;
    background: rgba(201,162,39,.2);
    color: var(--cc-gold-lt);
    border: 1px solid rgba(201,162,39,.35);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 5px 14px;
    margin-bottom: 20px;
}
.tc-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 20px;
    color: var(--cc-white);
    max-width: 720px;
}
.tc-hero h1 em {
    font-style: italic;
    color: var(--cc-gold-lt);
}
.tc-hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,.80);
    max-width: 580px;
    margin: 0 0 32px;
    line-height: 1.6;
}

/* Hero search */
.tc-search-bar {
    display: flex;
    max-width: 560px;
    background: var(--cc-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,32,91,.25);
    margin-bottom: 36px;
}
.tc-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--cc-text);
    font-family: var(--cc-font-body);
    background: transparent;
}
.tc-search-bar input::placeholder { color: var(--cc-muted); }
.tc-search-bar button {
    background: var(--cc-gold);
    color: var(--cc-navy);
    border: none;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    font-family: var(--cc-font-body);
    letter-spacing: .2px;
}
.tc-search-bar button:hover { background: var(--cc-gold-lt); }

/* Hero trust bar */
.tc-hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.tc-hero-trust-item { font-size: 13px; color: rgba(255,255,255,.70); }
.tc-hero-trust-item strong { color: var(--cc-white); }
.tc-hero-trust-dot {
    width: 4px; height: 4px;
    background: rgba(255,255,255,.3);
    border-radius: 50%;
}

/* =====================================================
   SECTIONS
===================================================== */
.tc-section { padding: 72px 0; }
.tc-section-alt { background: var(--cc-offwhite); padding: 72px 0; }

.tc-section-head {
    text-align: center;
    margin-bottom: 48px;
}
.tc-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--cc-gold);
    margin-bottom: 12px;
}
.tc-section-head h2 {
    font-family: var(--cc-font-head);
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--cc-navy);
    margin: 0 0 12px;
    line-height: 1.2;
}
.tc-section-head p {
    font-size: 16px;
    color: var(--cc-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =====================================================
   PAÍSES GRID
===================================================== */
.tc-paises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.tc-pais-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 10px 16px;
    text-align: center;
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: calc(var(--cc-radius) + 2px);
    text-decoration: none;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.tc-pais-card:hover {
    border-color: var(--cc-gold);
    box-shadow: 0 4px 20px rgba(201,162,39,.15);
    transform: translateY(-2px);
}
.tc-pais-flag { font-size: 28px; line-height: 1; }
.tc-pais-name { font-size: 12px; font-weight: 600; color: var(--cc-navy); line-height: 1.3; }

/* =====================================================
   TRÁMITES GRID (cards de trámite)
===================================================== */
.tc-tramites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.tc-tramite-card {
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: calc(var(--cc-radius) + 2px);
    padding: 28px 24px;
    text-decoration: none;
    transition: border-color .18s, box-shadow .18s, transform .18s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tc-tramite-card:hover {
    border-color: var(--cc-navy);
    box-shadow: var(--cc-shadow);
    transform: translateY(-2px);
}
.tc-tramite-icon { font-size: 28px; line-height: 1; }
.tc-tramite-card h3 {
    font-family: var(--cc-font-head);
    font-size: 18px;
    color: var(--cc-navy);
    margin: 0;
    line-height: 1.25;
}
.tc-tramite-card p { font-size: 14px; color: var(--cc-muted); margin: 0; line-height: 1.6; }
.tc-card-link { font-size: 13px; font-weight: 600; color: var(--cc-gold); margin-top: auto; }
.tc-tramite-card:hover .tc-card-link { color: var(--cc-navy); }

/* =====================================================
   FICHAS DE CONSULADO (single-ficha)
===================================================== */
.tc-ficha-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 48px 0 40px;
}
.tc-ficha-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(24px, 4vw, 38px);
    margin: 0 0 12px;
    color: var(--cc-white);
}
.tc-ficha-badge {
    display: inline-block;
    background: rgba(201,162,39,.25);
    color: var(--cc-gold-lt);
    border: 1px solid rgba(201,162,39,.4);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
}

/* Info box de la ficha */
.tc-ficha-infobox {
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: calc(var(--cc-radius) + 2px);
    padding: 28px;
    box-shadow: var(--cc-shadow);
}
.tc-ficha-infobox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--cc-border);
    font-size: 14px;
}
.tc-ficha-infobox-row:last-child { border-bottom: none; padding-bottom: 0; }
.tc-ficha-infobox-row:first-child { padding-top: 0; }
.tc-ficha-infobox-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.tc-ficha-infobox-label { font-weight: 600; color: var(--cc-navy); min-width: 90px; }
.tc-ficha-infobox-val { color: var(--cc-text); line-height: 1.5; }
.tc-ficha-infobox-val a { color: var(--cc-navy-mid); }
.tc-ficha-infobox-val a:hover { color: var(--cc-gold); }

/* Botón CTA de cita previa */
.tc-cita-btn {
    display: block;
    background: var(--cc-gold);
    color: var(--cc-navy) !important;
    text-align: center;
    padding: 14px 20px;
    border-radius: var(--cc-radius);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    margin-top: 20px;
    transition: background .15s;
}
.tc-cita-btn:hover { background: var(--cc-gold-lt); }

/* =====================================================
   PÁGINA DE PAÍS (single-pais)
===================================================== */
.tc-pais-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 56px 0 48px;
}
.tc-pais-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(26px, 4.5vw, 44px);
    margin: 0 0 14px;
    color: var(--cc-white);
}
.tc-pais-hero-flag { font-size: 48px; margin-bottom: 16px; display: block; }
.tc-pais-hero p { color: rgba(255,255,255,.80); font-size: 16px; max-width: 560px; }

/* Grid de fichas en página de país */
.tc-fichas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.tc-ficha-card {
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: calc(var(--cc-radius) + 2px);
    padding: 24px;
    text-decoration: none;
    transition: border-color .18s, box-shadow .18s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tc-ficha-card:hover {
    border-color: var(--cc-gold);
    box-shadow: 0 4px 20px rgba(201,162,39,.12);
}
.tc-ficha-card-tipo {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--cc-gold);
}
.tc-ficha-card h3 {
    font-family: var(--cc-font-head);
    font-size: 17px;
    color: var(--cc-navy);
    margin: 0;
    line-height: 1.25;
}
.tc-ficha-card-ciudad { font-size: 13px; color: var(--cc-muted); }
.tc-ficha-card-dir { font-size: 13px; color: var(--cc-text); }

/* =====================================================
   TRÁMITE INDIVIDUAL (single-tramite)
===================================================== */
.tc-tramite-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 48px 0 40px;
}
.tc-tramite-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(24px, 4vw, 38px);
    margin: 0 0 16px;
    color: var(--cc-white);
}
.tc-tramite-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.tc-tramite-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.80);
}
.tc-tramite-meta-item strong { color: var(--cc-gold-lt); }

/* Info chips del trámite */
.tc-tramite-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.tc-chip {
    background: var(--cc-offwhite);
    border: 1px solid var(--cc-border);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cc-text);
}
.tc-chip-gold {
    background: rgba(201,162,39,.12);
    border-color: rgba(201,162,39,.3);
    color: #8a6d00;
}

/* Pasos HowTo */
.tc-steps-list { display: flex; flex-direction: column; gap: 20px; }
.tc-step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.tc-step-num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: var(--cc-navy);
    color: var(--cc-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--cc-font-head);
    margin-top: 2px;
}
.tc-step-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--cc-navy);
    margin: 0 0 4px;
}
.tc-step-body p { font-size: 14px; color: var(--cc-text); margin: 0; line-height: 1.6; }

/* FAQ */
.tc-faq-list { display: flex; flex-direction: column; gap: 0; }
.tc-faq-item {
    border-bottom: 1px solid var(--cc-border);
}
.tc-faq-item:first-child { border-top: 1px solid var(--cc-border); }
.tc-faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--cc-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: var(--cc-font-body);
}
.tc-faq-q::after { content: '+'; font-size: 20px; color: var(--cc-gold); flex-shrink: 0; }
.tc-faq-q.open::after { content: '−'; }
.tc-faq-a {
    display: none;
    padding: 0 0 16px;
    font-size: 14px;
    color: var(--cc-text);
    line-height: 1.7;
}
.tc-faq-a.open { display: block; }

/* =====================================================
   SIDEBAR LAYOUT (tramite y ficha)
===================================================== */
.tc-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}
.tc-sidebar { display: flex; flex-direction: column; gap: 20px; }
.tc-sidebar-box {
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: calc(var(--cc-radius) + 2px);
    padding: 24px;
}
.tc-sidebar-box h4 {
    font-family: var(--cc-font-head);
    font-size: 16px;
    color: var(--cc-navy);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cc-border);
}
.tc-sidebar-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tc-sidebar-box ul li { font-size: 13px; color: var(--cc-text); padding-left: 16px; position: relative; line-height: 1.5; }
.tc-sidebar-box ul li::before { content: '✓'; position: absolute; left: 0; color: var(--cc-gold); font-weight: 700; }

@media (max-width: 900px) {
    .tc-sidebar-layout { grid-template-columns: 1fr; }
    .tc-sidebar { order: -1; }
}

/* =====================================================
   STEPS (How it works / Cómo funciona)
===================================================== */
.tc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    counter-reset: step;
}
.tc-step {
    position: relative;
    padding-left: 0;
    counter-increment: step;
}
.tc-step::before {
    content: counter(step);
    display: block;
    width: 40px; height: 40px;
    background: var(--cc-gold);
    color: var(--cc-navy);
    border-radius: 50%;
    font-family: var(--cc-font-head);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.tc-step h3 {
    font-family: var(--cc-font-head);
    font-size: 18px;
    color: var(--cc-navy);
    margin: 0 0 8px;
}
.tc-step p { font-size: 14px; color: var(--cc-muted); margin: 0; line-height: 1.6; }

/* =====================================================
   LEGAL PAGES
===================================================== */
.tc-legal-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 48px 0 40px;
}
.tc-legal-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(24px, 4vw, 36px);
    margin: 0 0 8px;
    color: var(--cc-white);
}
.tc-legal-hero p { color: rgba(255,255,255,.75); font-size: 14px; }
.tc-legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: start;
}
@media (max-width: 768px) {
    .tc-legal-layout { grid-template-columns: 1fr; }
    .tc-legal-index { display: none; }
}
.tc-legal-index {
    position: sticky;
    top: 90px;
    background: var(--cc-offwhite);
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius);
    padding: 20px;
}
.tc-legal-index h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--cc-muted); margin: 0 0 12px; }
.tc-legal-index ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.tc-legal-index li a { font-size: 13px; color: var(--cc-text); text-decoration: none; padding: 4px 0; display: block; }
.tc-legal-index li a:hover { color: var(--cc-navy); }
.tc-legal-content h2 { font-family: var(--cc-font-head); font-size: 22px; color: var(--cc-navy); margin: 40px 0 14px; padding-top: 8px; border-top: 2px solid var(--cc-gold); }
.tc-legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.tc-legal-content h3 { font-size: 16px; color: var(--cc-navy); margin: 24px 0 10px; }
.tc-legal-content p { font-size: 15px; color: var(--cc-text); line-height: 1.75; margin: 0 0 14px; }
.tc-legal-content ul { padding-left: 20px; margin: 0 0 16px; }
.tc-legal-content li { font-size: 14px; color: var(--cc-text); line-height: 1.7; margin-bottom: 6px; }
.tc-legal-box { background: var(--cc-offwhite); border-left: 3px solid var(--cc-gold); border-radius: 0 var(--cc-radius) var(--cc-radius) 0; padding: 16px 20px; margin: 20px 0; }
.tc-legal-box p { margin: 0 0 6px; font-size: 14px; }
.tc-legal-box p:last-child { margin: 0; }

/* Cookies table */
.tc-cookies-table-wrap { overflow-x: auto; margin: 20px 0; }
.tc-cookies-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tc-cookies-table th { background: var(--cc-navy); color: var(--cc-white); padding: 10px 14px; text-align: left; font-weight: 600; }
.tc-cookies-table td { padding: 10px 14px; border-bottom: 1px solid var(--cc-border); color: var(--cc-text); }
.tc-cookies-table tr:hover td { background: var(--cc-offwhite); }
.tc-cookies-table code { background: var(--cc-offwhite); padding: 2px 6px; border-radius: 3px; font-size: 12px; }

/* =====================================================
   CTA BANNER
===================================================== */
.tc-cta-banner {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tc-cta-banner::before {
    content: '';
    position: absolute;
    top: -80px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,162,39,.15) 0%, transparent 70%);
}
.tc-cta-banner h2 {
    font-family: var(--cc-font-head);
    font-size: clamp(22px, 3.5vw, 34px);
    margin: 0 0 14px;
    color: var(--cc-white);
    position: relative;
}
.tc-cta-banner p { color: rgba(255,255,255,.80); font-size: 16px; margin: 0 0 28px; position: relative; }

/* =====================================================
   FOOTER
===================================================== */
.tc-footer {
    background: var(--cc-navy);
    color: rgba(255,255,255,.72);
    padding: 56px 0 0;
    font-size: 14px;
}
.tc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { .tc-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tc-footer-grid { grid-template-columns: 1fr; } }
.tc-footer-brand .tc-logo-name { color: var(--cc-white); }
.tc-footer-brand .tc-logo-tagline { color: rgba(255,255,255,.5); }
.tc-footer-brand p { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 14px; line-height: 1.6; max-width: 260px; }
.tc-footer-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--cc-gold); margin: 0 0 16px; }
.tc-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tc-footer-col ul li a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; transition: color .15s; }
.tc-footer-col ul li a:hover { color: var(--cc-gold-lt); }
.tc-footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: rgba(255,255,255,.45);
}
.tc-footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
.tc-footer-bottom a:hover { color: var(--cc-gold-lt); }

/* =====================================================
   BREADCRUMBS
===================================================== */
.tc-breadcrumb {
    background: var(--cc-offwhite);
    border-bottom: 1px solid var(--cc-border);
    padding: 10px 0;
    font-size: 12px;
    color: var(--cc-muted);
}
.tc-breadcrumb a { color: var(--cc-muted); text-decoration: none; }
.tc-breadcrumb a:hover { color: var(--cc-navy); }
.tc-breadcrumb span { margin: 0 6px; }

/* =====================================================
   ARCHIVE PAGES (lista de países / trámites)
===================================================== */
.tc-archive-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 56px 0 48px;
}
.tc-archive-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(26px, 4.5vw, 42px);
    margin: 0 0 12px;
    color: var(--cc-white);
}
.tc-archive-hero p { color: rgba(255,255,255,.78); font-size: 16px; max-width: 560px; }

/* =====================================================
   UTILITIES
===================================================== */
.tc-tag {
    display: inline-block;
    background: var(--cc-offwhite);
    border: 1px solid var(--cc-border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cc-muted);
}
.tc-tag-gold {
    background: rgba(201,162,39,.1);
    border-color: rgba(201,162,39,.25);
    color: #8a6d00;
}
.tc-tag-navy {
    background: rgba(0,32,91,.08);
    border-color: rgba(0,32,91,.2);
    color: var(--cc-navy);
}

/* Separador decorativo */
.tc-divider {
    border: none;
    border-top: 2px solid var(--cc-gold);
    width: 48px;
    margin: 20px 0;
}
.tc-divider-center { margin: 20px auto; }

/* Prose content (post_content de trámites y fichas) */
.tc-prose h2 {
    font-family: var(--cc-font-head);
    font-size: 22px;
    color: var(--cc-navy);
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--cc-gold);
}
.tc-prose h2:first-child { margin-top: 0; }
.tc-prose h3 { font-size: 17px; color: var(--cc-navy); margin: 24px 0 10px; }
.tc-prose p { font-size: 15px; color: var(--cc-text); line-height: 1.8; margin: 0 0 16px; }
.tc-prose ul, .tc-prose ol { padding-left: 20px; margin: 0 0 16px; }
.tc-prose li { font-size: 15px; line-height: 1.7; color: var(--cc-text); margin-bottom: 6px; }
.tc-prose strong { color: var(--cc-navy); }
.tc-prose a { color: var(--cc-navy-mid); text-decoration: underline; }
.tc-prose a:hover { color: var(--cc-gold); }

/* AdSense wrapper */
.cc-adsense { margin: 28px 0; text-align: center; }

/* =====================================================
   RESPONSIVE FINAL
===================================================== */
@media (max-width: 600px) {
    .tc-hero { padding: 56px 0 48px; }
    .tc-section, .tc-section-alt { padding: 48px 0; }
    .tc-tramites-grid { grid-template-columns: 1fr; }
    .tc-fichas-grid { grid-template-columns: 1fr; }
    .tc-steps { grid-template-columns: 1fr; }
    .tc-hero-trust { gap: 12px; }
    .tc-hero-trust-dot { display: none; }
    .tc-footer-bottom { flex-direction: column; text-align: center; }
}
/*
Theme Name:   ConsultadosEnColombia
Theme URI:    https://consuladosencolombia.com
Description:  Tema hijo de ASAP para consuladosencolombia.com
Author:       SEOFune
Author URI:   https://seofune.es
Template:     asap
Version:      1.0.0
Text Domain:  consuladosencolombia
*/

/* =====================================================
   VARIABLES — Paleta Colombia
   Azul institucional profundo + Dorado cálido
   Diferente a tramiteconsular.es en identidad visual
   pero idéntica arquitectura
===================================================== */
:root {
    /* Colores principales */
    --cc-navy:      #00205B;   /* Azul Colombia institucional profundo */
    --cc-navy-mid:  #003087;   /* Azul medio */
    --cc-navy-soft: #1a4a9e;   /* Azul suave para hover */
    --cc-gold:      #C9A227;   /* Dorado cálido Colombia */
    --cc-gold-lt:   #e2c060;   /* Dorado claro */
    --cc-red:       #CE1126;   /* Rojo Colombia (acento puntual) */

    /* Neutros */
    --cc-white:     #ffffff;
    --cc-offwhite:  #f7f8fa;
    --cc-text:      #0f1923;
    --cc-muted:     #536073;
    --cc-border:    #dde2eb;

    /* UI */
    --cc-radius:    6px;
    --cc-shadow:    0 2px 16px rgba(0,32,91,.10);
    --cc-shadow-lg: 0 8px 40px rgba(0,32,91,.16);

    /* Tipografía */
    --cc-font-head: "DM Serif Display", Georgia, serif;
    --cc-font-body: "Source Sans 3", system-ui, sans-serif;

    /* Aliases para compatibilidad con clases .tc- que vienen del tema tramiteconsular */
    --tc-navy:      var(--cc-navy);
    --tc-navy-mid:  var(--cc-navy-mid);
    --tc-navy-soft: var(--cc-navy-soft);
    --tc-gold:      var(--cc-gold);
    --tc-gold-lt:   var(--cc-gold-lt);
    --tc-white:     var(--cc-white);
    --tc-offwhite:  var(--cc-offwhite);
    --tc-text:      var(--cc-text);
    --tc-muted:     var(--cc-muted);
    --tc-border:    var(--cc-border);
    --tc-radius:    var(--cc-radius);
    --tc-shadow:    var(--cc-shadow);
    --tc-shadow-lg: var(--cc-shadow-lg);
    --tc-font-head: var(--cc-font-head);
    --tc-font-body: var(--cc-font-body);
}

/* =====================================================
   RESET & BASE
===================================================== */
.cc-container,
.tc-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   TOPBAR
===================================================== */
.tc-topbar {
    background: var(--cc-navy);
    color: rgba(255,255,255,.75);
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.tc-topbar .tc-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.tc-topbar a { color: rgba(255,255,255,.75); }
.tc-topbar a:hover { color: var(--cc-gold-lt); }
.tc-topbar-left  { display: flex; gap: 20px; align-items: center; }
.tc-topbar-right { display: flex; gap: 16px; align-items: center; }
.tc-topbar-flag  { font-size: 15px; }

/* =====================================================
   HEADER / NAV
===================================================== */
.tc-header {
    background: var(--cc-white);
    border-bottom: 3px solid var(--cc-gold);   /* Línea dorada diferenciadora */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0,32,91,.08);
}
.tc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 32px;
}

/* Logo */
.tc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.tc-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--cc-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}
.tc-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.tc-logo-name {
    font-family: var(--cc-font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--cc-navy);
    letter-spacing: -.2px;
}
.tc-logo-tagline {
    font-size: 11px;
    color: var(--cc-muted);
    letter-spacing: .3px;
    text-transform: uppercase;
}

/* Navegación */
.tc-nav { display: flex; align-items: center; gap: 4px; }
.tc-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--cc-text);
    padding: 6px 12px;
    border-radius: var(--cc-radius);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.tc-nav a:hover { background: var(--cc-offwhite); color: var(--cc-navy); }
.tc-nav a.current-menu-item { color: var(--cc-navy); font-weight: 600; }

.tc-btn {
    display: inline-block;
    padding: 9px 20px;
    border-radius: var(--cc-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.4;
}
.tc-btn-primary {
    background: var(--cc-navy);
    color: var(--cc-white) !important;
    border-color: var(--cc-navy);
}
.tc-btn-primary:hover {
    background: var(--cc-navy-soft);
    border-color: var(--cc-navy-soft);
}
.tc-btn-gold {
    background: var(--cc-gold);
    color: var(--cc-navy) !important;
    border-color: var(--cc-gold);
}
.tc-btn-gold:hover {
    background: var(--cc-gold-lt);
    border-color: var(--cc-gold-lt);
}
.tc-btn-outline {
    background: transparent;
    color: var(--cc-navy) !important;
    border-color: var(--cc-border);
}
.tc-btn-outline:hover {
    border-color: var(--cc-navy);
    background: var(--cc-offwhite);
}
.tc-btn-hero { padding: 13px 28px; font-size: 15px; }

/* Mobile nav toggle */
.tc-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--cc-navy);
}
@media (max-width: 768px) {
    .tc-nav-toggle { display: flex; }
    .tc-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        background: var(--cc-white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--cc-border);
        box-shadow: var(--cc-shadow);
        gap: 4px;
    }
    .tc-nav.open { display: flex; }
    .tc-nav a { width: 100%; padding: 10px 16px; }
}

/* =====================================================
   HERO
===================================================== */
.tc-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 60%, #1a4a9e 100%);
    color: var(--cc-white);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}
.tc-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -80px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(201,162,39,.18) 0%, transparent 70%);
    pointer-events: none;
}
.tc-hero::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -60px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
    pointer-events: none;
}
.tc-hero .tc-container { position: relative; z-index: 1; }
.tc-hero-eyebrow {
    display: inline-block;
    background: rgba(201,162,39,.2);
    color: var(--cc-gold-lt);
    border: 1px solid rgba(201,162,39,.35);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 5px 14px;
    margin-bottom: 20px;
}
.tc-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 700;
    line-height: 1.12;
    margin: 0 0 20px;
    color: var(--cc-white);
    max-width: 720px;
}
.tc-hero h1 em {
    font-style: italic;
    color: var(--cc-gold-lt);
}
.tc-hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,.80);
    max-width: 580px;
    margin: 0 0 32px;
    line-height: 1.6;
}

/* Hero search */
.tc-search-bar {
    display: flex;
    max-width: 560px;
    background: var(--cc-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,32,91,.25);
    margin-bottom: 36px;
}
.tc-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--cc-text);
    font-family: var(--cc-font-body);
    background: transparent;
}
.tc-search-bar input::placeholder { color: var(--cc-muted); }
.tc-search-bar button {
    background: var(--cc-gold);
    color: var(--cc-navy);
    border: none;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    font-family: var(--cc-font-body);
    letter-spacing: .2px;
}
.tc-search-bar button:hover { background: var(--cc-gold-lt); }

/* Hero trust bar */
.tc-hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.tc-hero-trust-item { font-size: 13px; color: rgba(255,255,255,.70); }
.tc-hero-trust-item strong { color: var(--cc-white); }
.tc-hero-trust-dot {
    width: 4px; height: 4px;
    background: rgba(255,255,255,.3);
    border-radius: 50%;
}

/* =====================================================
   SECTIONS
===================================================== */
.tc-section { padding: 72px 0; }
.tc-section-alt { background: var(--cc-offwhite); padding: 72px 0; }

.tc-section-head {
    text-align: center;
    margin-bottom: 48px;
}
.tc-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--cc-gold);
    margin-bottom: 12px;
}
.tc-section-head h2 {
    font-family: var(--cc-font-head);
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--cc-navy);
    margin: 0 0 12px;
    line-height: 1.2;
}
.tc-section-head p {
    font-size: 16px;
    color: var(--cc-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =====================================================
   PAÍSES GRID
===================================================== */
.tc-paises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.tc-pais-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 10px 16px;
    text-align: center;
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: calc(var(--cc-radius) + 2px);
    text-decoration: none;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.tc-pais-card:hover {
    border-color: var(--cc-gold);
    box-shadow: 0 4px 20px rgba(201,162,39,.15);
    transform: translateY(-2px);
}
.tc-pais-flag { font-size: 28px; line-height: 1; }
.tc-pais-name { font-size: 12px; font-weight: 600; color: var(--cc-navy); line-height: 1.3; }

/* =====================================================
   TRÁMITES GRID (cards de trámite)
===================================================== */
.tc-tramites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.tc-tramite-card {
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: calc(var(--cc-radius) + 2px);
    padding: 28px 24px;
    text-decoration: none;
    transition: border-color .18s, box-shadow .18s, transform .18s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tc-tramite-card:hover {
    border-color: var(--cc-navy);
    box-shadow: var(--cc-shadow);
    transform: translateY(-2px);
}
.tc-tramite-icon { font-size: 28px; line-height: 1; }
.tc-tramite-card h3 {
    font-family: var(--cc-font-head);
    font-size: 18px;
    color: var(--cc-navy);
    margin: 0;
    line-height: 1.25;
}
.tc-tramite-card p { font-size: 14px; color: var(--cc-muted); margin: 0; line-height: 1.6; }
.tc-card-link { font-size: 13px; font-weight: 600; color: var(--cc-gold); margin-top: auto; }
.tc-tramite-card:hover .tc-card-link { color: var(--cc-navy); }

/* =====================================================
   FICHAS DE CONSULADO (single-ficha)
===================================================== */
.tc-ficha-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 48px 0 40px;
}
.tc-ficha-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(24px, 4vw, 38px);
    margin: 0 0 12px;
    color: var(--cc-white);
}
.tc-ficha-badge {
    display: inline-block;
    background: rgba(201,162,39,.25);
    color: var(--cc-gold-lt);
    border: 1px solid rgba(201,162,39,.4);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
}

/* Info box de la ficha */
.tc-ficha-infobox {
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: calc(var(--cc-radius) + 2px);
    padding: 28px;
    box-shadow: var(--cc-shadow);
}
.tc-ficha-infobox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--cc-border);
    font-size: 14px;
}
.tc-ficha-infobox-row:last-child { border-bottom: none; padding-bottom: 0; }
.tc-ficha-infobox-row:first-child { padding-top: 0; }
.tc-ficha-infobox-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.tc-ficha-infobox-label { font-weight: 600; color: var(--cc-navy); min-width: 90px; }
.tc-ficha-infobox-val { color: var(--cc-text); line-height: 1.5; }
.tc-ficha-infobox-val a { color: var(--cc-navy-mid); }
.tc-ficha-infobox-val a:hover { color: var(--cc-gold); }

/* Botón CTA de cita previa */
.tc-cita-btn {
    display: block;
    background: var(--cc-gold);
    color: var(--cc-navy) !important;
    text-align: center;
    padding: 14px 20px;
    border-radius: var(--cc-radius);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    margin-top: 20px;
    transition: background .15s;
}
.tc-cita-btn:hover { background: var(--cc-gold-lt); }

/* =====================================================
   PÁGINA DE PAÍS (single-pais)
===================================================== */
.tc-pais-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 56px 0 48px;
}
.tc-pais-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(26px, 4.5vw, 44px);
    margin: 0 0 14px;
    color: var(--cc-white);
}
.tc-pais-hero-flag { font-size: 48px; margin-bottom: 16px; display: block; }
.tc-pais-hero p { color: rgba(255,255,255,.80); font-size: 16px; max-width: 560px; }

/* Grid de fichas en página de país */
.tc-fichas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.tc-ficha-card {
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: calc(var(--cc-radius) + 2px);
    padding: 24px;
    text-decoration: none;
    transition: border-color .18s, box-shadow .18s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tc-ficha-card:hover {
    border-color: var(--cc-gold);
    box-shadow: 0 4px 20px rgba(201,162,39,.12);
}
.tc-ficha-card-tipo {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--cc-gold);
}
.tc-ficha-card h3 {
    font-family: var(--cc-font-head);
    font-size: 17px;
    color: var(--cc-navy);
    margin: 0;
    line-height: 1.25;
}
.tc-ficha-card-ciudad { font-size: 13px; color: var(--cc-muted); }
.tc-ficha-card-dir { font-size: 13px; color: var(--cc-text); }

/* =====================================================
   TRÁMITE INDIVIDUAL (single-tramite)
===================================================== */
.tc-tramite-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 48px 0 40px;
}
.tc-tramite-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(24px, 4vw, 38px);
    margin: 0 0 16px;
    color: var(--cc-white);
}
.tc-tramite-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.tc-tramite-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.80);
}
.tc-tramite-meta-item strong { color: var(--cc-gold-lt); }

/* Info chips del trámite */
.tc-tramite-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.tc-chip {
    background: var(--cc-offwhite);
    border: 1px solid var(--cc-border);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cc-text);
}
.tc-chip-gold {
    background: rgba(201,162,39,.12);
    border-color: rgba(201,162,39,.3);
    color: #8a6d00;
}

/* Pasos HowTo */
.tc-steps-list { display: flex; flex-direction: column; gap: 20px; }
.tc-step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.tc-step-num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: var(--cc-navy);
    color: var(--cc-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--cc-font-head);
    margin-top: 2px;
}
.tc-step-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--cc-navy);
    margin: 0 0 4px;
}
.tc-step-body p { font-size: 14px; color: var(--cc-text); margin: 0; line-height: 1.6; }

/* FAQ */
.tc-faq-list { display: flex; flex-direction: column; gap: 0; }
.tc-faq-item {
    border-bottom: 1px solid var(--cc-border);
}
.tc-faq-item:first-child { border-top: 1px solid var(--cc-border); }
.tc-faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--cc-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: var(--cc-font-body);
}
.tc-faq-q::after { content: '+'; font-size: 20px; color: var(--cc-gold); flex-shrink: 0; }
.tc-faq-q.open::after { content: '−'; }
.tc-faq-a {
    display: none;
    padding: 0 0 16px;
    font-size: 14px;
    color: var(--cc-text);
    line-height: 1.7;
}
.tc-faq-a.open { display: block; }

/* =====================================================
   SIDEBAR LAYOUT (tramite y ficha)
===================================================== */
.tc-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}
.tc-sidebar { display: flex; flex-direction: column; gap: 20px; }
.tc-sidebar-box {
    background: var(--cc-white);
    border: 1.5px solid var(--cc-border);
    border-radius: calc(var(--cc-radius) + 2px);
    padding: 24px;
}
.tc-sidebar-box h4 {
    font-family: var(--cc-font-head);
    font-size: 16px;
    color: var(--cc-navy);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cc-border);
}
.tc-sidebar-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tc-sidebar-box ul li { font-size: 13px; color: var(--cc-text); padding-left: 16px; position: relative; line-height: 1.5; }
.tc-sidebar-box ul li::before { content: '✓'; position: absolute; left: 0; color: var(--cc-gold); font-weight: 700; }

@media (max-width: 900px) {
    .tc-sidebar-layout { grid-template-columns: 1fr; }
    .tc-sidebar { order: -1; }
}

/* =====================================================
   STEPS (How it works / Cómo funciona)
===================================================== */
.tc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    counter-reset: step;
}
.tc-step {
    position: relative;
    padding-left: 0;
    counter-increment: step;
}
.tc-step::before {
    content: counter(step);
    display: block;
    width: 40px; height: 40px;
    background: var(--cc-gold);
    color: var(--cc-navy);
    border-radius: 50%;
    font-family: var(--cc-font-head);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.tc-step h3 {
    font-family: var(--cc-font-head);
    font-size: 18px;
    color: var(--cc-navy);
    margin: 0 0 8px;
}
.tc-step p { font-size: 14px; color: var(--cc-muted); margin: 0; line-height: 1.6; }

/* =====================================================
   LEGAL PAGES
===================================================== */
.tc-legal-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 48px 0 40px;
}
.tc-legal-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(24px, 4vw, 36px);
    margin: 0 0 8px;
    color: var(--cc-white);
}
.tc-legal-hero p { color: rgba(255,255,255,.75); font-size: 14px; }
.tc-legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: start;
}
@media (max-width: 768px) {
    .tc-legal-layout { grid-template-columns: 1fr; }
    .tc-legal-index { display: none; }
}
.tc-legal-index {
    position: sticky;
    top: 90px;
    background: var(--cc-offwhite);
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius);
    padding: 20px;
}
.tc-legal-index h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--cc-muted); margin: 0 0 12px; }
.tc-legal-index ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.tc-legal-index li a { font-size: 13px; color: var(--cc-text); text-decoration: none; padding: 4px 0; display: block; }
.tc-legal-index li a:hover { color: var(--cc-navy); }
.tc-legal-content h2 { font-family: var(--cc-font-head); font-size: 22px; color: var(--cc-navy); margin: 40px 0 14px; padding-top: 8px; border-top: 2px solid var(--cc-gold); }
.tc-legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.tc-legal-content h3 { font-size: 16px; color: var(--cc-navy); margin: 24px 0 10px; }
.tc-legal-content p { font-size: 15px; color: var(--cc-text); line-height: 1.75; margin: 0 0 14px; }
.tc-legal-content ul { padding-left: 20px; margin: 0 0 16px; }
.tc-legal-content li { font-size: 14px; color: var(--cc-text); line-height: 1.7; margin-bottom: 6px; }
.tc-legal-box { background: var(--cc-offwhite); border-left: 3px solid var(--cc-gold); border-radius: 0 var(--cc-radius) var(--cc-radius) 0; padding: 16px 20px; margin: 20px 0; }
.tc-legal-box p { margin: 0 0 6px; font-size: 14px; }
.tc-legal-box p:last-child { margin: 0; }

/* Cookies table */
.tc-cookies-table-wrap { overflow-x: auto; margin: 20px 0; }
.tc-cookies-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tc-cookies-table th { background: var(--cc-navy); color: var(--cc-white); padding: 10px 14px; text-align: left; font-weight: 600; }
.tc-cookies-table td { padding: 10px 14px; border-bottom: 1px solid var(--cc-border); color: var(--cc-text); }
.tc-cookies-table tr:hover td { background: var(--cc-offwhite); }
.tc-cookies-table code { background: var(--cc-offwhite); padding: 2px 6px; border-radius: 3px; font-size: 12px; }

/* =====================================================
   CTA BANNER
===================================================== */
.tc-cta-banner {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tc-cta-banner::before {
    content: '';
    position: absolute;
    top: -80px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,162,39,.15) 0%, transparent 70%);
}
.tc-cta-banner h2 {
    font-family: var(--cc-font-head);
    font-size: clamp(22px, 3.5vw, 34px);
    margin: 0 0 14px;
    color: var(--cc-white);
    position: relative;
}
.tc-cta-banner p { color: rgba(255,255,255,.80); font-size: 16px; margin: 0 0 28px; position: relative; }

/* =====================================================
   FOOTER
===================================================== */
.tc-footer {
    background: var(--cc-navy);
    color: rgba(255,255,255,.72);
    padding: 56px 0 0;
    font-size: 14px;
}
.tc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { .tc-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tc-footer-grid { grid-template-columns: 1fr; } }
.tc-footer-brand .tc-logo-name { color: var(--cc-white); }
.tc-footer-brand .tc-logo-tagline { color: rgba(255,255,255,.5); }
.tc-footer-brand p { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 14px; line-height: 1.6; max-width: 260px; }
.tc-footer-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--cc-gold); margin: 0 0 16px; }
.tc-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tc-footer-col ul li a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; transition: color .15s; }
.tc-footer-col ul li a:hover { color: var(--cc-gold-lt); }
.tc-footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: rgba(255,255,255,.45);
}
.tc-footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
.tc-footer-bottom a:hover { color: var(--cc-gold-lt); }

/* =====================================================
   BREADCRUMBS
===================================================== */
.tc-breadcrumb {
    background: var(--cc-offwhite);
    border-bottom: 1px solid var(--cc-border);
    padding: 10px 0;
    font-size: 12px;
    color: var(--cc-muted);
}
.tc-breadcrumb a { color: var(--cc-muted); text-decoration: none; }
.tc-breadcrumb a:hover { color: var(--cc-navy); }
.tc-breadcrumb span { margin: 0 6px; }

/* =====================================================
   ARCHIVE PAGES (lista de países / trámites)
===================================================== */
.tc-archive-hero {
    background: linear-gradient(135deg, var(--cc-navy) 0%, var(--cc-navy-mid) 100%);
    color: var(--cc-white);
    padding: 56px 0 48px;
}
.tc-archive-hero h1 {
    font-family: var(--cc-font-head);
    font-size: clamp(26px, 4.5vw, 42px);
    margin: 0 0 12px;
    color: var(--cc-white);
}
.tc-archive-hero p { color: rgba(255,255,255,.78); font-size: 16px; max-width: 560px; }

/* =====================================================
   UTILITIES
===================================================== */
.tc-tag {
    display: inline-block;
    background: var(--cc-offwhite);
    border: 1px solid var(--cc-border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cc-muted);
}
.tc-tag-gold {
    background: rgba(201,162,39,.1);
    border-color: rgba(201,162,39,.25);
    color: #8a6d00;
}
.tc-tag-navy {
    background: rgba(0,32,91,.08);
    border-color: rgba(0,32,91,.2);
    color: var(--cc-navy);
}

/* Separador decorativo */
.tc-divider {
    border: none;
    border-top: 2px solid var(--cc-gold);
    width: 48px;
    margin: 20px 0;
}
.tc-divider-center { margin: 20px auto; }

/* Prose content (post_content de trámites y fichas) */
.tc-prose h2 {
    font-family: var(--cc-font-head);
    font-size: 22px;
    color: var(--cc-navy);
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--cc-gold);
}
.tc-prose h2:first-child { margin-top: 0; }
.tc-prose h3 { font-size: 17px; color: var(--cc-navy); margin: 24px 0 10px; }
.tc-prose p { font-size: 15px; color: var(--cc-text); line-height: 1.8; margin: 0 0 16px; }
.tc-prose ul, .tc-prose ol { padding-left: 20px; margin: 0 0 16px; }
.tc-prose li { font-size: 15px; line-height: 1.7; color: var(--cc-text); margin-bottom: 6px; }
.tc-prose strong { color: var(--cc-navy); }
.tc-prose a { color: var(--cc-navy-mid); text-decoration: underline; }
.tc-prose a:hover { color: var(--cc-gold); }

/* AdSense wrapper */
.cc-adsense { margin: 28px 0; text-align: center; }

/* =====================================================
   RESPONSIVE FINAL
===================================================== */
@media (max-width: 600px) {
    .tc-hero { padding: 56px 0 48px; }
    .tc-section, .tc-section-alt { padding: 48px 0; }
    .tc-tramites-grid { grid-template-columns: 1fr; }
    .tc-fichas-grid { grid-template-columns: 1fr; }
    .tc-steps { grid-template-columns: 1fr; }
    .tc-hero-trust { gap: 12px; }
    .tc-hero-trust-dot { display: none; }
    .tc-footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================
   MOBILE FIXES — pantallas pequeñas
===================================================== */

/* Topbar: ocultar en móvil para ganar espacio */
@media (max-width: 640px) {
    .tc-topbar { display: none; }
}

/* Header: reducir altura y ajustar logo */
@media (max-width: 640px) {
    .tc-header-inner { height: 58px; gap: 12px; }
    .tc-logo-name { font-size: 15px; }
    .tc-logo-tagline { display: none; }
    .tc-logo-icon { width: 32px; height: 32px; font-size: 17px; }
    /* Ocultar botón CTA del header en móvil, queda el hamburger */
    .tc-header .tc-btn { display: none; }
}

/* Hero: padding y tipografía más compactos */
@media (max-width: 480px) {
    .tc-hero { padding: 40px 0 36px; }
    .tc-hero h1 { font-size: 28px; margin-bottom: 14px; }
    .tc-hero-sub { font-size: 15px; margin-bottom: 24px; }
    .tc-hero-eyebrow { font-size: 11px; margin-bottom: 14px; }

    /* Buscador: apilado vertical en móvil */
    .tc-search-bar {
        flex-direction: column;
        border-radius: var(--cc-radius);
        overflow: hidden;
        margin-bottom: 24px;
    }
    .tc-search-bar input {
        padding: 13px 16px;
        font-size: 15px;
        border-radius: 0;
    }
    .tc-search-bar button {
        padding: 13px 20px;
        font-size: 14px;
        border-radius: 0;
        width: 100%;
    }

    /* Trust bar: 2 columnas en móvil */
    .tc-hero-trust {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 0;
    }
    .tc-hero-trust-dot { display: none; }
    .tc-hero-trust-item { font-size: 12px; }
}

/* Paises grid: mínimo más pequeño en móvil */
@media (max-width: 480px) {
    .tc-paises-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    .tc-pais-card { padding: 14px 8px 12px; }
    .tc-pais-flag { font-size: 24px; }
    .tc-pais-name { font-size: 11px; }
}

/* Section head: texto más pequeño */
@media (max-width: 480px) {
    .tc-section-head h2 { font-size: 22px; }
    .tc-section-head p { font-size: 14px; }
    .tc-section-label { font-size: 11px; }
}

/* Tramites grid: 1 columna en móvil */
@media (max-width: 480px) {
    .tc-tramites-grid { grid-template-columns: 1fr; gap: 12px; }
    .tc-tramite-card { padding: 20px 16px; }
    .tc-tramite-card h3 { font-size: 16px; }
}

/* Steps: 1 columna */
@media (max-width: 480px) {
    .tc-steps { grid-template-columns: 1fr; gap: 24px; }
    .tc-step::before { width: 36px; height: 36px; font-size: 16px; }
}

/* Sidebar layout: columna única */
@media (max-width: 640px) {
    .tc-sidebar-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Legal layout: sin índice lateral en móvil */
@media (max-width: 640px) {
    .tc-legal-layout { grid-template-columns: 1fr; }
    .tc-legal-index { display: none; }
    .tc-legal-content h2 { font-size: 18px; }
    .tc-cookies-table-wrap { font-size: 12px; }
}

/* Footer: simplificar en móvil */
@media (max-width: 480px) {
    .tc-footer { padding: 40px 0 0; }
    .tc-footer-grid { gap: 28px; }
    .tc-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        font-size: 11px;
    }
    .tc-cta-banner { padding: 48px 0; }
    .tc-cta-banner h2 { font-size: 20px; }
}

/* Fichas: info box más compacto */
@media (max-width: 480px) {
    .tc-ficha-infobox { padding: 16px; }
    .tc-ficha-infobox-row { gap: 8px; font-size: 13px; }
    .tc-ficha-infobox-label { min-width: 75px; }
    .tc-ficha-hero { padding: 32px 0 28px; }
    .tc-ficha-hero h1 { font-size: 22px; }
}

/* Tramite hero: compacto en móvil */
@media (max-width: 480px) {
    .tc-tramite-hero { padding: 32px 0 28px; }
    .tc-tramite-hero h1 { font-size: 22px; }
    .tc-tramite-meta { flex-direction: column; gap: 6px; }
    .tc-tramite-chips { gap: 6px; }
}

/* Botones hero: apilados en móvil */
@media (max-width: 480px) {
    .tc-cta-banner > .tc-container > div,
    section > .tc-container > div[style*="flex"] {
        flex-direction: column;
        align-items: stretch;
    }
    .tc-btn-hero { padding: 12px 20px; font-size: 14px; text-align: center; }
}

/* Contenedor: menos padding lateral en móvil pequeño */
@media (max-width: 360px) {
    .tc-container,
    .cc-container { padding: 0 16px; }
}