.elementor-kit-69{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-69 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ==========================================================================
   Teja Vieja · Tejas Giménez — paleta «Pizarra y teja» para Elementor
   Pegar en: Elementor > Ajustes del sitio > CSS personalizado
   Incluye el color de fondo del sitio (#F5F1E8, blanco roto).
   Fuentes: subir en Elementor > Fuentes personalizadas (Barlow Condensed 800,
   Barlow 400/500, IBM Plex Mono 600) — están en la carpeta /fuentes del paquete.
   Las clases tv-… van puestas en cada widget/contenedor (Avanzado > Clases CSS).
   ========================================================================== */

:root {
  --tv-ink: #1E2A28;
  --tv-kraft: #F5F1E8;           /* fondo general: blanco roto */
  --tv-paper: #E9E2D3;
  --tv-paper-2: #FBF8F2;
  --tv-terra: #A1421F;
  --tv-terra-text: #A1421F;
  --tv-salmon: #E6B05C;
  --tv-on-ink: #E4E7E1;
  --tv-on-ink-soft: #C9CFC6;
  --tv-on-terra: #F7EDE6;
  --tv-ink-soft: #4A4A3F;
  --tv-muted: #93A097;
  --tv-line-dark: rgba(234, 219, 198, .2);
  --tv-f-cond: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --tv-f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tv-f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --tv-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Fondo del sitio (no hace falta tocar Ajustes del sitio > Fondo) */
html, body, body[class*="elementor-kit-"] { background-color: var(--tv-kraft) !important; }
body { color: var(--tv-ink); font-family: var(--tv-f-body); -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid var(--tv-terra); outline-offset: 3px; }
.tv-terra { color: var(--tv-terra-text); }
.tv-salmon { color: var(--tv-salmon); }

/* Tipos base ------------------------------------------------------------- */
.elementor-element.tv-eyebrow .elementor-heading-title {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--tv-f-mono); font-weight: 600; font-size: 13px; line-height: 1.3;
  letter-spacing: .08em; text-transform: uppercase; color: var(--tv-ink-soft);
}
.elementor-element.tv-eyebrow .elementor-heading-title::before { content: ""; flex: none; width: 40px; height: 3px; background: var(--tv-terra); }
.elementor-element.tv-eyebrow--on-dark .elementor-heading-title { color: var(--tv-on-ink-soft); }
.elementor-element.tv-eyebrow--on-dark .elementor-heading-title::before { background: var(--tv-salmon); }
.elementor-element.tv-eyebrow--terra .elementor-heading-title { color: var(--tv-terra-text); }
.elementor-element.tv-eyebrow--terra .elementor-heading-title::before { display: none; }

.elementor-element.tv-h2 .elementor-heading-title {
  font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase;
  font-size: 84px; line-height: .86; color: var(--tv-ink); overflow-wrap: break-word;
}
.elementor-element.tv-h2--md .elementor-heading-title { font-size: 76px; line-height: .88; }
.elementor-element.tv-h2--on-dark .elementor-heading-title { color: #FFFFFF; }
.tv-stock .elementor-element.tv-h2 .elementor-heading-title { color: var(--tv-salmon); }
.elementor-element.tv-h3 .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 48px; line-height: .9; color: var(--tv-ink); }

.elementor-element.tv-lead { max-width: 480px; font-family: var(--tv-f-body); font-size: 19px; line-height: 1.55; color: var(--tv-ink-soft); }
.elementor-element.tv-lead--on-dark { color: var(--tv-on-ink-soft); }
.elementor-element.tv-lead p:last-child, .elementor-element.tv-note p:last-child { margin-bottom: 0; }
.elementor-element.tv-note { font-size: 17px; color: var(--tv-ink-soft); }
.elementor-element.tv-note--on-dark { color: var(--tv-on-ink-soft); }

.e-con.tv-head { padding-bottom: 0; }
.tv-blog .e-con.tv-head { padding-bottom: 20px; border-bottom: 3px solid var(--tv-ink); }

/* Botones: sencillos, sin sombra ------------------------------------------ */
.elementor-element.tv-btn .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 30px;
  border: 0; border-radius: 0; box-shadow: none;
  font-family: var(--tv-f-mono); font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease;
}
.elementor-element.tv-btn--salmon .elementor-button { background: var(--tv-salmon); color: var(--tv-ink); }
.elementor-element.tv-btn--salmon .elementor-button:hover, .elementor-element.tv-btn--salmon .elementor-button:focus-visible { background: #FFFFFF; color: var(--tv-ink); }
.elementor-element.tv-btn--ink .elementor-button { background: var(--tv-ink); color: var(--tv-salmon); }
.elementor-element.tv-btn--ink .elementor-button:hover, .elementor-element.tv-btn--ink .elementor-button:focus-visible { background: var(--tv-terra); color: #FFFFFF; }
/* Botón como enlace subrayado */
.elementor-element[class*="tv-btn--link"] .elementor-button {
  min-height: 44px; padding: 0; background: none; font-size: 14px;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px;
}
.elementor-element.tv-btn--link-light .elementor-button { color: var(--tv-on-ink); }
.elementor-element.tv-btn--link-salmon .elementor-button { color: var(--tv-salmon); }
.elementor-element.tv-btn--link-ink .elementor-button { color: var(--tv-ink); }
.elementor-element[class*="tv-btn--link"] .elementor-button:hover { background: none; color: #FFFFFF; }
.elementor-element.tv-btn--link-ink .elementor-button:hover { color: var(--tv-terra-text); }

/* ==========================================================================
   Cabecera transparente (plantilla «TV · Cabecera»)
   ========================================================================== */
.elementor-location-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.e-con.tv-header {
  border-top: 8px solid var(--tv-terra);
  background: linear-gradient(180deg, rgba(30,42,40,.75) 0%, rgba(30,42,40,0) 100%);
}
.elementor-element.tv-header__logo img { height: 46px; width: auto; }
.tv-nav .elementor-nav-menu--main .elementor-item {
  font-family: var(--tv-f-mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tv-on-ink); padding: 8px 0; margin: 0 14px;
}
.tv-nav .elementor-nav-menu--main .elementor-item:hover,
.tv-nav .elementor-nav-menu--main .elementor-item.elementor-item-active { color: var(--tv-salmon); }
.tv-nav .elementor-nav-menu--main .elementor-item::after { background-color: var(--tv-salmon); height: 2px; }
.tv-nav .elementor-menu-toggle { width: 48px; height: 48px; border: 2px solid var(--tv-on-ink); background: transparent; color: var(--tv-on-ink); border-radius: 0; }
.tv-nav .elementor-menu-toggle svg { fill: var(--tv-on-ink); }
.tv-nav .elementor-nav-menu--dropdown { background: var(--tv-ink); }
.tv-nav .elementor-nav-menu--dropdown .elementor-item { font-family: var(--tv-f-mono); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-on-ink); padding: 16px 20px; border-bottom: 1px solid var(--tv-line-dark); }
.tv-nav .elementor-nav-menu--dropdown .elementor-item:hover { background: transparent; color: var(--tv-salmon); }
.elementor-element.tv-header__phone .elementor-button { font-size: 15px; text-decoration: none; }
@media (max-width: 1024px) { .elementor-element.tv-header__phone { display: none; } .elementor-element.tv-header__logo img { height: 40px; } }
@media (max-width: 767px)  { .elementor-element.tv-header__logo img { height: 36px; } }

/* ==========================================================================
   1 · Hero
   ========================================================================== */
.e-con.tv-hero { position: relative; }
.e-con.tv-hero > .e-con-inner { position: relative; z-index: 2; }
.elementor-element.tv-hero__title .elementor-heading-title {
  font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase;
  font-size: 248px; line-height: .8; letter-spacing: -.01em; color: #FFFFFF; overflow-wrap: break-word;
}
.tv-hero .tv-paint { display: block; }
.tv-hero .tv-paint--2 { color: var(--tv-salmon); }
.elementor-element.tv-hero__sub .elementor-heading-title {
  max-width: 760px; font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase;
  font-size: 34px; line-height: 1; color: var(--tv-on-ink);
}
.tv-hero .elementor-element.tv-lead { max-width: 500px; }
.elementor-element.tv-stamp-wrap { position: absolute !important; z-index: 3; right: 80px; bottom: 96px; width: 170px !important; }
.tv-stamp svg { display: block; width: 170px; height: 170px; transform: rotate(-14deg); }
.tv-stamp__ring { transform-box: view-box; transform-origin: 50% 50%; }
@media (max-width: 1024px) {
  .elementor-element.tv-hero__title .elementor-heading-title { font-size: 150px; }
  .elementor-element.tv-stamp-wrap { right: 24px; width: 130px !important; }
  .tv-stamp svg { width: 130px; height: 130px; }
}
@media (max-width: 900px) { .elementor-element.tv-hero__title .elementor-heading-title { font-size: 130px; } }
@media (max-width: 767px) {
  .elementor-element.tv-hero__title .elementor-heading-title { font-size: 72px; }
  .elementor-element.tv-hero__sub .elementor-heading-title { font-size: 26px; }
  .elementor-element.tv-stamp-wrap { top: 110px; bottom: auto; right: 16px; width: 104px !important; }
  .tv-stamp svg { width: 104px; height: 104px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tv-hero .tv-paint { clip-path: inset(-.35em 100% -.2em 0); animation: tvPaint 900ms cubic-bezier(.65,0,.35,1) 150ms forwards; }
  .tv-hero .tv-paint--2 { animation-delay: 420ms; }
  .tv-stamp__ring { animation: tvSpin 32s linear infinite; }
}
@keyframes tvPaint { to { clip-path: inset(-.35em -.1em -.2em 0); } }
@keyframes tvSpin  { to { transform: rotate(360deg); } }
/* En el editor no se oculta el título mientras editas */
.elementor-editor-active .tv-hero .tv-paint { clip-path: none; animation: none; }

/* ==========================================================================
   2 · Cinta
   ========================================================================== */
.tv-ticker { overflow: hidden; background: var(--tv-salmon); color: var(--tv-ink); border-top: 3px solid var(--tv-ink); border-bottom: 3px solid var(--tv-ink); font-family: var(--tv-f-mono); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.tv-ticker__track { display: flex; width: max-content; }
.tv-ticker__track span { display: inline-flex; align-items: center; gap: 28px; padding: 16px 0 16px 28px; white-space: nowrap; }
.tv-ticker__track span::after { content: ""; width: 10px; height: 10px; background: var(--tv-terra); transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .tv-ticker__track { animation: tvMarquee 44s linear infinite; }
  .tv-ticker:hover .tv-ticker__track { animation-play-state: paused; }
}
@keyframes tvMarquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   3 · Hoja de stock
   ========================================================================== */
.tv-st-headrow, .e-con.tv-st-row { display: grid !important; grid-template-columns: minmax(0,1.2fr) minmax(0,1.4fr) minmax(0,1.3fr) 200px; gap: 32px; align-items: center; }
.tv-st-headrow { padding-bottom: 12px; font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-muted); }
.e-con.tv-st-row { padding: 18px 0 !important; border-top: 1px solid var(--tv-line-dark); color: var(--tv-on-ink); text-decoration: none; transition: background-color 160ms ease; }
.e-con.tv-st-row--last { border-bottom: 1px solid var(--tv-line-dark); }
.e-con.tv-st-row > .elementor-element { min-width: 0; width: 100% !important; max-width: none; margin: 0 !important; }
.e-con.tv-st-row:hover { background: rgba(230,176,92,.06); }
.elementor-element.tv-st-name .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 40px; overflow-wrap: break-word; hyphens: auto; line-height: 1; color: #FFFFFF; transition: color 160ms ease; }
.e-con.tv-st-row:hover .tv-st-name .elementor-heading-title { color: var(--tv-salmon); }
.elementor-element.tv-st-fmt, .elementor-element.tv-st-use { font-size: 17px; line-height: 1.45; color: var(--tv-on-ink); }
.elementor-element.tv-st-use { color: var(--tv-on-ink-soft); }
.tv-st-fmt p, .tv-st-use p { margin: 0; }
.elementor-element.tv-st-thumb { height: 112px; overflow: hidden; }
.elementor-element.tv-st-thumb img { display: block; width: 100%; height: 112px; object-fit: cover; transition: transform 300ms var(--tv-ease); }
.e-con.tv-st-row:hover .tv-st-thumb img { transform: scale(1.04); }
.tv-st-empty { display: flex; align-items: center; justify-content: center; height: 104px; border: 2px dashed rgba(228,231,225,.35); font-family: var(--tv-f-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-muted); }
@media (max-width: 900px) {
  .tv-st-headrow { display: none !important; }
  .e-con.tv-st-row { grid-template-columns: minmax(0,1fr) 120px; grid-template-areas: "name img" "fmt img" "use img"; row-gap: 4px; column-gap: 16px; }
  .tv-st-row .tv-st-name { grid-area: name; }
  .tv-st-row .tv-st-fmt { grid-area: fmt; }
  .tv-st-row .tv-st-use { grid-area: use; }
  .tv-st-row .tv-st-thumb { grid-area: img; }
}
@media (max-width: 767px) { .elementor-element.tv-st-thumb, .elementor-element.tv-st-thumb img, .tv-st-empty { height: 84px; } }

/* ==========================================================================
   4 · Compramos y vendemos
   ========================================================================== */
.e-con.tv-card { background: var(--tv-paper); border: 3px solid var(--tv-ink); overflow: hidden; }
.e-con.tv-card__body { padding: 32px 36px 36px !important; }
.elementor-element.tv-card__img { height: 260px; overflow: hidden; border-bottom: 3px solid var(--tv-ink); }
.elementor-element.tv-card__img img { display: block; width: 100%; height: 260px; object-fit: cover; transition: transform 400ms var(--tv-ease); }
.e-con.tv-card:hover .tv-card__img img { transform: scale(1.03); }
.tv-steps { margin: 0; padding: 0; list-style: none; counter-reset: tvstep; }
.tv-steps li { counter-increment: tvstep; display: grid; grid-template-columns: 56px minmax(0,1fr); column-gap: 16px; padding: 18px 0; border-top: 1px dashed var(--tv-ink); font-size: 17px; line-height: 1.5; color: var(--tv-ink-soft); }
.tv-steps li::before { content: counter(tvstep, decimal-leading-zero); grid-row: 1 / 3; font-family: var(--tv-f-cond); font-weight: 800; font-size: 40px; line-height: .9; color: var(--tv-terra-text); }
.tv-steps li strong { display: block; font-size: 20px; font-weight: 500; color: var(--tv-ink); }
@media (max-width: 767px) {
  .e-con.tv-card__body { padding: 24px 20px 28px !important; }
  .elementor-element.tv-card__img, .elementor-element.tv-card__img img { height: 200px; }
}

/* ==========================================================================
   5 · Oficio
   ========================================================================== */
.e-con.tv-oficio { border-top: 8px solid var(--tv-terra); }
.tv-checks { margin: 8px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--tv-line-dark); }
.tv-checks li { position: relative; padding: 16px 0 16px 42px; border-top: 1px solid var(--tv-line-dark); font-size: 16px; line-height: 1.5; color: var(--tv-on-ink-soft); }
.tv-checks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 16px; height: 8px; border-left: 3px solid var(--tv-salmon); border-bottom: 3px solid var(--tv-salmon); transform: rotate(-45deg); }
.tv-checks li strong { display: block; font-size: 19px; font-weight: 500; color: #FFFFFF; }
.e-con.tv-mosaic-wrap { position: relative; }
.e-con.tv-mosaic { display: grid !important; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); grid-template-rows: 280px 280px; gap: 16px; }
.e-con.tv-mosaic > .elementor-element { width: auto !important; max-width: none; }
.tv-mosaic .tv-mosaic__big { grid-row: 1 / 3; }
.tv-mosaic figure, .tv-mosaic .wp-caption { position: relative; height: 100%; margin: 0; overflow: hidden; }
.tv-mosaic .elementor-element, .tv-mosaic .elementor-widget-container, .tv-mosaic .elementor-image { height: 100%; }
.tv-mosaic img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.tv-mosaic__big img { object-position: 40% center; }
.tv-mosaic figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: 8px 12px; background: rgba(30,42,40,.78); font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-on-ink); text-align: left; }
.elementor-element.tv-placa-wrap { position: absolute !important; left: -40px; bottom: -40px; width: 200px !important; z-index: 2; }
.tv-placa { width: 200px; height: 200px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--tv-terra); color: var(--tv-on-terra); border: 3px solid var(--tv-on-terra); outline: 6px solid var(--tv-terra); transform: rotate(-6deg); }
.tv-placa__num { font-family: var(--tv-f-cond); font-weight: 800; font-size: 88px; line-height: .85; color: #FFFFFF; }
.tv-placa__txt { font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 1024px) { .elementor-element.tv-placa-wrap { left: 8px; } }
@media (max-width: 767px) {
  .e-con.tv-mosaic { grid-template-rows: 200px 200px; gap: 10px; }
  .elementor-element.tv-placa-wrap { left: -4px; bottom: -24px; width: 150px !important; }
  .tv-placa { width: 150px; height: 150px; } .tv-placa__num { font-size: 64px; }
}

/* ==========================================================================
   6 · Zona de trabajo
   ========================================================================== */
.tv-legend { margin: 0; border-top: 3px solid var(--tv-ink); }
.tv-legend > div { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--tv-ink); }
.tv-legend dd { margin: 0; font-size: 17px; }
.tv-legend strong { font-weight: 500; }
.tv-legend__sw { width: 22px; height: 22px; box-sizing: border-box; background: var(--tv-terra); border: 2px solid var(--tv-ink); }
.tv-legend__sw--soft { background: rgba(161,66,31,.32); border-color: var(--tv-terra); }
.tv-nave { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--tv-paper); border: 3px solid var(--tv-ink); }
.tv-nave__lbl { font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-terra-text); }
.tv-nave__addr { font-size: 18px; font-weight: 500; }
.tv-nave__tel { font-family: var(--tv-f-cond); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--tv-ink); text-decoration: none; }

