/* Hero: restrained typography against an authentic operation photograph. */
/* Homepage sections share spacing, type and link treatment. */
.about-section::before, .about-section::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 440px;
    background: var(--about-decor-right) center / contain no-repeat;
    pointer-events: none;
    z-index: -1;
}
.about-section::before { top: -24px; right: -28px; opacity: .16; transform: rotate(-8deg); }
.about-section::after { bottom: -52px; left: -48px; opacity: .13; background-image: var(--about-decor-left); }
@media (max-width: 991.98px) {
    .about-section::before, .about-section::after { display: block; width: 190px; height: 260px; }
    .about-section::before { top: -28px; right: -54px; opacity: .12; }
    .about-section::after { bottom: -38px; left: -60px; opacity: .10; }
}
/* The flowing highlight is painted inside each connector, never across gaps. */
@keyframes product-soft-enter { from { opacity: .65; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gallery-photo img { transition: transform 250ms cubic-bezier(.23, 1, .32, 1); }
.gallery-photo span { position: relative; z-index: 1; }
.gallery-photo span i { transition: transform 180ms ease-out; }
@media (hover: hover) and (pointer: fine) {
    .gallery-photo:hover img { transform: scale(1.02); }
    .gallery-photo:hover span i { transform: translate(2px, -2px); }
}
.product-section-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.product-slider-shell { position: relative; padding-inline: 52px; }
.product-slider { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 0; }
.product-slider::-webkit-scrollbar { display: none; }
.product-slider, .home-blog-slider, .operations-gallery {
    /* Horizontal overflow otherwise makes the implicit vertical axis scrollable too. */
    overflow-y: hidden;
    overscroll-behavior-x: contain;
}
.product-slide { flex: 0 0 calc((100% - 72px) / 4); min-width: 0; scroll-snap-align: start; border: 0; border-radius: 0; overflow: hidden; text-decoration: none; color: var(--color-primary); background: #fff; }
.product-card-media { height: 250px; padding: 20px; display: flex; align-items: center; justify-content: center; background: #fff; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-card-media .product-card-logo { height: auto; max-height: 90px; mix-blend-mode: normal; }
.product-slide h3 { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-family: var(--font-small); font-size: 17px; font-weight: 500; margin: 0; padding: 18px 16px; }
.product-slide h3 i { display: none; }
.product-controls { position: absolute; inset: 50% 0 auto; transform: translateY(-50%); pointer-events: none; }
.product-controls button { pointer-events: auto; }
.home-blog-slider { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; margin: 0; padding: 8px 0; }
.home-blog-slider::-webkit-scrollbar { display: none; }
.home-blog-slide { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; display: flex; scroll-snap-align: start; }
.home-blog-card { display: flex; flex-direction: column; width: 100%; border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; color: var(--color-primary); text-decoration: none; background: #fff; }
.home-blog-media { position: relative; aspect-ratio: 16 / 10; flex: 0 0 auto; overflow: hidden; background: #f7f6f2; }
.home-blog-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.home-blog-media .home-blog-logo { inset: 20%; width: 60%; height: 60%; object-fit: contain; }
.home-blog-copy { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.home-blog-copy h3 { font-size: 22px; font-weight: 500; line-height: 1.45; margin: 0 0 14px; overflow-wrap: anywhere; }
.home-blog-copy p { font: 15px/1.8 var(--font-small); margin: 0 0 24px; }
.home-blog-copy span { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; font: 500 14px var(--font-small); }
.home-blog-copy h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; height: 2.9em; }
.home-blog-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; height: 5.4em; }
.home-blog-card { transition: border-color 180ms ease, box-shadow 180ms ease; }
.home-blog-media img { transform: translate3d(0, 0, 0) scale(1); backface-visibility: hidden; transition: transform 250ms cubic-bezier(.23, 1, .32, 1); }
.home-blog-copy h3 { transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) {
    .home-blog-card:hover { box-shadow: 0 8px 24px -12px #24443630; }
    .home-blog-card:hover .home-blog-media img { transform: translate3d(0, 0, 0) scale(1.035); }
    .home-blog-card:hover h3 { color: #52765b; }
}
.home-blog-controls { justify-content: flex-end; margin-top: 20px; }
@media (hover: hover) and (pointer: fine) { .home-blog-card:hover { border-color: #879f8b; } }
@media (max-width: 991.98px) { .home-blog-slide { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 575.98px) { .home-blog-slide { flex-basis: 100%; } .home-blog-copy h3 { font-size: 20px; } }
@media (max-width: 575.98px) { .product-slider-shell .product-controls { justify-content: flex-end; } }
@media (hover: hover) and (pointer: fine) { .product-slide:hover { border-color: #879f8b; } }
.why-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.why-photo { margin: 0; }
.why-photo img { display: block; width: 100%; height: auto; }
.why-photo-pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; align-items: end; gap: 0; }
.why-photo-pair .why-photo-primary { width: 100%; grid-column: 1 / 12; grid-row: 1; align-self: start; padding-bottom: clamp(56px, 6vw, 96px); }
.why-photo-pair .why-photo-secondary { width: 100%; grid-column: 7 / -1; grid-row: 1; z-index: 1; transform: translateY(24px); }
@media (max-width: 991.98px) { .why-layout .why-photo { order: -1; } }
.why-reasons { margin: 28px 0 20px; }
.why-reasons > div { padding-block: 16px; border-bottom: 1px solid var(--color-border); }
.why-reasons dt { font-weight: 500; margin-bottom: 8px; color: var(--color-primary); }
.why-reasons dd { margin: 0; color: var(--color-muted); font: 15px/1.8 var(--font-small); }
@media (max-width: 991.98px) { .product-slide { flex-basis: calc((100% - 24px) / 2); } .why-layout { grid-template-columns: 1fr; gap: 32px; } .why-photo { max-width: 560px; margin-inline: auto; } }
@media (max-width: 575.98px) { .product-slider-shell { padding-inline: 0; padding-bottom: 60px; } .product-slider { gap: 12px; } .product-slide { flex-basis: calc((100% - 12px) / 2); } .product-card-media { height: 190px; padding: 12px; } .product-slide h3 { font-size: 14px; padding: 14px 10px; } .product-controls { inset: auto 0 0; transform: none; justify-content: flex-end; gap: 12px; } .product-section-intro { display: block; } }
.home-section { padding-block: 80px; }
.home-section h2, .home-contact-banner h2 { font-family: var(--font-heading); font-size: clamp(26px, 2.7vw, 36px); font-weight: 500; line-height: 1.35; letter-spacing: -.025em; margin: 0 0 22px; }
.home-section p { color: var(--color-muted); line-height: 1.85; max-width: 65ch; margin: 0 0 20px; }
.home-text-link { display: inline-flex; align-items: center; gap: 16px; color: var(--color-primary); font-family: var(--font-small); font-weight: 600; text-decoration: none; min-height: 44px; }
.home-text-link:hover { text-decoration: none; }
.product-showcase { display: flex; align-items: center; justify-content: center; margin: 28px 0 0; padding: 18px; border: 1px solid var(--color-border); border-radius: 6px; box-shadow: 0 12px 28px #2444360c; }
.product-showcase img { width: 32%; height: auto; max-height: 250px; object-fit: contain; }
.product-name-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.product-name-list li { padding: 18px 8px; border-bottom: 1px solid var(--color-border); font-family: var(--font-small); font-size: 16px; }
.product-list-note { margin-top: 24px !important; font-size: 14px; }
.product-showcase { background: var(--color-stone); }
.product-showcase img { mix-blend-mode: multiply; }
.home-contact { background: var(--color-primary); color: var(--color-white); }
.home-section.home-contact { padding-bottom: calc(80px + var(--footer-band-height, 124px) / 2); }
@media (max-width: 991.98px) { .home-section.home-contact { padding-bottom: calc(56px + var(--footer-band-height, 124px) / 2); } }
@media (max-width: 575.98px) { .home-section.home-contact { padding-bottom: calc(40px + var(--footer-band-height, 240px) / 2); } }
.home-contact h2, .home-contact .home-text-link,
.home-contact .home-contact-details a,
.home-contact .home-contact-details i { color: var(--color-white); }
.home-contact p { color: #e1ebe4; }
.home-contact .home-contact-details > div { border-bottom-color: #ffffff40; }
.home-contact :focus-visible { outline-color: var(--color-white); }
.about-photo { position: relative; margin: 0; padding: 8px; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-white); box-shadow: 0 14px 32px #24443612; }
.about-photo img { display: block; width: 100%; height: 510px; object-fit: cover; object-position: center 30%; border-radius: 3px; }
.about-photo figcaption { position: absolute; left: 24px; bottom: 24px; padding: 10px 16px; background: var(--color-white); color: var(--color-primary); font: 14px var(--font-small); border-radius: 3px; }
.about-purpose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 24px; margin-top: 24px; text-align: center; }
.about-purpose > div + div { border-left: 1px solid var(--color-border); padding-left: 32px; }
@media (max-width: 575.98px) { .about-purpose > div + div { border-left: 0; padding-left: 0; } }
.about-section .company-timeline { margin-top: 80px; }
@media (max-width: 575.98px) { .about-section .company-timeline { margin-top: 56px; } }
@media (min-width: 992px) {
    .about-section > .container > .row > .col-lg-5 { display: flex; }
    .about-section .about-photo { width: 100%; }
    .about-section .about-photo img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
}
.about-purpose h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 500; margin: 0 0 12px; }
.about-purpose p { font-family: var(--font-small); font-size: 15px; margin: 0 auto; }
.operations-section { border-top: 1px solid var(--color-border); }
.section-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.section-intro h2 { max-width: 520px; }
.section-intro p { max-width: 420px; }
.operations-gallery { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 24px 16px 36px; scroll-padding-inline: 16px; }
.operations-gallery::-webkit-scrollbar { display: none; }
.operations-gallery .gallery-photo { flex: 0 0 calc((100% - 48px) / 3); height: 360px; scroll-snap-align: start; }
.operations-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--color-muted); font: 14px var(--font-small); }
.operations-controls > div { display: flex; gap: 10px; }
.operations-controls > div[hidden] { display: none; }
.operations-controls button { width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-white); color: var(--color-primary); }
.operations-controls button:hover:not(:disabled) { background: var(--color-stone); }
.operations-controls button:disabled { opacity: .35; cursor: default; }
.home-blog .home-blog-controls { justify-content: flex-end; margin-top: 20px; }
.home-blog .home-blog-controls[hidden] { display: none; }
.gallery-photo { position: relative; padding: 6px; border: 0; background: white; border-radius: 6px; box-shadow: 0 8px 24px -8px #2444361f; overflow: hidden; }
.gallery-photo { display: flex; flex-direction: column; }
.gallery-photo img { display: block; width: 100%; height: 0; flex: 1; min-height: 0; object-fit: cover; object-position: center 60%; border-radius: 3px 3px 0 0; }
.gallery-photo span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 12px; background: var(--color-stone); color: var(--color-primary); font: 13px var(--font-small); text-align: left; }
.gallery-photo span i { margin-right: 6px; }
.home-contact-banner { position: relative; min-height: 320px; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.contact-banner-image { position: absolute; inset: -70px 0; width: 100%; height: calc(100% + 140px); object-fit: cover; object-position: center 58%; z-index: -2; will-change: transform; }
.home-contact-banner::before { content: ''; position: absolute; inset: 0; background: #101b16a6; pointer-events: none; z-index: -1; }
.home-contact-banner > .container { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding-block: 40px; }
.home-contact-banner h2 { color: var(--color-white); font-size: clamp(24px, 2.3vw, 30px); margin-bottom: 12px; }
.home-contact-banner p { color: #f0f3f1; margin: 0; line-height: 1.7; }
.home-contact-banner .site-button-primary { background: var(--color-white); color: var(--color-primary); }
.home-contact-banner .site-button-primary:hover { background: #e1ebe4; color: var(--color-primary); }
.home-contact-banner :focus-visible { outline-color: var(--color-white); }
/* Desktop parallax is anchored to the viewport instead of a subtle image offset. */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    .home-contact-banner.has-static-background {
        background-image: var(--cta-background);
        background-size: cover;
        background-position: center 65%;
        background-attachment: fixed;
    }
    .home-contact-banner.has-static-background .contact-banner-image { visibility: hidden; }
}
.row-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.home-contact .contact-map { min-height: 430px; padding: 6px; border: 1px solid var(--color-border); border-radius: 6px; box-shadow: 0 12px 28px #2444360c; background: var(--color-white); overflow: hidden; }
.home-contact .contact-map iframe { display: block; width: 100%; height: 100%; min-height: 418px; border: 0; border-radius: 3px; }
.home-contact-details > div { display: flex; gap: 18px; padding-block: 16px; border-bottom: 1px solid var(--color-border); }
.home-contact-details > div:first-child { padding-top: 0; }
.home-contact-details i { font-size: 20px; color: var(--color-primary); flex-shrink: 0; }
.home-contact-details a { display: block; color: var(--color-text); line-height: 1.8; text-decoration: none; overflow-wrap: anywhere; }
.home-contact-details a:hover { text-decoration: none; }
.gallery-modal .modal-content { padding: 20px; background: var(--color-white); }
.gallery-modal img { width: 100%; max-height: 76dvh; object-fit: contain; }
.gallery-modal .btn-close { align-self: flex-end; margin-bottom: 12px; }
.gallery-modal p { margin: 14px 0 0; text-align: center; font-family: var(--font-small); }
@media (max-width: 991.98px) {
    .operations-gallery .gallery-photo { flex-basis: calc((100% - 24px) / 2); }
    .home-section { padding-block: 56px; }
    .section-intro { display: block; }
    .about-photo img { height: 380px; }
    .row-layout { gap: 32px; }
    .home-contact .row-layout { grid-template-columns: 1fr; }
    .home-contact .contact-map { min-height: 340px; }
    .home-contact .contact-map iframe { min-height: 328px; }
    .home-contact-banner { min-height: 300px; }
    .home-contact-banner > .container { flex-direction: column; align-items: flex-start; }
    .contact-banner-image { top: -250px; bottom: auto; height: calc(100% + 500px); will-change: transform; }
}
@media (max-width: 575.98px) {
    .home-section { padding-block: 40px; }
    .home-section h2 { font-size: 26px; }
    .product-name-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-name-list li { font-size: 15px; padding: 14px 4px; }
    .about-purpose, .row-layout { grid-template-columns: 1fr; gap: 28px; }
    .about-photo img { height: 320px; }
    .operations-gallery { gap: 16px; }
    .operations-gallery .gallery-photo { flex-basis: 100%; height: 350px; }
    .gallery-photo span { font-size: 12px; padding: 8px; }
    .home-contact-banner { min-height: 380px; }
    .home-contact-banner > .container { padding-block: 56px; }
    .home-contact-banner .site-button { width: auto; max-width: 100%; justify-content: center; }
}
.site-hero-values, .site-photo-caption { font-family: var(--font-small); }
.site-hero { position: relative; min-height: max(600px, calc(100dvh - 136px)); display: flex; align-items: center; overflow: hidden; background: var(--color-white); color: var(--color-text); }
.site-hero-container { position: relative; z-index: 2; padding-block: 80px; }
.site-hero-copy { width: 48%; padding-right: 28px; }
.site-hero-media { position: absolute; inset: 0; isolation: isolate; }
.hero-slider { position: relative; z-index: 0; }
.hero-slider, .hero-slider .carousel-inner, .hero-slider .carousel-item { height: 100%; }
.hero-slider .carousel-item { transition: opacity 850ms cubic-bezier(.23, 1, .32, 1); }
.hero-slider.carousel-fade .active.carousel-item-start,
.hero-slider.carousel-fade .active.carousel-item-end { transition: opacity 0s 850ms; }
.hero-slider img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-slider .active img { animation: hero-subtle-zoom 7.35s linear forwards; }
.site-hero.is-motion-paused .hero-slider img { animation-play-state: paused; }
@keyframes hero-subtle-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-slider-controls { position: absolute; z-index: 3; inset: 50% 20px auto; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.hero-slider-controls button { pointer-events: auto; }
.hero-progress { position: absolute; z-index: 3; inset: auto 0 0; height: 4px; background: #ffffff66; }
.hero-progress-fill { display: block; width: 100%; height: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left center; }
.hero-slider-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-white); color: var(--color-primary); }
.hero-slider-controls button:hover { background: var(--color-stone); }
.site-hero-media::after { pointer-events: none; }
.site-hero-media::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #eae5ddf5 0%, #eae5ddeb 24%, #eae5ddd9 40%, #eae5dd66 52%, #eae5dd00 68%); }
.site-hero-copy h1 { margin: 0 0 28px; color: var(--color-text); font-family: var(--font-heading); font-size: clamp(36px, 3.6vw, 52px); font-weight: 400; line-height: 1.2; letter-spacing: -0.035em; }
.site-hero-copy h1 em { color: var(--color-accent); font-style: normal; }
.site-hero-copy > p { max-width: 470px; margin: 0 0 34px; color: var(--color-muted); font-size: 16px; line-height: 1.8; }
.site-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.site-hero-actions .site-button { min-height: 44px; padding-block: 10px; white-space: nowrap; }
.site-hero-values { display: flex; list-style: none; padding: 0; margin: 54px 0 0; gap: 0; }
.site-hero-values li { display: flex; align-items: center; gap: 12px; padding-inline: 22px; border-right: 1px solid var(--color-border); }
.site-hero-values li:first-child { padding-left: 0; }
.site-hero-values li:last-child { border: 0; padding-right: 0; }
.site-hero-values i { font-size: 25px; color: var(--color-accent); }
.site-hero-values span { font-size: 12px; line-height: 1.5; }
.site-photo-caption { position: absolute; z-index: 1; right: 88px; bottom: 32px; color: var(--color-text); background: var(--color-stone); padding: 10px 14px; border-radius: 4px; font-size: 13px; font-weight: 600; text-align: right; }
.site-photo-caption span { display: block; font-size: 11px; font-weight: 400; margin-top: 4px; }
@media (max-width: 1199.98px) {
    .site-hero-values li { padding-inline: 14px; gap: 9px; }
    .site-hero-actions .site-button { padding-inline: 18px; font-size: 12px; gap: 14px; }
}
@media (max-width: 991.98px) {
    .site-hero { min-height: 660px; overflow: visible; }
    .site-hero .hero-progress { display: none; }
    .site-hero-container { position: static; padding-block: 140px 96px; }
    .site-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
    .site-hero-copy > h1, .site-hero-copy > p, .site-hero-actions { position: relative; z-index: 2; }
    .hero-slider img { object-position: 65% center; }
    .site-hero-media::after { background: linear-gradient(180deg, #eae5dd4d 0%, #eae5ddb3 25%, #eae5ddcc 43%, #eae5ddb3 62%, #eae5dd66 80%, #eae5dd1a 100%); }
    .site-hero-copy { width: 100%; max-width: 640px; padding-right: 12px; }
    .site-hero-copy h1 { font-size: clamp(38px, 6vw, 56px); }
    .site-hero-copy > p { font-size: 15px; color: #344d3f; line-height: 1.7; }
    .site-hero-actions .site-button-outline { background: #f1ece4; border-color: #d6cec2; color: var(--color-primary); }
    .site-hero-copy { position: static; }
    .site-hero-values { position: absolute; left: 24px; right: 24px; bottom: 0; z-index: 3; transform: translateY(50%); margin: 0; padding: 20px 12px; background: #f1ece4; border-radius: 6px; box-shadow: 0 10px 28px -14px #24443633; justify-content: center; }
    .site-hero ~ .why-section { padding-top: 96px; }
    .site-hero-values i, .site-hero-values span { color: var(--color-primary); }
    .site-photo-caption { right: 24px; bottom: 24px; }
}
@media (max-width: 575.98px) {
    .site-hero-copy h1 { font-size: clamp(32px, 8.5vw, 44px); }
    .site-hero-copy > p { font-size: 15px; }
    .site-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
    .site-hero-actions .site-button { font-size: 12px; min-height: 44px; padding: 8px 6px; gap: 5px; justify-content: center; text-align: center; }
    .site-hero-values { justify-content: space-between; }
    .site-hero-values li { flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-inline: 8px; gap: 8px; }
    .site-hero-values i { font-size: 20px; }
    .site-hero-values span { font-size: 13px; }
    .site-hero-media { height: 100%; }
    .hero-slider-controls { display: none; }
    .hero-slider-controls button { width: 44px; height: 44px; border-color: #ffffffb3; background: #fffffff2; box-shadow: 0 3px 10px #00401814; }
    .site-hero-copy { padding-inline: 12px; }
    .site-hero-container { padding-bottom: 88px; }
    .site-hero-values { left: 16px; right: 16px; padding: 18px 8px; }

    .product-controls button { width: 44px; height: 44px; }
}

.home-blog { background: #fff; }
.home-faq { background: #f1ece4; }
