@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

:root {
  --ink: #172d3b;
  --body: #3f544d;
  --muted: #4f6359;
  --accent: #416232;
  --lime: #e0f1b7;
  --paper: #f4f7ef;
  --line: #d8e1d5;
  --heading: Montserrat, Arial, sans-serif;
  --text: Montserrat, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--body); font: 400 1rem/1.6 var(--text); background: #fff; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--heading); font-weight: 700; line-height: 1.1; letter-spacing: -.052em; }
h2 { font-size: clamp(2.4rem, 4.4vw, 4.25rem); }
h3 { font-size: clamp(1.28rem, 1.8vw, 1.65rem); letter-spacing: -.042em; }
main [id], footer { scroll-margin-top: 1.25rem; }
.wrap { width: min(1320px, calc(100% - 6rem)); margin-inline: auto; }
:focus-visible { outline: 3px solid #648636; outline-offset: 4px; }
.skip { position: absolute; top: .5rem; left: .5rem; background: var(--lime); padding: .5rem; z-index: 10; transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { background: #102b3b; color: #fff; }
.nav { min-height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 1.45rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand img { width: 118px; height: auto; object-fit: contain; }
nav { display: flex; flex-wrap: wrap; gap: .5rem clamp(1rem, 2.7vw, 2.35rem); font-size: .91rem; font-weight: 600; }
nav a:hover { color: #d7efa8; }
nav a, .card a, .plain-link, .footer-link { text-decoration: none; }
nav a:hover, .card a:hover, .plain-link:hover, .footer-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.3rem; border: 1px solid transparent; border-radius: 100px; text-decoration: none; font: 700 .94rem/1.2 var(--text); cursor: pointer; transition: background-color .2s, border-color .2s; white-space: nowrap; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #2d5141; }
.nav-cta { background: #deefb8; color: #102b3b; }
.nav-cta:hover { background: #e9f6ce; }
.whatsapp-icon { flex: 0 0 auto; width: 1.18em; height: 1.18em; margin-inline-end: .48em; }
.button-lime { background: var(--lime); color: var(--ink); border-color: #cde49b; }
.button-lime:hover { background: #d1e9a0; }
.button-outline { background: transparent; color: var(--ink); border-color: #aebdb0; }
.button-outline:hover { background: #edf2e8; border-color: #8da28f; }

.hero { background: radial-gradient(ellipse at 90% 0%, #e1edcb 0%, transparent 65%), linear-gradient(115deg, #fbfaf6 12%, #eef3e5 100%); padding-block: clamp(3.25rem, 5.8vw, 6.1rem); }
.hero-layout { display: grid; grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr); align-items: center; gap: clamp(1.8rem, 4.25vw, 4.6rem); }
.eyebrow { margin-bottom: .95rem; color: var(--accent); font-size: .84rem; font-weight: 700; letter-spacing: .115em; line-height: 1.45; }
h1 { font-size: clamp(2.8rem, 4.65vw, 5rem); font-weight: 800; letter-spacing: -.065em; line-height: 1.07; }
h1 span, h1 em { display: block; }
h1 em { color: var(--accent); font-style: italic; font-weight: 500; }
.hero-description { max-width: 27rem; margin-top: 1.3rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.55rem; }
.machine-carousel { min-width: 0; }
.machine-stage { display: grid; isolation: isolate; }
.machine-slide { grid-area: 1 / 1; display: grid; align-content: start; gap: .72rem; min-width: 0; opacity: 0; visibility: hidden; }
.machine-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.machine-image { justify-self: center; width: min(100%, 28.5rem); overflow: hidden; border-radius: 16px; box-shadow: 0 20px 54px #1936231c; }
.machine-image--wide { width: min(100%, 36rem); }
.machine-image img { display: block; width: 100%; height: auto; }
.machine-caption { justify-self: end; width: 90%; min-height: 120px; border: 1px solid #fff; border-radius: 12px; padding: .85rem clamp(.8rem, 2vw, 1.25rem); color: var(--ink); background: #f9fcf6d9; }
@supports (backdrop-filter: blur(10px)) {
  .machine-caption { background: #fff9; backdrop-filter: blur(10px); }
}
.machine-caption h2 { font-size: clamp(1.4rem, 2.35vw, 2rem); font-weight: 800; }
.machine-caption p { max-width: 54ch; margin-top: .32rem; font-size: .9rem; line-height: 1.45; }
.machine-caption .machine-process { margin: 0 0 .34rem; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .095em; }
.machine-details { display: grid; gap: .27rem; margin: .45rem 0 0; padding-inline-start: 1.1rem; font-size: .85rem; line-height: 1.4; }
.machine-details li::marker { color: var(--accent); }
.machine-controls { display: flex; justify-content: flex-end; margin-top: .2rem; }
.machine-controls[hidden] { display: none; }
.machine-play { min-height: 40px; padding: .35rem .3rem; border: 0; color: #35512a; background: transparent; font: 600 .79rem/1.25 var(--text); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.service-strip { background: #fff; border-block: 1px solid #e5ebe0; }
.strip-layout { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; padding-block: .95rem; }
.strip-layout span { padding: .25rem .65rem; color: var(--ink); font-weight: 650; font-size: .92rem; }
.strip-layout span + span { border-left: 1px solid var(--line); }
.strip-layout i { display: inline-block; margin-right: .42rem; border: solid #638544; border-width: 0 2px 2px 0; width: 6px; height: 11px; transform: rotate(45deg); }

.section { padding-block: clamp(3.25rem, 6.5vw, 6.25rem); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(230px,.48fr); align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-heading > p, .quote-layout > div > p:not(.eyebrow) { color: var(--muted); max-width: 26rem; }
.service-overview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; margin-bottom: 2rem; overflow: clip; }
.service-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: clamp(1rem, 2.5vw, 2rem); border-radius: 13px; color: #e8f0f1; background: linear-gradient(135deg,#122f40,#173b47); }
.service-tile:nth-child(2) { background: linear-gradient(135deg,#102738,#1a3744); }
.service-icon { width: 45px; height: 45px; stroke: #d4efa6; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-tile h3 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.9rem); }
.service-tile > p { color: #dbedb6; font-weight: 600; line-height: 1.45; }
.service-tile ul { margin: 0; padding-left: 1.15rem; font-size: .9rem; }
.service-tile li::marker { color: #d4efa6; }
.service-tile a { margin-top: auto; padding-top: .3rem; color: #fff; font-size: .88rem; font-weight: 700; text-underline-offset: .22em; }
.catalog { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 1rem; }
.card { grid-column: span 2; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.card > img { width: 100%; height: auto; aspect-ratio: 1.48; }
.card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 1.16rem; }
.card-body p { margin: .65rem 0 .9rem; color: var(--muted); }
.card a, .plain-link { color: #385831; font-weight: 750; }
.card a { margin-top: auto; }
.card-feature { grid-column: span 3; display: grid; grid-template-columns: 45% 55%; background: var(--paper); }
.card-feature > img { width: 100%; height: 100%; max-height: 320px; aspect-ratio: .87; object-position: center; }
.card-feature .card-body { justify-content: center; padding: clamp(1rem, 2.6vw, 2.1rem); }
.card-feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.card-feature a { margin-top: 0; }

.about, .faq { background: var(--paper); }
.about { padding-block: clamp(3.25rem, 6.5vw, 6.2rem); }
.about h2 { font-weight: 500; }
.about h2 strong { color: var(--accent); font-weight: 800; }
.about-layout, .quote-layout, .faq-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6.25rem); align-items: start; }
.about p:not(.eyebrow) { margin: 1.2rem 0 1.45rem; max-width: 29rem; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #ccd8cb; }
.steps li { display: grid; gap: .22rem; position: relative; padding: .95rem 0 .95rem 1.25rem; border-bottom: 1px solid #ccd8cb; }
.steps li::before { content: ""; position: absolute; top: 1.45rem; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #618743; }
.steps b { color: var(--ink); font-size: 1.07rem; }
.quote-layout > div > p:not(.eyebrow) { margin: 1.1rem 0 1.35rem; }
.quote-form { display: grid; gap: .95rem; padding: clamp(1rem, 3vw, 1.9rem); border: 1px solid var(--line); border-radius: 14px; background: #fafbf8; }
label { display: block; font-weight: 700; font-size: .93rem; }
label span { color: var(--muted); font-weight: 500; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 46px; margin-top: .35rem; padding: .62rem .75rem; border: 1px solid #bbcabc; border-radius: 7px; color: var(--ink); background: #fff; font: 500 1rem/1.3 var(--text); }
input::placeholder, textarea::placeholder { color: #67756d; }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg,transparent 50%,var(--ink) 50%), linear-gradient(135deg,var(--ink) 50%,transparent 50%); background-position: calc(100% - 17px) 50%,calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.faq-list { border-top: 1px solid #ccd8cb; }
details { border-bottom: 1px solid #ccd8cb; }
summary { list-style: none; cursor: pointer; position: relative; padding: .94rem 2rem .94rem 0; color: var(--ink); font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .35rem; top: .63rem; color: var(--accent); font-size: 1.32rem; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: .9rem; color: var(--muted); }

footer { background: #fff; color: var(--muted); }
.footer-layout { padding-block: 3rem; display: grid; grid-template-columns: 1.05fr 1fr .8fr; gap: 1.9rem; }
footer h2 { font: 750 1.03rem/1.4 var(--text); letter-spacing: 0; }
footer p, footer address { margin: .5rem 0; font-style: normal; }
.footer-link, .footer-bottom a { color: #385831; font-weight: 750; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: .85rem; border-top: 1px solid var(--line); font-size: .91rem; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes enter-title {
    from { opacity: 0; transform: translate(var(--enter-x,0), var(--enter-y,14px)); }
    to { opacity: 1; transform: translate(0,0); }
  }
  .hero h1 > * { --enter-x: -30px; --enter-y: 0; animation: enter-title .7s cubic-bezier(.22,.7,.2,1) both; }
  .hero h1 > :nth-child(2) { animation-delay: .09s; }
  .hero h1 > :nth-child(3) { animation-delay: .18s; }
  .motion-arrived { animation: enter-title .66s var(--enter-delay,0s) cubic-bezier(.22,.7,.2,1) both; }
  .service-from-left { --enter-x: -28px; --enter-y: 0; }
  .service-from-bottom { --enter-y: 27px; --enter-delay: .07s; }
  .service-from-right { --enter-x: 28px; --enter-y: 0; --enter-delay: .14s; }
  .machine-slide { transition: opacity .7s ease, visibility 0s linear .7s; }
  .machine-slide.is-active { transition-delay: 0s; }
  .machine-slide.is-active .machine-caption { --enter-x: -16px; --enter-y: 0; animation: enter-title .64s .12s cubic-bezier(.22,.7,.2,1) both; }
  .card > img { clip-path: inset(0); transition: transform .45s ease; }
  .card:hover > img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 3.75rem); }
  .service-overview { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-feature { grid-column: span 3; grid-template-columns: 42% 58%; }
}
@media (max-width: 770px) {
  .wrap { width: calc(100% - 2rem); }
  .nav { min-height: 0; flex-wrap: wrap; gap: .35rem .7rem; padding-block: .35rem .6rem; }
  .brand img { width: 94px; }
  .nav-cta { min-height: 42px; padding: .55rem .8rem; }
  nav { order: 3; width: 100%; justify-content: space-between; gap: .35rem .45rem; padding-top: .57rem; border-top: 1px solid #ffffff36; }
  .hero-layout, .section-heading, .about-layout, .quote-layout, .faq-layout { grid-template-columns: 1fr; gap: 1.45rem; }
  h1 { font-size: clamp(2.5rem, 9.2vw, 4.75rem); }
  .hero-description, .actions { margin-top: .95rem; }
  .machine-image { border-radius: 13px; }
  .machine-caption { width: 100%; }
  .service-overview { grid-template-columns: 1fr; }
  .strip-layout { padding-block: .58rem; }
  .strip-layout span { font-size: .82rem; padding-inline: .31rem; }
  .strip-layout i { display: none; }
  .catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card { grid-column: auto; }
  .card-feature { display: flex; }
  .card-feature > img { height: auto; aspect-ratio: .92; }
  .card-feature .card-body { justify-content: flex-start; }
  .card-feature a { margin-top: auto; }
  .footer-layout { grid-template-columns: 1fr 1fr; }
  .footer-layout > div:first-child { grid-column: 1/-1; }
}
@media (max-width: 480px) {
  .catalog, .footer-layout { grid-template-columns: 1fr; }
  .card-feature { display: grid; grid-template-columns: 45% 55%; }
  .card-feature > img { height: 100%; aspect-ratio: .78; }
  .card-feature h3 { font-size: 1.47rem; }
  .footer-layout { gap: 1.3rem; }
}
@media (max-width: 360px) {
  .card-feature { display: flex; }
  .card-feature > img { height: auto; aspect-ratio: .95; }
  .fields { grid-template-columns: 1fr; }
}