.tv-map { position: relative; width: 100%; max-width: 760px; margin: 0 auto; aspect-ratio: 900 / 820; }
.tv-map > img { display: block; width: 100%; height: 100%; }
.tv-map__routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tv-map__dash { fill: none; stroke: var(--tv-ink); stroke-width: 2.2; stroke-dasharray: 7 8; stroke-linecap: round; opacity: .75; }
.tv-map__lbl { position: absolute; transform: translate(-50%, -50%); font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 24px; color: var(--tv-ink); pointer-events: none; }
.tv-map__lbl--es { left: 30.5%; top: 70%; font-size: 26px; color: var(--tv-paper); }
.tv-map__lbl--fr { left: 37%; top: 31%; }
.tv-map__lbl--it { left: 83%; top: 72%; }
.tv-map__lbl--ca { left: 38%; top: 87%; font-family: var(--tv-f-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; }
.tv-map__pin { position: absolute; left: 36.2%; top: 60.9%; width: 0; height: 0; }
.tv-map__pulse { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--tv-salmon); }
.tv-map__dot { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; background: var(--tv-ink); border: 3px solid var(--tv-salmon); }
.tv-map__tag { position: absolute; left: 14px; top: -32px; white-space: nowrap; padding: 4px 8px; background: var(--tv-ink); color: var(--tv-salmon); font-family: var(--tv-f-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .tv-map__dash { animation: tvDash 1.2s linear infinite; }
  .tv-map__pulse { animation: tvPulse 2.2s ease-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .tv-map__tejas { display: none; } }
@keyframes tvDash  { to { stroke-dashoffset: -15; } }
@keyframes tvPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@media (max-width: 767px) { .tv-map__lbl { font-size: 18px; } .tv-map__lbl--es { font-size: 20px; } }

/* ==========================================================================
   7 · Blog (widget Entradas, máscara «Tarjetas», sin imagen)
   ========================================================================== */
.tv-posts .elementor-posts-container { counter-reset: tvpost; }
.tv-posts .elementor-post { counter-increment: tvpost; }
.tv-posts .elementor-post__card {
  position: relative; display: flex; flex-direction: column; min-height: 340px; height: 100%;
  background: var(--tv-paper-2); border: 3px solid var(--tv-ink); border-radius: 0; box-shadow: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.tv-posts .elementor-post__card::before {
  content: counter(tvpost, decimal-leading-zero);
  position: absolute; left: 28px; top: 28px;
  font-family: var(--tv-f-cond); font-weight: 800; font-size: 64px; line-height: .8; color: var(--tv-terra);
}
.tv-posts .elementor-post__badge {
  position: absolute; top: 28px; right: 28px; left: auto; margin: 0; padding: 4px 8px; border-radius: 0;
  background: var(--tv-ink); color: var(--tv-salmon);
  font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
}
.tv-posts .elementor-post__text { flex-grow: 1; display: flex; flex-direction: column; padding: 120px 28px 0; margin: 0; }
.tv-posts .elementor-post__title { margin: 0 0 22px; flex-grow: 1; }
.tv-posts .elementor-post__title a { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 36px; line-height: .98; color: var(--tv-ink); }
.tv-posts .elementor-post__read-more { align-self: flex-start; margin: 0 0 22px; font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-terra-text); }
.tv-posts .elementor-post__meta-data {
  margin: 0 28px; padding: 16px 0 30px; border-top: 1px dashed var(--tv-ink);
  font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-ink-soft);
}
.tv-posts .elementor-post__avatar, .tv-posts .elementor-post__excerpt { display: none; }
.tv-posts .elementor-post__card:hover { background: var(--tv-ink); }
.tv-posts .elementor-post__card:hover::before,
.tv-posts .elementor-post__card:hover .elementor-post__read-more { color: var(--tv-salmon); }
.tv-posts .elementor-post__card:hover .elementor-post__title a { color: var(--tv-paper); }
.tv-posts .elementor-post__card:hover .elementor-post__meta-data { color: var(--tv-on-ink-soft); border-top-color: var(--tv-on-ink-soft); }
@media (max-width: 767px) { .tv-posts .elementor-post__title a { font-size: 30px; } }

/* ==========================================================================
   8 · Contacto + Contact Form 7
   ========================================================================== */
.tv-datos { display: flex; flex-direction: column; border-top: 3px solid var(--tv-ink); }
.tv-datos > a, .tv-datos > div { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px dashed var(--tv-ink); color: var(--tv-ink); text-decoration: none; }
.tv-datos__lbl { font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-terra-text); }
.tv-datos__tel { font-family: var(--tv-f-cond); font-weight: 800; font-size: 64px; line-height: .9; }
.tv-datos__val { font-size: 21px; font-weight: 500; }
.e-con.tv-form { background: var(--tv-paper); border: 3px solid var(--tv-ink); }
.tv-form__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-bottom: 14px; border-bottom: 3px solid var(--tv-ink); font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tv-form__head span + span { color: var(--tv-terra-text); }
.elementor-element.tv-form__legal { padding-top: 12px; border-top: 1px dashed var(--tv-ink); font-size: 13px; line-height: 1.5; color: var(--tv-ink-soft); }
.tv-form__legal p { margin: 0; }

