/* ===================================
   Catamount – Custom Styles
   =================================== */

/* --- Language Switcher --- */
.lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0;
	background: #f0f0f0;
	border-radius: 20px;
	padding: 4px 5px;
	margin-left: 12px;
	vertical-align: middle;
}

.lang-switcher a {
	display: inline-block;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	color: #888;
	border-radius: 16px;
	transition: all 0.25s ease;
	line-height: 1.4;
}

.lang-switcher a:hover {
	color: #333;
}

.lang-switcher a.active {
	background: #fff;
	color: #333;
	box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* Override nav__menu styles for language item */
.nav__menu .nav-lang {
	padding: 0;
	margin-left: 6px;
	display: flex;
	align-items: center;
}

.nav__menu .nav-lang > a {
	padding: 0;
}

/* --- Gallery / Fair Images --- */
.fair-gallery {
	padding: 30px 0 10px;
}

.fair-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.10);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	background: #000;
}

.fair-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}

.fair-card__img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	display: block;
	transition: opacity 0.35s ease;
}

.fair-card:hover .fair-card__img {
	opacity: 0.88;
}

.fair-card__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 20px 16px;
	background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
	color: #fff;
	font-size: 0.85rem;
	font-style: italic;
	line-height: 1.4;
	text-align: center;
}

/* Responsive – taller images on larger screens */
@media (min-width: 992px) {
	.fair-card__img {
		height: 380px;
	}
}

@media (max-width: 767px) {
	.fair-card__img {
		height: 240px;
	}
}

/* --- CTA Button --- */
.btn-cta {
	display: inline-block;
	padding: 16px 44px;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	border: none;
	border-radius: 50px;
	box-shadow: 0 4px 18px rgba(15,52,96,0.35);
	transition: all 0.3s ease;
	text-decoration: none;
	cursor: pointer;
}

.btn-cta:hover,
.btn-cta:focus {
	color: #fff;
	background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
	box-shadow: 0 8px 28px rgba(15,52,96,0.45);
	transform: translateY(-2px);
	text-decoration: none;
}

.btn-cta:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(15,52,96,0.3);
}

/* ===================================
   A-Z Publisher Directory
   =================================== */

/* --- A-Z Navigation Bar --- */
.az-nav {
	position: sticky;
	top: 60px;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid #e0e0e0;
	padding: 12px 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.az-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.az-nav__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	color: #1a1a2e;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.az-nav__link:hover {
	background: #1a1a2e;
	color: #fff;
	text-decoration: none;
}

.az-nav__link--disabled {
	color: #ccc;
	pointer-events: none;
	cursor: default;
}

.az-nav__link--disabled:hover {
	background: transparent;
	color: #ccc;
}

.az-nav__link--active {
	background: #1a1a2e;
	color: #fff !important;
}

.az-nav__link--all {
	width: auto;
	padding: 0 14px;
	font-size: 12px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.az-letter-section--hidden {
	display: none;
}

/* --- Letter Section Headers --- */
.az-letter-section {
	padding-top: 30px;
	margin-bottom: 10px;
}

.az-letter-heading {
	font-size: 2.2rem;
	font-weight: 700;
	color: #1a1a2e;
	border-bottom: 3px solid #0f3460;
	padding-bottom: 8px;
	margin-bottom: 24px;
	display: inline-block;
}

/* --- Publisher Cards Grid --- */
.publishers-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-bottom: 40px;
}

@media (max-width: 767px) {
	.publishers-grid {
		grid-template-columns: 1fr;
	}
}

/* --- Publisher Card --- */
.pub-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	padding: 24px;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	display: flex;
	flex-direction: column;
}

.pub-card:hover {
	box-shadow: 0 8px 30px rgba(0,0,0,0.10);
	transform: translateY(-2px);
}

.pub-card__header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
}

.pub-card__initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-width: 48px;
	border-radius: 50%;
	font-size: 1.3rem;
	font-weight: 700;
	color: #fff;
}

.pub-card__name {
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0;
	line-height: 1.3;
}

