/* Estilos propios de oferta_talleres_exploratorios.php — lo compartido está en main.css */

:root { --navy: #225199; --navy-dark: #193d73; --navy-mid: #2a62b8; --blue-light: #dbeafe; --lime: #ffcf00; --white: #ffffff; --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db; --gray-400: #9ca3af; --gray-600: #4b5563; --gray-700: #374151; --gray-900: #111827; --shadow: 0 4px 20px rgba(0,0,0,.10); --shadow-lg: 0 8px 36px rgba(0,0,0,.14); --radius: 14px; --m-industrial: #b45309; --m-industrial-light: #fffbeb; --m-industrial-border:#fcd34d; --m-comercial: #1d4ed8; --m-comercial-light: #eff6ff; --m-comercial-border: #93c5fd; --m-agro: #15803d; --m-agro-light: #f0fdf4; --m-agro-border: #86efac; --g7: #5b21b6; --g8: #0e7490; --g9: #be185d; }

img { display: block; }

.navbar { background: white; position: sticky; top: 0; z-index: 300; box-shadow: 0 2px 12px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: space-between; padding: .55rem 2rem; gap: 1rem; }

.nav-logo { height: 62px; width: auto; max-width: 180px; object-fit: contain; }

.nav-menu a.active { background: var(--blue-light); color: var(--navy-mid); }

.drop-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: white; border: 1px solid var(--gray-200); border-radius: 10px; box-shadow: var(--shadow); min-width: 240px; padding: .4rem 0; z-index: 400; }

.drop-menu a { display: block; border-radius: 0; padding: .6rem 1.1rem; font-size: .83rem; }

.drop-menu a:hover { background: var(--gray-50); color: var(--navy); }

.btn-nav-aula { background: var(--navy) !important; color: white !important; padding: .45rem 1rem !important; border-radius: 8px !important; }

.page-hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #225199 75%, #1d4ed8 100%); padding: 5rem 2rem 3.5rem; position: relative; overflow: hidden; min-height: 360px; display: flex; align-items: center; }

.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%); animation: orbPulse 8s ease-in-out infinite; }

.hero-orb-1 { width: 400px; height: 400px; top: -100px; right: 3%; }

.hero-orb-2 { width: 250px; height: 250px; bottom: -80px; right: 20%; animation-delay: 4s; }

@keyframes orbPulse { 0%,100%{transform:scale(1) translateY(0);} 50%{transform:scale(1.1) translateY(-15px);} }

.page-hero-inner { position: relative; z-index: 1; max-width: 860px; }

.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 1.2rem; flex-wrap: wrap; }

.breadcrumb a { color: rgba(255,255,255,.6); transition: color .15s; }

.breadcrumb .sep { color: rgba(255,255,255,.3); }

.breadcrumb .cur { color: rgba(255,255,255,.85); font-weight: 600; }

.page-hero-inner h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: white; line-height: 1.1; margin-bottom: .8rem; }

.page-hero-inner h1 em { font-style: normal; color: var(--lime); }

.hero-line { width: 56px; height: 4px; background: var(--lime); border-radius: 2px; margin-bottom: 1.1rem; }

.page-hero-inner p { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.75; max-width: 560px; margin-bottom: 2rem; }

.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }

.hstat-val { font-size: 2rem; font-weight: 900; color: var(--lime); line-height: 1; }