/* Campos del formulario (marcado del archivo tv-cf7-formulario.txt) */
.tv-cf7 { display: flex; flex-direction: column; gap: 20px; }
.tv-cf7 p { margin: 0; }
.tv-cf7 br { display: none; }
.tv-cf7__row { display: flex; flex-wrap: wrap; gap: 16px; }
.tv-cf7__field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-ink-soft); }
.tv-cf7 input[type="text"], .tv-cf7 input[type="tel"], .tv-cf7 input[type="email"], .tv-cf7 textarea {
  width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 14px; border: 2px solid var(--tv-ink); border-radius: 0;
  background: var(--tv-paper-2); color: var(--tv-ink); font-family: var(--tv-f-body); font-size: 17px; letter-spacing: normal; text-transform: none;
}
.tv-cf7 textarea { min-height: 110px; height: 120px; resize: vertical; }
.tv-cf7 input:focus, .tv-cf7 textarea:focus { outline: 3px solid var(--tv-terra); outline-offset: 1px; }
.tv-cf7__legend { margin-bottom: 10px; font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-ink-soft); }
.tv-cf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 12px; }
.tv-cf7 .wpcf7-radio .wpcf7-list-item { flex: 1 1 180px; margin: 0; }
.tv-cf7 .wpcf7-radio label { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border: 2px solid var(--tv-ink); background: var(--tv-paper-2); cursor: pointer; font-size: 17px; font-weight: 500; }
.tv-cf7 input[type="radio"], .tv-cf7 input[type="checkbox"] { accent-color: var(--tv-terra); width: 18px; height: 18px; }
.tv-cf7__file { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 2px dashed var(--tv-ink); font-size: 15px; color: var(--tv-ink-soft); }
.tv-cf7__file strong { font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tv-cf7__file input[type="file"] { font-family: var(--tv-f-body); font-size: 15px; }
.tv-cf7__file input[type="file"]::file-.elementor-kit-69-button { margin-right: 14px; min-height: 44px; padding: 0 18px; border: 2px solid var(--tv-ink); background: transparent; color: var(--tv-ink); font-family: var(--tv-f-mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.tv-cf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.tv-cf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--tv-ink-soft); }
.tv-cf7 .wpcf7-acceptance a { color: var(--tv-terra-text); }
.tv-cf7 .wpcf7-submit {
  align-self: flex-start; min-height: 58px; padding: 0 32px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--tv-ink); color: var(--tv-salmon); font-family: var(--tv-f-mono); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease;
}
.tv-cf7 .wpcf7-submit:hover { background: var(--tv-terra); color: #FFFFFF; }
.tv-form .wpcf7-not-valid-tip { font-family: var(--tv-f-body); font-size: 14px; letter-spacing: normal; text-transform: none; color: var(--tv-terra-text); }
.tv-form .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border: 2px solid var(--tv-ink); font-size: 15px; }
.tv-form .wpcf7 form.sent .wpcf7-response-output { border-color: #4F6B3A; }
.tv-form .wpcf7 form.invalid .wpcf7-response-output, .tv-form .wpcf7 form.failed .wpcf7-response-output { border-color: var(--tv-terra); }
@media (max-width: 767px) { .tv-datos__tel { font-size: 52px; } }

/* ==========================================================================
   Pie (plantilla «TV · Pie»)
   ========================================================================== */
.e-con.tv-footer { border-top: 8px solid var(--tv-terra); color: var(--tv-on-ink); }
.e-con.tv-ft-top { padding-bottom: 32px !important; border-bottom: 1px solid var(--tv-line-dark); }
.elementor-element.tv-ft-big .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 120px; line-height: .8; color: var(--tv-salmon); }
.elementor-element.tv-ft-tel .elementor-heading-title, .elementor-element.tv-ft-tel .elementor-heading-title a { font-family: var(--tv-f-cond); font-weight: 800; font-size: 48px; line-height: 1; color: #FFFFFF; }
.e-con.tv-ft-nav > .elementor-element { flex: 1 1 170px; width: auto !important; }
.tv-ft-col h3 { margin: 0 0 14px; font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-muted); }
.tv-ft-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--tv-on-ink); }
.tv-ft-col a { color: var(--tv-on-ink); text-decoration: none; }
.tv-ft-col a:hover { color: var(--tv-salmon); }
.e-con.tv-ft-bottom { min-height: 60px; padding: 10px 0 !important; row-gap: 4px; border-top: 1px solid var(--tv-line-dark); }
.elementor-element.tv-ft-copy .elementor-heading-title { font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-muted); }
.elementor-element.tv-ft-credit a { color: var(--tv-salmon); text-decoration: underline; text-underline-offset: 4px; }
.elementor-element.tv-ft-credit a:hover { color: #FFFFFF; }
.elementor-element.tv-ft-brand img { display: block; height: 96px; width: auto; }
@media (max-width: 767px) { .elementor-element.tv-ft-brand img { height: 60px; } }

/* Tamaños móviles de títulos de sección */
@media (max-width: 767px) {
  .elementor-element.tv-h2 .elementor-heading-title { font-size: 56px; }
  .elementor-element.tv-h2--md .elementor-heading-title { font-size: 52px; }
}

/* ==========================================================================
   Secciones a dos columnas (Oficio, Zona, Contacto): anchos fijos de columna
   ========================================================================== */
.e-con.tv-split { flex-direction: row !important; flex-wrap: nowrap !important; }
.e-con.tv-split > .e-con.tv-split__text { flex: 0 0 40% !important; width: 40% !important; max-width: 40% !important; min-width: 0; }
.e-con.tv-split > .e-con:not(.tv-split__text) { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
.e-con.tv-split > .e-con > .elementor-element,
.e-con.tv-split__text > .elementor-element { width: 100% !important; max-width: 100%; }
.e-con.tv-split__text > .elementor-element.tv-btn,
.e-con.tv-split__text > .elementor-element.tv-btn .elementor-button-wrapper { width: auto !important; align-self: flex-start; }
.e-con.tv-mosaic-wrap { width: 100%; }
.e-con.tv-cards > .e-con.tv-card { flex: 1 1 480px !important; min-width: 0; }
@media (max-width: 1024px) {
  .e-con.tv-split { flex-direction: column !important; align-items: stretch !important; }
  .e-con.tv-split > .e-con.tv-split__text,
  .e-con.tv-split > .e-con:not(.tv-split__text) { flex: 1 1 auto !important; width: 100% !important; max-width: 100% !important; }
}

/* ==========================================================================
   Páginas interiores · Sostenibilidad
   ========================================================================== */
.e-con.tv-pagehero > .e-con-inner { position: relative; z-index: 2; }
.tv-crumb { font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-on-ink-soft); }
.tv-crumb a { color: var(--tv-on-ink-soft); text-decoration: none; }
.tv-crumb a:hover { color: var(--tv-salmon); }
.tv-crumb span[aria-hidden] { color: var(--tv-salmon); }
.elementor-element.tv-page-title .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 168px; line-height: .8; letter-spacing: -.01em; color: #FFFFFF; overflow-wrap: break-word; }
.elementor-element.tv-page-sub .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: 1; color: var(--tv-salmon); }
.tv-pagehero .elementor-element.tv-lead { max-width: 540px; }
@media (max-width: 1024px) { .elementor-element.tv-page-title .elementor-heading-title { font-size: 120px; } }
@media (max-width: 767px)  { .elementor-element.tv-page-title .elementor-heading-title { font-size: 68px; } .elementor-element.tv-page-sub .elementor-heading-title { font-size: 28px; } }

.elementor-element.tv-lead--wide { max-width: none; }
.e-con.tv-points > .elementor-element { flex: 1 1 0; width: auto !important; min-width: 0; }
.elementor-element.tv-point { padding-top: 20px; border-top: 3px solid var(--tv-ink); }
.tv-point .tv-point__n { display: block; margin-bottom: 10px; font-family: var(--tv-f-cond); font-weight: 800; font-size: 48px; line-height: .85; color: var(--tv-terra-text); }
.tv-point h3 { margin: 0 0 10px; font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: .95; color: var(--tv-ink); }
.tv-point p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--tv-ink-soft); }