/* --- Publisher Logo --- */
.pub-card__logo {
	display: block;
	width: 100%;
	max-width: 300px;
	height: 100px;
	object-fit: contain;
	object-position: center center;
	margin: 0 auto 20px;
	border-radius: 6px;
}

/* --- Subject Badges --- */
.pub-card__subjects {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.pub-card__badge {
	display: inline-block;
	padding: 3px 10px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	background: #f0f4f8;
	color: #4a5568;
	border-radius: 12px;
	line-height: 1.5;
}

/* --- Description --- */
.pub-card__desc {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.6;
	margin-bottom: 16px;
	flex-grow: 1;
}

/* --- Card Buttons --- */
.pub-card__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: auto;
}

.btn-pub {
	display: inline-block;
	padding: 14px 24px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 8px;
	border: 1px solid transparent;
	transition: all 0.25s ease;
	cursor: pointer;
}

.btn-pub--primary {
	color: #fff;
	background: #F37021;
	border-color: #F37021;
}

.btn-pub--primary:hover,
.btn-pub--primary:focus {
	color: #fff;
	background: #d8560e;
	border-color: #d8560e;
	box-shadow: 0 4px 14px rgba(243,112,33,0.35);
	transform: translateY(-1px);
	text-decoration: none;
}

.btn-pub--secondary {
	color: #162040;
	background: transparent;
	border: 1px solid #374151;
}

.btn-pub--secondary:hover,
.btn-pub--secondary:focus {
	color: #162040;
	background: #f3f4f6;
	border-color: #374151;
	text-decoration: none;
}

/* --- Directory Intro Section --- */
.directory-intro {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 20px;
}

.directory-intro p {
	font-size: 1.05rem;
	color: #555;
	line-height: 1.7;
}

/* ===================================
   Home – Bloques unificados
   =================================== */

/* --- HERO --- */
.home-hero {
	position: relative;
	padding: 120px 0 100px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	text-align: center;
	overflow: hidden;
}

.home-hero__title {
	font-size: 2.8rem;
	font-weight: 700;
	color: #1a1a2e;
	line-height: 1.15;
	margin-bottom: 24px;
}

.home-hero__title .home-hero__title-sub {
	display: block;
	font-size: 1.6rem;
	font-weight: 400;
	color: #4a5568;
	margin-top: 14px;
	line-height: 1.35;
}

.home-hero__lead {
	max-width: 820px;
	margin: 0 auto 40px;
	font-size: 1.1rem;
	color: #555;
	line-height: 1.7;
}

.home-hero__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

@media (max-width: 767px) {
	.home-hero { padding: 80px 0 60px; }
	.home-hero__title { font-size: 1.9rem; }
	.home-hero__title .home-hero__title-sub { font-size: 1.15rem; }
	.home-hero__lead { font-size: 0.98rem; }
}

/* --- Botones unificados (orange primary + outline) --- */
.btn-cmt {
	display: inline-block;
	padding: 14px 24px;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 8px;
	border: 1px solid transparent;
	transition: all 0.25s ease;
	cursor: pointer;
	line-height: 1.2;
}

.btn-cmt--primary {
	color: #fff;
	background: #F37021;
	border-color: #F37021;
}

.btn-cmt--primary:hover,
.btn-cmt--primary:focus {
	color: #fff;
	background: #d8560e;
	border-color: #d8560e;
	box-shadow: 0 6px 20px rgba(243,112,33,0.35);
	transform: translateY(-2px);
	text-decoration: none;
}

.btn-cmt--outline {
	color: #162040;
	background: transparent;
	border: 1px solid #374151;
}

.btn-cmt--outline:hover,
.btn-cmt--outline:focus {
	color: #162040;
	background: #f3f4f6;
	border-color: #374151;
	text-decoration: none;
}

.btn-cmt--light {
	color: #fff;
	background: transparent;
	border-color: #fff;
}

.btn-cmt--light:hover,
.btn-cmt--light:focus {
	color: #162040;
	background: #fff;
	text-decoration: none;
}

/* --- Bloques de texto centrado (Nuestro Enfoque / Cómo lo hacemos) --- */
.home-block {
	padding: 90px 0;
	text-align: center;
}

.home-block--alt {
	background: #f8f9fa;
}