.hstat-lbl { font-size: .75rem; color: rgba(255,255,255,.55); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.journey-section { background: var(--gray-50); padding: 4rem 2rem; border-bottom: 1px solid var(--gray-200); }

.journey-inner { max-width: 1150px; margin: 0 auto; }

.journey-title { text-align: center; font-size: .8rem; font-weight: 800; color: var(--gray-400); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2.5rem; }

.journey-track { display: flex; align-items: stretch; gap: 0; position: relative; }

.jcard { flex: 1; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; cursor: default; transition: transform .3s, box-shadow .3s; box-shadow: var(--shadow); }

.jcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.jcard-bg { position: absolute; inset: 0; }

.jcard-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

.jcard:hover .jcard-bg img { transform: scale(1.06); }

.jcard-overlay { position: absolute; inset: 0; }

.jcard-body { position: relative; z-index: 2; padding: 1.5rem 1.3rem; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }

.jcard-num { font-size: 3.5rem; font-weight: 900; color: rgba(255,255,255,.2); line-height: 1; position: absolute; top: 1rem; right: 1.2rem; pointer-events: none; }

.jcard-grade-pill { display: inline-flex; align-items: center; padding: .25rem .75rem; border-radius: 20px; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: white; width: fit-content; margin-bottom: .5rem; }

.jcard-title { font-size: 1.1rem; font-weight: 900; color: white; line-height: 1.2; margin-bottom: .3rem; }

.jcard-sub { font-size: .78rem; color: rgba(255,255,255,.7); line-height: 1.5; }

.jcard-count { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); padding: .2rem .7rem; border-radius: 20px; font-size: .72rem; font-weight: 700; color: white; width: fit-content; }

.jarrow { display: flex; align-items: center; justify-content: center; width: 44px; flex-shrink: 0; position: relative; z-index: 5; }

.jarrow svg { filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }

.jcard-career .jcard-body { justify-content: center; align-items: center; text-align: center; }

.jcard-career .jcard-num { top: 50%; right: 50%; transform: translate(50%, -50%); }

.filter-section { background: white; position: sticky; top: 78px; z-index: 200; border-bottom: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,.06); }

.filter-inner { max-width: 1200px; margin: 0 auto; padding: .85rem 2rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

.filter-label { font-size: .75rem; font-weight: 800; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; margin-right: .3rem; }

.filter-btn { display: flex; align-items: center; gap: .45rem; padding: .48rem 1.1rem; border-radius: 30px; border: 2px solid var(--gray-200); font-size: .82rem; font-weight: 700; color: var(--gray-600); background: white; cursor: pointer; transition: all .2s; white-space: nowrap; }

.filter-btn .fdot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

.filter-btn[data-filter="all"] { border-color: var(--navy); color: var(--navy); }

.filter-btn[data-filter="all"].active { background: var(--navy); color: white; border-color: var(--navy); }

.filter-btn[data-filter="all"]:not(.active):hover { background: var(--blue-light); }

.filter-btn[data-filter="industrial"]:not(.active):hover { border-color: var(--m-industrial); color: var(--m-industrial); background: var(--m-industrial-light); }

.filter-btn[data-filter="industrial"].active { background: var(--m-industrial); color: white; border-color: var(--m-industrial); }

.filter-btn[data-filter="comercial"]:not(.active):hover { border-color: var(--m-comercial); color: var(--m-comercial); background: var(--m-comercial-light); }

.filter-btn[data-filter="comercial"].active { background: var(--m-comercial); color: white; border-color: var(--m-comercial); }

.filter-btn[data-filter="agro"]:not(.active):hover { border-color: var(--m-agro); color: var(--m-agro); background: var(--m-agro-light); }

.filter-btn[data-filter="agro"].active { background: var(--m-agro); color: white; border-color: var(--m-agro); }

.filter-btn .fcount { background: rgba(0,0,0,.1); border-radius: 20px; padding: .05rem .45rem; font-size: .7rem; font-weight: 900; transition: background .2s; }

.filter-btn.active .fcount { background: rgba(255,255,255,.25); }

.filter-results { margin-left: auto; font-size: .78rem; font-weight: 600; color: var(--gray-400); white-space: nowrap; }

.workshops-section { padding: 2.5rem 2rem 5rem; background: var(--gray-50); }

.workshops-inner { max-width: 1200px; margin: 0 auto; }

.grade-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }

.grade-col { display: flex; flex-direction: column; gap: 1rem; }

.grade-col-header { border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; position: relative; overflow: hidden; }

.grade-col-header::after { content: attr(data-big); position: absolute; right: .8rem; bottom: -.5rem; font-size: 5rem; font-weight: 900; color: rgba(255,255,255,.15); line-height: 1; pointer-events: none; }