.e-con.tv-proceso { border-top: 8px solid var(--tv-terra); }
.e-con.tv-route { position: relative; display: grid !important; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 24px; }
.e-con.tv-route::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; border-top: 3px dashed rgba(230,176,92,.55); }
.e-con.tv-route > .e-con { width: auto !important; min-width: 0; }
.elementor-element.tv-step__n .elementor-heading-title { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; box-sizing: border-box; background: var(--tv-terra); border: 3px solid var(--tv-on-terra); font-family: var(--tv-f-cond); font-weight: 800; font-size: 26px; color: #FFFFFF; }
.elementor-element.tv-step__img { height: 190px; overflow: hidden; border: 3px solid var(--tv-on-ink); }
.elementor-element.tv-step__img img { display: block; width: 100%; height: 184px; object-fit: cover; transition: transform 400ms var(--tv-ease); }
.e-con.tv-step:hover .tv-step__img img { transform: scale(1.04); }
.elementor-element.tv-step__t .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 32px; line-height: .95; color: #FFFFFF; }
.elementor-element.tv-step__d { font-size: 16px; line-height: 1.55; color: var(--tv-on-ink-soft); }
.tv-step__d p { margin: 0; }
@media (max-width: 1180px) { .e-con.tv-route { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 40px; } .e-con.tv-route::before { display: none; } }
@media (max-width: 767px)  { .e-con.tv-route { grid-template-columns: minmax(0,1fr); } }

.e-con.tv-cta > .e-con { flex: 1 1 50% !important; width: 50% !important; min-width: 0; }
.e-con.tv-cta__text > .elementor-element { width: 100%; max-width: 600px; margin-left: auto; }
.e-con.tv-cta__photo { position: relative; min-height: 520px; overflow: hidden; }
.elementor-element.tv-cta__img { position: absolute !important; inset: 0; width: 100% !important; height: 100%; }
.tv-cta__img img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.elementor-element.tv-eyebrow--on-terra .elementor-heading-title { color: var(--tv-on-terra); }
.elementor-element.tv-eyebrow--on-terra .elementor-heading-title::before { background: var(--tv-salmon); }
.elementor-element.tv-lead--on-terra { color: var(--tv-on-terra); }
@media (max-width: 1024px) {
  .e-con.tv-cta > .e-con { width: 100% !important; flex-basis: auto !important; }
  .e-con.tv-cta__text > .elementor-element { margin-left: 0; }
  .e-con.tv-cta__photo { min-height: 300px; }
}

/* ==========================================================================
   Páginas de servicio · Tejas, Piedra, Baldosa hidráulica, Vasijería
   ========================================================================== */
.elementor-element.tv-page-title--sm .elementor-heading-title { font-size: 150px; }
@media (max-width: 1024px) { .elementor-element.tv-page-title--sm .elementor-heading-title { font-size: 110px; } }
@media (max-width: 767px)  { .elementor-element.tv-page-title--sm .elementor-heading-title { font-size: 64px; } }
.elementor-element.tv-page-sub--light .elementor-heading-title { color: var(--tv-on-ink); }
.e-con.tv-pagehero .tv-lead { max-width: 560px; }

/* Fondos sin foto en la biblioteca (por CSS) */
.e-con.tv-bg-piedra { background: #1E2A28 url("https://des54.optimaweb.es/wp-content/uploads/2026/11/piedra-bloques.webp") center 60% / cover no-repeat; }
.e-con.tv-bg-baldosa {
  background-color: #1E2A28;
  background-image:
    radial-gradient(circle at 50% 50%, #A1421F 0 17%, transparent 18%),
    radial-gradient(circle at 0 0, #E6B05C 0 12%, transparent 13%), radial-gradient(circle at 100% 0, #E6B05C 0 12%, transparent 13%),
    radial-gradient(circle at 0 100%, #E6B05C 0 12%, transparent 13%), radial-gradient(circle at 100% 100%, #E6B05C 0 12%, transparent 13%),
    conic-gradient(from 45deg, #CDAE86 0 25%, #33423E 0 50%, #CDAE86 0 75%, #33423E 0);
  background-size: 120px 120px;
}

/* Hueco de foto pendiente */
.elementor-element.tv-ph-wrap { width: 100%; }
.tv-ph { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 220px; background: repeating-linear-gradient(45deg, #26332F 0 14px, #2D3B37 14px 28px); font-family: var(--tv-f-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-on-ink-soft); }
.tv-card .tv-ph { min-height: 240px; background: repeating-linear-gradient(45deg, #E0D9C9 0 14px, #E6E0D3 14px 28px); color: var(--tv-ink-soft); }

/* Ficha de material */
.tv-ficha { background: var(--tv-paper); border: 3px solid var(--tv-ink); padding: 28px 32px 30px; }
.tv-ficha__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 3px solid var(--tv-ink); font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tv-ficha__head span + span { color: var(--tv-terra-text); }
.tv-ficha__row { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 20px; padding: 16px 0; border-top: 1px dashed var(--tv-ink); }
.tv-ficha__head + .tv-ficha__row { border-top: 0; }
.tv-ficha__row span:first-child { padding-top: 3px; font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-terra-text); }
.tv-ficha__row span:last-child { font-size: 18px; font-weight: 500; color: var(--tv-ink); }
.tv-ficha__note { margin: 0; padding-top: 16px; border-top: 1px dashed var(--tv-ink); font-size: 15px; color: var(--tv-ink-soft); }
@media (max-width: 767px) { .tv-ficha { padding: 22px 18px 24px; } .tv-ficha__row { grid-template-columns: minmax(0,1fr); gap: 4px; } }

/* Tipos */
.e-con.tv-types { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.e-con.tv-types > .e-con { width: auto !important; min-width: 0; }
.e-con.tv-type { background: #26332F; border: 3px solid var(--tv-on-ink); overflow: hidden; }
.elementor-element.tv-type__img { height: 220px; overflow: hidden; border-bottom: 3px solid var(--tv-on-ink); }
.elementor-element.tv-type__img img { display: block; width: 100%; height: 220px; object-fit: cover; transition: transform 400ms var(--tv-ease); }
.e-con.tv-type:hover .tv-type__img img { transform: scale(1.04); }
.e-con.tv-type__body { padding: 24px 26px 28px !important; }
.elementor-element.tv-type__ref .elementor-heading-title { font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-salmon); }
.elementor-element.tv-type__name .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: .9; color: #FFFFFF; }
.elementor-element.tv-type__desc { font-size: 17px; line-height: 1.55; color: var(--tv-on-ink-soft); }
.tv-type__desc p { margin: 0; }
@media (max-width: 1024px) { .e-con.tv-types { grid-template-columns: minmax(0,1fr); } }

/* Galería */
.e-con.tv-gal { display: grid !important; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.e-con.tv-gal > .elementor-element { width: auto !important; max-width: none; }
.tv-gal .tv-gal__item:first-child { grid-row: 1 / 3; }
.tv-gal figure, .tv-gal .wp-caption { position: relative; height: 100%; margin: 0; overflow: hidden; }
.tv-gal .elementor-element, .tv-gal .elementor-widget-container, .tv-gal .elementor-image { height: 100%; }
.tv-gal img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.tv-gal figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: 8px 12px; background: rgba(30,42,40,.78); font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-on-ink); text-align: left; }
@media (max-width: 1024px) { .e-con.tv-gal { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; } .tv-gal .tv-gal__item:first-child { grid-row: auto; grid-column: 1 / 3; } }
@media (max-width: 767px)  { .e-con.tv-gal { grid-template-columns: 1fr; } .tv-gal .tv-gal__item:first-child { grid-column: auto; } }

/* Preguntas frecuentes */
.tv-faq details { border-top: 1px dashed var(--tv-ink); }
.tv-faq details:last-child { border-bottom: 1px dashed var(--tv-ink); }
.tv-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; color: var(--tv-ink); }
.tv-faq summary::-webkit-details-marker { display: none; }
.tv-faq summary::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--tv-ink); font-family: var(--tv-f-mono); font-size: 22px; font-weight: 600; }
.tv-faq details[open] summary::after { content: "–"; background: var(--tv-ink); color: var(--tv-salmon); }
.tv-faq summary:hover { color: var(--tv-terra-text); }
.tv-faq p { margin: 0 0 22px; max-width: 760px; font-size: 18px; line-height: 1.6; color: var(--tv-ink-soft); }
@media (max-width: 767px) { .tv-faq summary { font-size: 22px; } }

/* Llamada final con foto de fondo */
.e-con.tv-cta-bg > .e-con-inner { position: relative; z-index: 2; }
.e-con.tv-cta-bg .tv-lead { max-width: 520px; }
.e-con.tv-cta-bg.tv-bg-piedra, .e-con.tv-cta-bg.tv-bg-baldosa { background-position: center center; }

/* ==========================================================================
   Compra/venta · rejilla de materiales
   ========================================================================== */
.e-con.tv-mt-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.e-con.tv-mt-grid > .e-con { width: auto !important; min-width: 0; }
.e-con.tv-mt { position: relative; background: #26332F; border: 3px solid var(--tv-on-ink); overflow: hidden; color: var(--tv-on-ink); text-decoration: none; transition: border-color 160ms ease; }
.e-con.tv-mt:hover { border-color: var(--tv-salmon); }
.elementor-element.tv-mt__img { height: 230px; overflow: hidden; border-bottom: 3px solid var(--tv-on-ink); }
.elementor-element.tv-mt__img img { display: block; width: 100%; height: 230px; object-fit: cover; transition: transform 400ms var(--tv-ease); }
.e-con.tv-mt:hover .tv-mt__img img { transform: scale(1.04); }
.tv-bh-pat { height: 230px; background-color: #1E2A28; background-image: radial-gradient(circle at 50% 50%, #A1421F 0 17%, transparent 18%), radial-gradient(circle at 0 0, #E6B05C 0 12%, transparent 13%), radial-gradient(circle at 100% 0, #E6B05C 0 12%, transparent 13%), radial-gradient(circle at 0 100%, #E6B05C 0 12%, transparent 13%), radial-gradient(circle at 100% 100%, #E6B05C 0 12%, transparent 13%), conic-gradient(from 45deg, #CDAE86 0 25%, #33423E 0 50%, #CDAE86 0 75%, #33423E 0); background-size: 80px 80px; }
.elementor-element.tv-mt__ref { position: absolute !important; left: 16px; top: 16px; width: auto !important; z-index: 2; }
.elementor-element.tv-mt__ref .elementor-heading-title { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; box-sizing: border-box; background: var(--tv-terra); border: 3px solid var(--tv-on-terra); font-family: var(--tv-f-cond); font-weight: 800; font-size: 28px; color: #FFFFFF; }
.e-con.tv-mt__body { padding: 24px 26px 26px !important; }
.elementor-element.tv-mt__name .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: .9; color: #FFFFFF; transition: color 160ms ease; }
.e-con.tv-mt:hover .tv-mt__name .elementor-heading-title { color: var(--tv-salmon); }
.elementor-element.tv-mt__desc { flex-grow: 1; font-size: 17px; line-height: 1.5; color: var(--tv-on-ink-soft); }
.tv-mt__desc p { margin: 0; }
.elementor-element.tv-mt__more { padding-top: 14px; border-top: 1px dashed rgba(228,231,225,.35); }
.elementor-element.tv-mt__more .elementor-heading-title { color: var(--tv-salmon); }
.elementor-element.tv-mt__more .elementor-heading-title::before { display: none; }
.e-con.tv-mt-other { padding: 30px 28px !important; background: var(--tv-salmon); border: 3px solid var(--tv-salmon); color: var(--tv-ink); }
.elementor-element.tv-mt-other__lbl .elementor-heading-title { color: var(--tv-ink); }
.elementor-element.tv-mt-other__lbl .elementor-heading-title::before { display: none; }
.elementor-element.tv-mt-other__t .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 44px; line-height: .9; color: var(--tv-ink); }
.elementor-element.tv-mt-other__d { font-size: 17px; line-height: 1.5; color: var(--tv-ink-soft); }
.tv-mt-other__d p { margin: 0; }
@media (max-width: 1024px) { .e-con.tv-mt-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 767px)  { .e-con.tv-mt-grid { grid-template-columns: minmax(0,1fr); } }

/* ==========================================================================
   Empresa · huecos de imagen, cifras, historia, equipo
   ========================================================================== */
.tv-hole { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 220px; box-sizing: border-box; padding: 16px; text-align: center;
  background: repeating-linear-gradient(45deg, #26332F 0 14px, #2D3B37 14px 28px); border: 2px dashed rgba(228,231,225,.4); color: var(--tv-on-ink-soft); }
.tv-hole--light { background: repeating-linear-gradient(45deg, #E6E0D3 0 14px, #DDD5C4 14px 28px); border-color: var(--tv-ink-soft); color: var(--tv-ink-soft); }
.tv-hole__lbl { font-family: var(--tv-f-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tv-hole__size { font-size: 13px; opacity: .8; }
.e-con.tv-bg-hole { background-color: #1E2A28; background-image: repeating-linear-gradient(45deg, #26332F 0 18px, #2D3B37 18px 36px); }
.elementor-element.tv-hole-tag-wrap { position: absolute !important; right: 24px; bottom: 20px; width: auto !important; z-index: 3; }
.tv-hole-tag { display: block; padding: 6px 10px; background: var(--tv-ink); border: 1px dashed var(--tv-on-ink-soft); font-family: var(--tv-f-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-on-ink-soft); }
.tv-relleno { color: var(--tv-terra-text); }

.e-con.tv-hgal { display: grid !important; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); grid-template-rows: 260px 260px; gap: 16px; }
.e-con.tv-hgal > .elementor-element { width: auto !important; }
.tv-hgal .tv-hgal__big { grid-row: 1 / 3; }

.e-con.tv-stats { display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)); }
.e-con.tv-stats > .e-con { width: auto !important; padding: 8px 32px !important; border-left: 2px solid rgba(247,237,230,.35); }
.e-con.tv-stats > .e-con:first-child { border-left: 0; padding-left: 0 !important; }
.elementor-element.tv-stat__n .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; font-size: 88px; line-height: .85; color: #FFFFFF; }
.elementor-element.tv-stat__l .elementor-heading-title { color: var(--tv-on-terra); }
.elementor-element.tv-stat__l .elementor-heading-title::before { display: none; }

.e-con.tv-time { position: relative; display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.e-con.tv-time::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; border-top: 3px dashed rgba(230,176,92,.55); }
.e-con.tv-time > .e-con { width: auto !important; min-width: 0; }
.elementor-element.tv-hito__y { width: auto !important; align-self: flex-start; }
.elementor-element.tv-hito__y .elementor-heading-title { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 56px; padding: 0 16px; box-sizing: border-box; background: var(--tv-terra); border: 3px solid var(--tv-on-terra); font-family: var(--tv-f-cond); font-weight: 800; font-size: 26px; color: #FFFFFF; }

.e-con.tv-team { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.e-con.tv-team > .e-con { width: auto !important; min-width: 0; }
.e-con.tv-person { background: var(--tv-paper-2); border: 3px solid var(--tv-ink); overflow: hidden; }
.elementor-element.tv-person__img { height: 300px; border-bottom: 3px solid var(--tv-ink); }
.elementor-element.tv-person__img .tv-hole { border: 0; }
.e-con.tv-person__body { padding: 22px 24px 26px !important; }
.elementor-element.tv-person__n .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: .95; color: var(--tv-ink); }
.elementor-element.tv-person__d { font-size: 16px; line-height: 1.5; color: var(--tv-ink-soft); }
.tv-person__d p { margin: 0; }

.e-con.tv-nave-sec { border-top: 8px solid var(--tv-terra); }
.elementor-element.tv-hole-tall .tv-hole { height: 460px; }
.tv-datos--dark { border-top-color: var(--tv-on-ink); }
.tv-datos--dark > a, .tv-datos--dark > div { border-bottom-color: rgba(228,231,225,.35); color: #FFFFFF; }
.tv-datos--dark .tv-datos__lbl { color: var(--tv-salmon); }
.tv-datos--dark .tv-datos__tel { font-size: 36px; line-height: 1; }
.tv-datos--dark .tv-datos__val { font-size: 19px; }

@media (max-width: 1024px) {
  .e-con.tv-stats { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 32px; }
  .e-con.tv-stats > .e-con:nth-child(3) { border-left: 0; padding-left: 0 !important; }
  .e-con.tv-time, .e-con.tv-team { grid-template-columns: minmax(0,1fr); }
  .e-con.tv-time::before { display: none; }
  .e-con.tv-hgal { grid-template-columns: minmax(0,1fr); grid-template-rows: none; grid-auto-rows: 240px; }
  .tv-hgal .tv-hgal__big { grid-row: auto; }
}
@media (max-width: 767px) {
  .e-con.tv-stats { grid-template-columns: minmax(0,1fr); }
  .e-con.tv-stats > .e-con { border-left: 0; padding-left: 0 !important; }
  .elementor-element.tv-hole-tall .tv-hole { height: 300px; }
}

/* ==========================================================================
   Contacto
   ========================================================================== */
.tv-precheck { padding: 24px 26px; background: var(--tv-paper); border: 3px solid var(--tv-ink); }
.tv-precheck h3 { margin: 0 0 6px; font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: .95; color: var(--tv-ink); }
.tv-precheck ul { margin: 0; padding: 0; list-style: none; }
.tv-precheck li { position: relative; padding: 12px 0 12px 40px; border-top: 1px dashed var(--tv-ink); font-size: 17px; line-height: 1.45; color: var(--tv-ink-soft); }
.tv-precheck li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 14px; height: 7px; border-left: 3px solid var(--tv-terra); border-bottom: 3px solid var(--tv-terra); transform: rotate(-45deg); }
.tv-precheck strong { font-weight: 500; color: var(--tv-ink); }
.e-con.tv-mapa { position: relative; }
.elementor-element.tv-mapa__map, .tv-mapa__map iframe { width: 100% !important; height: 520px !important; display: block; filter: grayscale(.35) sepia(.15); }
.elementor-element.tv-mapa__card-wrap { position: absolute !important; left: max(64px, calc((100% - 1312px) / 2)); top: 50%; transform: translateY(-50%); width: 380px !important; max-width: calc(100% - 40px); z-index: 2; }
.tv-mapa__card { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; background: var(--tv-ink); border: 3px solid var(--tv-salmon); color: var(--tv-on-ink); }
.tv-mapa__lbl { font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-salmon); }
.tv-mapa__t { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: .9; color: #FFFFFF; }
.tv-mapa__d { font-size: 17px; line-height: 1.5; color: var(--tv-on-ink-soft); }
.tv-mapa__link { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; font-family: var(--tv-f-mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-salmon); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.tv-mapa__link:hover { color: #FFFFFF; }
@media (max-width: 1024px) {
  .elementor-element.tv-mapa__card-wrap { position: relative !important; left: auto; top: auto; transform: none; width: auto !important; max-width: none; margin: 0 40px 40px; order: -1; }
  .e-con.tv-mapa { padding-top: 40px !important; }
  .elementor-element.tv-mapa__map, .tv-mapa__map iframe { height: 380px !important; }
}
@media (max-width: 767px) { .elementor-element.tv-mapa__card-wrap { margin: 0 20px 32px; } .e-con.tv-mapa { padding-top: 32px !important; } }

/* ==========================================================================
   Blog · plantilla de archivo (Theme Builder)
   ========================================================================== */
.tv-chips { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 28px; border-bottom: 3px solid var(--tv-ink); }
.tv-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--tv-ink); color: var(--tv-ink); text-decoration: none; font-family: var(--tv-f-mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: background-color 150ms ease, color 150ms ease; }
.tv-chip:hover, .tv-chip[aria-current] { background: var(--tv-ink); color: var(--tv-salmon); }
.tv-posts .elementor-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.tv-posts .elementor-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 14px; margin: 0 !important; box-sizing: border-box; border: 2px solid var(--tv-ink); color: var(--tv-ink); text-decoration: none; font-family: var(--tv-f-mono); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.tv-posts .elementor-pagination .page-numbers:hover, .tv-posts .elementor-pagination .page-numbers.current { background: var(--tv-ink); color: var(--tv-salmon); }
.tv-posts .elementor-posts-nothing-found { font-size: 18px; color: var(--tv-ink-soft); }
.tv-posts .elementor-post__title { font-size: inherit; }
/* Chip activo: «Todos» en el índice del blog */
.blog .tv-chip[href="/blog/"] { background: var(--tv-ink); color: var(--tv-salmon); }

/* ==========================================================================
   Cabecera con megamenú (widget HTML de la plantilla «TV · Cabecera»)
   ========================================================================== */
.tvh{--h-ink:#1E2A28;--h-on:#E4E7E1;--h-soft:#C9CFC6;--h-sal:#E6B05C;--h-terra:#A1421F;--h-paper:#E9E2D3;position:relative;z-index:60;font-family:"Barlow",system-ui,sans-serif;border-top:8px solid var(--h-terra);background:linear-gradient(180deg,rgba(30,42,40,.8) 0%,rgba(30,42,40,0) 100%);transition:background-color 200ms ease}
.tvh *{box-sizing:border-box}
.tvh a{text-decoration:none}
.tvh__bar{max-width:1440px;margin:0 auto;padding:22px 64px;display:flex;align-items:center;gap:40px}
.tvh__logo img{display:block;height:46px;width:auto}
.tvh__nav{flex:1 1 auto;display:flex;justify-content:center}
.tvh__menu{display:flex;align-items:center;gap:4px;margin:0;padding:0;list-style:none}
.tvh__menu>li{position:static;display:flex;align-items:center}
.tvh__menu>li>a{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;font-family:"IBM Plex Mono",monospace;font-weight:600;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--h-on);transition:color 150ms ease}
.tvh__menu>li>a::after{content:"";position:absolute;left:14px;right:14px;bottom:6px;height:2px;background:var(--h-sal);transform:scaleX(0);transform-origin:left;transition:transform 200ms cubic-bezier(.2,.7,.2,1)}
.tvh__menu>li>a:hover,.tvh__menu>li>a[aria-current]{color:var(--h-sal)}
.tvh__menu>li>a:hover::after,.tvh__menu>li>a[aria-current]::after{transform:scaleX(1)}
.tvh__menu>li.has-mega>a{padding-right:4px}
.tvh__mega-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:44px;margin-right:8px;padding:0;border:0;background:none;color:var(--h-on);cursor:pointer}
.tvh__chev{transition:transform 200ms ease}
.has-mega.is-open .tvh__chev{transform:rotate(180deg)}
.has-mega.is-open>a{color:var(--h-sal)}
.tvh__actions{display:flex;align-items:center;gap:20px}
.tvh__tel{display:flex;flex-direction:column;font-family:"Barlow Condensed",Impact,sans-serif;font-weight:800;font-size:24px;line-height:1;color:#FFFFFF}
.tvh__tel-lbl{font-family:"IBM Plex Mono",monospace;font-weight:600;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--h-sal);margin-bottom:3px}
.tvh__tel:hover{color:var(--h-sal)}
.tvh__cta,.tvh__card-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;background:var(--h-sal);color:var(--h-ink);font-family:"IBM Plex Mono",monospace;font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;transition:background-color 150ms ease,color 150ms ease}
.tvh__cta:hover,.tvh__card-btn:hover{background:#FFFFFF;color:var(--h-ink)}
.tvh__burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:48px;height:48px;padding:0 12px;border:2px solid var(--h-on);background:transparent;cursor:pointer}
.tvh__burger span{display:block;height:2px;background:var(--h-on);transition:transform 200ms ease,opacity 200ms ease}
.tvh.is-mob-open .tvh__burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.tvh.is-mob-open .tvh__burger span:nth-child(2){opacity:0}
.tvh.is-mob-open .tvh__burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Megamenú */
.tvh__mega{position:absolute;left:0;right:0;top:100%;visibility:hidden;opacity:0;transform:translateY(-8px);transition:opacity 180ms ease,transform 220ms cubic-bezier(.2,.7,.2,1),visibility 0s 220ms;background:var(--h-ink);border-top:3px solid var(--h-sal);box-shadow:0 24px 48px rgba(0,0,0,.35)}
.has-mega.is-open .tvh__mega{visibility:visible;opacity:1;transform:none;transition-delay:0s}
.tvh__mega-in{max-width:1440px;margin:0 auto;padding:36px 64px 40px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.2fr) minmax(0,1fr);gap:40px}
.tvh__eyebrow{display:flex;align-items:center;gap:12px;font-family:"IBM Plex Mono",monospace;font-weight:600;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--h-soft)}
.tvh__eyebrow::before{content:"";width:32px;height:3px;background:var(--h-sal)}
.tvh__eyebrow--ink{color:var(--h-ink)}
.tvh__eyebrow--ink::before{background:var(--h-terra)}
.tvh__mega-title{margin:14px 0 10px;font-family:"Barlow Condensed",Impact,sans-serif;font-weight:800;text-transform:uppercase;font-size:36px;line-height:.92;color:#FFFFFF}
.tvh__mega-text{margin:0 0 18px;font-size:16px;line-height:1.5;color:var(--h-soft)}
.tvh__link{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-family:"IBM Plex Mono",monospace;font-weight:600;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--h-sal);text-decoration:underline!important;text-underline-offset:6px;text-decoration-thickness:2px}
.tvh__link:hover{color:#FFFFFF}
.tvh__mats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.tvh__mat{display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;align-items:center;padding:8px;border:2px solid rgba(228,231,225,.18);color:var(--h-on);transition:border-color 150ms ease,background-color 150ms ease}
.tvh__mat:hover,.tvh__mat:focus-visible{border-color:var(--h-sal);background:rgba(230,176,92,.06)}
.tvh__mat-img{position:relative;display:block;height:64px;overflow:hidden}
.tvh__mat-img img{display:block;width:100%;height:100%;object-fit:cover}
.tvh__pat{display:block;height:100%;background-color:#1E2A28;background-image:radial-gradient(circle at 50% 50%,#A1421F 0 17%,transparent 18%),conic-gradient(from 45deg,#CDAE86 0 25%,#33423E 0 50%,#CDAE86 0 75%,#33423E 0);background-size:32px 32px}
.tvh__ref{position:absolute;left:4px;top:4px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:var(--h-terra);border:2px solid #F7EDE6;font-family:"Barlow Condensed",Impact,sans-serif;font-weight:800;font-size:14px;color:#FFFFFF}
.tvh__mat-txt{display:flex;flex-direction:column;gap:4px}
.tvh__mat-name{font-family:"Barlow Condensed",Impact,sans-serif;font-weight:800;text-transform:uppercase;font-size:24px;line-height:.95;color:#FFFFFF;transition:color 150ms ease}
.tvh__mat:hover .tvh__mat-name{color:var(--h-sal)}
.tvh__mat-fmt{font-size:14px;line-height:1.35;color:var(--h-soft)}
.tvh__mega-card{display:flex;flex-direction:column;gap:12px;padding:24px;background:var(--h-sal);color:var(--h-ink)}
.tvh__card-title{margin:0;font-family:"Barlow Condensed",Impact,sans-serif;font-weight:800;text-transform:uppercase;font-size:34px;line-height:.92}
.tvh__card-text{margin:0;flex-grow:1;font-size:15px;line-height:1.5;color:#4A4A3F}
.tvh__mega-card .tvh__card-btn{align-self:flex-start;background:var(--h-ink);color:var(--h-sal)}
.tvh__mega-card .tvh__card-btn:hover{background:var(--h-terra);color:#FFFFFF}
.tvh__card-tel{font-family:"IBM Plex Mono",monospace;font-weight:600;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--h-ink);text-decoration:underline!important;text-underline-offset:4px}

/* Cabecera fija al bajar */
.tvh.is-stuck{position:fixed;top:0;left:0;right:0;background:var(--h-ink);box-shadow:0 6px 24px rgba(0,0,0,.25);animation:tvhDown 260ms cubic-bezier(.2,.7,.2,1)}
.tvh.is-stuck .tvh__bar{padding-top:12px;padding-bottom:12px}
.tvh.is-stuck .tvh__logo img{height:38px}
@keyframes tvhDown{from{transform:translateY(-100%)}to{transform:none}}
body.admin-bar .tvh.is-stuck{top:32px}

/* Menú móvil */
.tvh__mob{display:none}
@media (max-width:1100px){
 .tvh__bar{padding:18px 40px;gap:20px}
 .tvh__nav,.tvh__tel{display:none}
 .tvh__actions{margin-left:auto}
 .tvh__burger{display:flex}
 .tvh__mob{position:fixed;inset:0;top:0;z-index:-1;display:flex;flex-direction:column;justify-content:space-between;padding:110px 40px 32px;background:var(--h-ink);overflow-y:auto;visibility:hidden;opacity:0;transition:opacity 200ms ease,visibility 0s 200ms}
 .tvh.is-mob-open .tvh__mob{visibility:visible;opacity:1;transition-delay:0s}
 .tvh__mob ul{margin:0;padding:0;list-style:none}
 .tvh__mob>ul>li>a,.tvh__mob-sub-btn{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:60px;padding:0;border:0;border-bottom:1px solid rgba(228,231,225,.2);background:none;font-family:"Barlow Condensed",Impact,sans-serif;font-weight:800;text-transform:uppercase;font-size:34px;line-height:1;color:#FFFFFF;cursor:pointer;text-align:left}
 .tvh__mob a[aria-current]{color:var(--h-sal)}
 .tvh__mob-sub-btn[aria-expanded="true"] .tvh__chev{transform:rotate(180deg)}
 .tvh__mob-sub{padding:8px 0 12px!important}
 .tvh__mob-sub a{display:flex;align-items:center;gap:12px;min-height:48px;font-family:"IBM Plex Mono",monospace;font-weight:600;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:var(--h-on)}
 .tvh__ref--sm{position:static}
 .tvh__mob-foot{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding-top:32px}
 .tvh__mob-tel{font-family:"Barlow Condensed",Impact,sans-serif;font-weight:800;font-size:32px;color:#FFFFFF}
 .tvh.is-stuck .tvh__bar{padding-top:10px;padding-bottom:10px}
}
@media (max-width:640px){
 .tvh__bar{padding:14px 20px}
 .tvh__logo img{height:36px}
 .tvh__cta{display:none}
 .tvh__mob{padding:96px 20px 28px}
 .tvh__mob>ul>li>a,.tvh__mob-sub-btn{font-size:28px;min-height:54px}
}
@media (prefers-reduced-motion:reduce){.tvh *,.tvh{transition:none!important;animation:none!important}}

.e-con.tv-header-wrap, .tv-header-wrap .elementor-widget-html { padding: 0 !important; }

/* ==========================================================================
   PALETA «PIZARRA Y TEJA» · ajustes que sustituyen colores puestos en las
   plantillas de Elementor (fondos de sección, velos y botones)
   Pizarra #1E2A28 · Cal #F5F1E8 · Piedra #E9E2D3 · Teja cocida #A1421F
   Ocre #E6B05C (solo sobre oscuro y en botones con texto pizarra)
   ========================================================================== */
:root { --tv-ocre: #E6B05C; }

/* Fondos de sección */
.e-con.tv-stock, .e-con.tv-oficio, .e-con.tv-types-sec, .e-con.tv-gal-sec, .e-con.tv-proceso,
.e-con.tv-mats, .e-con.tv-historia, .e-con.tv-nave-sec, .e-con.tv-footer, .e-con.tv-mapa { background-color: #1E2A28 !important; }
.e-con.tv-cv, .e-con.tv-zona, .e-con.tv-contacto, .e-con.tv-why, .e-con.tv-ficha-sec, .e-con.tv-quien, .e-con.tv-valores { background-color: #F5F1E8 !important; }
.e-con.tv-blog, .e-con.tv-faq-sec, .e-con.tv-equipo, .e-con.tv-blog-list { background-color: #E9E2D3 !important; }
.e-con.tv-cifras, .e-con.tv-cta, .e-con.tv-cta-bg { background-color: #A1421F !important; }

/* Velos sobre foto: más densos, para que los títulos se lean siempre */
.e-con.tv-hero::before, .e-con.tv-pagehero::before,
.e-con.tv-hero > .elementor-background-overlay, .e-con.tv-pagehero > .elementor-background-overlay {
  background-image: linear-gradient(90deg, rgba(30,42,40,.95) 0%, rgba(30,42,40,.85) 40%, rgba(30,42,40,.45) 100%) !important; opacity: 1 !important; }
.e-con.tv-cta-bg::before, .e-con.tv-cta-bg > .elementor-background-overlay {
  background-image: linear-gradient(90deg, rgba(161,66,31,.95) 0%, rgba(161,66,31,.84) 45%, rgba(161,66,31,.4) 100%) !important; opacity: 1 !important; }
@media (max-width: 1024px) {
  .e-con.tv-hero::before, .e-con.tv-pagehero::before { background-image: linear-gradient(0deg, rgba(30,42,40,.96) 0%, rgba(30,42,40,.85) 55%, rgba(30,42,40,.55) 100%) !important; }
  .e-con.tv-cta-bg::before { background-image: linear-gradient(0deg, rgba(161,66,31,.96) 0%, rgba(161,66,31,.86) 60%, rgba(161,66,31,.5) 100%) !important; }
}

/* Bandas de teja: textos y líneas */
.tv-cifras .tv-stat__l .elementor-heading-title, .tv-cta .tv-lead, .tv-cta-bg .tv-lead { color: #F7EDE6; }
.e-con.tv-stats > .e-con { border-left-color: rgba(247,237,230,.35); }
.e-con.tv-oficio, .e-con.tv-proceso, .e-con.tv-nave-sec, .e-con.tv-footer, .e-con.tv-mapa { border-top-color: #A1421F !important; }
.tv-cta-bg .tv-eyebrow .elementor-heading-title::before, .tv-cta .tv-eyebrow .elementor-heading-title::before { background: #E6B05C; }

/* Botones */
.elementor-element.tv-btn--salmon .elementor-button { background: #E6B05C; color: #1E2A28; }
.elementor-element.tv-btn--salmon .elementor-button:hover, .elementor-element.tv-btn--salmon .elementor-button:focus-visible { background: #FFFFFF; color: #1E2A28; }
.tv-cta-bg .elementor-element.tv-btn--salmon .elementor-button, .tv-cifras .elementor-element.tv-btn--salmon .elementor-button { background: #FFFFFF; color: #1E2A28; }
.tv-cta-bg .elementor-element.tv-btn--salmon .elementor-button:hover { background: #E6B05C; }
.elementor-element.tv-btn--ink .elementor-button { background: #1E2A28; color: #FFFFFF; }
.elementor-element.tv-btn--ink .elementor-button:hover { background: #A1421F; color: #FFFFFF; }
.tv-cf7 .wpcf7-submit { background: #1E2A28; color: #FFFFFF; }
.tv-cf7 .wpcf7-submit:hover { background: #A1421F; }

/* Cabecera y megamenú */
.tvh__mega-card .tvh__card-btn { background: #1E2A28; color: #FFFFFF; }
.tvh__mega-card .tvh__card-btn:hover { background: #A1421F; color: #FFFFFF; }

/* Blog: fichas */
.tv-posts .elementor-post__card { background: #FBF8F2; }

/* Cabecera: fondo sólido cuando el megamenú o el menú móvil están abiertos */
.tvh.is-mega-open, .tvh.is-mob-open, .tvh:has(.has-mega.is-open) { background: var(--h-ink); }

/* ==========================================================================
   Hero de inicio · sello «+25 años» más grande y sin pisar el texto
   (deja de ir en posición absoluta: se coloca a la derecha, a la altura
   del párrafo y los botones; en móvil va encima del título)
   ========================================================================== */
.e-con.tv-hero > .e-con-inner { position: relative; }
.elementor-element.tv-stamp-wrap { position: relative !important; inset: auto !important; z-index: 3; align-self: flex-end; width: 230px !important; max-width: 230px; margin-top: -230px; pointer-events: none; }
.tv-stamp svg { display: block; width: 230px; height: 230px; transform: rotate(-14deg); }
@media (max-width: 1024px) {
  .elementor-element.tv-stamp-wrap { width: 170px !important; max-width: 170px; margin-top: -170px; }
  .tv-stamp svg { width: 170px; height: 170px; }
}
@media (max-width: 767px) {
  .elementor-element.tv-stamp-wrap { order: -1; width: 120px !important; max-width: 120px; margin: 0 0 8px; }
  .tv-stamp svg { width: 120px; height: 120px; }
}

/* Compra/venta: 4 materiales + ficha «¿Otro material?» a dos columnas */
.e-con.tv-mt-grid > .e-con.tv-mt-other { grid-column: span 2; }
@media (max-width: 767px) { .e-con.tv-mt-grid > .e-con.tv-mt-other { grid-column: auto; } }

/* ==========================================================================
   Empresa · línea de tiempo vertical
   ========================================================================== */
.e-con.tv-historia { border-top-color: var(--tv-terra) !important; }
.elementor-element.tv-eyebrow--center .elementor-heading-title { justify-content: center; }
.elementor-element.tv-eyebrow--center .elementor-heading-title::after { content: ""; flex: none; width: 40px; height: 3px; background: var(--tv-salmon); }
.elementor-element.tv-h2--xl .elementor-heading-title { font-size: 112px; line-height: .84; text-align: center; }
.elementor-element.tv-lead--center { max-width: 620px; text-align: center; font-size: 20px; }
.e-con.tv-vt { position: relative; }
.e-con.tv-vt::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 4px dashed rgba(230,176,92,.6); transform: translateX(-2px); }
.e-con.tv-vt__item { display: grid !important; grid-template-columns: minmax(0,1fr) 96px minmax(0,1fr); align-items: center; }
.e-con.tv-vt__item > * { width: auto !important; min-width: 0; grid-row: 1; }
.e-con.tv-vt__item--left > .tv-vt__card { grid-column: 1; text-align: right; align-items: flex-end; }
.e-con.tv-vt__item--left > .tv-vt__media { grid-column: 3; }
.e-con.tv-vt__item--right > .tv-vt__media { grid-column: 1; }
.e-con.tv-vt__item--right > .tv-vt__card { grid-column: 3; }
.e-con.tv-vt__item > .tv-vt__node-wrap { grid-column: 2; justify-self: center; }
.tv-vt__node { display: block; width: 36px; height: 36px; box-sizing: border-box; background: var(--tv-terra); border: 4px solid var(--tv-on-terra); transform: rotate(45deg); box-shadow: 0 0 0 8px var(--tv-ink); }
.elementor-element.tv-vt__year .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; font-size: 132px; line-height: .8; letter-spacing: -.01em; color: var(--tv-salmon); }
.elementor-element.tv-vt__title .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 52px; line-height: .9; color: #FFFFFF; }
.elementor-element.tv-vt__text { max-width: 520px; font-size: 20px; line-height: 1.55; color: var(--tv-on-ink-soft); }
.tv-vt__text p { margin: 0; }
.tv-vt__item--left .elementor-element.tv-vt__text { margin-left: auto; }
.e-con.tv-vt__media { height: 320px; border: 3px solid var(--tv-on-ink); overflow: hidden; }
.e-con.tv-vt__media > .elementor-element, .tv-vt__media .tv-hole { height: 100%; width: 100% !important; border: 0; }
.e-con.tv-vt__card--now { padding: 32px 36px !important; background: var(--tv-salmon); }
.tv-vt__card--now .tv-vt__year .elementor-heading-title, .tv-vt__card--now .tv-vt__title .elementor-heading-title { color: var(--tv-ink); }
.tv-vt__card--now .elementor-element.tv-vt__text { color: var(--tv-ink-soft); }
@media (max-width: 1024px) {
  .e-con.tv-vt::before { left: 18px; }
  .e-con.tv-vt { gap: 56px !important; }
  .e-con.tv-vt__item { grid-template-columns: 36px minmax(0,1fr); column-gap: 28px; row-gap: 20px; align-items: start; }
  .e-con.tv-vt__item > .tv-vt__node-wrap { grid-column: 1; grid-row: 1; justify-self: start; margin: 8px 0 0 4px; }
  .tv-vt__node { width: 28px; height: 28px; box-shadow: 0 0 0 6px var(--tv-ink); }
  .e-con.tv-vt__item--left > .tv-vt__card, .e-con.tv-vt__item--right > .tv-vt__card { grid-column: 2; grid-row: 1; text-align: left; align-items: flex-start; }
  .e-con.tv-vt__item--left > .tv-vt__media, .e-con.tv-vt__item--right > .tv-vt__media { grid-column: 2; grid-row: 2; height: 240px; }
  .tv-vt__item--left .elementor-element.tv-vt__text { margin-left: 0; }
  .elementor-element.tv-vt__year .elementor-heading-title { font-size: 96px; }
  .elementor-element.tv-vt__title .elementor-heading-title { font-size: 40px; }
  .elementor-element.tv-h2--xl .elementor-heading-title { font-size: 84px; }
}
@media (max-width: 767px) {
  .elementor-element.tv-vt__year .elementor-heading-title { font-size: 72px; }
  .elementor-element.tv-vt__title .elementor-heading-title { font-size: 32px; }
  .elementor-element.tv-vt__text { font-size: 18px; }
  .e-con.tv-vt__card--now { padding: 24px 22px !important; }
  .elementor-element.tv-h2--xl .elementor-heading-title { font-size: 56px; }
}

/* ==========================================================================
   Aviso legal (y otras páginas legales)
   ========================================================================== */
.e-con.tv-legal-hero { border-top: 8px solid var(--tv-terra); }
.elementor-element.tv-page-title--legal .elementor-heading-title { font-size: 140px; line-height: .82; }
.e-con.tv-lg-side { flex: 0 0 260px !important; width: 260px !important; position: sticky; top: 120px; }
.e-con.tv-lg-main { flex: 1 1 0 !important; min-width: 0; }
.tv-lg-toc { display: flex; flex-direction: column; border-top: 3px solid var(--tv-ink); }
.tv-lg-toc a { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 8px; padding: 12px 0; border-bottom: 1px dashed var(--tv-ink); color: var(--tv-ink); text-decoration: none; font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.tv-lg-toc a span { color: var(--tv-terra-text); }
.tv-lg-toc a:hover { color: var(--tv-terra-text); }
.e-con.tv-lg-sec { padding: 48px 0 !important; border-top: 3px solid var(--tv-ink); scroll-margin-top: 120px; }
.e-con.tv-lg-sec:first-child { padding-top: 0 !important; border-top: 0; }
.elementor-element.tv-lg-h2 .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 52px; line-height: .92; color: var(--tv-ink); }
.elementor-element.tv-lg-text { max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--tv-ink-soft); }
.tv-lg-text p { margin: 0 0 16px; } .tv-lg-text p:last-child { margin-bottom: 0; }
.tv-lg-text a { color: var(--tv-terra-text); text-decoration: underline; text-underline-offset: 3px; }
.tv-lg-text strong { color: var(--tv-ink); font-weight: 500; }
.tv-lg-dl { margin: 8px 0 0; max-width: 760px; background: var(--tv-paper); border: 3px solid var(--tv-ink); padding: 8px 28px; }
.tv-lg-dl div { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 20px; padding: 14px 0; border-top: 1px dashed var(--tv-ink); }
.tv-lg-dl div:first-child { border-top: 0; }
.tv-lg-dl dt { padding-top: 4px; font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-terra-text); }
.tv-lg-dl dd { margin: 0; font-size: 18px; font-weight: 500; color: var(--tv-ink); }
.tv-lg-dl dd a { color: var(--tv-ink); }
.tv-lg-dl dd.tv-lg-ph { color: var(--tv-terra-text); font-weight: 400; }
.elementor-element.tv-lg-date { margin-top: 40px; }
.elementor-element.tv-lg-date .elementor-heading-title::before { display: none; }
@media (max-width: 1024px) {
  .e-con.tv-lg-side { position: static; flex-basis: auto !important; width: 100% !important; }
  .elementor-element.tv-page-title--legal .elementor-heading-title { font-size: 100px; }
}
@media (max-width: 767px) {
  .elementor-element.tv-page-title--legal .elementor-heading-title { font-size: 60px; }
  .elementor-element.tv-lg-h2 .elementor-heading-title { font-size: 36px; }
  .tv-lg-dl { padding: 4px 18px; } .tv-lg-dl div { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .e-con.tv-lg-sec { padding: 36px 0 !important; }
}

.elementor-element.tv-page-title--legal-long .elementor-heading-title { font-size: 112px; line-height: .84; }
.elementor-element.tv-lg-h3 { margin-top: 16px; }
.elementor-element.tv-lg-h3 .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 32px; line-height: .95; color: var(--tv-ink); }
@media (max-width: 1024px) { .elementor-element.tv-page-title--legal-long .elementor-heading-title { font-size: 84px; } }
@media (max-width: 767px) { .elementor-element.tv-page-title--legal-long .elementor-heading-title { font-size: 48px; } .elementor-element.tv-lg-h3 .elementor-heading-title { font-size: 26px; } }

/* ---------- Política de cookies: aviso, tablas y listas ---------- */
.tv-lg-note { max-width: 760px; padding: 16px 20px; background: var(--tv-kraft); border-left: 6px solid var(--tv-terra); font-size: 16px; line-height: 1.55; color: var(--tv-ink-soft); }
.tv-lg-note strong { color: var(--tv-ink); font-weight: 500; }
.tv-lg-tw { max-width: 760px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 3px solid var(--tv-ink); background: var(--tv-paper); }
.tv-lg-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.tv-lg-table th { text-align: left; padding: 10px 14px; background: var(--tv-ink); color: var(--tv-on-ink); font-family: var(--tv-f-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tv-lg-table td { padding: 12px 14px; border-top: 1px dashed var(--tv-ink); color: var(--tv-ink); vertical-align: top; }
.tv-lg-table tr:first-child td { border-top: 0; }
.tv-lg-text ul { margin: 0 0 16px; padding-left: 22px; }
.tv-lg-text li { margin: 0 0 6px; }
.elementor-widget-heading.tv-lg-h3 + .elementor-widget-html { margin-top: -4px; }
.tv-lg-table td.tv-lg-ph { color: var(--tv-terra-text); font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .06em; }

/* ==========================================================================
   Cabecera · sobrecabecera con móvil (izq.) y email (dcha.)
   Va dentro de .tvh, así que se queda fija junto con la cabecera al bajar.
   ========================================================================== */
.tvh__top{background:var(--h-ink);border-bottom:1px solid rgba(255,255,255,.12)}
.tvh__top-in{max-width:1440px;margin:0 auto;padding:0 64px;min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.tvh__top-link{display:inline-flex;align-items:center;gap:8px;min-height:40px;font-family:"IBM Plex Mono",monospace;font-weight:600;font-size:12px;letter-spacing:.06em;color:var(--h-on);transition:color 150ms ease}
.tvh__top-link svg{flex:none;color:var(--h-sal)}
.tvh__top-lbl{text-transform:uppercase;letter-spacing:.1em;color:var(--h-soft)}
.tvh__top-link:hover,.tvh__top-link:hover .tvh__top-lbl{color:var(--h-sal)}
@media (max-width:1100px){
 .tvh__top-in{padding:0 40px}
 .tvh__mob{padding-top:150px}
}
@media (max-width:640px){
 .tvh__top-in{padding:0 20px;min-height:36px}
 .tvh__top-link{min-height:36px;font-size:11px;letter-spacing:.02em}
 .tvh__top-lbl{display:none}
 .tvh__mob{padding-top:132px}
}

/* ==========================================================================
   Sostenibilidad · Proceso en filas alternas (tv-rt)
   ========================================================================== */
.e-con.tv-rt { position: relative; gap: 0 !important; }
.e-con.tv-rt__row { position: relative; display: flex; align-items: stretch; gap: 0 !important; padding: 0 0 72px; }
.e-con.tv-rt__row:last-child { padding-bottom: 0; }
.e-con.tv-rt__media { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
.elementor-element.tv-rt__img { height: 100%; min-height: 380px; border: 3px solid var(--tv-on-ink); overflow: hidden; }
.elementor-element.tv-rt__img .elementor-widget-container, .elementor-element.tv-rt__img img { height: 100%; }
.elementor-element.tv-rt__img img { display: block; width: 100%; min-height: 374px; object-fit: cover; transition: transform 500ms var(--tv-ease); }
.e-con.tv-rt__row:hover .tv-rt__img img { transform: scale(1.03); }
.e-con.tv-rt__spine { position: relative; flex: 0 0 150px !important; width: 150px !important; align-items: center; }
.e-con.tv-rt__spine::before { content: ""; position: absolute; left: 50%; top: 112px; bottom: -72px; border-left: 3px dashed rgba(255,255,255,.28); transform: translateX(-50%); }
.e-con.tv-rt__row:last-child .tv-rt__spine::before { display: none; }
.elementor-element.tv-rt__n .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; font-size: 104px; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--tv-salmon); }
.e-con.tv-rt__body { flex: 0 0 38% !important; width: 38% !important; justify-content: center; gap: 18px !important; padding: 8px 0; }
.elementor-element.tv-rt__t .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 52px; line-height: .9; color: #FFFFFF; }
.elementor-element.tv-rt__d { font-size: 18px; line-height: 1.6; color: var(--tv-on-ink-soft); }
.tv-rt__d p { margin: 0; }
.tv-rt__ficha { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.tv-rt__ficha li { padding: 8px 12px; border: 2px solid rgba(255,255,255,.28); font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--tv-on-ink); }
.e-con.tv-rt__end { margin-top: 72px; padding-top: 32px !important; border-top: 3px solid var(--tv-salmon); }
.elementor-element.tv-rt__end-t .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: .95; color: #FFFFFF; }
@media (max-width: 1024px) {
  .e-con.tv-rt__row, .e-con.tv-rt__row.tv-rt__row--rev { flex-direction: column !important; padding-bottom: 56px; }
  .e-con.tv-rt__spine { flex: none !important; width: auto !important; align-items: flex-start; padding: 24px 0 8px !important; }
  .e-con.tv-rt__spine::before { display: none; }
  .e-con.tv-rt__body { flex: none !important; width: 100% !important; }
  .elementor-element.tv-rt__img, .elementor-element.tv-rt__img img { min-height: 280px; height: 280px; }
  .elementor-element.tv-rt__n .elementor-heading-title { font-size: 80px; }
  .elementor-element.tv-rt__t .elementor-heading-title { font-size: 44px; }
}
@media (max-width: 640px) {
  .elementor-element.tv-rt__img, .elementor-element.tv-rt__img img { min-height: 220px; height: 220px; }
  .elementor-element.tv-rt__t .elementor-heading-title { font-size: 38px; }
  .elementor-element.tv-rt__end-t .elementor-heading-title { font-size: 32px; }
}

/* ==========================================================================
   Contacto · datos con horario en tabla
   ========================================================================== */
.tv-datos__more { margin-top: 4px; font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-terra-text); }
.tv-datos > a:hover .tv-datos__val { color: var(--tv-terra-text); }
.tv-datos__lbl .tv-horario__now { margin-left: 10px; padding: 3px 8px; font-size: 11px; color: #FFFFFF; }
.tv-horario__now:empty { display: none; }
.tv-horario__now.is-open { background: #3F6B3A; }
.tv-horario__now.is-closed { background: var(--tv-terra); }
.tv-horario { width: 100%; margin: 10px 0 4px; border: 0; border-collapse: collapse; font-size: 17px; }
.tv-horario thead th { padding: 0 0 8px; text-align: left; font-family: var(--tv-f-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-ink-soft); }
.tv-horario tbody th, .tv-horario td { padding: 9px 0; text-align: left; }
.tv-horario tbody th { width: 34%; font-weight: 500; color: var(--tv-ink); }
.tv-horario td { font-variant-numeric: tabular-nums; color: var(--tv-ink-soft); }
.tv-horario th, .tv-horario td { border: 0 !important; }
.tv-horario tbody tr > *, .tv-horario tbody tr:nth-child(odd) > * { background: transparent; }
.tv-horario .tv-horario__off { color: var(--tv-terra-text); font-weight: 500; }
.tv-horario tr.is-today th, .tv-horario tr.is-today td { background: rgba(0,0,0,.05); color: var(--tv-ink); font-weight: 500; }
.tv-horario tr.is-today th { padding-left: 10px; }
.tv-datos__note { font-size: 15px; color: var(--tv-ink-soft); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .tv-horario { font-size: 15px; } .tv-horario tbody th { width: 30%; } }

/* Contacto · campos de foto: en móvil, el texto «Sin archivos seleccionados» debajo del botón */
.tv-cf7__file input[type="file"], .wpcf7 input[type="file"] { display: block; width: 100%; max-width: 100%; box-sizing: border-box; }
@media (max-width: 767px) {
  .tv-cf7__file input[type="file"], .wpcf7 input[type="file"] { white-space: normal; font-size: 14px; line-height: 1.4; }
  .tv-cf7__file input[type="file"]::file-.elementor-kit-69-button, .wpcf7 input[type="file"]::file-.elementor-kit-69-button { display: block; margin: 0 0 6px; }
  .tv-cf7__file input[type="file"]::-webkit-file-upload-button, .wpcf7 input[type="file"]::-webkit-file-upload-button { display: block; margin: 0 0 6px; }
  .tv-cf7__file .wpcf7-form-control-wrap { display: block; margin-bottom: 12px; }
}

/* Contacto · mapa: espacio entre la tarjeta de la nave y el mapa en tablet y móvil */
@media (max-width: 1024px) {
  .e-con.tv-mapa { --gap: 40px 40px; --row-gap: 40px; gap: 40px !important; }
  .e-con.tv-mapa > .elementor-element.tv-mapa__card-wrap { margin-bottom: 0 !important; }
  .e-con.tv-mapa > .elementor-element.tv-mapa__map { margin-top: 0 !important; }
}
@media (max-width: 767px) {
  .e-con.tv-mapa { --gap: 32px 32px; --row-gap: 32px; gap: 32px !important; }
}

/* Cabecera fija: sin hueco arriba en móvil con la barra de administración de WordPress
   (en pantallas < 600 px la barra de WP no es fija y se va al hacer scroll) */
@media (max-width: 782px) { body.admin-bar .tvh.is-stuck { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .tvh.is-stuck { top: 0; } }
.tvh.is-stuck { margin-top: 0 !important; }

/* Inicio · hero en móvil: ocupa la pantalla (100vh) y el contenido va centrado bajo la cabecera */
@media (max-width: 767px) {
  .e-con.tv-hero { --min-height: 100vh; min-height: 100vh !important; min-height: 100svh !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  .e-con.tv-hero > .e-con-inner { padding-top: 124px !important; padding-bottom: 28px !important; justify-content: center !important; }
  .e-con.tv-hero .e-con.tv-hero__content { flex-grow: 0 !important; justify-content: center !important; gap: 14px !important; }
  .e-con.tv-hero .elementor-element.tv-lead { font-size: 16px; line-height: 1.5; }
  .e-con.tv-hero .elementor-element.tv-stamp-wrap { order: -1; align-self: flex-end; width: 96px !important; max-width: 96px; margin: 0 0 4px !important; }
  .e-con.tv-hero .tv-stamp svg { width: 96px; height: 96px; }
}

/* Megamenú · los cuatro materiales en una cuadrícula 2 × 2 sin huecos */
.tvh__mats{gap:0 !important;grid-auto-rows:1fr;align-self:stretch;border:2px solid rgba(234,219,198,.18)}
.tvh__mats>li{display:flex;min-width:0}
.tvh__mats>li:nth-child(odd){border-right:2px solid rgba(234,219,198,.18)}
.tvh__mats>li:nth-child(-n+2){border-bottom:2px solid rgba(234,219,198,.18)}
.tvh__mat{flex:1 1 auto;border:0 !important;padding:12px;grid-template-columns:104px minmax(0,1fr);align-items:stretch}
.tvh__mat-img{height:auto;min-height:88px}
.tvh__mat-txt{justify-content:center}
.tvh__mat:hover,.tvh__mat:focus-visible{outline:2px solid var(--h-sal);outline-offset:-2px}

/* ==========================================================================
   Empresa · Cifras como contador de taller (fichas que giran)
   ========================================================================== */
.e-con.tv-cnt-sec { border-top: 8px solid var(--tv-terra); background-image: radial-gradient(rgba(234,219,198,.06) 1px, transparent 1px) !important; background-size: 18px 18px !important; }
.elementor-element.tv-cnt-h .elementor-heading-title { font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 64px; line-height: .9; color: #FFFFFF; }
.tv-cnt { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; }
.tv-cnt__cell { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 3px solid var(--tv-salmon); }
.tv-cnt__tiles { display: flex; gap: 6px; perspective: 400px; }
.tv-cnt__t { --w: 84px; --hgt: 116px; position: relative; display: flex; align-items: center; justify-content: center; width: var(--w); height: var(--hgt); background: linear-gradient(180deg, #2C221C 0 50%, #251C17 50% 100%); border-radius: 6px; box-shadow: inset 0 0 0 2px rgba(234,219,198,.12), 0 8px 0 rgba(0,0,0,.35); }
.tv-cnt__t b { font-family: var(--tv-f-cond); font-weight: 800; font-size: calc(var(--hgt) * .83); line-height: 1; color: #F4E3D2; font-variant-numeric: tabular-nums; }
.tv-cnt__t::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--tv-ink); box-shadow: 0 1px 0 rgba(234,219,198,.08); }
.tv-cnt__t::before { content: ""; position: absolute; left: -3px; top: 50%; width: 6px; height: 12px; margin-top: -6px; background: var(--tv-terra); border-radius: 2px; box-shadow: calc(var(--w) - 3px) 0 0 var(--tv-terra); z-index: 1; }
.tv-cnt__t--sign { --w: 56px; }
.tv-cnt__t--sign b { color: var(--tv-salmon); }
.tv-cnt__cell:first-child .tv-cnt__t { background: linear-gradient(180deg, #A8574F 0 50%, var(--tv-terra) 50% 100%); }
.tv-cnt__cell:first-child .tv-cnt__t b { color: #FFFFFF; }
.tv-cnt__cell:first-child .tv-cnt__t--sign b { color: #F4E3D2; }
.tv-cnt__cell:first-child .tv-cnt__t::before { background: var(--tv-ink); box-shadow: calc(var(--w) - 3px) 0 0 var(--tv-ink); }
.tv-cnt__t.is-flip { animation: tvCntFlip 110ms ease-in-out; }
@keyframes tvCntFlip { 0% { transform: rotateX(0); } 50% { transform: rotateX(80deg); filter: brightness(.7); } 100% { transform: rotateX(0); } }
.tv-cnt__l { margin-top: 8px; font-family: var(--tv-f-cond); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; color: #FFFFFF; }
.tv-cnt__d { font-family: var(--tv-f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-on-ink-soft); }
@media (max-width: 1024px) { .tv-cnt { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 48px; } .elementor-element.tv-cnt-h .elementor-heading-title { font-size: 52px; } }
@media (max-width: 640px) { .tv-cnt { gap: 40px 16px; } .tv-cnt__t { --w: 50px; --hgt: 70px; } .tv-cnt__t--sign { --w: 34px; } .tv-cnt__l { font-size: 22px; } .tv-cnt__d { font-size: 11px; } .elementor-element.tv-cnt-h .elementor-heading-title { font-size: 40px; } }
@media (prefers-reduced-motion: reduce) { .tv-cnt__t.is-flip { animation: none; } }

/* ==========================================================================
   Tejas · galería de fotos (26) con lightbox de Elementor y «ver más»
   ========================================================================== */
.tv-pgal { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 1fr; gap: 4px; grid-auto-flow: dense; }
.tv-pgal__it { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #2A221C; }
.tv-pgal__it:nth-child(1), .tv-pgal__it:nth-child(14) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tv-pgal__it img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform 500ms var(--tv-ease), filter 300ms ease; }
.tv-pgal__it::after { content: "+"; position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--tv-salmon); color: var(--tv-ink); font-family: var(--tv-f-mono); font-weight: 600; font-size: 22px; opacity: 0; transform: translateY(6px); transition: opacity 200ms ease, transform 200ms ease; }
.tv-pgal__it:hover img, .tv-pgal__it:focus-visible img { transform: scale(1.05); filter: brightness(1.05); }
.tv-pgal__it:hover::after, .tv-pgal__it:focus-visible::after { opacity: 1; transform: none; }
.tv-pgal__it:focus-visible { outline: 3px solid var(--tv-salmon); outline-offset: -3px; }
.tv-pgal.is-collapsed .is-more { display: none; }
.tv-pgal__more { display: flex; justify-content: center; margin-top: 32px; }
.tv-pgal__btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; background: transparent; border: 2px solid var(--tv-salmon); border-radius: 0; color: var(--tv-salmon); font-family: var(--tv-f-mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.tv-pgal__btn:hover, .tv-pgal__btn:focus-visible { background: var(--tv-salmon); color: var(--tv-ink); }
@media (max-width: 1024px) { .tv-pgal { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 767px) { .tv-pgal { grid-template-columns: repeat(2, minmax(0,1fr)); } .tv-pgal__it::after { display: none; } }/* End custom CSS */