.home-block__title {
	font-size: 2rem;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 28px;
}

.home-block__text {
	max-width: 780px;
	margin: 0 auto;
	font-size: 1.05rem;
	color: #555;
	line-height: 1.8;
}

.home-block__text p + p {
	margin-top: 18px;
}

@media (max-width: 767px) {
	.home-block { padding: 60px 0; }
	.home-block__title { font-size: 1.55rem; }
}

/* --- Servicios (3 tarjetas) --- */
.home-services {
	padding: 90px 0;
	background: #fff;
}

.home-services__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 50px;
}

.home-services__head .home-block__title { margin-bottom: 16px; }

.home-services__head p {
	font-size: 1.05rem;
	color: #555;
	line-height: 1.7;
}

.home-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 991px) {
	.home-services__grid { grid-template-columns: 1fr; }
}

.svc-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 32px 28px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
	height: 100%;
}

.svc-card:hover,
.svc-card:focus {
	box-shadow: 0 14px 40px rgba(0,0,0,0.10);
	transform: translateY(-4px);
	border-color: #FF8F00;
	text-decoration: none;
	color: inherit;
}

.svc-card__eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #FF8F00;
	margin-bottom: 16px;
}

.svc-card__hook {
	font-size: 1.2rem;
	font-weight: 700;
	color: #1a1a2e;
	line-height: 1.35;
	margin-bottom: 14px;
}

.svc-card__text {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.65;
	flex-grow: 1;
	margin-bottom: 22px;
}

.svc-card__cta {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.4px;
	color: #1a1a2e;
	text-transform: uppercase;
	border-top: 1px solid #e8e8e8;
	padding-top: 16px;
	transition: color 0.25s ease;
}

.svc-card__cta::after {
	content: ' →';
	transition: transform 0.25s ease;
	display: inline-block;
}

.svc-card:hover .svc-card__cta {
	color: #FF8F00;
}

/* --- Editoriales Representadas (CTA) --- */
.home-publishers {
	padding: 90px 0;
	background: #f8f9fa;
	text-align: center;
}

.home-publishers .home-block__title { margin-bottom: 20px; }

.home-publishers__text {
	max-width: 760px;
	margin: 0 auto 32px;
	font-size: 1.05rem;
	color: #555;
	line-height: 1.7;
}

/* --- Bloque Contacto final --- */
.home-cta {
	padding: 90px 0;
	background: #1a1a2e;
	text-align: center;
	color: #fff;
}

.home-cta__title {
	font-size: 2.2rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 20px;
}

.home-cta__text {
	max-width: 680px;
	margin: 0 auto 32px;
	font-size: 1.05rem;
	color: rgba(255,255,255,0.85);
	line-height: 1.7;
}

@media (max-width: 767px) {
	.home-cta { padding: 60px 0; }
	.home-cta__title { font-size: 1.6rem; }
}

/* ===================================
   Páginas de Servicio (FP / LB / DL)
   =================================== */

.svc-page-hero {
	padding: 110px 0 80px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	text-align: center;
}

.svc-page-hero__title {
	font-size: 2.4rem;
	font-weight: 700;
	color: #1a1a2e;
	line-height: 1.2;
	max-width: 920px;
	margin: 0 auto 22px;
}

.svc-page-hero__lead {
	max-width: 740px;
	margin: 0 auto;
	font-size: 1.08rem;
	color: #555;
	line-height: 1.7;
}

@media (max-width: 767px) {
	.svc-page-hero { padding: 80px 0 50px; }
	.svc-page-hero__title { font-size: 1.6rem; }
}

/* --- Sección genérica de página interna --- */
.svc-section {
	padding: 80px 0;
}

.svc-section--alt {
	background: #f8f9fa;
}

.svc-section--dark {
	background: #1a1a2e;
	color: #fff;
}

