/* Mercoplast — prototype styles. Every rule maps to Elementor global settings or container/widget style controls. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --green: #0e7d3f;
  --green-dark: #0a5e2f;
  --green-ink: #0b2a1a;
  --green-tint: #eaf4ee;
  --green-mist: #f4f9f6;
  --ink: #16241c;
  --ink-soft: #4a5a51;
  --line: #d9e2dc;
  --white: #ffffff;
  --radius: 4px;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 112px);
  --font: "Archivo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--green); color: var(--white); }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid #f2c94c; outline-offset: 2px; }

h1, h2, h3 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; color: var(--green-ink); }
h1 { font-size: clamp(36px, 5vw, 58px); font-stretch: 112%; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-stretch: 108%; }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 20px; color: var(--ink-soft); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--sec) 0; }
.section--mist { background: var(--green-mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--ink-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--font); padding: 16px 24px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); color: var(--white); }
.btn--light { background: var(--white); color: var(--green-ink); }
.btn--light:hover { background: var(--green-tint); color: var(--green-ink); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--green-ink); border-color: var(--white); }
.btn--outline { border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--white); }

/* Utility strip + header */
.topbar { background: var(--green-ink); color: #cfe3d6; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #e6f2ea; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-contact span, .topbar-contact a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; }
.header { background: var(--green); position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 10px rgba(11,42,26,.18); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.header .logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 500; padding: 10px 14px; border-radius: var(--radius); transition: background-color .2s ease-out; }
.nav a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--white); border-radius: 0; }
.nav .btn { margin-left: 16px; padding: 13px 20px; }
.nav .btn--light, .nav .btn--light:hover { color: var(--green-ink); }
.nav .btn--light:hover { background: var(--green-tint); }
.menu-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.6); color: var(--white); border-radius: var(--radius); padding: 8px 12px; font: 600 15px var(--font); align-items: center; gap: 8px; }
.menu-toggle svg { width: 20px; height: 20px; }

/* Hero */
.hero { background: var(--green); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.hero-copy { padding: clamp(56px, 8vw, 104px) var(--pad) clamp(56px, 8vw, 104px) max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: var(--white); max-width: 13ch; }
.hero p { font-size: 20px; color: #f0f8f3; max-width: 44ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: reveal 1.1s cubic-bezier(.16,1,.3,1) both; }
  @keyframes reveal { from { clip-path: inset(0 0 0 100%); transform: scale(1.06); } to { clip-path: inset(0); transform: scale(1); } }
}

/* Credentials strip */
.creds { border-bottom: 1px solid var(--line); }
.creds .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.cred { display: flex; gap: 16px; align-items: center; padding: 28px 24px 28px 0; }
.cred + .cred { border-left: 1px solid var(--line); padding-left: 24px; }
.cred svg { width: 36px; height: 36px; flex: none; color: var(--green); }
.cred strong { display: block; font-size: 18px; color: var(--green-ink); line-height: 1.25; }
.cred span { font-size: 15px; color: var(--ink-soft); line-height: 1.4; }

/* Product groups */
.finish-group + .finish-group { margin-top: 56px; }
.finish-label { display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--green); margin-bottom: 24px; flex-wrap: wrap; }
.finish-label h2, .finish-label h3 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.finish-label span { color: var(--ink-soft); font-size: 15px; }
.products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.product a { display: block; text-decoration: none; color: inherit; }
.product figure { margin: 0 0 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; transition: border-color .2s ease-out, box-shadow .2s ease-out; }
.product figure img { width: 100%; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.product a:hover figure { border-color: var(--green); box-shadow: 0 8px 24px rgba(11,42,26,.10); }
.product a:hover figure img { transform: scale(1.05); }
.product h3, .product h4 { font-size: 17px; margin: 0 0 4px; color: var(--green-ink); line-height: 1.3; }
.product .meta { font-size: 14px; color: var(--ink-soft); }
.product .more { display: inline-flex; gap: 6px; align-items: center; color: var(--green); font-weight: 600; font-size: 15px; margin-top: 8px; }
.product .more svg { width: 16px; height: 16px; transition: transform .2s ease-out; }
.product a:hover .more svg { transform: translateX(3px); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; }
.origin-list { list-style: none; padding: 0; margin: 24px 0 32px; border-top: 1px solid var(--line); }
.origin-list li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.origin-list b { color: var(--green-ink); }

/* ISO band */
.iso { background: var(--green-ink); color: #d5e7db; }
.iso .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; }
.iso h2 { color: var(--white); margin-bottom: .3em; }
.iso p { margin: 0; }
.iso .seal { background: var(--white); border-radius: var(--radius); padding: 12px; width: 128px; height: auto; aspect-ratio: 629/614; justify-self: start; }

/* Geo band */
.geo { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--green-tint); }
.geo-media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.geo-copy { padding: clamp(48px, 7vw, 88px) var(--pad); max-width: 620px; }

