@font-face {
  font-family: Taller Manrope;
  src: url('/assets/fonts/manrope-400.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Taller Manrope;
  src: url('/assets/fonts/manrope-600.ttf') format('truetype');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: Taller Barlow;
  src: url('/assets/fonts/barlow-condensed-500.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

:root {
  --tinta: #172421;
  --bosque: #193c36;
  --marfil: #f5f3ee;
  --borde: #cbd1c6;
  --texto: #42544e;
  --cobre: #ff8245;
  --display: 'Taller Barlow', 'Arial Narrow', sans-serif;
  --lectura: 'Taller Manrope', Arial, sans-serif;
}
:is(body.industrial-theme.inner-page, .inside-presentation, .inside-tracking, .inside-local) {
  color-scheme: light;
  font-family: var(--lectura);
  color: var(--tinta);
  background: var(--marfil);
  -webkit-font-smoothing: antialiased;
}
:is(.inner-page, .inside-presentation, .inside-local, .inside-tracking) :focus-visible {
  outline: 3px solid #137f6a;
  outline-offset: 4px;
}
:is(.inner-page, .inside-presentation) [id] { scroll-margin-top: 95px; }
.inside-skip { position: absolute; inset: 0 auto auto 1rem; z-index: 100; transform: translateY(-120%); background: white; color: var(--bosque); padding: 12px; }
.inside-skip:focus { transform: none; }

body.industrial-theme.inner-page {
  --line: var(--borde);
  --dark: var(--tinta);
  --muted: var(--texto);
  --accent: var(--cobre);
  --ink: var(--tinta);
}
.industrial-theme.inner-page .workshop-atmosphere,
.industrial-theme.inner-page::before,
.industrial-theme.inner-page::after { display: none; }
.industrial-theme.inner-page :is(.header, .header.is-scrolled) {
  background: #fff;
  color: var(--tinta);
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--borde);
  box-shadow: none;
  backdrop-filter: none;
  position: sticky;
  top: 0;
}
.industrial-theme.inner-page .nav-shell {
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  min-height: 72px;
  padding-block: 8px;
  backdrop-filter: none;
}
.industrial-theme.inner-page .brand img { filter: none; }
.industrial-theme.inner-page .nav-shell > .brand { width: 142px; }
.industrial-theme.inner-page #navigation { background: #fff; }
.industrial-theme.inner-page #navigation > a { color: var(--tinta); font-family: var(--lectura); }
.industrial-theme.inner-page #navigation > [aria-current=page] { color: var(--bosque); text-decoration-color: #c95525; }
.industrial-theme.inner-page #navigation > .admin-nav {
  color: var(--texto) !important;
  background: #f3f4ef;
  border-color: var(--borde);
}
.industrial-theme.inner-page :is(#navigation .quote-cta, .quote-cta, .emergency-front-inner > .emergency-whatsapp) {
  color: var(--tinta) !important;
  background: var(--cobre);
  border: 1px solid #e8783e;
  border-radius: 4px;
  box-shadow: none;
}
.industrial-theme.inner-page :is(.quote-cta, .emergency-whatsapp)::before,
.industrial-theme.inner-page :is(.quote-cta, .emergency-whatsapp)::after { display: none; }
.industrial-theme.inner-page :is(#navigation .quote-cta, .quote-cta, .emergency-front-inner > .emergency-whatsapp):hover { background: #ff9a66; }
.industrial-theme.inner-page .menu-toggle { background: #eff1eb; color: var(--tinta); border: 1px solid var(--borde); }
.industrial-theme.inner-page .menu-toggle span { background: var(--bosque); }
.industrial-theme.inner-page .page-breadcrumb { color: var(--texto); font-size: 13px; padding-block: 22px 0; }
.industrial-theme.inner-page .page-breadcrumb a { color: var(--bosque); }
.industrial-theme.inner-page main > .section:first-of-type { padding-top: 25px; }
.industrial-theme.inner-page :is(.capacity, .gallery-section, .process, .mining-parts) { background: transparent; color: var(--tinta); }
.industrial-theme.inner-page :is(.capacity,.gallery-section,.process)::before { display: none; }
.industrial-theme.inner-page .inside-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0,.86fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  margin: 0 0 clamp(40px,6vw,86px);
  min-width: 0;
}
.industrial-theme.inner-page .inside-intro-copy { min-width: 0; }
.industrial-theme.inner-page .inside-intro-copy h1 {
  color: var(--tinta);
  font: 500 clamp(3.25rem,6.3vw,6.4rem)/.98 var(--display);
  letter-spacing: -.024em;
  margin: 14px 0 22px;
  text-wrap: balance;
}
.industrial-theme.inner-page .inside-intro-copy > p:not(.eyebrow) {
  font: 400 clamp(.99rem,1.3vw,1.14rem)/1.65 var(--lectura);
  color: var(--texto); max-width: 54ch; margin: 0;
}
.industrial-theme.inner-page .inside-intro figure { position: relative; isolation: isolate; margin: 0; border-radius: 6px; overflow: hidden; }
.industrial-theme.inner-page .inside-intro figure img { display: block; width: 100%; height: clamp(270px,26vw,390px); object-fit: cover; }
.industrial-theme.inner-page #capacidad .inside-intro figure img { object-fit: contain; background: #e6eae2; }
.industrial-theme.inner-page .inside-intro figcaption {
  position: absolute; left: 14px; right: auto; bottom: 14px; padding: 6px 10px;
  color: #fff; background: #193c36f5; font: 600 .72rem/1.4 var(--lectura); border-radius: 2px;
}
.inside-jumps { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 26px; }
.industrial-theme.inner-page .inside-jumps a {
  display: inline-flex; align-items: center; gap: 14px; min-height: 46px;
  color: var(--bosque); font: 600 .9rem/1.4 var(--lectura); text-decoration: underline; text-underline-offset: 5px;
}
.industrial-theme.inner-page .inside-jumps a:first-child {
  padding: 10px 20px; background: var(--bosque); color: white; border-radius: 4px; text-decoration: none;
}
.industrial-theme.inner-page .inside-jumps a:first-child:hover { background: #26574e; }
.industrial-theme.inner-page :is(.section-top h2, .commercial-section h2, .materials h3, .presentation-copy h2, .page-quote-cta h2) {
  font: 500 clamp(2.3rem,4.7vw,4.4rem)/1.04 var(--display);
  color: inherit; letter-spacing: -.015em; text-shadow: none; text-wrap: balance;
}
.industrial-theme.inner-page :is(.eyebrow, .commercial-section .eyebrow, .machine-type, .service-number) {
  color: #315f51; font: 600 .7rem/1.5 var(--lectura); letter-spacing: .12em; text-transform: uppercase;
}
.industrial-theme.inner-page :is(.section-top>p, .commercial-heading>p, .catalog-note, .capacity-footnote, .materials>div>p, .presentation-copy>p, .process-grid li p) {
  color: var(--texto); text-shadow: none; line-height: 1.65;
}
.industrial-theme.inner-page :is(.service, .service:first-child, .part-option, .machine-card, .applications-grid article, .material-groups>div, .process-grid li, .buyer-faq details) {
  border: 1px solid var(--borde); background: #fff; color: var(--tinta); border-radius: 5px; box-shadow: none; backdrop-filter: none;
}
.industrial-theme.inner-page :is(.service, .part-option, .applications-grid article, .process-grid li) { padding: clamp(20px,2.2vw,34px); }
.industrial-theme.inner-page :is(.service, .machine-card, .applications-grid article, .material-groups>div, .featured-machine)::after { display: none; }
.industrial-theme.inner-page :is(.service, .part-option, .applications-grid article, .machine-card, .material-groups>div, .process-grid li) :is(h3,h4,dd) { color: var(--tinta); }
.industrial-theme.inner-page :is(.service, .part-option, .applications-grid article, .machine-card, .material-groups>div, .buyer-faq details) p { color: var(--texto); }
.industrial-theme.inner-page :is(.part-option > span, .part-option a, .catalog-note a, .buyer-faq a, .buyer-faq summary, .materials h4, .materials .eyebrow, .applications-grid article > span, .process-grid li > span, .text-link, .service-tag) { color: #285647; }
.industrial-theme.inner-page :is(.service-tag, .machine-label, .axis-badge) { background: #e4eee6; color: #244e43; border-color: #bdd2c4; }
.industrial-theme.inner-page :is(.teranet-presentation, .featured-machine, .axis-note, .page-quote-cta) {
  background: var(--bosque); color: white; border: 0; border-radius: 8px; box-shadow: none; backdrop-filter: none;
}
.industrial-theme.inner-page :is(.teranet-presentation, .featured-machine, .axis-note, .page-quote-cta) :is(h2,h3) { color: white; }
.industrial-theme.inner-page :is(.teranet-presentation, .featured-machine, .axis-note, .page-quote-cta) :is(p,dt) { color: #d2e0d8; }
.industrial-theme.inner-page :is(.teranet-presentation, .featured-machine, .axis-note, .page-quote-cta) :is(.eyebrow, .text-link, a:not(.button)) { color: #ffb38c; }
.industrial-theme.inner-page .featured-specs dd { color: white; }
.industrial-theme.inner-page .machine-details summary { color: var(--bosque); }
.industrial-theme.inner-page .machine-specs dt { color: var(--texto); }
.industrial-theme.inner-page :is(.machine-card-photo,.machine-photo) { background: #e6eae2; }
.industrial-theme.inner-page .work-explorer { color: var(--tinta); border-block: 1px solid var(--borde); padding-block: 15px; }
.industrial-theme.inner-page .work-explorer :is(span,output) { color: var(--texto); }
.industrial-theme.inner-page .work-explorer button { background: white; border: 1px solid var(--borde); color: var(--bosque); min-height: 44px; }
.industrial-theme.inner-page .work-explorer button[aria-pressed="true"] { background: var(--bosque); color: white; border-color: var(--bosque); }
.industrial-theme.inner-page #work-library { margin-bottom: 44px; }
.industrial-theme.inner-page .library-item { border-color: var(--borde); background: var(--bosque); }
.industrial-theme.inner-page .page-navigation > a { background: white; color: var(--tinta); border-color: var(--borde); border-radius: 4px; }
.industrial-theme.inner-page .page-navigation > a > span { font: 600 .72rem/1.4 var(--lectura); color: var(--texto); background: none; -webkit-text-fill-color: currentColor; }
.industrial-theme.inner-page .page-navigation > a > strong { color: var(--bosque); }
.industrial-theme.inner-page .emergency-front { background: #e8ebe2; color: var(--tinta); border: 0; margin-bottom: 24px; }
.industrial-theme.inner-page .emergency-front :is(span,strong,.emergency-front-more) { color: var(--bosque); }
.industrial-theme.inner-page :is(footer,.utility) { background: var(--tinta); color: #e7eee9; }
.industrial-theme.inner-page .utility { border-block: 0 1px solid #45544d; }
.industrial-theme.inner-page footer :is(p,a,span) { color: #e2eae3; }
.industrial-theme.inner-page .privacy-disclosure,
.industrial-theme.inner-page .privacy-disclosure button { color: var(--texto); }

@media(max-width:740px) {
  .industrial-theme.inner-page .inside-intro { grid-template-columns: 1fr; gap: 22px; }
  .industrial-theme.inner-page .inside-intro figure img { height: clamp(160px,44vw,275px); }
  .industrial-theme.inner-page .page-breadcrumb { padding-top: 14px; }
  .industrial-theme.inner-page .inside-intro-copy h1 { margin: 8px 0 12px; }
  .industrial-theme.inner-page .inside-jumps { margin-top: 15px; }
  .industrial-theme.inner-page .inside-intro { margin-bottom: 32px; }
  .industrial-theme.inner-page .nav-shell { min-height: 64px; }
}

/* La presentación conserva su composición para imprimir. */
@media screen {
  .inside-presentation { --ink: var(--tinta); --blue: #2a594b; --orange: #ac491e; --line: var(--borde); }
  .inside-presentation :is(h1,h2) { font-family: var(--display); font-weight: 500; line-height: .97; letter-spacing: -.025em; }
  .inside-presentation .hero figure img, .inside-presentation .gallery img { border-radius: 5px; }
  .inside-presentation :is(.equipment,.contact) { background: #e9ede5; }
  .inside-presentation .button { background: var(--bosque); color: #fff; }
  .inside-presentation p, .inside-presentation figcaption { color: var(--texto); }
  .inside-presentation .back { color: var(--bosque); font-weight: 600; padding-block: 12px; }
  .inside-presentation-nav { display: flex; flex-wrap: wrap; column-gap: clamp(18px,4vw,46px); border-block: 1px solid var(--borde); }
  .inside-presentation-nav a { font-weight: 600; color: var(--bosque); padding-block: 15px; }
}
@media print { .inside-presentation-nav { display: none; } }

.tracking-masthead {
  box-sizing: border-box; padding: 10px max(5%, calc((100% - 1140px)/2));
  min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  border-bottom: 1px solid var(--borde); color: var(--tinta); background: white;
}
.tracking-masthead img { display: block; object-fit: contain; }
.tracking-masthead a { color: var(--bosque); font: 600 .86rem/1.4 var(--lectura); text-underline-offset: 4px; }
.inside-local main { background: white; width: min(100%, 940px); margin: 36px auto; padding: clamp(20px,5vw,70px); border-block: 1px solid var(--borde); }
.inside-local main :is(h1,h2) { color: var(--bosque); font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1.02; }
.inside-local main h1 { font-size: clamp(3.4rem,7vw,6rem); }
.inside-local main h2 { font-size: clamp(2.15rem,4.2vw,3.1rem); }
.inside-local main p, .inside-local main li, .inside-local main td { color: var(--texto); }
.inside-local main .actions { align-items: center; }
.inside-local main .seo-quote-glow { background: var(--cobre); color: var(--tinta); border: 0; box-shadow: none; }
.inside-local main .seo-quote-glow::before { display: none; }
.inside-local main > p:first-child { font-size: .74rem; font-weight: 600; letter-spacing: .12em; }
.inside-tracking { --line: var(--borde); --muted: var(--texto); }
.inside-tracking .tracking-page { margin: clamp(26px,5vw,65px) auto; }
.inside-tracking .tracking-card { margin: 0; padding: clamp(22px,4.3vw,50px); background: white; color: var(--tinta); border: 1px solid var(--borde); border-top: 4px solid var(--bosque); border-radius: 6px; box-shadow: none; }
.inside-tracking .tracking-card h1 { font: 500 clamp(3rem,5.8vw,5.25rem)/.99 var(--display); margin: 12px 0 22px; color: var(--tinta); }
.inside-tracking :is(.eyebrow,a,.link-btn,.tracking-card summary) { color: var(--bosque); }
.inside-tracking :is(.muted,.footnote) { color: var(--texto); }
.inside-tracking input { background: #fcfcf9; color: var(--tinta); border-color: #8c9b90; min-height: 46px; }
.inside-tracking input::placeholder { color: #53655a; }
.inside-tracking .btn { background: var(--bosque); color: white; border-color: var(--bosque); min-height: 44px; }
.inside-tracking .btn.primary { background: var(--cobre); color: var(--tinta); border-color: #e77a40; }
.inside-tracking .notice { background: #fff1dd; color: #62421b; border-color: #debd8c; }
.inside-tracking .customer-order { background: #f5f6f0; color: var(--tinta); border-color: var(--borde); }
.inside-tracking .customer-order :is(h3,strong) { color: var(--tinta); }
.inside-tracking #responses article { background: #edf2ea; color: var(--tinta); }
.inside-tracking .tracking-feedback:not(:empty) { background: #edf2ea; color: var(--tinta); padding: 12px; }
@media(max-width:560px) {
  .tracking-masthead img { width: 115px; height: auto; }
  .inside-tracking .tracking-page { padding: 0 16px; }
  .inside-local main { margin-block: 0; }
}
@media (prefers-reduced-motion:reduce) {
  :is(.inner-page,.inside-presentation,.inside-local,.inside-tracking) *, :is(.inner-page,.inside-presentation,.inside-local,.inside-tracking) *::before { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

.industrial-theme.inner-page #servicios { padding-top: clamp(24px, 3.8vw, 56px); }
.industrial-theme.inner-page .services-grid {
  grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr));
  grid-template-rows: auto;
}
.industrial-theme.inner-page .services-grid .service {
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
  grid-row: auto; min-height: 0; padding: clamp(22px,2.4vw,36px);
}
.industrial-theme.inner-page .services-grid .service::before { display: none; }
.industrial-theme.inner-page .services-grid .service h3,
.industrial-theme.inner-page .part-option h3 {
  font: 500 clamp(1.55rem,2vw,2rem)/1.1 var(--display);
  margin: 18px 0 12px;
}
.industrial-theme.inner-page .services-grid .service p { margin: 0 0 20px; }
.industrial-theme.inner-page .services-grid .service-tag { margin-top: auto; }
.industrial-theme.inner-page #navigation > a[aria-current="page"] {
  background: #e5eee7; border-color: transparent; box-shadow: none;
  text-decoration: underline; text-decoration-color: #315d50;
}

@media (max-width:1200px) {
  .browse-header #navigation.open {
    gap: 2px;
    padding: 8px 14px;
    max-height: calc(100vh - 74px);
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .browse-header #navigation.open > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    flex-shrink: 0;
    padding: 8px 12px;
  }
}