.svc-section__inner {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.svc-section__inner--wide {
	max-width: 1040px;
}

.svc-section__title {
	font-size: 1.7rem;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 22px;
	line-height: 1.3;
}

.svc-section--dark .svc-section__title { color: #fff; }

.svc-section__text {
	font-size: 1.04rem;
	color: #555;
	line-height: 1.75;
}

.svc-section__text p + p { margin-top: 14px; }

.svc-section--dark .svc-section__text { color: rgba(255,255,255,0.85); }

/* --- Lista con bullets unificada --- */
.svc-list {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 720px;
	text-align: left;
}

.svc-list--two-col {
	max-width: 920px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px 32px;
}

@media (max-width: 767px) {
	.svc-list--two-col { grid-template-columns: 1fr; }
}

.svc-list li {
	position: relative;
	padding: 10px 0 10px 28px;
	font-size: 1rem;
	color: #444;
	line-height: 1.6;
	border-bottom: 1px solid #eee;
}

.svc-list li:last-child { border-bottom: none; }

.svc-list li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: 18px;
	width: 8px;
	height: 8px;
	background: #FF8F00;
	border-radius: 50%;
}

/* --- Bloque de solución (POD / Digital) --- */
.svc-solution {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 40px;
	margin: 0 auto 24px;
	max-width: 880px;
	text-align: left;
}

.svc-solution__title {
	font-size: 1.35rem;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 16px;
}

.svc-solution__desc {
	font-size: 1rem;
	color: #555;
	line-height: 1.7;
	margin-bottom: 18px;
}

.svc-solution__partner {
	font-size: 0.92rem;
	color: #666;
	font-style: italic;
	border-top: 1px dashed #e0e0e0;
	padding-top: 16px;
	margin-top: 20px;
	margin-bottom: 18px;
}

.svc-solution__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 767px) {
	.svc-solution { padding: 28px 22px; }
}

/* --- Acciones grupo (botones centrados) --- */
.svc-actions-center {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 30px;
}

/* --- Galería visual (refuerzo) --- */
.svc-gallery {
	padding: 60px 0;
}

.svc-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	max-width: 1040px;
	margin: 0 auto;
}

@media (max-width: 767px) {
	.svc-gallery__grid { grid-template-columns: 1fr; }
}

.svc-gallery__card {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0,0,0,0.08);
	background: #fff;
}

.svc-gallery__card img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
}

.svc-gallery__caption {
	padding: 14px 18px;
	font-size: 0.88rem;
	color: #666;
	font-style: italic;
	text-align: center;
	line-height: 1.5;
}

/* --- Formulario simple --- */
.svc-form {
	max-width: 620px;
	margin: 30px auto 0;
	text-align: left;
}

.svc-form__group {
	margin-bottom: 18px;
}

.svc-form__label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: #444;
	margin-bottom: 6px;
	letter-spacing: 0.3px;
}

.svc-form__input,
.svc-form__textarea,
.svc-form__select {
	width: 100%;
	padding: 12px 14px;
	font-size: 0.95rem;
	color: #333;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	font-family: inherit;
}

.svc-form__input:focus,
.svc-form__textarea:focus,
.svc-form__select:focus {
	outline: none;
	border-color: #FF8F00;
	box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

.svc-form__textarea {
	min-height: 120px;
	resize: vertical;
}

.svc-section--dark .svc-form__label { color: rgba(255,255,255,0.85); }

.svc-section--dark .svc-form__input,
.svc-section--dark .svc-form__textarea,
.svc-section--dark .svc-form__select {
	background: rgba(255,255,255,0.06);
	border-color: rgba(255,255,255,0.18);
	color: #fff;
}

.svc-section--dark .svc-form__input::placeholder,
.svc-section--dark .svc-form__textarea::placeholder { color: rgba(255,255,255,0.5); }

/* --- Inline link discreto --- */
.svc-inline-link {
	display: inline-block;
	margin-top: 10px;
	font-weight: 700;
	color: #FF8F00;
	text-decoration: none;
	border-bottom: 1px solid #FF8F00;
	padding-bottom: 1px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.svc-inline-link:hover,
.svc-inline-link:focus {
	color: #e07e00;
	border-color: #e07e00;
	text-decoration: none;
}

/* --- Back to top --- */
.az-back-top {
	text-align: right;
	margin-top: -10px;
	margin-bottom: 20px;
}

.az-back-top a {
	font-size: 0.8rem;
	color: #888;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.az-back-top a:hover {
	color: #1a1a2e;
}
