/**
 * Tema Inicio — punto de partida para proyectos nuevos.
 * Personalice tokens, layout y componentes aquí o añada más hojas bajo este directorio.
 */

body.theme-line-inicio {
  --camaltec-bar: #2c333d;
  --camaltec-accent: #a2c037;
  --camaltec-nav-text: #f4f6f8;
}

/* Barra principal estilo camaltec.es */
.site-header--inicio {
  background: var(--camaltec-bar) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

.site-header--inicio .brand--inicio {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-camaltec__icon {
  flex-shrink: 0;
  display: block;
  width: clamp(52px, 9vw, 72px);
  height: auto;
}

.site-header--inicio .brand-camaltec__img {
  display: block;
  height: clamp(2.85rem, 6.5vw, 4rem);
  width: auto;
  max-width: min(320px, 58vw);
  object-fit: contain;
  object-position: left center;
}

.site-header--inicio .brand-text-logo--camaltec {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: 0.04em;
  color: var(--camaltec-accent);
  text-transform: uppercase;
}

/* Navegación horizontal (6 ítems) */
.site-header--inicio .header-inner {
  flex-wrap: nowrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  overflow: visible;
}

.nav-inicio--camaltec {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.nav-inicio__list--camaltec {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: flex-end;
  align-items: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(0.8rem, 0.9vw + 0.65rem, 0.98rem);
  font-weight: 500;
  /* overflow-x:auto recorta submenús verticales; el wrap evita depender del scroll horizontal */
  overflow: visible;
}

.nav-inicio__list--camaltec a {
  color: var(--camaltec-nav-text);
  text-decoration: none;
  padding: 0.45rem 0.1rem;
  white-space: nowrap;
  border-radius: 2px;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.nav-inicio__list--camaltec a:hover,
.nav-inicio__list--camaltec a:focus-visible {
  color: #fff;
  opacity: 0.92;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-inicio__list--camaltec a[aria-current="page"] {
  color: var(--camaltec-accent);
  font-weight: 600;
}

/* Submenú «Diseño Web» (y futuros) */
.nav-inicio__list--camaltec > li.nav-inicio__item--sub {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-inicio__list--camaltec > li.nav-inicio__item--sub > a {
  padding-inline-end: 0.15rem;
}

.nav-inicio__link--dropdown::after {
  content: "";
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.35em;
  margin-bottom: 0.12em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.88;
  vertical-align: middle;
}

.nav-inicio__item--sub.is-active > a:not([aria-current="page"]) {
  color: var(--camaltec-accent);
  font-weight: 600;
}

.nav-inicio__sub {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 11.5rem;
  background: #232a33;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.18s ease;
}

.nav-inicio__item--sub:hover .nav-inicio__sub,
.nav-inicio__item--sub:focus-within .nav-inicio__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-inicio__sub a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.92em;
  white-space: nowrap;
}

.nav-inicio__sub a[aria-current="page"] {
  background: rgba(162, 192, 55, 0.12);
}

@media (max-width: 900px) {
  .site-header--inicio .header-inner {
    flex-wrap: wrap;
  }

  .nav-inicio__list--camaltec {
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 0.15rem;
  }

  .nav-inicio__list--camaltec > li.nav-inicio__item--sub {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-inicio__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    min-width: 0;
    width: 100%;
    margin-top: 0.35rem;
    margin-left: 0.65rem;
    padding-left: 0.65rem;
    border-radius: 4px;
    border-left: 2px solid var(--camaltec-accent);
  }
}

/* Páginas internas tema inicio */
.page-inicio-corp .page-inicio-hero {
  padding-bottom: 1.25rem;
}

.page-inicio-body.inicio-prose {
  padding: 2rem 0 3rem;
  max-width: 46rem;
}

.inicio-prose .inicio-h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: #2d2640;
}

.inicio-prose p,
.inicio-prose li {
  line-height: 1.65;
  color: #4a4358;
}

.inicio-list {
  padding-left: 1.2rem;
}

.inicio-link {
  color: #5b21b6;
  font-weight: 600;
}

.inicio-grid-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  margin-top: 1rem;
}

.inicio-card {
  border: 1px solid #eceaf2;
  border-radius: 12px;
  padding: 1.25rem;
  background: #faf9fc;
}

.inicio-faq .inicio-faq__q {
  font-weight: 700;
  margin-top: 1rem;
}

.inicio-faq .inicio-faq__a {
  margin: 0.35rem 0 0;
  padding-left: 0.5rem;
  border-left: 3px solid #e8e4f0;
}

.inicio-blog-list {
  list-style: disc;
  padding-left: 1.25rem;
}

/* Pie: enlaces alineados con tema oscuro del footer refactorizado */
body.theme-line-inicio .site-footer.site-footer--ux .site-footer__links a[aria-current="page"] {
  color: var(--footer-ux-teal, #26c2a3);
  font-weight: 600;
}

/* —— Contacto — línea Camaltec (barra oscura + acento lima) —— */
body.theme-line-inicio .page-hero--contact-inicio {
  background: linear-gradient(155deg, #eef1e8 0%, #e4e9e0 38%, #dce3d6 100%);
  border-bottom: 1px solid rgba(44, 51, 61, 0.08);
}

body.theme-line-inicio .page-hero--contact-inicio::before {
  background:
    radial-gradient(ellipse 100% 90% at 85% -10%, rgba(162, 192, 55, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse 80% 70% at 5% 105%, rgba(44, 51, 61, 0.07) 0%, transparent 48%);
}

body.theme-line-inicio .page-hero--contact-inicio .breadcrumb {
  color: #5c6570;
}

body.theme-line-inicio .page-hero--contact-inicio .breadcrumb a {
  color: #6b7a3a;
  font-weight: 700;
}

body.theme-line-inicio .page-hero--contact-inicio .breadcrumb a:hover {
  color: var(--camaltec-accent);
  opacity: 1;
}

body.theme-line-inicio .page-hero--contact-inicio .empresa-page-kicker {
  color: #5a6a38;
  font-weight: 700;
  letter-spacing: 0.12em;
}

body.theme-line-inicio .page-hero--contact-inicio .page-hero__title {
  color: var(--camaltec-bar);
}

body.theme-line-inicio .page-hero--contact-inicio .page-hero__title::after {
  background: linear-gradient(90deg, var(--camaltec-accent), #8faa2e);
  box-shadow: 0 2px 12px rgba(122, 152, 41, 0.35);
}

body.theme-line-inicio .page-hero--contact-inicio .page-hero__lead {
  color: #3d444d;
}

body.theme-line-inicio .page-hero--contact-inicio .contact-hero__link-trabaja {
  color: #5a6f2a;
  font-weight: 700;
}

body.theme-line-inicio .page-hero--contact-inicio .contact-hero__link-trabaja:hover {
  color: var(--camaltec-accent);
}

body.theme-line-inicio.contact-page--inicio .section-contact-layout {
  background: linear-gradient(180deg, #fafbf8 0%, #ffffff 28%);
}

body.theme-line-inicio .contact-block-title {
  color: var(--camaltec-bar);
}

body.theme-line-inicio .contact-info-card {
  background: linear-gradient(165deg, #ffffff 0%, #f6f8f3 100%);
  border: 1px solid rgba(44, 51, 61, 0.1);
  border-left: 4px solid rgba(162, 192, 55, 0.65);
  box-shadow: 0 14px 40px rgba(44, 51, 61, 0.07);
}

body.theme-line-inicio .contact-address strong {
  color: var(--camaltec-bar);
}

body.theme-line-inicio .contact-map-external {
  color: #5a6f2a;
  border-bottom-color: rgba(122, 152, 41, 0.45);
}

body.theme-line-inicio .contact-map-external:hover {
  color: var(--camaltec-accent);
  border-bottom-color: var(--camaltec-accent);
}

body.theme-line-inicio .contact-dl dt {
  color: #5c6570;
}

body.theme-line-inicio .contact-dl a {
  color: #5a6f2a;
}

body.theme-line-inicio .contact-dl a:hover {
  color: var(--camaltec-accent);
}

body.theme-line-inicio .contact-field input:focus,
body.theme-line-inicio .contact-field select:focus,
body.theme-line-inicio .contact-field textarea:focus {
  border-color: rgba(162, 192, 55, 0.85);
  box-shadow: 0 0 0 3px rgba(162, 192, 55, 0.2);
}

body.theme-line-inicio .contact-field--check input {
  accent-color: var(--camaltec-accent);
}

body.theme-line-inicio .contact-field--check a {
  color: #5a6f2a;
}

body.theme-line-inicio .btn-primary,
body.theme-line-inicio .btn-contact {
  background: linear-gradient(135deg, #c4d94f 0%, #9fb832 52%, #8faa2e 100%);
  color: #1e242c;
  box-shadow: 0 10px 28px rgba(122, 152, 41, 0.38);
}

body.theme-line-inicio .btn-primary:hover,
body.theme-line-inicio .btn-contact:hover {
  background: linear-gradient(135deg, #d4e860 0%, #b0ca3a 52%, #9fb832 100%);
  color: #141a20;
  box-shadow: 0 12px 34px rgba(122, 152, 41, 0.45);
}

body.theme-line-inicio .contact-map__marker-pin {
  background: linear-gradient(145deg, var(--camaltec-accent) 0%, #6d8228 100%);
  box-shadow: 0 4px 14px rgba(90, 111, 42, 0.45);
}

body.theme-line-inicio .section-contact-map .section-title {
  color: var(--camaltec-bar);
}

body.theme-line-inicio .section-contact-map .section-title::after {
  background: linear-gradient(90deg, var(--camaltec-accent), #8faa2e);
}

body.theme-line-inicio .section-sub--contact-map {
  color: #5c6570;
}

body.theme-line-inicio .contact-map-frame {
  border-color: rgba(44, 51, 61, 0.12);
}

body.theme-line-inicio .contact-thanks--inicio {
  background: linear-gradient(165deg, #ffffff 0%, #f4f7ef 100%);
  border: 1px solid rgba(44, 51, 61, 0.1);
  border-left: 4px solid var(--camaltec-accent);
  box-shadow: 0 16px 44px rgba(44, 51, 61, 0.08);
}

body.theme-line-inicio .contact-thanks--inicio .contact-thanks__title {
  color: var(--camaltec-bar);
}

body.theme-line-inicio .contact-thanks--inicio .btn-primary {
  color: #1e242c;
}

/* —— Página Gracias (ruta /gracias) —— */
body.theme-line-inicio .page-inicio-corp:has(.inicio-gracias) .page-inicio-hero {
  padding-bottom: clamp(2rem, 5vw, 2.75rem);
  background: linear-gradient(165deg, #2c333d 0%, #232a33 45%, #1a2026 100%);
  border-bottom: 3px solid var(--camaltec-accent);
}

body.theme-line-inicio .page-inicio-corp:has(.inicio-gracias) .page-inicio-hero .breadcrumb {
  color: rgba(244, 246, 248, 0.72);
}

body.theme-line-inicio .page-inicio-corp:has(.inicio-gracias) .page-inicio-hero .breadcrumb a {
  color: var(--camaltec-accent);
}

body.theme-line-inicio .page-inicio-corp:has(.inicio-gracias) .page-inicio-hero .breadcrumb a:hover {
  color: #c4d94f;
}

body.theme-line-inicio .page-inicio-corp:has(.inicio-gracias) .page-inicio-hero .page-hero__title {
  color: #f4f6f8;
}

body.theme-line-inicio .page-inicio-corp:has(.inicio-gracias) .page-inicio-hero .page-hero__title::after {
  background: linear-gradient(90deg, var(--camaltec-accent), #dce8a8);
  box-shadow: 0 0 24px rgba(162, 192, 55, 0.45);
}

body.theme-line-inicio .page-inicio-corp:has(.inicio-gracias) .page-inicio-hero .page-hero__lead {
  color: rgba(244, 246, 248, 0.88);
}

body.theme-line-inicio .page-inicio-corp:has(.inicio-gracias) .page-inicio-body {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(3rem, 8vw, 4.5rem);
  background: linear-gradient(180deg, #f0f3eb 0%, #fafbf8 40%, #ffffff 100%);
}

body.theme-line-inicio .inicio-gracias {
  max-width: 40rem;
  margin-inline: auto;
}

body.theme-line-inicio .inicio-gracias__card {
  position: relative;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(44, 51, 61, 0.1);
  box-shadow:
    0 4px 0 var(--camaltec-accent),
    0 24px 56px rgba(44, 51, 61, 0.1);
}

body.theme-line-inicio .inicio-gracias__badge {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--camaltec-accent);
}

body.theme-line-inicio .inicio-gracias__check {
  filter: drop-shadow(0 6px 14px rgba(122, 152, 41, 0.35));
}

body.theme-line-inicio .inicio-gracias__kicker {
  margin: 0 0 0.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5a6a38;
}

body.theme-line-inicio .inicio-gracias__headline {
  margin: 0 0 1rem;
  font-family: var(--font-display, "Georgia", serif);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--camaltec-bar);
}

body.theme-line-inicio .inicio-gracias__text {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.72;
  color: #4a5560;
}

body.theme-line-inicio .inicio-gracias__list {
  margin: 0 0 1.75rem;
  padding: 1rem 1rem 1rem 2.5rem;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #4a5560;
  background: rgba(162, 192, 55, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(162, 192, 55, 0.2);
}

body.theme-line-inicio .inicio-gracias__list li {
  margin-bottom: 0.5rem;
}

body.theme-line-inicio .inicio-gracias__list li:last-child {
  margin-bottom: 0;
}

body.theme-line-inicio .inicio-gracias__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

body.theme-line-inicio .inicio-gracias__btn-primary {
  min-height: 48px;
  padding-inline: 1.5rem;
  font-weight: 700;
  color: #1e242c;
}

body.theme-line-inicio .inicio-gracias__btn-secondary {
  min-height: 48px;
  padding-inline: 1.35rem;
  font-weight: 600;
  color: var(--camaltec-bar);
  border-color: rgba(44, 51, 61, 0.35);
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(44, 51, 61, 0.06);
}

body.theme-line-inicio .inicio-gracias__btn-secondary:hover {
  background: rgba(44, 51, 61, 0.05);
  border-color: var(--camaltec-bar);
  color: var(--camaltec-bar);
}

/* —— Home: sección Blog (noticias) —— */
body.theme-line-inicio .section-news {
  background: linear-gradient(180deg, #f2f5ee 0%, #fafbf8 38%, #ffffff 100%);
}

body.theme-line-inicio .section-news .section-title {
  color: var(--camaltec-bar);
}

body.theme-line-inicio .section-news .section-title::after {
  background: linear-gradient(90deg, var(--camaltec-accent), #8faa2e);
  box-shadow: 0 2px 12px rgba(122, 152, 41, 0.3);
}

body.theme-line-inicio .section-news .section-sub {
  color: #5c6570;
}

body.theme-line-inicio .section-news .section-sub a {
  color: #5a6f2a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body.theme-line-inicio .section-news .section-sub a:hover {
  color: var(--camaltec-accent);
}

body.theme-line-inicio .section-news .news-card {
  border: 1px solid rgba(44, 51, 61, 0.1);
  box-shadow: 0 10px 32px rgba(44, 51, 61, 0.07);
}

body.theme-line-inicio .section-news .news-card:hover {
  box-shadow:
    0 4px 0 rgba(162, 192, 55, 0.55),
    0 20px 44px rgba(44, 51, 61, 0.12);
}

body.theme-line-inicio .section-news .news-meta {
  color: #5a6a38;
}

body.theme-line-inicio .section-news .news-card h3 {
  color: var(--camaltec-bar);
}

body.theme-line-inicio .section-news .news-card p {
  color: #4a5560;
}

body.theme-line-inicio .section-news .news-card-cta {
  color: #5a6f2a;
}

body.theme-line-inicio .section-news .news-card:hover .news-card-cta {
  color: var(--camaltec-accent);
}

body.theme-line-inicio .section-news .news-home-more__link {
  color: #5a6f2a;
  border-bottom-color: rgba(122, 152, 41, 0.45);
}

body.theme-line-inicio .section-news .news-home-more__link:hover {
  color: var(--camaltec-accent);
  border-bottom-color: var(--camaltec-accent);
}

body.theme-line-inicio .section-news .news-empty {
  color: #5c6570;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

body.theme-line-inicio .section-news .news-empty code {
  font-size: 0.88em;
  color: #3d444d;
  background: rgba(162, 192, 55, 0.12);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* —— Home inicio Camaltec: hero, accesos y tarjetas —— */
body.theme-line-inicio .home-inicio-kicker {
  margin: 0 0 0.65rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(0.68rem, 0.5vw + 0.6rem, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(196, 217, 79, 0.95);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

body.theme-line-inicio .home-inicio-hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  margin-inline: auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1rem, 0.6vw + 0.92rem, 1.12rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.94);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

body.theme-line-inicio .hero-actions--inicio-triple {
  gap: 0.65rem 0.85rem;
}

body.theme-line-inicio .section-home-intro--inicio-camaltec {
  background: linear-gradient(180deg, #f7f9f4 0%, #ffffff 55%);
  border-bottom: 1px solid rgba(44, 51, 61, 0.06);
}

body.theme-line-inicio .intro-lead--inicio-camaltec {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.02rem, 0.55vw + 0.95rem, 1.15rem);
  line-height: 1.72;
  color: #3a424c;
}

body.theme-line-inicio .intro-lead--inicio-camaltec strong {
  color: var(--camaltec-bar);
  font-weight: 600;
}

body.theme-line-inicio .home-inicio-accesos {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  justify-content: center;
  max-width: 52rem;
  margin-inline: auto;
}

body.theme-line-inicio .home-inicio-accesos__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(0.78rem, 0.35vw + 0.72rem, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--camaltec-bar);
  background: #ffffff;
  border: 1px solid rgba(44, 51, 61, 0.14);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(44, 51, 61, 0.06);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

body.theme-line-inicio .home-inicio-accesos__link:hover,
body.theme-line-inicio .home-inicio-accesos__link:focus-visible {
  color: #1e242c;
  border-color: rgba(162, 192, 55, 0.65);
  background: rgba(162, 192, 55, 0.12);
  box-shadow: 0 4px 16px rgba(122, 152, 41, 0.2);
}

body.theme-line-inicio .product-grid--inicio-camaltec {
  align-items: stretch;
}

body.theme-line-inicio .product-card--inicio-camaltec .product-card__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

body.theme-line-inicio .product-card--inicio-camaltec .product-card-desc {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5c6570;
}

body.theme-line-inicio .product-card--inicio-camaltec .product-card-title {
  color: var(--camaltec-bar);
}

body.theme-line-inicio .section-about--inicio-camaltec .pillar-title {
  color: var(--camaltec-bar);
}

body.theme-line-inicio .sustain-teaser-foot--inicio-dual {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
}

body.theme-line-inicio .section-contact-cta .cta-copy a {
  color: #5a6f2a;
  font-weight: 600;
  text-underline-offset: 3px;
}

body.theme-line-inicio .section-contact-cta .cta-copy a:hover {
  color: var(--camaltec-accent);
}

/* Home: bloque «¿Hablamos?» — banda oscura + acento lima (cabecera / landings tipo Ibe Partner) */
body.theme-line-inicio .section-contact-cta--inicio-band {
  position: relative;
  isolation: isolate;
  padding: clamp(2.75rem, 7vw, 4.25rem) 1.25rem;
  background: transparent;
  overflow: hidden;
}

body.theme-line-inicio .section-contact-cta--inicio-band .section-contact-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(145deg, #2c333d 0%, #232a33 42%, #1a2026 100%);
}

body.theme-line-inicio .section-contact-cta--inicio-band .section-contact-cta__bg::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--camaltec-accent), #8faa2e);
  z-index: 1;
}

body.theme-line-inicio .section-contact-cta--inicio-band .section-contact-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 88% -5%, rgba(162, 192, 55, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(162, 192, 55, 0.12) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 0l28 28-28 28L0 28z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}

body.theme-line-inicio .container--inicio-cta {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.theme-line-inicio .home-inicio-cta__kicker {
  margin: 0 0 0.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--camaltec-accent);
}

body.theme-line-inicio .home-inicio-cta__title {
  margin: 0 0 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f4f6f8;
}

body.theme-line-inicio .home-inicio-cta__lead {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.65;
  color: rgba(244, 246, 248, 0.88);
}

body.theme-line-inicio .home-inicio-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

body.theme-line-inicio .home-inicio-cta__actions .btn {
  text-transform: none;
  letter-spacing: 0.05em;
  border-radius: 6px;
}

body.theme-line-inicio .home-inicio-cta__btn-primary.btn-contact {
  margin-top: 0;
}

body.theme-line-inicio .home-inicio-cta__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f4f6f8;
  text-decoration: none;
  background: transparent;
  border: 2px solid rgba(244, 246, 248, 0.88);
  border-radius: 6px;
  box-shadow: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

body.theme-line-inicio .home-inicio-cta__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

body.theme-line-inicio .home-inicio-cta__btn-secondary:focus-visible {
  outline: 2px solid var(--camaltec-accent);
  outline-offset: 3px;
}

body.theme-line-inicio .home-inicio-cta__btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

body.theme-line-inicio .home-inicio-cta__legal {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(244, 246, 248, 0.55);
}

body.theme-line-inicio .home-inicio-cta__legal a {
  color: rgba(162, 192, 55, 0.95);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(162, 192, 55, 0.45);
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

body.theme-line-inicio .home-inicio-cta__legal a:hover {
  color: #d4e860;
  border-bottom-color: rgba(212, 232, 96, 0.85);
}

/* Página Presupuesto — lateral tipo agencia (hero comparte estilos con contacto inicio) */
body.theme-line-inicio .presupuesto-page--inicio .section-presupuesto-layout {
  background: linear-gradient(180deg, #fafbf8 0%, #ffffff 32%);
}

body.theme-line-inicio .presupuesto-aside__intro .contact-block-title {
  color: var(--camaltec-bar);
}

body.theme-line-inicio .presupuesto-aside__lead {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4a5560;
}

body.theme-line-inicio .presupuesto-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.theme-line-inicio .presupuesto-aside__list li {
  position: relative;
  margin: 0 0 0.65rem;
  padding-left: 1.35rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #3d444d;
}

body.theme-line-inicio .presupuesto-aside__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--camaltec-accent), #8faa2e);
  box-shadow: 0 1px 4px rgba(122, 152, 41, 0.35);
}

body.theme-line-inicio .presupuesto-aside__muted {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #5c6570;
}

body.theme-line-inicio .presupuesto-aside__muted a {
  color: #5a6f2a;
  font-weight: 700;
}

body.theme-line-inicio .presupuesto-aside__muted a:hover {
  color: var(--camaltec-accent);
}

body.theme-line-inicio .presupuesto-aside__map {
  margin: 1rem 0 0;
  font-size: 0.85rem;
}

/* Entrada de blog (referencia Ibepartner: cabecera clara, migas, meta, cuerpo legible) */
body.theme-line-inicio .blog-article-page--inicio {
  background: #f5f6f8;
}

/* La compensación del header fijo va DENTRO del hero oscuro (no padding en el article),
   para que no se vea franja clara (#f5f6f8 / blanco del .site-main) entre menú y título. */
body.theme-line-inicio .news-article--inicio-blog {
  background: #f5f6f8;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

body.theme-line-inicio .news-article__head-inicio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: calc(clamp(6.75rem, 13vw, 8.25rem) + clamp(1.5rem, 4vw, 2.25rem));
  padding-bottom: clamp(1.75rem, 4.5vw, 2.5rem);
  padding-left: 0;
  padding-right: 0;
  background: #1a1f26;
}

body.theme-line-inicio .news-article__head-inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      118deg,
      rgba(15, 19, 25, 0.93) 0%,
      rgba(32, 40, 50, 0.86) 48%,
      rgba(15, 19, 25, 0.92) 100%
    ),
    var(--article-title-bg, none);
  background-size: cover, cover;
  background-position: center, center;
  pointer-events: none;
}

body.theme-line-inicio .news-article__head-inicio-inner {
  position: relative;
  z-index: 1;
  max-width: min(58rem, 100% - 2.5rem);
  margin-inline: auto;
}

body.theme-line-inicio .news-article__breadcrumb-inicio {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

body.theme-line-inicio .news-article__breadcrumb-inicio .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

body.theme-line-inicio .news-article__breadcrumb-inicio a {
  color: rgba(200, 232, 138, 0.95);
  font-weight: 600;
  text-decoration: none;
}

body.theme-line-inicio .news-article__breadcrumb-inicio a:hover {
  color: #e8f4c4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.theme-line-inicio .news-article__breadcrumb-current {
  color: rgba(255, 255, 255, 0.68);
  display: inline;
  line-height: 1.4;
}

body.theme-line-inicio .news-article__title-inicio {
  margin: 0 0 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

body.theme-line-inicio .news-article__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

body.theme-line-inicio .news-article__byline-author {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

body.theme-line-inicio .news-article__byline-sep {
  color: rgba(255, 255, 255, 0.38);
  user-select: none;
}

body.theme-line-inicio .news-article__byline-date {
  color: rgba(255, 255, 255, 0.78);
}

body.theme-line-inicio .news-article__byline-cat {
  color: rgba(200, 232, 138, 0.98);
  font-weight: 700;
  text-decoration: none;
}

body.theme-line-inicio .news-article__byline-cat:hover {
  color: #f0fad8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.theme-line-inicio .news-article__feat-inicio {
  margin: 0;
  padding: 0 0 clamp(1.5rem, 4vw, 2rem);
  background: #fff;
  border-bottom: 1px solid rgba(44, 51, 61, 0.06);
}

body.theme-line-inicio .news-article__feat-inicio-inner {
  max-width: min(58rem, 100% - 2.5rem);
  margin-inline: auto;
}

body.theme-line-inicio .news-article__feat-inicio-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(44, 51, 61, 0.12);
  border: 1px solid rgba(44, 51, 61, 0.08);
}

body.theme-line-inicio .news-article__body--inicio {
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 24px rgba(44, 51, 61, 0.06);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  padding-left: clamp(1rem, 3vw, 1.75rem);
  padding-right: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid rgba(44, 51, 61, 0.06);
}

body.theme-line-inicio .container--article-inicio {
  width: min(58rem, 100% - 2.5rem);
  margin-inline: auto;
}

body.theme-line-inicio .news-article__dek {
  margin: 0 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(44, 51, 61, 0.08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.02rem, 1.8vw, 1.12rem);
  line-height: 1.65;
  font-weight: 500;
  color: #4a5560;
}

body.theme-line-inicio .news-article__prose-inicio {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.78;
  color: #2d3748;
  max-width: 65ch;
}

body.theme-line-inicio .news-article__prose-inicio > p {
  margin: 0 0 1.15rem;
}

body.theme-line-inicio .news-article__prose-inicio > h2,
body.theme-line-inicio .news-article__prose-inicio > h3,
body.theme-line-inicio .news-article__prose-inicio > h4 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.25;
  color: var(--camaltec-bar);
  margin: 2rem 0 0.85rem;
  text-wrap: balance;
}

body.theme-line-inicio .news-article__prose-inicio > h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  padding-top: 0.25rem;
}

body.theme-line-inicio .news-article__prose-inicio > h2:first-child,
body.theme-line-inicio .news-article__prose-inicio > h3:first-child {
  margin-top: 0;
}

body.theme-line-inicio .news-article__prose-inicio > h3 {
  font-size: 1.08rem;
}

body.theme-line-inicio .news-article__prose-inicio > h4 {
  font-size: 1rem;
  font-weight: 700;
}

body.theme-line-inicio .news-article__prose-inicio > ul,
body.theme-line-inicio .news-article__prose-inicio > ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

body.theme-line-inicio .news-article__prose-inicio > ul li,
body.theme-line-inicio .news-article__prose-inicio > ol li {
  margin-bottom: 0.4rem;
}

body.theme-line-inicio .news-article__prose-inicio > blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem 1rem 1.1rem;
  border-left: 4px solid var(--camaltec-accent);
  background: linear-gradient(90deg, rgba(162, 192, 55, 0.08), transparent);
  border-radius: 0 8px 8px 0;
}

body.theme-line-inicio .news-article__prose-inicio > blockquote p {
  margin: 0;
}

body.theme-line-inicio .news-article__prose-inicio a {
  color: #5a6f2a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

body.theme-line-inicio .news-article__prose-inicio a:hover {
  color: var(--camaltec-accent);
}

body.theme-line-inicio .news-article--inicio-blog .news-article__gallery {
  margin-top: 2rem;
}

body.theme-line-inicio .news-article--inicio-blog .news-article__figure {
  border-radius: 10px;
  border-color: rgba(44, 51, 61, 0.1);
  box-shadow: 0 10px 32px rgba(44, 51, 61, 0.08);
}

body.theme-line-inicio .news-article__foot--inicio {
  border-top-color: rgba(44, 51, 61, 0.1);
  padding-top: 1.75rem;
  margin-top: 2rem;
}

body.theme-line-inicio .news-article__foot--inicio .news-article__back {
  color: #5a6f2a;
  font-weight: 700;
}

body.theme-line-inicio .news-article__foot--inicio .news-article__back:hover {
  color: var(--camaltec-accent);
}

body.theme-line-inicio .news-article__foot--inicio .news-article__back--secondary {
  color: #6b7280;
}

body.theme-line-inicio .news-article__foot--inicio .news-article__back--secondary:hover {
  color: var(--camaltec-bar);
}

/* —— Listado blog (índice): referencia editorial tipo Ibepartner —— */
body.theme-line-inicio .blog-page {
  background: #f5f6f8;
}

body.theme-line-inicio .blog-page .page-hero--blog-inicio {
  background: #ffffff;
  border-bottom: 1px solid rgba(44, 51, 61, 0.08);
  text-align: center;
}

body.theme-line-inicio .blog-page .page-hero--blog-inicio .breadcrumb {
  color: #6b7280;
}

body.theme-line-inicio .blog-page .page-hero--blog-inicio .breadcrumb a {
  color: #5a6f2a;
  font-weight: 600;
}

body.theme-line-inicio .blog-page .page-hero--blog-inicio .breadcrumb a:hover {
  color: var(--camaltec-accent);
}

body.theme-line-inicio .blog-page .page-hero__title--blog-inicio {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--camaltec-bar);
}

body.theme-line-inicio .blog-page .page-hero__title--blog-inicio::after {
  display: none;
}

body.theme-line-inicio .blog-page .blog-page__intro {
  margin-top: 1rem;
  max-width: min(40rem, 100%);
  margin-inline: auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: #5c6570;
}

body.theme-line-inicio .blog-page .blog-page__section {
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background: #f5f6f8;
}

body.theme-line-inicio .blog-page .blog-page__container {
  max-width: min(72rem, 100% - 2rem);
  margin-inline: auto;
}

body.theme-line-inicio .blog-page .blog-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

@media (min-width: 900px) {
  body.theme-line-inicio .blog-page .blog-page__layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }
}

body.theme-line-inicio .blog-page .blog-page__sidebar {
  position: relative;
}

@media (min-width: 900px) {
  body.theme-line-inicio .blog-page .blog-page__sidebar {
    position: sticky;
    top: clamp(5rem, 12vw, 6.5rem);
    align-self: start;
  }
}

body.theme-line-inicio .blog-page .blog-page__main {
  min-width: 0;
}

body.theme-line-inicio .blog-page .blog-page__cats-heading {
  margin: 0 0 0.85rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--camaltec-bar);
}

body.theme-line-inicio .blog-page .blog-page__cats {
  padding: 1rem 1rem 1.05rem;
  background: #fff;
  border: 1px solid rgba(44, 51, 61, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(44, 51, 61, 0.05);
}

body.theme-line-inicio .blog-page .blog-page__cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

body.theme-line-inicio .blog-page .blog-page__cat-list li {
  margin: 0;
}

body.theme-line-inicio .blog-page .blog-page__cat-link {
  display: block;
  width: 100%;
  padding: 0.45rem 0.6rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  color: #3d444d;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

body.theme-line-inicio .blog-page .blog-page__cat-link:hover {
  color: #5a6f2a;
  background: rgba(162, 192, 55, 0.1);
}

body.theme-line-inicio .blog-page .blog-page__cat-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(162, 192, 55, 0.35);
}

body.theme-line-inicio .blog-page .blog-page__cat-link.is-active {
  background: linear-gradient(135deg, rgba(162, 192, 55, 0.18), rgba(162, 192, 55, 0.08));
  border-color: rgba(122, 152, 41, 0.45);
  color: #3d5220;
  font-weight: 700;
}

body.theme-line-inicio .blog-page .blog-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  padding: 0.65rem 0;
}

body.theme-line-inicio .blog-page .blog-page__count {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.88rem;
  color: #6b7280;
  text-align: right;
  flex: 0 1 auto;
}

body.theme-line-inicio .blog-page .blog-page__count strong {
  color: #3d444d;
  font-weight: 700;
}

body.theme-line-inicio .blog-page .blog-page__count-cat {
  font-weight: 500;
  color: #5a6f2a;
}

body.theme-line-inicio .blog-page .blog-page__empty {
  padding: 3rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed rgba(44, 51, 61, 0.15);
}

body.theme-line-inicio .blog-page .blog-list {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(44, 51, 61, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44, 51, 61, 0.06);
}

body.theme-line-inicio .blog-page .blog-list__item {
  display: grid;
  grid-template-columns: min(200px, 34vw) 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
  padding: clamp(1.25rem, 3vw, 1.65rem) clamp(1rem, 3vw, 1.5rem);
  border-bottom: 1px solid rgba(44, 51, 61, 0.07);
  transition: background 0.2s ease;
}

body.theme-line-inicio .blog-page .blog-list__item:last-child {
  border-bottom: none;
}

body.theme-line-inicio .blog-page .blog-list__item:not(:has(.blog-list__media)) {
  grid-template-columns: 1fr;
}

@media (hover: hover) {
  body.theme-line-inicio .blog-page .blog-list__item:hover {
    background: rgba(162, 192, 55, 0.04);
  }
}

body.theme-line-inicio .blog-page .blog-list__media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  align-self: start;
  border: 1px solid rgba(44, 51, 61, 0.08);
  box-shadow: 0 6px 20px rgba(44, 51, 61, 0.08);
}

body.theme-line-inicio .blog-page .blog-list__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

body.theme-line-inicio .blog-page .blog-list__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(4.75rem, 7rem);
  gap: 0.75rem 1.25rem;
  align-items: start;
  min-width: 0;
}

body.theme-line-inicio .blog-page .blog-list__content {
  min-width: 0;
}

body.theme-line-inicio .blog-page .blog-list__date-aside {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: #8892a0;
  text-align: right;
  text-wrap: balance;
}

body.theme-line-inicio .blog-page .blog-list__title {
  margin: 0 0 0.55rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

body.theme-line-inicio .blog-page .blog-list__title a {
  color: var(--camaltec-bar);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.theme-line-inicio .blog-page .blog-list__title a:hover {
  color: #5a6f2a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.theme-line-inicio .blog-page .blog-list__excerpt {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.94rem;
  line-height: 1.65;
  color: #4a5560;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.theme-line-inicio .blog-page .blog-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-top: 0.85rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.86rem;
  color: #6b7280;
}

body.theme-line-inicio .blog-page .blog-list__sep {
  color: #cbd5e0;
}

body.theme-line-inicio .blog-page .blog-list__cat {
  color: #5a6f2a;
  font-weight: 600;
  text-decoration: none;
}

body.theme-line-inicio .blog-page .blog-list__cat:hover {
  color: var(--camaltec-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.theme-line-inicio .blog-page .blog-list__more {
  margin-left: auto;
  font-weight: 700;
  color: #5a6f2a;
  text-decoration: none;
}

body.theme-line-inicio .blog-page .blog-list__more:hover {
  color: var(--camaltec-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.theme-line-inicio .blog-page .blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin-top: clamp(1.75rem, 4vw, 2.25rem);
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(44, 51, 61, 0.08);
  border-radius: 12px;
}

body.theme-line-inicio .blog-page .blog-pagination__prev,
body.theme-line-inicio .blog-page .blog-pagination__next {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--camaltec-bar);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

body.theme-line-inicio .blog-page .blog-pagination__prev:hover,
body.theme-line-inicio .blog-page .blog-pagination__next:hover {
  background: rgba(162, 192, 55, 0.12);
  color: #5a6f2a;
}

body.theme-line-inicio .blog-page .blog-pagination__pages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

body.theme-line-inicio .blog-page .blog-pagination__pages li {
  margin: 0;
}

body.theme-line-inicio .blog-page .blog-pagination__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0 0.4rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--camaltec-bar);
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(44, 51, 61, 0.12);
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.theme-line-inicio .blog-page .blog-pagination__num:hover {
  border-color: rgba(122, 152, 41, 0.45);
  background: rgba(162, 192, 55, 0.08);
}

body.theme-line-inicio .blog-page .blog-pagination__num.is-current {
  background: linear-gradient(135deg, var(--camaltec-accent), #8faa2e);
  border-color: transparent;
  color: #fff;
  cursor: default;
}

body.theme-line-inicio .blog-page .blog-pagination__summary {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5c6570;
}

@media (max-width: 640px) {
  body.theme-line-inicio .blog-page .blog-list__item {
    grid-template-columns: 1fr;
  }

  body.theme-line-inicio .blog-page .blog-list__media {
    max-width: 100%;
  }

  body.theme-line-inicio .blog-page .blog-list__body {
    grid-template-columns: 1fr;
  }

  body.theme-line-inicio .blog-page .blog-list__date-aside {
    text-align: left;
    order: -1;
    font-size: 0.78rem;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid rgba(44, 51, 61, 0.08);
  }

  body.theme-line-inicio .blog-page .blog-page__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  body.theme-line-inicio .blog-page .blog-page__count {
    text-align: left;
  }

  body.theme-line-inicio .blog-page .blog-list__more {
    margin-left: 0;
  }
}