.gcol-7 { background: linear-gradient(135deg, #4c1d95, #6d28d9); }

.gcol-8 { background: linear-gradient(135deg, #0c4a6e, #0e7490); }

.gcol-9 { background: linear-gradient(135deg, #831843, #be185d); }

.gcol-grade { font-size: 1.6rem; font-weight: 900; color: white; line-height: 1; }

.gcol-name { font-size: .85rem; color: rgba(255,255,255,.75); font-weight: 600; margin-top: .15rem; }

.gcol-count { display: inline-flex; align-items: center; margin-top: .7rem; background: rgba(255,255,255,.2); padding: .2rem .75rem; border-radius: 20px; font-size: .72rem; font-weight: 800; color: white; }

.workshop-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); border: 1px solid var(--gray-200); transition: transform .25s, box-shadow .25s; }

.workshop-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,.12); }

.card-img { position: relative; height: 148px; overflow: hidden; }

.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }

.workshop-card:hover .card-img img { transform: scale(1.07); }

.card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%); }

.card-grade-badge { position: absolute; top: .6rem; left: .65rem; padding: .2rem .65rem; border-radius: 20px; font-size: .68rem; font-weight: 900; letter-spacing: .04em; color: white; backdrop-filter: blur(4px); }

.badge-g7 { background: rgba(91,33,182,.85); }

.badge-g8 { background: rgba(14,116,144,.85); }

.badge-g9 { background: rgba(190,24,93,.85); }

.card-mod-bar { height: 3px; }

.card-mod-bar[data-mod="industrial"] { background: var(--m-industrial); }

.card-mod-bar[data-mod="comercial"] { background: var(--m-comercial); }

.card-mod-bar[data-mod="agro"] { background: var(--m-agro); }

.card-body { padding: .85rem 1rem 1rem; }

.card-mod-pill { display: inline-flex; align-items: center; gap: .25rem; padding: .15rem .6rem; border-radius: 20px; font-size: .67rem; font-weight: 800; letter-spacing: .03em; margin-bottom: .45rem; }

.card-mod-pill[data-mod="industrial"] { background: var(--m-industrial-light); color: var(--m-industrial); }

.card-mod-pill[data-mod="comercial"] { background: var(--m-comercial-light); color: var(--m-comercial); }

.card-mod-pill[data-mod="agro"] { background: var(--m-agro-light); color: var(--m-agro); }

.card-name { font-size: .87rem; font-weight: 800; color: var(--gray-900); line-height: 1.35; margin-bottom: .5rem; }

.card-desc { font-size: .78rem; color: var(--gray-600); line-height: 1.65; }

.empty-col { background: white; border: 2px dashed var(--gray-200); border-radius: var(--radius); padding: 2rem 1rem; text-align: center; color: var(--gray-400); font-size: .85rem; font-weight: 600; }

@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.card-animate { animation: cardIn .25s ease both; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-d1 { transition-delay: .1s; }

.reveal-d2 { transition-delay: .2s; }

.reveal-d3 { transition-delay: .3s; }

.connect-section { background: linear-gradient(135deg, var(--navy-dark), var(--navy), #1d4ed8); padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden; }

.connect-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }

.connect-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

.connect-inner h2 { font-size: 2rem; font-weight: 900; color: white; margin-bottom: .8rem; }

.connect-inner h2 em { font-style: normal; color: var(--lime); }

.connect-inner p { color: rgba(255,255,255,.72); line-height: 1.75; margin-bottom: 2rem; }

.career-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2rem; }

.career-chip-link { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem 1rem; border-radius: 30px; font-size: .8rem; font-weight: 700; color: white; border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); backdrop-filter: blur(4px); transition: background .18s, transform .15s; }

.career-chip-link:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }

.btn-connect { display: inline-flex; align-items: center; gap: .5rem; background: var(--lime); color: var(--navy-dark); padding: .85rem 2.2rem; border-radius: 10px; font-weight: 800; font-size: 1rem; transition: transform .15s, box-shadow .15s; }

.btn-connect:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

@media (max-width: 960px) {
  .grade-columns { grid-template-columns: 1fr; }
  .journey-track { flex-direction: column; gap: 1rem; }
  .jarrow { transform: rotate(90deg); width: 36px; height: 36px; margin: 0 auto; }
  .jcard { min-height: 180px; }
}

@media (max-width: 640px) {
  .filter-inner { gap: .4rem; }
}