/* CTA band */
.cta { background: var(--green); color: var(--white); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin: 0 0 6px; }
.cta p { margin: 0; color: #f0f8f3; }

/* Page header (inner pages) */
.page-head { background: var(--green); color: var(--white); padding: 56px 0 52px; }
.page-head h1 { color: var(--white); margin-bottom: .2em; }
.page-head p { color: #f0f8f3; margin: 0; font-size: 19px; }
.crumbs { font-size: 14px; margin-bottom: 16px; color: #bfdccb; }
.crumbs a { color: #e6f2ea; }
.crumbs--light { color: var(--ink-soft); }
.crumbs--light a { color: var(--green); }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(24px, 2.6vw, 30px); }
.prose figure { margin: 32px 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.policy { list-style: none; padding: 0; margin: 0 0 1em; }
.policy li { position: relative; padding-left: 28px; margin-bottom: 14px; max-width: 68ch; }
.policy li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--green); }
.aside-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 112px; }
.aside-card h3 { font-size: 18px; }
.aside-card p { font-size: 15px; color: var(--ink-soft); }

/* Product sheet */
.sheet { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.sheet-media { border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; overflow: hidden; background: var(--white); }
.sheet-media img { width: 100%; }
.sheet h1 { color: var(--green-ink); font-size: clamp(30px, 3.6vw, 44px); }
.sheet h1 small { display: block; font-size: .5em; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; margin-top: 8px; }
.specs { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: 16px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.specs th { width: 210px; color: var(--green-ink); font-weight: 600; background: var(--green-mist); }
.sheet-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--green-ink); color: var(--white); font-weight: 600; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tr.is-current td { background: var(--green-tint); font-weight: 600; color: var(--green-ink); }
.scroll-hint { display: none; font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.related a { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--green-ink); font-weight: 600; font-size: 15px; line-height: 1.3; transition: border-color .2s ease-out; }
.related a:hover { border-color: var(--green); }
.related img { width: 56px; height: 56px; flex: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 72px); }
.contact-data { list-style: none; padding: 0; margin: 24px 0 32px; }
.contact-data li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-data svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 3px; }
.contact-data b { display: block; color: var(--green-ink); font-size: 15px; }
.contact-data a { color: var(--ink); }
.form { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--green-ink); }
.field input, .field textarea { width: 100%; font: 16px/1.5 var(--font); color: var(--ink); padding: 13px 14px; border: 1px solid #b9c7be; border-radius: var(--radius); background: var(--white); caret-color: var(--green); transition: border-color .2s ease-out, box-shadow .2s ease-out; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(14,125,63,.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.field textarea { min-height: 140px; resize: vertical; }
.form .btn { border: 0; cursor: pointer; }
.map { width: 100%; height: 380px; border: 0; display: block; filter: saturate(.85); }

/* Message pages */
.message { min-height: 56vh; display: grid; place-items: center; text-align: center; padding: var(--sec) var(--pad); }
.message p { margin: 0 auto 28px; }
.message .code { font-size: 15px; color: var(--ink-soft); font-weight: 600; }
.message-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--green-ink); color: #b8cfc0; font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer h3 { color: var(--white); font-size: 18px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #dcebe1; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer .logo img { height: 50px; width: auto; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; grid-template-columns: none; gap: 16px; flex-wrap: wrap; }
.barr { display: inline-flex; align-items: center; gap: 12px; }
.barr img { height: 34px; width: auto; }

/* Responsive (Elementor breakpoints: tablet 1024, mobile 767) */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .sheet { grid-template-columns: 1fr; }
  .sheet-media { max-width: 360px; }
  .aside-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .iso .wrap { grid-template-columns: auto 1fr; }
  .iso .btn { grid-column: 1 / -1; justify-self: start; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--green-dark); padding: 12px var(--pad) 20px; }
  .nav.is-open .btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .topbar .barr-top, .topbar-contact > :not(:first-child) { display: none; }
  .hero, .split, .geo, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-copy { padding: 48px var(--pad); }
  .hero-media { height: 240px; order: -1; }
  .creds .wrap { grid-template-columns: 1fr; }
  .cred { padding: 18px 0; }
  .cred + .cred { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .origin-list li { grid-template-columns: 1fr; gap: 2px; }
  .iso .wrap { grid-template-columns: 1fr; gap: 24px; }
  .geo-media img { min-height: 220px; }
  .related { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .scroll-hint { display: block; }
  .footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .header .logo img { height: 44px; }
  .header .wrap { min-height: 72px; }
  .specs th { width: 130px; }
}
