﻿/**
 * Talleres â€” listado y detalle (landing compacta + inscripciÃ³n).
 */

.es-talleres-page,
.es-taller-page {
	font-family: "Urbanist", sans-serif;
	font-optical-sizing: auto;
	background: #fff;
}

/* â”€â”€ Listado â”€â”€ */
.es-talleres-hero {
	position: relative;
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #2A2E65;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.es-talleres-hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(42, 46, 101, 0.88) 0%, rgba(42, 46, 101, 0.72) 55%, rgba(230, 32, 32, 0.35) 100%);
}

.es-talleres-hero-inner {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 56px 0 48px;
}

.es-talleres-hero-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.es-talleres-hero-title {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 2.6rem);
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
}

.es-talleres-breadcrumb {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	justify-content: center;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.78);
}

.es-talleres-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.es-talleres-list {
	padding: 48px 0 72px;
}

.es-talleres-list-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 28px;
}

.es-talleres-intro {
	margin: 0;
	max-width: 40rem;
	font-size: 16px;
	line-height: 1.65;
	color: #4a5560;
}

.es-talleres-brochure {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #2A2E65;
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.es-talleres-brochure:hover,
.es-talleres-brochure:focus-visible {
	background: #1f2350;
	box-shadow: 0 8px 18px rgba(42, 46, 101, 0.25);
	transform: translateY(-1px);
}

.es-talleres-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

@media (min-width: 700px) {
	.es-talleres-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.es-talleres-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.es-talleres-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e7ecef;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.es-talleres-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
}

.es-talleres-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: #e8ecf3;
	overflow: hidden;
}

.es-talleres-card__media img,
.es-talleres-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.es-talleres-card__media:hover img {
	transform: scale(1.04);
}

.es-talleres-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(42, 46, 101, 0.95);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.es-talleres-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px 18px 20px;
	flex: 1;
}

.es-talleres-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.es-talleres-card__meta li {
	padding: 3px 8px;
	border-radius: 999px;
	background: #eef0f7;
	color: #2A2E65;
	font-size: 11px;
	font-weight: 700;
}

.es-talleres-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
	color: #2A2E65;
}

.es-talleres-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.es-talleres-card__title a:hover,
.es-talleres-card__title a:focus-visible {
	color: #E62020;
}

.es-talleres-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #5a6570;
	flex: 1;
}

.es-talleres-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.es-talleres-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.es-talleres-btn--primary {
	background: #E62020;
	border: 1.5px solid #E62020;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(230, 32, 32, 0.18);
}

.es-talleres-btn--primary:hover,
.es-talleres-btn--primary:focus-visible {
	background: #2A2E65;
	border-color: #2A2E65;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(42, 46, 101, 0.28);
	transform: translateY(-1px);
}

.es-talleres-btn--ghost {
	border: 1.5px solid rgba(42, 46, 101, 0.2);
	background: #fff;
	color: #2A2E65 !important;
}

.es-talleres-btn--ghost:hover,
.es-talleres-btn--ghost:focus-visible {
	background: #2A2E65;
	border-color: #2A2E65;
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(42, 46, 101, 0.2);
	transform: translateY(-1px);
}

.es-talleres-btn:active {
	transform: translateY(0);
}

.es-talleres-empty {
	margin: 0;
	color: #6b7280;
}

/* --- Detalle --- */
.es-taller-hero {
	position: relative;
	min-height: 200px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: linear-gradient(125deg, #2A2E65 0%, #1f2350 55%, #3a1f3d 78%, #E62020 160%);
}

.es-taller-hero-inner {
	position: relative;
	z-index: 1;
	padding: 44px 0 40px;
	max-width: 720px;
}

.es-taller-hero-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.es-taller-hero-title {
	margin: 0 0 12px;
	font-size: clamp(1.55rem, 3.2vw, 2.15rem);
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
	letter-spacing: -0.02em;
}

.es-taller-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-bottom: 18px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}

.es-taller-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.es-taller-hero-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 22px;
	border-radius: 999px;
	background: #E62020;
	border: 1.5px solid #E62020;
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: 0 8px 20px rgba(230, 32, 32, 0.28);
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.es-taller-hero-cta:hover,
.es-taller-hero-cta:focus-visible {
	background: #2A2E65;
	border-color: #2A2E65;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(42, 46, 101, 0.28);
	transform: translateY(-1px);
}

.es-taller-body {
	padding: 36px 0 72px;
	background: #f5f6fa;
}

.es-taller-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
}

@media (min-width: 960px) {
	.es-taller-layout {
		grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
		gap: 28px;
	}
}

.es-taller-main {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 20px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e8ecf3;
}

.es-taller-banner {
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
}

.es-taller-banner img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}

.es-taller-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.es-taller-chips li {
	padding: 6px 12px;
	border-radius: 999px;
	background: #eef0f7;
	color: #2A2E65;
	font-size: 12px;
	font-weight: 700;
}

