@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --accent: #a22035;
    --accent-dark: #7c1729;
    --ink: #28333d;
    --muted: #66717a;
    --paper: #fff;
    --soft: #f3f4f5;
    --footer: #313d48;
    --footer-dark: #1e1e28;
    --line: #d9dde0;
    --header-h: 92px;
    --container: 1180px;
    --shadow: 0 16px 45px rgb(20 29 37 / 18%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Montserrat", Arial, sans-serif; font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
body.nav-open { overflow: hidden; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1 { font-size: clamp(2.25rem, 5vw, 5.2rem); }
h2 { margin-bottom: 1.3rem; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.04em; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section-pad { padding: clamp(68px, 8vw, 120px) 0; }
.section-muted { background: var(--soft); }
.section-dark { color: #fff; background: var(--footer); }
.section-dark .eyebrow { color: #f0bdc5; }
.prose { max-width: 760px; }
.prose p { margin-bottom: 1.3rem; }
.lead-copy { font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.eyebrow { margin-bottom: .8rem; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--accent); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 22px; border: 0; border-radius: 2px; color: #fff; background: var(--accent); font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover, .button:focus-visible { background: var(--accent-dark); }
.text-link { display: inline-block; color: var(--accent); font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }

.site-header { position: absolute; z-index: 100; top: 0; right: 0; left: 0; height: var(--header-h); background: rgb(249 249 249 / 63%); box-shadow: 0 1px 0 rgb(0 0 0 / 5%); transition: background-color .25s, box-shadow .25s; }
.site-header.is-scrolled { position: fixed; background: rgb(249 249 249 / 95%); box-shadow: 0 4px 18px rgb(0 0 0 / 10%); }
.site-header.has-open-nav { background: rgb(249 249 249 / 97%); box-shadow: 0 4px 18px rgb(0 0 0 / 10%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 48px), var(--container)); height: 100%; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: min(250px, 32vw); height: auto; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); padding: 0; margin: 0; list-style: none; }
.primary-nav a { position: relative; padding: 34px 0 29px; color: #3c4650; font-size: .78rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; text-transform: uppercase; }
.primary-nav a::after { position: absolute; right: 0; bottom: 23px; left: 0; height: 2px; background: var(--accent); content: ""; transform: scaleX(0); transition: transform .2s; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle-lines { position: relative; display: block; width: 25px; height: 2px; background: var(--ink); transition: background-color .2s; }
.nav-toggle-lines::before, .nav-toggle-lines::after { position: absolute; left: 0; display: block; width: 25px; height: 2px; background: var(--ink); content: ""; transition: top .2s, transform .2s; }
.nav-toggle-lines::before { top: -8px; }
.nav-toggle-lines::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.home-slider { position: relative; min-height: clamp(470px, calc(100vh - var(--header-h)), 800px); overflow: hidden; color: #fff; background: #111; }
.slides, .slide { position: absolute; inset: 0; }
.slide { visibility: hidden; display: grid; align-items: center; background: center / cover no-repeat var(--slide-image); opacity: 0; transition: opacity .75s ease, visibility .75s; }
.slide.is-active { visibility: visible; opacity: 1; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(7 11 15 / 62%), rgb(7 11 15 / 10%) 70%); }
.slide-content { position: relative; z-index: 2; width: min(calc(100% - 150px), 1170px); margin-inline: auto; }
.slide-content h2 { max-width: 950px; margin: 0; color: #fff; font-size: 40px; font-weight: 700; letter-spacing: normal; line-height: 1.15; text-shadow: 0 3px 25px rgb(0 0 0 / 35%); }
.slide-title { display: flex; align-items: center; gap: .18em; }
.slide-title-sign { flex: 0 0 auto; font-size: 80px; font-weight: 100; line-height: .9; }
.slide-content p { max-width: 675px; margin: 0; font-size: 20px; font-weight: 700; letter-spacing: normal; line-height: 25px; }
.slide-link { display: inline-flex; margin-top: 24px; padding: 10px 18px; border: 2px solid #fff; color: #fff; font-weight: 700; text-decoration: none; }
.slide-link:hover, .slide-link:focus-visible { color: var(--ink); background: #fff; }
.slide-mark { display: block; width: min(380px, 65vw); max-height: 220px; margin-bottom: 30px; object-fit: contain; object-position: left center; }
.slide-mark--right { position: absolute; top: 50%; right: 0; width: min(268px, 34vw); max-height: 268px; margin: 0; object-position: center; transform: translateY(-50%); }
.slide.has-right-mark .slide-content h2, .slide.has-right-mark .slide-content p { max-width: calc(100% - 280px); }
.slider-arrow { position: absolute; z-index: 3; top: 50%; display: grid; width: 52px; height: 52px; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; color: #fff; background: rgb(0 0 0 / 20%); font-size: 2rem; line-height: 1; place-items: center; transform: translateY(-50%); cursor: pointer; }
.slider-arrow:hover, .slider-arrow:focus-visible { background: var(--accent); }
.slider-prev { left: 24px; }.slider-next { right: 24px; }
.slider-dots { position: absolute; z-index: 3; right: 0; bottom: 24px; left: 0; display: flex; justify-content: center; gap: 10px; }
.slider-dots button { width: 11px; height: 11px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dots button.is-active { background: #fff; }
.intro-grid, .content-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.3fr); gap: clamp(45px, 8vw, 120px); }
.home-intro h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.2rem); }
.business-units { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 450px; }
.business-units a { position: relative; display: grid; min-height: 450px; overflow: hidden; color: #fff; background: center / cover no-repeat var(--unit-image); text-decoration: none; place-items: end start; }
.business-units a::before { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 72%), transparent 70%); content: ""; transition: background-color .25s; }
.business-units a:hover::before { background-color: rgb(162 32 53 / 35%); }
.business-units span { position: relative; z-index: 1; padding: 40px; font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 700; }

.page-hero { position: relative; display: grid; min-height: clamp(360px, 55vw, 650px); color: #fff; background: center / cover no-repeat var(--hero-image); place-items: center; }
.page-hero-shade { position: absolute; inset: 0; background: rgb(5 10 15 / 38%); }
.page-hero-content { position: relative; z-index: 1; width: min(calc(100% - 48px), var(--container)); }
.page-hero h1 { max-width: 1000px; margin: 0; text-shadow: 0 4px 30px rgb(0 0 0 / 42%); }
.page-hero h1.page-hero-title--slider { display: flex; align-items: center; gap: .18em; max-width: none; font-size: 40px; font-weight: 700; letter-spacing: normal; line-height: 1.15; }
.numbered-section { position: relative; }
.section-number { margin: 0; color: var(--accent); font-size: clamp(4rem, 8vw, 8rem); font-weight: 100; line-height: .8; }
.numbered-section h2 { text-transform: uppercase; }
.section-isotype { width: 130px; max-height: 100px; object-fit: contain; object-position: left; }
.timeline { position: relative; border-left: 2px solid var(--accent); }
.timeline article { position: relative; padding: 0 0 32px 38px; }
.timeline article::before { position: absolute; top: .25rem; left: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); content: ""; }
.timeline strong { display: block; color: var(--accent); font-size: 1.4rem; }
.timeline p { margin: .35rem 0 0; }
.timeline-summary { padding: 30px 0 0 38px; margin: 0; border-top: 1px solid var(--line); font-weight: 600; }
.content-grid--rse { grid-template-columns: minmax(480px, 1fr) minmax(0, 1fr); gap: clamp(45px, 6vw, 90px); }
.rse-title span { display: block; white-space: nowrap; }
.rse-reference { color: var(--accent); font-size: .95rem; font-weight: 700; }
.section-heading { margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 0; }
.client-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.client-groups article { padding: clamp(24px, 3vw, 38px); border-top: 4px solid var(--accent); background: #fff; box-shadow: 0 12px 35px rgb(20 29 37 / 8%); }
.client-groups h3 { margin-bottom: 22px; font-size: 1.15rem; text-transform: uppercase; }
.client-groups ul { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.client-groups li { position: relative; padding-left: 20px; }
.client-groups li::before { position: absolute; left: 0; color: var(--accent); font-weight: 800; content: ">"; }
.certificate-links { display: grid; gap: 14px; }
.certificate-links a { display: flex; align-items: center; justify-content: space-between; padding: 24px; border: 1px solid rgb(255 255 255 / 25%); color: #fff; text-decoration: none; }
.certificate-links a:hover { border-color: #fff; background: rgb(255 255 255 / 7%); }
.certificate-links span { font-size: 1.15rem; font-weight: 700; }
.certificate-links small { color: #f0bdc5; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 25px; }
.feature-list li::before { position: absolute; left: 0; color: var(--accent); font-weight: 800; content: "✓"; }
.agro-original-copy h3 { margin: 2rem 0 .65rem; font-size: 1.05rem; letter-spacing: .035em; text-transform: uppercase; }
.petroleum-original-copy h3 { margin: 0 0 1rem; font-size: 1.05rem; letter-spacing: .035em; text-transform: uppercase; }
.technical-list { display: grid; gap: 7px; padding: 0; margin: 0 0 1.3rem; list-style: none; }
.technical-list li { position: relative; padding-left: 20px; }
.technical-list li::before { position: absolute; left: 0; color: var(--accent); font-weight: 800; content: "•"; }
.section-heading { margin-bottom: 40px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { position: relative; min-width: 0; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; background: #dfe2e4; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--accent); font-size: 1.4rem; place-items: center; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.video-grid video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; }
.split-media { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(45px, 8vw, 100px); }
.split-media img { width: 100%; max-height: 520px; object-fit: cover; }

.lightbox { position: fixed; z-index: 500; inset: 0; display: grid; padding: 60px; border: 0; background: rgb(0 0 0 / 88%); place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox-close { position: absolute; top: 18px; right: 24px; width: 48px; height: 48px; border: 1px solid #fff; border-radius: 50%; color: #fff; background: transparent; font-size: 1.8rem; cursor: pointer; }
.status-page { display: grid; min-height: 65vh; padding: 60px 24px; text-align: center; place-items: center; }
.status-code { margin: 0; color: var(--accent); font-size: clamp(5rem, 15vw, 10rem); font-weight: 100; line-height: .8; }
.status-page h1 { margin: 25px 0 12px; font-size: clamp(2rem, 4vw, 4rem); }

.form-shell { max-width: 980px; }
.complaint-form { position: relative; width: 100%; padding: clamp(24px, 5vw, 60px); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { min-width: 0; margin-bottom: 26px; }
.field label, .field legend { display: block; margin-bottom: 8px; color: var(--ink); font-size: .86rem; font-weight: 700; }
.field input:not([type="checkbox"]):not([type="file"]), .field textarea, .field select { display: block; width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #bbc2c7; border-radius: 0; color: var(--ink); background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: 3px solid rgb(162 32 53 / 15%); }
.field input[type="file"] { display: block; max-width: 100%; padding: 12px 0; }
.field small { display: block; margin-top: 7px; color: var(--muted); font-size: .75rem; }
.field .field-error { color: #8c1226; font-weight: 700; }
.checkbox-field { padding: 0; border: 0; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checkbox-grid label { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; }
.checkbox-grid input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.privacy-note { margin: 5px 0 25px; color: var(--muted); font-size: .78rem; }
.turnstile-field { overflow: hidden; }
.turnstile-field .field-label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .86rem; font-weight: 700; }
.cf-turnstile { width: min(100%, 400px); min-height: 65px; }
.cf-turnstile iframe { max-width: 100%; }
.complaint-original-copy h3 { margin: 1.8rem 0 .65rem; font-size: 1rem; letter-spacing: .025em; }
.complaint-original-copy ol { display: grid; gap: 8px; padding-left: 1.4rem; margin: 0 0 1.3rem; }
.complaint-operational-note { padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.alert { margin-bottom: 25px; padding: 20px 24px; border-left: 5px solid; background: #fff; }
.alert h2 { margin: 0 0 6px; font-size: 1.4rem; }
.alert p { margin: 0; }
.alert-success { border-color: #278050; }
.alert-error { border-color: var(--accent); color: #781326; }

.site-footer { position: relative; color: #e8eaec; background: var(--footer); }
.company-b-boundary { position: relative; z-index: 90; height: 0; }
.company-b-badge { position: absolute; top: -70px; right: 250px; display: block; width: 120px; height: auto; box-shadow: 0 4px 10px rgb(20 30 40 / 18%); }
.company-b-boundary + .section-pad { padding-top: 130px; }
.footer-main { padding: 70px 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 45px; width: min(100%, var(--container)); margin-inline: auto; }
.footer-grid section { min-width: 0; }
.footer-grid h2 { margin-bottom: 20px; color: #fff; font-size: .83rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a { display: block; width: fit-content; margin: 8px 0; color: #d7dce0; font-size: .86rem; text-decoration: none; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: #fff; text-decoration: underline; }
.footer-grid p { margin-bottom: 8px; color: #d7dce0; font-size: .86rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; min-height: 80px; padding: 16px max(24px, calc((100% - var(--container)) / 2)); background: var(--footer-dark); }
.footer-meta { display: flex; align-items: center; gap: 24px; }
.footer-bottom p { margin: 0; font-size: .76rem; }
.footer-credit { color: #fff; font-weight: 700; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: grid; width: 38px; height: 38px; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; color: #fff; background: transparent; place-items: center; transition: background-color .2s, border-color .2s; }
.social-links a:hover, .social-links a:focus-visible { border-color: #fff; background: rgb(255 255 255 / 12%); }
.social-links svg { width: 21px; height: 21px; fill: currentColor; }

@media (max-width: 1100px) {
    :root { --header-h: 76px; }
    .header-inner { width: min(calc(100% - 32px), var(--container)); }
    .brand img { width: 205px; max-width: 62vw; }
    .nav-toggle { display: block; }
    .primary-nav { position: absolute; top: 100%; right: 0; left: 0; visibility: hidden; height: calc(100dvh - var(--header-h)); overflow-y: auto; background: #fff; box-shadow: 0 12px 22px rgb(0 0 0 / 12%); opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .2s; }
    .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .primary-nav ul { display: block; padding: 20px 24px 50px; }
    .primary-nav li { border-bottom: 1px solid var(--line); }
    .primary-nav a { display: block; padding: 18px 4px; font-size: 1rem; }
    .primary-nav a::after { display: none; }
    .home-slider { min-height: clamp(480px, calc(100svh - var(--header-h)), 720px); }
    .slide-content { width: min(calc(100% - 96px), 720px); }
    .slide-content h2 { font-size: 34px; }
    .page-hero h1.page-hero-title--slider { font-size: 34px; }
    .slide-title-sign { font-size: 68px; }
    .slider-arrow { width: 42px; height: 42px; }
    .slider-prev { left: 10px; }.slider-next { right: 10px; }
    .intro-grid, .content-grid { grid-template-columns: 1fr; gap: 35px; }
    .business-units { grid-template-columns: 1fr; }
    .business-units a { min-height: 320px; }
    .page-hero { min-height: clamp(360px, 64vw, 560px); }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .client-groups { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .container, .page-hero-content { width: min(calc(100% - 32px), var(--container)); }
    .section-pad { padding: 62px 0; }
    .home-slider { min-height: max(480px, 72svh); }
    .slide { background-position: center; }
    .slide-content { width: calc(100% - 58px); padding-bottom: 45px; }
    .slide-content h2 { font-size: 26px; line-height: 1.2; }
    .page-hero h1.page-hero-title--slider { gap: .12em; font-size: 26px; line-height: 1.2; }
    .slide-title { gap: .12em; }
    .slide-title-sign { font-size: 52px; }
    .slide-content p { font-size: 20px; line-height: 25px; }
    .slide-mark { max-height: 120px; margin-bottom: 18px; }
    .slide-mark--right { width: min(132px, 34vw); max-height: 132px; margin: 0; }
    .slide.has-right-mark .slide-content h2 { max-width: 58%; font-size: 24px; }
    .slide.has-right-mark .slide-content p { max-width: 58%; }
    .slider-arrow { top: auto; bottom: 17px; }
    .slider-prev { left: 14px; }.slider-next { right: 14px; }
    .slider-dots { bottom: 32px; }
    .business-units a { min-height: 260px; }
    .business-units span { padding: 28px; }
    .page-hero { min-height: 390px; }
    .feature-list { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .video-grid, .split-media { grid-template-columns: 1fr; }
    .certificate-links a { align-items: flex-start; flex-direction: column; gap: 5px; }
    .form-grid, .checkbox-grid { grid-template-columns: 1fr; gap: 0; }
    .complaint-form { padding: 24px 18px; }
    .lightbox { padding: 60px 14px; }
    .footer-main { padding: 55px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 18px; }
    .footer-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
