:root {
  --blue: #006bfe;
  --blue-dark: #003466;
  --blue-deep: #002b55;
  --yellow: #ffcd57;
  --yellow-deep: #f1ba36;
  --ink: #09263c;
  --muted: #667782;
  --mist: #f2f6f8;
  --line: #d9e2e7;
  --white: #fff;
  --shell: min(1200px, calc(100% - 56px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 16px/1.65 "Open Sans", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 600; line-height: .99; letter-spacing: -.045em; }
h2 { margin-bottom: 1rem; font-size: clamp(2.55rem, 5vw, 5rem); }
h3 { line-height: 1.2; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(95px, 10vw, 150px); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--yellow); color: var(--blue-dark); font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 40; height: 86px; color: #fff; transition: height .25s, background .25s, box-shadow .25s; }
.site-header.is-scrolled { height: 72px; background: rgb(0 52 102 / .96); box-shadow: 0 10px 36px rgb(0 20 40 / .18); backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 47px; height: 47px; object-fit: contain; }
.brand span { display: grid; line-height: 1; text-transform: uppercase; }
.brand strong { font-size: .78rem; letter-spacing: .12em; }
.brand small { margin-top: 6px; color: rgb(255 255 255 / .72); font-size: .61rem; font-weight: 700; letter-spacing: .2em; }
.main-nav { display: flex; align-items: center; gap: clamp(17px, 2vw, 29px); margin-left: auto; }
.main-nav a { position: relative; color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: inline-flex; align-items: center; gap: 18px; min-height: 43px; padding: 0 15px; border: 1px solid rgb(255 255 255 / .48); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.header-cta b { color: var(--yellow); }
.menu-button { display: none; }

.hero { position: relative; min-height: 790px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--blue-dark); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(0deg, rgb(0 27 53 / .8), transparent); pointer-events: none; }
.hero-background { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 27 54 / .97) 0%, rgb(0 52 102 / .82) 49%, rgb(0 52 102 / .26) 100%), url("assets/hero-refineria.webp") center / cover; }
.hero-background::after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgb(255 255 255 / .1) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .1) 1px, transparent 1px); background-size: 90px 90px; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .48fr); gap: clamp(60px, 10vw, 150px); align-items: end; padding-top: 116px; }
.eyebrow { margin-bottom: 17px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: rgb(255 255 255 / .78); }
.eyebrow-light span { display: inline-block; width: 30px; height: 2px; margin: 0 11px 3px 0; background: var(--yellow); }
.eyebrow-blue { color: var(--blue); }
.eyebrow-yellow { color: var(--yellow); }
.hero h1 { max-width: 790px; margin-bottom: 28px; font-size: clamp(4rem, 7.25vw, 7.25rem); }
.hero h1 em, .conversion h2 em { color: var(--yellow); font-weight: inherit; }
.hero-lead { max-width: 625px; margin-bottom: 36px; color: rgb(255 255 255 / .79); font-size: 1.06rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 13px 21px; border: 1px solid transparent; border-radius: 0; font-size: .72rem; font-weight: 800; letter-spacing: .075em; line-height: 1; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-3px); }
.button-yellow { color: var(--blue-dark); background: var(--yellow); }
.button-yellow:hover { background: #ffe092; }
.button-outline { border-color: rgb(255 255 255 / .52); color: #fff; background: transparent; }
.button-blue { color: #fff; background: var(--blue); }
.hero-panel { border-top: 4px solid var(--yellow); padding: 26px; color: var(--ink); background: rgb(255 255 255 / .94); box-shadow: 0 30px 70px rgb(0 20 40 / .23); backdrop-filter: blur(9px); }
.hero-panel-top { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.hero-panel-top span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-panel-top strong { color: var(--blue-dark); font: 600 2.4rem/1 Georgia, serif; }
.hero-panel > p { color: var(--muted); font-size: .86rem; }
.hero-panel ul { margin: 22px 0; padding: 0; list-style: none; }
.hero-panel li { display: grid; grid-template-columns: 35px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .82rem; font-weight: 700; }
.hero-panel li span { color: var(--blue); font-size: .67rem; }
.hero-panel > a { display: flex; justify-content: space-between; border-top: 1px solid var(--blue-dark); padding-top: 15px; color: var(--blue-dark); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.hero-scroll { position: absolute; z-index: 3; bottom: 27px; left: 50%; display: flex; align-items: center; gap: 11px; color: rgb(255 255 255 / .62); font-size: .61rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); }
.hero-scroll span { width: 26px; height: 1px; background: var(--yellow); }

.proof-strip { position: relative; z-index: 4; color: #fff; background: var(--blue); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid article { display: flex; align-items: center; gap: 18px; min-height: 104px; padding: 18px 30px; border-right: 1px solid rgb(255 255 255 / .23); }
.proof-grid article:first-child { border-left: 1px solid rgb(255 255 255 / .23); }
.proof-grid article > strong { color: var(--yellow); font: 600 1.75rem/1 Georgia, serif; }
.proof-grid div { display: grid; }
.proof-grid b { font-size: .82rem; letter-spacing: .03em; }
.proof-grid span { color: rgb(255 255 255 / .7); font-size: .69rem; }

.section-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-kicker::after { content: ""; flex: 1; height: 1px; margin-left: 11px; background: var(--line); }
.section-kicker span { display: grid; place-items: center; width: 30px; height: 30px; color: var(--blue); background: #edf4ff; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .72fr; gap: clamp(60px, 10vw, 155px); align-items: start; }
.intro h2 { margin-bottom: 0; }
.intro-copy .lead { color: var(--ink); font-size: 1.14rem; font-weight: 650; }
.intro-copy p { color: var(--muted); }
.arrow-link { display: inline-flex; align-items: center; gap: 13px; border-bottom: 2px solid var(--yellow); padding-bottom: 4px; color: var(--blue-dark); font-size: .72rem; font-weight: 800; letter-spacing: .075em; text-decoration: none; text-transform: uppercase; }

.product-showcase { padding-block: clamp(90px, 10vw, 145px); color: #fff; background: var(--blue-dark); }
.product-grid { display: grid; grid-template-columns: 1.15fr .72fr; gap: clamp(55px, 9vw, 125px); align-items: center; }
.product-visual { position: relative; padding: 0 50px 62px 0; }
.product-main-image { margin: 0; }
.product-main-image img { width: 100%; aspect-ratio: 1.12; object-fit: cover; filter: saturate(.85); }
.product-detail-image { position: absolute; right: 0; bottom: 0; width: 44%; margin: 0; border: 8px solid var(--blue-dark); }
.product-detail-image img { width: 100%; aspect-ratio: 1.15; object-fit: cover; }
.image-label { position: absolute; bottom: 18px; left: -14px; display: flex; align-items: center; gap: 10px; color: rgb(255 255 255 / .67); font-size: .61rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-90deg); transform-origin: left; }
.image-label span { width: 22px; height: 1px; background: var(--yellow); }
.product-copy h2 { font-size: clamp(2.8rem, 4.5vw, 4.8rem); }
.product-copy > p:not(.eyebrow) { color: rgb(255 255 255 / .7); }
.spec-list { margin: 31px 0 34px; border-top: 1px solid rgb(255 255 255 / .22); }
.spec-list div { display: grid; grid-template-columns: .7fr 1.25fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / .22); font-size: .76rem; }
.spec-list dt { color: rgb(255 255 255 / .55); }
.spec-list dd { margin: 0; color: #fff; font-weight: 700; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 52px; }
.section-heading h2 { max-width: 785px; margin-bottom: 0; }
.section-heading > p { max-width: 330px; margin-bottom: 8px; color: var(--muted); font-size: .92rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.benefit-grid article { position: relative; min-height: 285px; overflow: hidden; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .25s, transform .25s; }
.benefit-grid article:hover { z-index: 2; background: var(--mist); transform: translateY(-5px); box-shadow: 0 20px 45px rgb(0 52 102 / .1); }
.benefit-icon { width: 128px; height: 70px; margin-bottom: 24px; overflow: hidden; }
.benefit-icon img { width: 128px; max-width: none; }
.benefit-grid article > span { position: absolute; top: 28px; right: 28px; color: var(--blue); font-size: .65rem; font-weight: 800; }
.benefit-grid h3 { margin-bottom: 9px; color: var(--blue-dark); font-family: Georgia, serif; font-size: 1.35rem; }
.benefit-grid p { margin-bottom: 0; color: var(--muted); font-size: .82rem; }

.process { padding-block: clamp(100px, 11vw, 155px); color: #fff; background: #071f31; }
.section-kicker-dark { color: rgb(255 255 255 / .55); }
.section-kicker-dark::after { background: rgb(255 255 255 / .18); }
.section-kicker-dark span { color: var(--yellow); background: rgb(255 205 87 / .11); }
.process-heading { display: grid; grid-template-columns: 1.25fr .55fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.process-heading h2 { margin-bottom: 0; }
.process-heading > p { margin-bottom: 9px; color: rgb(255 255 255 / .66); }
.process-feature { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(45px, 7vw, 100px); align-items: center; }
.process-feature figure { margin: 0; padding: 20px; background: #fff; }
.process-feature figure img { width: 100%; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 45px 1fr; gap: 16px; padding-block: 22px; border-top: 1px solid rgb(255 255 255 / .18); }
.steps li:last-child { border-bottom: 1px solid rgb(255 255 255 / .18); }
.steps li > span { color: var(--yellow); font-size: .65rem; font-weight: 800; }
.steps h3 { margin-bottom: 6px; font-family: Georgia, serif; font-size: 1.23rem; }
.steps p { margin-bottom: 0; color: rgb(255 255 255 / .64); font-size: .81rem; }
.process-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.process-gallery figure { margin: 0; background: rgb(255 255 255 / .04); }
.process-gallery img { width: 100%; aspect-ratio: 2.15; object-fit: cover; background: #fff; }
.process-gallery figcaption { display: flex; gap: 13px; align-items: center; padding: 15px; color: rgb(255 255 255 / .68); font-size: .7rem; }
.process-gallery figcaption span { color: var(--yellow); font-weight: 800; }

.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.application-grid article { position: relative; min-height: 270px; overflow: hidden; padding: 28px; color: var(--ink); background: var(--mist); transition: color .25s, background .25s, transform .25s; }
.application-grid article::before { content: ""; position: absolute; right: -90px; bottom: -90px; width: 180px; height: 180px; border: 1px solid rgb(0 107 254 / .16); border-radius: 50%; }
.application-grid article:hover { color: #fff; background: var(--blue); transform: translateY(-4px); }
.application-grid article > div { display: flex; justify-content: space-between; margin-bottom: 62px; }
.application-grid span, .application-grid b { font-size: .63rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.application-grid span { color: var(--blue); }
.application-grid b { color: var(--muted); }
.application-grid article:hover span { color: var(--yellow); }
.application-grid article:hover b, .application-grid article:hover p { color: rgb(255 255 255 / .7); }
.application-grid h3 { max-width: 260px; margin-bottom: 8px; font-family: Georgia, serif; font-size: 1.35rem; }
.application-grid p { max-width: 290px; margin-bottom: 0; color: var(--muted); font-size: .8rem; }
.application-grid i { position: absolute; right: 24px; bottom: 20px; color: var(--blue); font-style: normal; }
.application-grid article:hover i { color: var(--yellow); }

.testimonials { padding-block: clamp(95px, 10vw, 145px); overflow: hidden; color: #fff; background: var(--blue-dark); }
.testimonial-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.testimonial-heading h2 { max-width: 750px; margin-bottom: 0; }
.slider-controls { display: flex; }
.slider-controls button { width: 52px; height: 52px; border: 1px solid rgb(255 255 255 / .28); color: #fff; background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.slider-controls button:hover { color: var(--blue-dark); background: var(--yellow); }
.testimonial-track { display: flex; gap: 18px; width: min(100% - 28px, 1360px); margin-left: max(28px, calc((100% - 1200px) / 2)); overflow-x: auto; padding-bottom: 16px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: var(--yellow) rgb(255 255 255 / .12); }
.testimonial-track figure { flex: 0 0 min(330px, 82vw); margin: 0; scroll-snap-align: start; }
.testimonial-track img { width: 100%; }

.conversion { position: relative; overflow: hidden; padding-block: clamp(90px, 10vw, 140px); color: #fff; background: var(--blue); }
.conversion::before { content: ""; position: absolute; inset: 0; opacity: .12; background: radial-gradient(circle at 75% 30%, #fff 0 1px, transparent 2px); background-size: 26px 26px; }
.conversion-drop { position: absolute; right: 2%; bottom: -46%; width: min(480px, 43vw); opacity: .15; filter: brightness(0) invert(1); }
.conversion-inner { position: relative; }
.conversion h2 { max-width: 850px; font-size: clamp(3.1rem, 6vw, 6.3rem); }

.contact { display: grid; grid-template-columns: .72fr 1fr; gap: clamp(60px, 10vw, 145px); }
.contact-details > p:not(.eyebrow) { max-width: 440px; color: var(--muted); }
address { display: grid; gap: 20px; margin: 35px 0; font-style: normal; }
address div { display: grid; gap: 3px; }
address small { color: var(--blue); font-size: .63rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
address a { width: fit-content; color: var(--ink); font-weight: 750; text-decoration: none; }
address span { max-width: 340px; color: var(--muted); font-size: .84rem; }
.contact-form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 46px); background: var(--mist); }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-heading { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 18px; color: var(--blue-dark); font: 600 1.45rem/1.2 Georgia, serif; }
.form-heading b { color: var(--blue); font: 800 .65rem/1 sans-serif; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form label { display: grid; gap: 7px; color: var(--blue-dark); font-size: .65rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #b9c8d0; border-radius: 0; padding: 12px 2px; color: var(--ink); background: transparent; font-size: .88rem; outline: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 1px var(--blue); }
.contact-form textarea { resize: vertical; }
.privacy-summary { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.privacy-summary a, .privacy-consent a { color: var(--blue-dark); font-weight: 750; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.privacy-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 11px; align-items: start; border: 1px solid var(--line); padding: 12px; background: #fff; }
.contact-form .privacy-consent input[type="checkbox"] { width: 19px; height: 19px; margin: 2px 0 0; border: initial; border-radius: initial; padding: 0; background: initial; box-shadow: none; accent-color: var(--blue); cursor: pointer; }
.contact-form .privacy-consent input[type="checkbox"]:focus-visible { outline: 3px solid rgb(0 107 254 / .3); outline-offset: 2px; }
.contact-form .privacy-consent label { display: block; color: var(--ink); font-size: .76rem; font-weight: 500; letter-spacing: 0; line-height: 1.55; text-transform: none; cursor: pointer; }
.form-submit { display: flex; align-items: center; gap: 22px; margin-top: 5px; }
.form-submit p { max-width: 230px; margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.4; }
.form-submit button:disabled { cursor: wait; opacity: .68; transform: none; }
.form-status { display: none; margin: 0; border-left: 3px solid currentColor; padding: 11px 14px; font-size: .78rem; }
.form-status.is-success, .form-status.is-error { display: block; }
.form-status.is-success { color: #12643a; background: #e8f6ee; }
.form-status.is-error { color: #9a2727; background: #fff0f0; }

.site-footer { padding-top: 68px; color: #fff; background: #061d2e; }
.footer-main { display: grid; grid-template-columns: .7fr 1fr auto; gap: 60px; align-items: center; padding-bottom: 55px; }
.footer-brand strong { font-size: .66rem; }
.footer-main > p { max-width: 380px; margin: 0; color: rgb(255 255 255 / .58); font-size: .78rem; }
.footer-top { border-bottom: 1px solid var(--yellow); padding-bottom: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.footer-top span { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgb(255 255 255 / .12); padding-block: 19px; color: rgb(255 255 255 / .43); font-size: .63rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-legal { color: rgb(255 255 255 / .72); text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.mobile-action { display: none; }

.legal-page { background: var(--mist); }
.legal-site-header { background: var(--blue-dark); }
.legal-main { padding-top: 86px; }
.legal-hero { color: #fff; background: var(--blue-dark); }
.legal-hero-inner { padding-block: clamp(70px, 9vw, 120px); }
.legal-back { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 30px; color: var(--yellow); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.legal-hero h1 { max-width: 850px; margin-bottom: 22px; font-size: clamp(3.2rem, 7vw, 6.5rem); }
.legal-hero p { margin: 0; color: rgb(255 255 255 / .7); font-size: .83rem; }
.legal-document { width: min(820px, calc(100% - 56px)); padding-block: clamp(65px, 8vw, 105px); }
.legal-document section { border-bottom: 1px solid var(--line); padding-block: 30px; }
.legal-document section:first-child { padding-top: 0; }
.legal-document h2 { margin-bottom: 18px; color: var(--blue-dark); font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.025em; line-height: 1.15; }
.legal-document p, .legal-document li { color: #3f5564; }
.legal-document ul, .legal-document ol { display: grid; gap: 8px; margin: 0 0 22px; padding-left: 24px; }
.legal-document a { overflow-wrap: anywhere; }
.legal-document p > a, .legal-contact a { color: var(--blue-dark); font-weight: 750; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.legal-contact { gap: 8px; margin: 0; }
.legal-contact strong { color: var(--blue-dark); }
.legal-contact span { max-width: 620px; font-size: .92rem; }
.legal-home-link { margin-top: 40px; }

@media (max-width: 1000px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .header-cta { margin-left: auto; }
  .menu-button { position: relative; display: flex; align-items: center; gap: 12px; border: 0; padding: 8px 0; color: #fff; background: transparent; font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .menu-button i, .menu-button i::before, .menu-button i::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-button i { position: relative; }
  .menu-button i::before, .menu-button i::after { content: ""; position: absolute; left: 0; }
  .menu-button i::before { top: -7px; }
  .menu-button i::after { top: 7px; }
  .menu-button[aria-expanded="true"] i { background: transparent; }
  .menu-button[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
  .main-nav.is-open { position: absolute; top: 72px; right: 0; left: 0; display: grid; gap: 0; margin: 0; padding: 10px max(28px, calc((100% - 1200px) / 2)); background: var(--blue-dark); box-shadow: 0 25px 45px rgb(0 20 40 / .25); }
  .main-nav.is-open a { border-bottom: 1px solid rgb(255 255 255 / .13); padding: 15px 0; }
  .main-nav.is-open a::after { display: none; }
  .hero-grid { grid-template-columns: 1fr .48fr; gap: 45px; }
  .hero h1 { font-size: clamp(3.8rem, 8vw, 5.7rem); }
  .product-grid, .process-feature { gap: 55px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 34px, 650px); }
  html { scroll-padding-top: 70px; }
  body { padding-bottom: 58px; }
  .site-header, .site-header.is-scrolled { height: 70px; }
  .brand img { width: 41px; height: 41px; }
  .brand strong { font-size: .68rem; }
  .header-cta { display: none; }
  .main-nav.is-open { top: 70px; padding-inline: 17px; }
  .hero { min-height: 770px; }
  .hero-background { background: linear-gradient(180deg, rgb(0 31 60 / .8), rgb(0 34 67 / .98) 75%), url("assets/hero-refineria.webp") 60% center / cover; }
  .hero-grid { display: block; padding-top: 95px; }
  .hero h1 { font-size: clamp(3.45rem, 15vw, 5.4rem); }
  .hero-panel { display: none; }
  .hero-copy { max-width: 620px; }
  .hero-scroll { left: 17px; transform: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid article { min-height: 83px; border-right: 1px solid rgb(255 255 255 / .23); border-bottom: 1px solid rgb(255 255 255 / .23); }
  .intro-grid, .product-grid, .process-heading, .process-feature, .contact { grid-template-columns: 1fr; }
  .intro-grid, .product-grid, .contact { gap: 50px; }
  .product-visual { order: 2; }
  .product-copy { order: 1; }
  .section-heading { display: grid; gap: 21px; }
  .section-heading > p { max-width: 520px; }
  .process-heading { gap: 15px; }
  .process-gallery { grid-template-columns: 1fr; }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-heading { align-items: center; }
  .conversion-drop { width: 75vw; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; }
  .footer-bottom { display: grid; }
  .legal-main { padding-top: 70px; }
  .legal-hero-inner { padding-block: 58px 64px; }
  .legal-document { width: min(100% - 34px, 650px); }
  .mobile-action { position: fixed; z-index: 39; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: .7fr 1.3fr; height: 58px; box-shadow: 0 -8px 26px rgb(0 20 40 / .16); }
  .mobile-action a { display: grid; place-items: center; color: #fff; background: var(--blue-dark); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
  .mobile-action a:last-child { color: var(--blue-dark); background: var(--yellow); }
}

@media (max-width: 520px) {
  .brand span { display: none; }
  .hero { min-height: 730px; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 4.35rem); }
  .hero-lead { font-size: .96rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  h2 { font-size: 2.7rem; }
  .section-kicker { margin-bottom: 35px; }
  .product-visual { padding: 0 28px 42px 0; }
  .product-detail-image { width: 48%; border-width: 5px; }
  .benefit-grid, .application-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: 285px; }
  .application-grid article { min-height: 230px; }
  .application-grid article > div { margin-bottom: 40px; }
  .testimonial-heading { display: grid; }
  .slider-controls { justify-self: end; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { align-items: start; flex-direction: column; }
  .form-submit .button { width: 100%; }
}

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

/* Sección membrana */
#membrana { scroll-margin-top: 86px; }
.membrane-industry-grid { margin-bottom: clamp(55px, 7vw, 85px); }
.membrane-industry-grid article { display: flex; min-height: 210px; flex-direction: column; justify-content: flex-end; }
.membrane-industry-grid h3 { max-width: none; }
.membrane-industry-grid p { line-height: 1.75; }
.membrane-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.membrane-gallery figure { display: flex; margin: 0; background: var(--mist); flex-direction: column; }
.membrane-gallery img { width: 100%; height: clamp(220px, 24vw, 330px); object-fit: contain; background: var(--mist); }
.membrane-gallery figcaption { flex: 1; border: 1px solid var(--line); border-top: 0; padding: 15px; color: var(--muted); font-size: .75rem; }
.membrane-experience { margin-top: clamp(65px, 8vw, 100px); }
.membrane-experience h3 { margin-bottom: 8px; color: var(--blue-dark); font-family: Georgia, serif; font-size: 2rem; }
.membrane-experience > p { margin-bottom: 28px; color: var(--muted); }
.membrane-experience table { width: 100%; border-collapse: collapse; margin-bottom: 36px; }
.membrane-experience th, .membrane-experience td { border: 1px solid var(--line); padding: 15px 18px; text-align: left; vertical-align: top; }
.membrane-experience th { color: var(--blue-dark); background: var(--mist); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.membrane-experience td { font-size: .84rem; }
.contact-location-links { display: grid; justify-items: start; gap: 14px; }

@media (min-width: 1001px) and (max-width: 1200px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .header-cta { margin-left: auto; }
  .menu-button { position: relative; display: flex; align-items: center; gap: 12px; border: 0; padding: 8px 0; color: #fff; background: transparent; font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .menu-button i, .menu-button i::before, .menu-button i::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-button i { position: relative; }
  .menu-button i::before, .menu-button i::after { content: ""; position: absolute; left: 0; }
  .menu-button i::before { top: -7px; }
  .menu-button i::after { top: 7px; }
  .menu-button[aria-expanded="true"] i { background: transparent; }
  .menu-button[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
  .main-nav.is-open { position: absolute; top: 72px; right: 0; left: 0; display: grid; gap: 0; margin: 0; padding: 10px max(28px, calc((100% - 1200px) / 2)); background: var(--blue-dark); box-shadow: 0 25px 45px rgb(0 20 40 / .25); }
  .main-nav.is-open a { border-bottom: 1px solid rgb(255 255 255 / .13); padding: 15px 0; }
  .main-nav.is-open a::after { display: none; }
}

@media (max-width: 768px) {
  #membrana { scroll-margin-top: 70px; }
  .membrane-industry-grid, .membrane-gallery { grid-template-columns: 1fr; }
  .membrane-industry-grid article { min-height: 190px; }
  .membrane-experience table, .membrane-experience tbody, .membrane-experience tr, .membrane-experience td { display: block; width: 100%; }
  .membrane-experience table { border: 0; }
  .membrane-experience thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .membrane-experience tr { margin-bottom: 16px; border: 1px solid var(--line); background: #fff; }
  .membrane-experience td { display: grid; grid-template-columns: minmax(125px, .8fr) 1fr; gap: 14px; border: 0; border-bottom: 1px solid var(--line); padding: 13px 15px; }
  .membrane-experience td:last-child { border-bottom: 0; }
  .membrane-experience td::before { content: attr(data-label); color: var(--blue-dark); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
}