.es-taller-chips__price {
	background: #fff1f1 !important;
	color: #E62020 !important;
}

.es-taller-resumen {
	font-size: 15px;
	line-height: 1.65;
	color: #3d4650;
}

.es-taller-highlights {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.es-taller-highlights li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.45;
	color: #2A2E65;
	font-weight: 600;
}

.es-taller-highlights__icon {
	display: inline-flex;
	color: #2A2E65;
	margin-top: 1px;
}

.es-taller-section-title {
	margin: 0 0 12px;
	font-size: 1.15rem;
	font-weight: 800;
	color: #2A2E65;
}

.es-taller-accordion {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.es-taller-accordion__item {
	border: 1px solid #e8ecf3;
	border-radius: 12px;
	overflow: hidden;
	background: #fafcfc;
}

.es-taller-accordion__item.is-open {
	border-color: rgba(42, 46, 101, 0.35);
	background: #fff;
}

.es-taller-accordion__heading {
	margin: 0;
}

.es-taller-accordion__trigger {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 14px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 800;
	color: #2A2E65;
}

.es-taller-accordion__num {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #2A2E65;
	color: #fff;
	font-size: 12px;
}

.es-taller-accordion__item.is-open .es-taller-accordion__num {
	background: #E62020;
}

.es-taller-accordion__label {
	flex: 1;
}

.es-taller-accordion__chevron {
	color: #6b7280;
	transition: transform 0.2s ease;
}

.es-taller-accordion__item.is-open .es-taller-accordion__chevron {
	transform: rotate(180deg);
	color: #2A2E65;
}

.es-taller-accordion__panel[hidden] {
	display: none;
}

.es-taller-accordion__panel-inner {
	padding: 0 14px 14px 58px;
	font-size: 14px;
	color: #4a5560;
}

.es-taller-pdf {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px dashed rgba(42, 46, 101, 0.35);
	background: #f4f5f9;
	text-decoration: none !important;
	color: #2A2E65;
}

.es-taller-pdf:hover {
	background: #eceef6;
}

.es-taller-pdf__icon {
	display: inline-flex;
	font-size: 22px;
}

.es-taller-pdf strong {
	display: block;
	font-size: 14px;
	color: #2A2E65;
}

.es-taller-pdf small {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: #6b7280;
}

.es-taller-aside {
	position: relative;
	scroll-margin-top: 110px;
}

#es-taller-field-name {
	scroll-margin-top: 120px;
}

.es-taller-form-card {
	position: sticky;
	top: 96px;
	padding: 22px 20px 20px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e8ecf3;
	box-shadow: 0 16px 40px rgba(42, 46, 101, 0.1);
}

.es-taller-form-card__eyebrow {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #E62020;
}

.es-taller-form-card__title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 800;
	color: #2A2E65;
}

.es-taller-form-card__intro {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.5;
	color: #6b7280;
}

.es-taller-form-msg {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 13px;
}

.es-taller-form-msg--error {
	background: #fdeaea;
	color: #b32020;
}

.es-taller-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.es-taller-form__field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	color: #2A2E65;
}

.es-taller-form__field input,
.es-taller-form__field textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #d8dde8;
	border-radius: 10px;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	color: #1f2937;
	background: #f7f8fc;
}

.es-taller-form__field input:focus,
.es-taller-form__field textarea:focus {
	outline: 2px solid rgba(42, 46, 101, 0.35);
	border-color: #2A2E65;
	background: #fff;
}

.es-taller-form__submit {
	margin-top: 4px;
	min-height: 48px;
	border: 1.5px solid #E62020;
	border-radius: 999px;
	background: #E62020;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(230, 32, 32, 0.25);
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.es-taller-form__submit:hover,
.es-taller-form__submit:focus-visible {
	background: #2A2E65;
	border-color: #2A2E65;
	box-shadow: 0 8px 18px rgba(42, 46, 101, 0.25);
	transform: translateY(-1px);
}

.es-taller-mobile-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid #e8ecf3;
	backdrop-filter: blur(8px);
}

.es-taller-mobile-cta[hidden] {
	display: none !important;
}

.es-taller-mobile-cta__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	width: 100%;
	border-radius: 999px;
	background: #E62020;
	border: 1.5px solid #E62020;
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.es-taller-mobile-cta__btn:hover,
.es-taller-mobile-cta__btn:focus-visible {
	background: #2A2E65;
	border-color: #2A2E65;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(42, 46, 101, 0.25);
}

@media (min-width: 960px) {
	.es-taller-mobile-cta {
		display: none !important;
	}
}

@media (max-width: 959px) {
	.es-taller-form-card {
		position: static;
	}

	.es-taller-body {
		padding-bottom: 96px;
	}
}

