/* Local font files avoid a third-party stylesheet on the critical render path.
   The latin subsets include the Spanish and Portuguese characters used here.
   Original font licenses are preserved in assets/fonts. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-700-latin.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --ground: #1b1c1a;
  --black: #111310;
  --line: #3d3e37;
  --white: #f6f3eb;
  --muted: #babbb2;
  --yellow: #ffbf24;
  font-family: Inter, Arial, sans-serif;
  background: var(--ground);
  color: var(--white);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
.site-header { position: relative; z-index: 10; background: #fff; color: #252621; }
.navigation {
  height: 104px;
  max-width: 1600px;
  margin: auto;
  padding: 0 clamp(24px, 5vw, 88px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  font-size: .86rem;
  font-weight: 600;
}
.home-link { justify-self: start; }
.nav-right { display: flex; align-items: center; justify-content: end; gap: clamp(16px, 2vw, 28px); }
.navigation a:not(.brand):hover { color: #8d6200; }
/* Frame the supplied logo's white artwork area, preserving the original file. */
.brand { display: block; position: relative; width: 290px; aspect-ratio: 1805 / 416; overflow: hidden; }
.brand img { position: absolute; width: 110.803%; max-width: none; height: auto; left: -8.033%; top: -151.202%; }
.language { display: flex; gap: 4px; }
.language button { border: 0; border-bottom: 2px solid transparent; background: transparent; color: #73746a; min-height: 44px; min-width: 38px; padding: 0 8px; cursor: pointer; font-size: .74rem; font-weight: 700; }
.language button[aria-pressed="true"] { border-color: var(--yellow); color: #252621; }
.hero { background: #ac7249; }
.hero picture { display: block; }
.hero img { width: 100%; height: auto; }

.fleet { width: min(100% - 64px, 1640px); margin: auto; padding: 96px 0; scroll-margin-top: 28px; }
.machine {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(36px, 5vw, 88px);
}
.machine + .machine { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.machine-profile { min-width: 0; }
.machine-visual { margin: 0 0 30px -16px; }
.machine-visual img { width: 100%; height: clamp(300px, 28vw, 470px); object-fit: contain; object-position: left bottom; filter: drop-shadow(0 20px 22px #0005); }
.machine-copy { max-width: 560px; padding-left: 12px; }
.model { margin: 0 0 14px; color: var(--yellow); font-size: .78rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.machine h3 { font-family: "Barlow Condensed", Impact, sans-serif; font-size: clamp(2.7rem, 4.1vw, 4.5rem); line-height: 1; font-weight: 700; margin: 0 0 22px; }
.machine-lead { max-width: 29ch; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.4; margin: 0 0 18px; font-weight: 500; }
.description { color: var(--muted); line-height: 1.8; font-size: .9rem; margin: 0; max-width: 49ch; }
.services { list-style: none; padding: 0; margin: 25px 0 0; border-top: 1px solid var(--line); }
.services li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .8rem; color: #d7d8ce; }
.services li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--yellow); vertical-align: middle; margin-right: 12px; }

.work-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; min-width: 0; align-self: center; }
.work-photo { margin: 0; min-width: 0; }
.work-photo:nth-child(2) { margin-top: 72px; }
.work-photo img { width: 100%; height: auto; aspect-ratio: 1122 / 1402; object-fit: contain; border-radius: 18px; }
.work-photo figcaption { margin-top: 12px; color: #d7d8ce; font-size: .78rem; line-height: 1.5; }
.machine--mini { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); }
.machine--mini .machine-profile { grid-column: 2; grid-row: 1; }
.machine--mini .work-gallery { grid-column: 1; grid-row: 1; }
.machine--mini .machine-visual { margin: 0 -12px 30px 0; }
.machine--mini .machine-visual img { object-position: right bottom; height: clamp(360px, 32vw, 540px); }
.machine--mini .machine-copy { margin-left: auto; padding-left: 0; padding-right: 12px; }

.site-footer { padding: 30px 24px; border-top: 1px solid var(--line); text-align: center; font-size: .8rem; color: var(--muted); }
.site-footer a:hover { color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 701px) and (min-aspect-ratio: 8/5) {
  .hero img { height: calc(100svh - 104px); min-height: max(420px, 44vw); object-fit: cover; object-position: center 58%; }
}
@media (max-width: 1050px) {
  .navigation { gap: 20px; }
  .brand { width: 250px; }
  .fleet { width: calc(100% - 48px); padding: 64px 0; }
  .machine { gap: 32px; }
  .machine-copy { padding-left: 0; }
  .work-gallery { gap: 24px 14px; }
  .work-photo img { border-radius: 14px; }
}
@media (max-width: 900px) {
  .machine, .machine--mini { grid-template-columns: 1fr; gap: 44px; }
  .machine-profile { max-width: 660px; width: 100%; margin: auto; }
  .machine-visual { margin-left: 0; }
  .machine-visual img { height: auto; max-height: 440px; object-position: center; }
  .machine--mini .machine-visual { margin-right: 0; }
  .machine--mini .machine-visual img { height: 470px; object-position: center; }
  .machine-copy, .machine--mini .machine-copy { max-width: none; padding: 0; }
  .machine--mini .machine-profile, .machine--mini .work-gallery { grid-column: auto; grid-row: auto; }
  .work-photo:nth-child(2) { margin-top: 32px; }
  .machine + .machine { margin-top: 64px; padding-top: 64px; }
}
@media (max-width: 700px) {
  .navigation { height: 132px; grid-template-columns: 1fr auto; gap: 0 20px; padding: 12px 24px 6px; }
  .brand { grid-row: 1; grid-column: 1 / -1; justify-self: center; width: 242px; }
  .home-link { padding: 12px 0; }
  .nav-right { gap: 22px; }
  .hero img { width: 100%; height: auto; }
  .fleet { width: calc(100% - 40px); padding: 48px 0 60px; }
  .machine { gap: 32px; }
  .machine-visual { margin-bottom: 28px; }
  .machine--mini .machine-visual img { max-height: 480px; height: auto; }
  .machine h3 { font-size: clamp(2.2rem, 10.5vw, 4rem); margin-bottom: 20px; }
  .work-gallery { gap: 20px 12px; }
  .work-photo figcaption { margin-top: 9px; font-size: .73rem; }
  .work-photo img { border-radius: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.content-width { width: min(100% - 80px, 1320px); margin-inline: auto; }
.nav-left { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.mobile-menu { display: none; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px 18px; background: var(--yellow); color: var(--black); z-index: 100; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
section[id], h3[id] { scroll-margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 22px; border-radius: 8px; font-size: .9rem; font-weight: 700; line-height: 1.45; text-align: center; }
.button-yellow { color: var(--black); background: var(--yellow); }
.button-yellow:hover { background: #ffd364; }
.button-dark { color: #fff; background: #171b16; }
.button-dark:hover { background: #30362e; }
.service-intro { padding-top: 78px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px 76px; }
h1, .section-title { font-family: "Barlow Condensed", Impact, sans-serif; font-size: clamp(2.6rem, 4.8vw, 4.6rem); line-height: 1.03; font-weight: 700; margin: 0; text-wrap: balance; }
.intro-copy > p:first-child { color: var(--muted); font-size: 1rem; line-height: 1.8; margin: 0 0 24px; }
.contact-hint { margin: 13px 0 0; font-size: .78rem; color: var(--muted); }
.service-options { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 28px 0; border-block: 1px solid var(--line); margin-top: 8px; }
.service-options a { display: flex; align-items: center; line-height: 1.6; font-size: .84rem; padding-right: 16px; }
.service-options a:hover { color: var(--yellow); }
.machine-contact {
  --attention-color: #ffbf2438;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 430px;
  min-height: 64px;
  margin-top: 28px;
  padding: 18px 24px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 6px 20px #0003;
}
.machine-contact:hover { background: #ffd364; }
.about-section { padding: 92px 0; background: #eeeee5; color: #252821; }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.about-section .model { color: #846000; }
.about-copy > p { line-height: 1.85; font-size: .98rem; margin: 0 0 22px; color: #4f554b; }
.company-facts { margin: 30px 0 0; }
.company-facts div { padding: 20px 0; border-top: 1px solid #c9ccbf; }
.company-facts dt { font-size: .78rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.company-facts dd { margin: 0; font-size: .9rem; line-height: 1.65; color: #4f554b; }
.questions { padding-block: 88px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.question-list details { border-bottom: 1px solid var(--line); padding: 21px 0; }
.question-list details:first-child { padding-top: 0; }
.question-list summary { cursor: pointer; font-weight: 500; font-size: .95rem; line-height: 1.6; padding-right: 12px; }
.question-list p { color: var(--muted); line-height: 1.8; font-size: .9rem; margin-bottom: 0; }
.contact-section { background: var(--yellow); color: #252821; padding: 78px 0; }
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 80px; }
.contact-section .model { color: #554317; }
.contact-section .section-title { max-width: 16ch; }
.contact-layout > div > p:last-child { max-width: 52ch; font-size: .96rem; line-height: 1.8; margin-bottom: 0; }
.contact-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 18px; }
.contact-actions p { margin: 0; font-size: .78rem; }
.phone-link { font-size: clamp(1.25rem, 2.5vw, 1.8rem); font-weight: 600; }
.phone-link:hover { text-decoration: underline; }
.site-footer { padding: 46px 0 24px; text-align: left; }
.footer-main { display: flex; justify-content: space-between; gap: 32px; line-height: 1.8; }
.footer-main p { margin: 8px 0; }
.footer-brand { font-size: 1.1rem; color: var(--white); font-weight: 700; }
.privacy { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .76rem; line-height: 1.8; }
.privacy summary { cursor: pointer; width: fit-content; padding: 8px 0; }
.privacy p { max-width: 95ch; }
.privacy a { text-decoration: underline; text-underline-offset: 3px; }
.copyright { text-align: center; font-size: .72rem; margin: 28px 0 0; padding-bottom: 36px; }
.whatsapp-float { --attention-color: #25d36638; position: fixed; bottom: 24px; right: 24px; z-index: 30; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; padding: 15px; border-radius: 50%; background: #126944; color: #fff; box-shadow: 0 6px 20px #0004; }
.whatsapp-float svg { display: block; width: 100%; height: 100%; }
.whatsapp-float:hover { background: #0a5635; }
@keyframes contact-attention {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 20px #0003, 0 0 0 0 transparent; }
  50% { transform: scale(1.025); box-shadow: 0 8px 24px #0004, 0 0 0 10px var(--attention-color); }
}
@media (prefers-reduced-motion: no-preference) {
  .machine-contact, .whatsapp-float { animation: contact-attention 2.6s ease-in-out infinite; }
  .machine-contact:hover, .machine-contact:focus-visible,
  .whatsapp-float:hover, .whatsapp-float:focus-visible { animation-play-state: paused; }
}
@media (max-width: 1050px) {
  .navigation { padding-inline: 24px; }
  .nav-left, .nav-right { gap: 16px; font-size: .8rem; }
  .brand { width: 235px; }
  .content-width { width: calc(100% - 48px); }
  .service-intro, .about-layout, .questions, .contact-layout { column-gap: 36px; }
}
@media (max-width: 800px) {
  .service-intro, .about-layout, .questions, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .service-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section, .questions { padding-block: 60px; }
  .contact-section { padding: 60px 0; }
}
@media (max-width: 900px) {
  .navigation { height: 132px; grid-template-columns: 1fr auto; gap: 0 20px; padding: 12px 20px 6px; }
  .brand { grid-row: 1; grid-column: 1 / -1; justify-self: center; }
  .nav-left, .desktop-link { display: none; }
  .nav-right { grid-row: 2; grid-column: 2; }
  .mobile-menu { display: block; grid-row: 2; grid-column: 1; }
  .mobile-menu summary { cursor: pointer; padding: 12px 0; width: fit-content; }
  .mobile-menu-links { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #e4e4df; border-bottom: 3px solid var(--yellow); padding: 12px 20px; box-shadow: 0 12px 16px #0001; }
  .mobile-menu-links a { display: block; padding: 12px 4px; }
  .content-width { width: calc(100% - 40px); }
  .service-intro { padding-top: 48px; }
  .service-options { gap: 18px; margin-top: 0; padding-block: 22px; }
  .service-options a { font-size: .79rem; padding-right: 0; }
  .footer-main { flex-direction: column; gap: 20px; }
  .copyright { padding-bottom: 52px; }
  .whatsapp-float { bottom: 18px; right: 18px; width: 64px; height: 64px; padding: 12px; }
}
