/* =========================================================
   Eco Smart Line — "Architectural Noir" theme
   Colours come from the logo: green #168334, blue #2f88c4
   ========================================================= */
:root {
  /* accent = light blue from the logo (names kept for simplicity) */
  --green: #5db4ea;
  --green-deep: #2f88c4;
  --blue: #a7dcfa;
  --btn-hover: #1f6a9c;
  --bg: #0a0c0d;
  --bg-2: #101415;
  --card: #151a1c;
  --line: rgba(255, 255, 255, .08);
  --text: #e8ecee;
  --muted: #8d999f;
  --display: "Syne", "Inter", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; font-weight: 400; color: var(--text); background: var(--bg); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; color: #fff; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.muted { color: var(--muted); }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin: 0 0 28px; display: flex; align-items: center; gap: 14px; font-weight: 500; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.grad { background: linear-gradient(90deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.big-title { font-size: clamp(2.6rem, 7vw, 6.2rem); margin-bottom: 64px; }
.section { padding: clamp(90px, 14vw, 180px) 0; position: relative; }
.hidden-field { position: absolute; left: -9999px; }

/* Background architectural grid */
.grid-lines { position: fixed; inset: 0; pointer-events: none; z-index: 0; display: flex; justify-content: space-between; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.grid-lines span { width: 1px; background: rgba(255, 255, 255, .035); }
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; }
.pre-logo { width: min(320px, 60vw); overflow: visible; }
.pre-logo rect { fill: none; stroke-width: 5; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.pre-logo .g { stroke: #168334; } .pre-logo .b { stroke: #2f88c4; } .pre-logo .k { stroke: #cfd3d5; }
.pre-count { position: absolute; right: clamp(20px, 4vw, 48px); bottom: 30px; font-family: var(--display); font-size: clamp(3rem, 10vw, 8rem); font-weight: 700; color: rgba(255,255,255,.08); line-height: 1; }
.pre-curtain { position: absolute; inset: 0; background: var(--green-deep); transform: scaleY(0); transform-origin: bottom; }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--green); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor-ring em { font-style: normal; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; color: #0a0c0d; font-weight: 600; }
.cursor.hover .cursor-ring { width: 60px; height: 60px; border-color: var(--green); }
.cursor.view .cursor-ring { width: 96px; height: 96px; background: #fff; border-color: #fff; }
.cursor.view .cursor-ring em { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } body, a, button { cursor: none; } input, textarea, select { cursor: text; } }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; padding: 1.05em 2em; border-radius: 999px; border: 0; font: inherit; font-weight: 500; color: #fff; background: var(--green-deep); isolation: isolate; cursor: pointer; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn span { display: inline-block; pointer-events: none; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: #0a0c0d; }
.btn-light { background: #fff; color: #0a0c0d; }
.btn-light::before { background: #0a0c0d; }
.btn-light:hover { color: #fff; }
.btn-small { padding: .7em 1.4em; font-size: .92rem; }
.btn.big { padding: 1.4em 2.8em; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .5s var(--ease), background .4s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 12, 13, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, .07); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7); opacity: 0; transition: opacity .4s; }
.site-header.scrolled::before { opacity: 1; }
.site-header.hide { transform: translateY(-100%); }
.nav-wrap { display: flex; align-items: center; gap: 40px; height: 96px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 80px; width: auto; display: block; }
.site-nav { display: flex; gap: 34px; margin-left: auto; }
.site-nav a { overflow: hidden; display: block; height: 1.5em; font-size: .95rem; }
.site-nav a span { display: block; position: relative; transition: transform .45s var(--ease); }
.site-nav a span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--green); }
.site-nav a:hover span { transform: translateY(-100%); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; padding-bottom: 9vh; }
.hero-media { position: absolute; inset: 0; clip-path: inset(12% 18% 12% 18% round 24px); }
.hero-media img { width: 100%; height: 120%; object-fit: cover; transform: scale(1.25); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,13,.96) 5%, rgba(10,12,13,.35) 55%, rgba(10,12,13,.6)), linear-gradient(90deg, rgba(10,12,13,.75), transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-title { font-size: clamp(3rem, 10.5vw, 10.5rem); line-height: .92; margin-bottom: 40px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .indent { padding-left: 12vw; }
.hero-title .small { font-size: .42em; margin-top: .25em; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero-sub { max-width: 30em; color: #c4ccd0; font-size: 1.08rem; margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; right: clamp(20px, 4vw, 48px); top: 50%; z-index: 2; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.hero-scroll i { width: 1px; height: 70px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--green); animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg); position: relative; z-index: 1; }
.marquee-track, .cta-track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee-track span { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 600; padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; color: #d9dfe2; }
.marquee-track span::after { content: ""; width: 12px; height: 12px; border: 2px solid var(--green); transform: rotate(45deg); }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }

/* ---------- About ---------- */
.statement { font-family: var(--display); font-size: clamp(1.7rem, 4.2vw, 3.8rem); line-height: 1.15; font-weight: 600; letter-spacing: -.015em; max-width: 22em; margin-bottom: clamp(70px, 10vw, 130px); }
.statement .w { opacity: .14; }
.about-media { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(20px, 4vw, 60px); align-items: end; }
.mask-img { overflow: hidden; border-radius: 18px; clip-path: inset(100% 0 0 0 round 18px); }
.mask-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.mask-img.tall { aspect-ratio: 4 / 5; }
.mask-img.wide { aspect-ratio: 16 / 11; margin-bottom: 12%; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 10vw, 130px); border-top: 1px solid var(--line); }
.stat { padding: 40px 24px 0 0; }
.stat-num { font-family: var(--display); font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 700; line-height: 1; color: #fff; }
.stat-num sup { color: var(--green); font-size: .5em; vertical-align: top; margin-left: 4px; }
.stat p { color: var(--muted); margin: 12px 0 0; }

/* ---------- Products (horizontal) ---------- */
.products-section { background: var(--bg-2); position: relative; z-index: 1; }
.products-pin { height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.products-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 10px 40px; margin-bottom: 44px; }
.products-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.products-head h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.progress { height: 1px; background: var(--line); align-self: end; margin-bottom: 14px; position: relative; }
.progress span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--green), var(--blue)); transform: scaleX(0); transform-origin: left; }
.products-track { display: flex; gap: 28px; padding-left: max(clamp(20px, 4vw, 48px), calc((100vw - 1320px) / 2 + 48px)); padding-right: 10vw; width: max-content; will-change: transform; }
.product { position: relative; width: clamp(280px, 30vw, 420px); aspect-ratio: 3 / 4; height: auto; max-height: 58vh; border-radius: 20px; overflow: hidden; background: var(--card); flex-shrink: 0; }
.product img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.35) brightness(.85); }
.product:hover img { transform: scale(1.04); filter: none; }
.product::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,10,11,.95), transparent 55%); }
.product-num { position: absolute; top: 22px; left: 24px; z-index: 1; font-family: var(--display); font-size: .9rem; color: #fff; background: rgba(10,12,13,.5); backdrop-filter: blur(8px); padding: 6px 14px; border-radius: 999px; }
.product-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; }
.product-body h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 10px; }
.product-body p { color: #b9c2c6; font-size: .95rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.product:hover .product-body p { max-height: 6em; opacity: 1; }

/* ---------- Services ---------- */
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 90px 1fr 1fr 60px; gap: 30px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.service::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,136,196,.2), rgba(167,220,250,.05)); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.service:hover::before { transform: none; }
.service-n { font-family: var(--display); color: var(--muted); font-size: 1rem; }
.service h3 { font-size: clamp(1.5rem, 3vw, 2.6rem); transition: transform .6s var(--ease); }
.service:hover h3 { transform: translateX(14px); }
.service p { color: var(--muted); margin: 0; }
.service-arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, transform .6s var(--ease), border-color .4s; }
.service:hover .service-arrow { background: var(--green-deep); border-color: var(--green-deep); transform: rotate(-45deg); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.g-item { position: relative; overflow: hidden; border-radius: 18px; margin: 0; }
.g-item img { width: 100%; height: 115%; object-fit: cover; }
.g-item figcaption { position: absolute; left: 20px; bottom: 18px; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(10,12,13,.55); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }
.g-item:nth-child(5n+1) { grid-column: 1 / span 7; aspect-ratio: 16 / 10; }
.g-item:nth-child(5n+2) { grid-column: 8 / span 5; aspect-ratio: 4 / 5; margin-top: 18%; }
.g-item:nth-child(5n+3) { grid-column: 1 / span 4; aspect-ratio: 4 / 5; }
.g-item:nth-child(5n+4) { grid-column: 5 / span 4; aspect-ratio: 4 / 5; margin-top: 22%; }
.g-item:nth-child(5n+5) { grid-column: 9 / span 4; aspect-ratio: 4 / 5; margin-top: -8%; }

/* ---------- Careers ---------- */
.careers { background: var(--bg-2); }
.careers-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.careers .big-title { margin-bottom: 28px; font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.careers-intro { position: sticky; top: 130px; }
.job-list { display: grid; gap: 16px; }
.job { border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 28px 30px; transition: border-color .4s, transform .5s var(--ease); }
.job:hover { border-color: rgba(93,180,234,.5); transform: translateY(-4px); }
.job-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.job h3 { font-size: 1.45rem; margin-bottom: 10px; }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.job-meta span { font-size: .8rem; border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; color: #c4ccd0; }
.job p { color: var(--muted); margin: 0; }
.job .btn { flex-shrink: 0; }
.no-jobs { color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; padding: 30px; }
.apply-form { margin-top: 80px; border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 56px); background: var(--bg); }
.apply-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.apply-head h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.apply-head p { margin: 0; }
.apply-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px; margin-bottom: 34px; }
.apply-fields .wide { grid-column: 1 / -1; }

/* Floating-label fields (shared by contact + apply forms) */
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 22px 0 10px; border-radius: 0; transition: border-color .4s; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' fill='none'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field select option { background: var(--card); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); }
.field label { position: absolute; left: 0; top: 22px; color: var(--muted); pointer-events: none; transition: transform .35s var(--ease), font-size .35s, color .35s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.up { transform: translateY(-20px); font-size: .78rem; color: var(--green); }
.file-field input { position: absolute; inset: 0; opacity: 0; z-index: 1; }
.file-label { position: static !important; display: flex !important; align-items: center; gap: 12px; padding: 18px 20px; border: 1px dashed rgba(255,255,255,.25); border-radius: 12px; color: #c4ccd0 !important; }
.file-label::before { content: "↑"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-deep); color: #fff; flex-shrink: 0; }
.file-field { grid-column: span 2; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 160px) 0; background: var(--green-deep); z-index: 1; }
.cta-marquee { position: absolute; inset: 50% 0 auto; transform: translateY(-50%); pointer-events: none; }
.cta-track span { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 18vw, 16rem); line-height: 1; padding-right: .4em; color: rgba(255,255,255,.07); white-space: nowrap; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); max-width: 11em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.contact .big-title { margin-bottom: 50px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list span { font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); padding-top: 3px; }
.contact-list a, .contact-list p { margin: 0; font-size: 1.1rem; }
.contact-list a { background: linear-gradient(var(--green), var(--green)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
.contact-form { display: grid; gap: 34px; align-content: start; padding-top: 10px; }
.contact-form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 34px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-big { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 13.5vw, 13rem); line-height: .85; letter-spacing: -.04em; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; margin-bottom: 50px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); }
.footer-row p { margin: 0; }
.footer-logo { height: 70px; width: auto; }
.footer-row nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-row nav a:hover { color: var(--green); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.2s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(1.8); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 22px; }
  .service { grid-template-columns: 60px 1fr 60px; }
  .service p { grid-column: 2; }
  .service-arrow { grid-row: 1; grid-column: 3; }
  .apply-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; }
  .site-nav { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: -1; flex-direction: column; justify-content: center; gap: 10px; padding: 0 30px; margin: 0; background: var(--bg); clip-path: circle(0 at calc(100% - 44px) 48px); transition: clip-path .8s var(--ease); }
  .site-nav.open { clip-path: circle(150% at calc(100% - 44px) 48px); }
  .site-nav a { font-family: var(--display); font-size: 2.6rem; height: 1.3em; font-weight: 600; }
  .nav-wrap { height: 80px; gap: 12px; }
  .logo img { height: 60px; }
  .hero-title .indent { padding-left: 8vw; }
  .hero-scroll { display: none; }
  .about-media, .contact-grid, .careers-grid { grid-template-columns: 1fr; }
  .careers-intro { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .products-pin { height: auto; min-height: 0; padding: 100px 0; }
  .products-head { grid-template-columns: 1fr; }
  .progress { display: none; }
  .products-track { width: auto; flex-direction: column; padding: 0 clamp(20px, 4vw, 48px); }
  .product { width: 100%; max-height: none; aspect-ratio: 4 / 3; }
  .product-body p { max-height: none; opacity: 1; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gallery-grid .g-item { width: 100%; }
  .g-item:nth-child(n) { grid-column: auto; margin-top: 0; aspect-ratio: 4 / 5; }
  .g-item:nth-child(5n+1) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .hero { padding-bottom: 6vh; }
  .hero-title { font-size: clamp(2.2rem, 10.5vw, 3.6rem); }
  .hero-title .small { font-size: .5em; }
  .apply-fields { grid-template-columns: 1fr; }
  .file-field { grid-column: auto; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .service { grid-template-columns: 1fr 50px; gap: 12px; padding: 30px 0; }
  .service-n { grid-column: 1 / -1; }
  .service p { grid-column: 1 / -1; }
  .service-arrow { grid-row: 2; grid-column: 2; width: 46px; height: 46px; }
  .job-top { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .g-item { grid-column: 1 / -1 !important; margin-top: 0 !important; aspect-ratio: 4 / 3 !important; width: 100%; }
}

/* Reduced motion: show everything without animation */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-media { clip-path: none; }
  .hero-media img, .mask-img img { transform: none; }
  .mask-img { clip-path: none; }
  .statement .w { opacity: 1; }
}

/* Gradient text survives word splitting */
.grad .w > span { background: linear-gradient(90deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apply-error { flex-basis: 100%; margin: 6px 0 0; padding: 12px 16px; border-radius: 10px; background: rgba(229,83,75,.12); border: 1px solid rgba(229,83,75,.45); color: #ffb4ae; }

/* v2: contact form status, honeypot, social links, preview mode */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: -14px 0 0; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line, rgba(255,255,255,.12)); background: rgba(93,180,234,.08); }
.form-note.err { background: rgba(229,83,75,.1); border-color: rgba(229,83,75,.4); }
.socials { display: flex; gap: 10px; }
.socials:empty { display: none; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); transition: border-color .3s, background .3s; }
.socials a:hover { border-color: var(--green); background: rgba(93,180,234,.1); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.is-preview .cursor, .is-preview .preloader { display: none !important; }
.sec-hidden { display: none !important; }

/* ---------- Projects slider (v4) ---------- */
.pj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 5vw, 56px); }
.pj-head .big-title { margin: 0; }
.pj-ctrl { display: flex; align-items: center; gap: 12px; }
.pj-counter { font-family: var(--display); color: var(--muted); margin-right: 10px; letter-spacing: .06em; }
.pj-counter b { color: #fff; font-size: 1.5rem; }
.pj-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .35s, border-color .35s, transform .35s var(--ease); }
.pj-btn svg { width: 22px; height: 22px; }
.pj-btn:hover { background: var(--green-deep); border-color: var(--green-deep); transform: scale(1.06); }
.no-scroll .pj-ctrl, .no-scroll .pj-progress { visibility: hidden; }
.pj-track { display: flex; gap: clamp(14px, 2vw, 26px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 6px max(clamp(20px, 4vw, 48px), calc((100vw - 1320px) / 2 + clamp(20px, 4vw, 48px))); scroll-padding: 0 max(clamp(20px, 4vw, 48px), calc((100vw - 1320px) / 2 + clamp(20px, 4vw, 48px))); cursor: grab; }
.pj-track::-webkit-scrollbar { display: none; }
.pj-track.grab { cursor: grabbing; scroll-snap-type: none; }
.pj-track.grab .pj-card { pointer-events: none; }
.pj-card { position: relative; flex: 0 0 clamp(270px, 31vw, 430px); aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; scroll-snap-align: start; background: var(--card); cursor: pointer; isolation: isolate; outline: none; }
.pj-card:nth-child(3n+1) { flex-basis: clamp(300px, 44vw, 620px); aspect-ratio: auto; }
.pj-img, .pj-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pj-img img { object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; user-select: none; }
.pj-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,13,.35) 0%, transparent 30%, transparent 50%, rgba(10,12,13,.88) 100%); z-index: 1; }
.pj-card:hover .pj-img img, .pj-card:focus-visible .pj-img img { transform: scale(1.07); }
.pj-card:focus-visible { box-shadow: 0 0 0 2px var(--green); }
.pj-num { position: absolute; top: 18px; left: 20px; z-index: 2; font-family: var(--display); font-size: .9rem; color: rgba(255,255,255,.85); letter-spacing: .1em; }
.pj-count { position: absolute; top: 16px; right: 16px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(10,12,13,.55); backdrop-filter: blur(8px); font-size: .8rem; }
.pj-count svg { width: 15px; height: 15px; fill: currentColor; }
.pj-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 24px 24px; transform: translateY(10px); transition: transform .6s var(--ease); }
.pj-card:hover .pj-body { transform: none; }
.pj-body h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.1; }
.pj-body p { margin: 8px 0 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.pj-foot { display: flex; align-items: center; gap: 30px; margin-top: clamp(30px, 4vw, 48px); }
.pj-progress { flex: 1; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.pj-progress span { display: block; height: 100%; width: 10%; background: linear-gradient(90deg, var(--green-deep), var(--green)); transition: width .3s; }
@media (max-width: 640px) {
  .pj-ctrl .pj-btn { width: 46px; height: 46px; }
  .pj-card, .pj-card:nth-child(3n+1) { flex-basis: 80vw; aspect-ratio: 4 / 5; }
  .pj-foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .pj-foot .btn { justify-content: center; }
}

/* ---------- Photo viewer ---------- */
.lb-open, .lb-open body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(6,8,9,.96); display: grid; grid-template-columns: 80px 1fr 80px; grid-template-rows: 1fr auto; align-items: center; padding: 30px 0 20px; animation: lbIn .4s var(--ease); }
.lb[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lb-fig { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 0; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 230px); object-fit: contain; border-radius: 12px; opacity: 0; transform: scale(.98); transition: opacity .5s, transform .6s var(--ease); }
.lb-fig img.in { opacity: 1; transform: none; }
.lb-fig figcaption { text-align: center; display: grid; gap: 4px; max-width: 720px; padding: 0 16px; }
.lb-fig strong { font-family: var(--display); font-size: 1.35rem; color: #fff; }
.lb-meta { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.lb-desc { color: var(--muted); font-size: .92rem; }
.lb-n { color: var(--muted); font-size: .8rem; }
.lb-x { position: absolute; top: 18px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; z-index: 2; }
.lb-nav { justify-self: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .3s; }
.lb-nav:hover, .lb-x:hover { background: var(--green-deep); border-color: var(--green-deep); }
.lb.single .lb-nav { visibility: hidden; }
.lb-thumbs { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding: 14px 16px 0; scrollbar-width: none; }
.lb-thumbs img { width: 74px; height: 54px; object-fit: cover; border-radius: 8px; opacity: .45; cursor: pointer; transition: opacity .3s; flex-shrink: 0; border: 2px solid transparent; }
.lb-thumbs img.on { opacity: 1; border-color: var(--green); }
@media (max-width: 700px) {
  .lb { grid-template-columns: 1fr; padding-top: 74px; }
  .lb-nav { display: none; }
  .lb-fig img { max-height: calc(100vh - 280px); border-radius: 8px; }
}

/* ---------- Projects page ---------- */
.page-hero { padding: 170px 0 50px; }
.page-hero .big-title { font-size: clamp(2.8rem, 8vw, 7rem); }
.pj-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.pj-filters button { background: transparent; color: var(--muted); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 9px 18px; font: inherit; font-size: .88rem; cursor: pointer; transition: all .3s; }
.pj-filters button:hover { color: #fff; }
.pj-filters button.on { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(14px, 2vw, 26px); padding-bottom: 120px; }
.pj-grid .pj-card { flex: none; aspect-ratio: 4 / 5; animation: pjIn .8s var(--ease) both; }
.pj-grid .pj-card:nth-child(3n+1) { aspect-ratio: 4 / 5; }
@keyframes pjIn { from { opacity: 0; transform: translateY(40px); } }
.pj-empty { color: var(--muted); padding: 40px 0 120px; }
.lb-open .cursor { z-index: 130; }
.projects-page, .projects-page a, .projects-page button { cursor: auto; }
.projects-page a, .projects-page button, .projects-page .pj-card { cursor: pointer; }
.site-nav a.on { color: var(--green); }

/* Projects page: large auto-sliding carousel */
.page-hero { padding-bottom: 30px; }
.pj-all { padding-bottom: 120px; }
.pj-all .pj-head { align-items: center; margin-bottom: 26px; }
.pj-track.big .pj-card, .pj-track.big .pj-card:nth-child(3n+1) { flex-basis: min(1100px, 78vw); aspect-ratio: 16 / 9; }
.pj-track.big .pj-body { padding: 34px 40px 38px; }
.pj-track.big .pj-body h3 { font-size: clamp(1.5rem, 3vw, 2.6rem); max-width: 80%; }
.pj-track.big .pj-num { font-size: 1.1rem; top: 26px; left: 30px; }
.pj-track .pj-empty { padding: 40px 0; }
@media (max-width: 640px) {
  .pj-track.big .pj-card, .pj-track.big .pj-card:nth-child(3n+1) { flex-basis: 86vw; aspect-ratio: 4 / 5; }
  .pj-track.big .pj-body { padding: 22px 22px 24px; }
}

/* ---------- v6 polish: tighter spacing + balanced type ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.big-title { font-size: clamp(2.3rem, 5.6vw, 5rem); margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow { margin-bottom: 18px; }
.statement { font-size: clamp(1.45rem, 3.3vw, 3rem); margin-bottom: clamp(40px, 6vw, 72px); }
.mask-img.wide { margin-bottom: 0; }
.about-media { align-items: center; }
.stats { margin-top: clamp(40px, 6vw, 72px); }
.stat { padding-top: 28px; }
.stat-num { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.products-head { margin-bottom: 32px; }
.products-head h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); }
.service { padding: 26px 0; }
.service h3 { font-size: clamp(1.35rem, 2.4vw, 2.1rem); }
.careers .big-title { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.apply-form { margin-top: 48px; }
.apply-head { margin-bottom: 22px; }
.cta { padding: clamp(56px, 8vw, 104px) 0; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 4.2rem); }
.contact .big-title { margin-bottom: 28px; }
.contact-list li { padding: 15px 0; }
.contact-list a, .contact-list p { font-size: 1.02rem; }
.contact-form { gap: 28px; }
.pj-head { margin-bottom: clamp(24px, 3vw, 36px); }
.pj-foot { margin-top: 28px; }
.site-footer { padding: 56px 0 28px; }
.footer-big { font-size: clamp(1.4rem, 5.9vw, 5.6rem); margin-bottom: 30px; overflow: visible; }
.hero-title { margin-bottom: 30px; }
@media (max-width: 900px) {
  .products-pin { padding: 64px 0; }
  .products-track { flex-direction: row; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; padding: 4px clamp(20px, 4vw, 48px); }
  .products-track::-webkit-scrollbar { display: none; }
  .product { width: 78vw; max-width: 360px; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .mask-img.tall { aspect-ratio: 4 / 3; }
  .about-media { gap: 14px; }
}
@media (max-width: 600px) {
  body { font-size: .97rem; }
  .hero-sub { font-size: 1rem; }
  .hero-title { margin-bottom: 22px; }
  .hero-actions .btn { padding-inline: 22px; }
  .statement { font-size: 1.4rem; line-height: 1.22; }
  .stat { padding: 22px 12px 0 0; }
  .service { padding: 22px 0; }
  .apply-form { margin-top: 36px; padding: 22px; }
  .contact .big-title, .careers .big-title { font-size: 2.3rem; }
  .site-nav a { font-size: 2.2rem; }
}

/* ---------- v9: compact project cards + viewer (same sizes as ecopergola.ae) ---------- */
.pj-card, .pj-card:nth-child(3n+1),
.pj-track.big .pj-card, .pj-track.big .pj-card:nth-child(3n+1) { flex: 0 0 360px; aspect-ratio: 4 / 3; border-radius: 16px; }
.pj-body, .pj-track.big .pj-body { padding: 16px 18px 18px; transform: none; }
.pj-body h3, .pj-track.big .pj-body h3 { font-size: 1.08rem; line-height: 1.2; max-width: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pj-body p { font-size: .7rem; margin-top: 6px; }
.pj-num, .pj-track.big .pj-num { top: 14px; left: 16px; font-size: .78rem; }
.pj-count { top: 12px; right: 12px; padding: 4px 10px; font-size: .74rem; }
.pj-track { gap: 18px; }
.pj-btn { width: 48px; height: 48px; }
.pj-counter b { font-size: 1.2rem; }
.lb-fig img { max-width: min(680px, 90vw); max-height: min(512px, calc(100vh - 260px)); }
.lb-fig strong { font-size: 1.1rem; }
@media (max-width: 640px) {
  .pj-card, .pj-card:nth-child(3n+1),
  .pj-track.big .pj-card, .pj-track.big .pj-card:nth-child(3n+1) { flex-basis: min(358px, 88vw); aspect-ratio: 4 / 3; }
  .lb-fig img { max-width: 92vw; max-height: 280px; }
}
.pj-all { padding-bottom: 64px; }
.page-hero { padding: 130px 0 24px; }
.page-hero .big-title { font-size: clamp(2.2rem, 4.8vw, 4.2rem); margin-bottom: 0; }
.pj-filters { margin-top: 22px; }
@media (max-width: 640px) { .page-hero { padding-top: 110px; } }
/* Normal browser cursor everywhere */
.cursor { display: none !important; }
body, a, button, .pj-card, .pj-track { cursor: auto; }
a, button, .pj-card, label[for], .pj-btn, .lb-thumbs img { cursor: pointer; }
.pj-track.grab { cursor: grabbing; }
input, textarea, select { cursor: text; }

/* v13: smaller project cards so everything fits on one screen */
.pj-card, .pj-card:nth-child(3n+1),
.pj-track.big .pj-card, .pj-track.big .pj-card:nth-child(3n+1) { flex-basis: 300px; aspect-ratio: 4 / 3; }
.pj-body h3, .pj-track.big .pj-body h3 { font-size: .98rem; }
.page-hero { padding: 116px 0 16px; }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero .big-title { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.pj-all .pj-head { margin-bottom: 18px; }
.pj-all .pj-foot { margin-top: 20px; }
.lb-fig img { max-width: min(600px, 90vw); max-height: min(450px, calc(100vh - 250px)); }
@media (max-width: 640px) {
  .pj-card, .pj-card:nth-child(3n+1),
  .pj-track.big .pj-card, .pj-track.big .pj-card:nth-child(3n+1) { flex-basis: 76vw; }
  .page-hero { padding-top: 100px; }
  .lb-fig img { max-height: 240px; }
}

/* ===== v14-15: Systems, Process, Certifications, Partners, Areas, FAQ ===== */
.btn-small { padding: .8em 1.5em; font-size: .9rem; }
.sys-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.sys-head .big-title, .areas .big-title, .faq .big-title { font-size: clamp(2rem, 4.2vw, 3.6rem); margin-bottom: 0; }
.sys-head .eyebrow { margin-bottom: 14px; }
.sys-intro { max-width: 460px; color: var(--muted); margin: 0; font-size: .98rem; }
/* Systems */
.sysx { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.sys-nav { display: flex; flex-direction: column; gap: 8px; }
.sys-nav button { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font: inherit; text-align: left; transition: border-color .3s, background .3s, color .3s; }
.sys-nav button:hover { color: #fff; border-color: rgba(255,255,255,.18); }
.sys-nav button[aria-selected="true"] { color: #fff; border-color: var(--green); background: rgba(93,180,234,.08); }
.sys-nav .no { font-size: .74rem; letter-spacing: .1em; color: var(--green); min-width: 20px; }
.sys-nav .chip, .ptn-logo { display: grid; place-items: center; background: #fff; border-radius: 10px; }
.sys-nav .chip { width: 64px; height: 36px; padding: 5px 8px; flex: none; }
.sys-nav .chip img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sys-nav .nm { font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.sys-panel { display: grid; gap: 18px; }
.sys-panel[hidden] { display: none; }
.sys-panel.on { animation: sysIn .5s var(--ease); }
@keyframes sysIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sys-pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(300px, 34vw, 430px); }
.sys-pics .ph { padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--card); }
.sys-pics .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sys-pics .ph:hover img { transform: scale(1.05); }
.sys-pics .p1 { grid-row: 1 / 3; }
.n1 .sys-pics { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.n1 .p1 { grid-row: auto; }
.n2 .sys-pics { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.n2 .p1 { grid-row: auto; }
.sys-tx { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.sys-tx h3 { font-size: 1.3rem; margin-bottom: 6px; }
.sys-tx p { color: var(--muted); margin: 0; max-width: 560px; font-size: .94rem; }
/* Process */
.prc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.prc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.prc-steps button { width: 100%; display: flex; gap: 18px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font: inherit; text-align: left; transition: border-color .3s, background .3s, color .3s; }
.prc-steps button:hover { color: #fff; }
.prc-steps button[aria-expanded="true"] { color: #fff; border-color: var(--green); background: rgba(93,180,234,.08); }
.prc-steps .no { font-family: var(--display); font-size: 1.1rem; color: var(--green); min-width: 28px; }
.prc-steps b { display: block; font-size: 1.02rem; font-weight: 600; }
.prc-steps small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.prc-steps [aria-expanded="true"] small { max-height: 120px; opacity: 1; margin-top: 6px; }
.prc-pic { position: relative; border-radius: 18px; overflow: hidden; background: var(--card); min-height: 340px; }
.prc-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1s var(--ease); }
.prc-pic img.on { opacity: 1; transform: none; }
/* Certifications */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cert { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
.cert img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: #fff; padding: 4px; }
.cert-ic { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: rgba(93,180,234,.1); }
.cert-ic svg { width: 30px; height: 30px; }
.cert h3 { font-size: 1.1rem; margin-bottom: 4px; }
.cert p { margin: 0; color: var(--muted); font-size: .9rem; }
/* Partners */
.ptn-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.ptn-tabs button { font: inherit; font-size: .92rem; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; transition: all .3s; }
.ptn-tabs button span { font-size: .72rem; color: var(--green); }
.ptn-tabs button[aria-selected="true"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.ptn-tabs button[aria-selected="true"] span { color: #fff; }
.ptn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; animation: sysIn .5s var(--ease); }
.ptn-grid[hidden] { display: none; }
.ptn-logo { height: 92px; padding: 14px 18px; transition: transform .4s var(--ease), box-shadow .4s; }
.ptn-logo:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.ptn-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Areas */
.areas-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.areas .eyebrow { margin-bottom: 14px; }
.areas .sys-intro { margin: 18px 0 26px; }
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font-size: .92rem; transition: border-color .3s, color .3s; }
.area-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 10px; vertical-align: middle; }
.area-list li:hover { border-color: var(--green); color: #fff; }
/* FAQ */
.faq-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.faq .eyebrow { margin-bottom: 14px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); transition: border-color .3s; }
.faq-list details[open] { border-color: rgba(93,180,234,.5); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 20px; font-weight: 600; color: #fff; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--green); transition: transform .3s; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: none; }
.faq-list details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) {
  .sysx, .prc, .areas-in, .faq-in { grid-template-columns: 1fr; gap: 18px; }
  .sys-nav { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(-1 * clamp(20px, 4vw, 48px)); padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); scrollbar-width: none; }
  .sys-nav::-webkit-scrollbar { display: none; }
  .sys-nav button { flex: none; scroll-snap-align: center; padding: 10px 12px; }
  .sys-nav .chip { width: 54px; height: 30px; }
  .sys-pics { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .sys-pics .p1 { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .sys-pics .p2, .sys-pics .p3 { aspect-ratio: 4 / 3; }
  .n1 .sys-pics .p1, .n2 .sys-pics .p1 { grid-column: 1 / -1; }
  .prc-pic { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .ptn-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
  .ptn-logo { height: 74px; padding: 10px 12px; }
  .sys-head { margin-bottom: 24px; gap: 14px; }
}
.section.process, .section.systems, .section.certs, .section.partners, .section.areas, .section.faq { padding: clamp(52px, 6vw, 88px) 0; }
.ptn-logo img { width: auto; height: auto; max-width: 100%; max-height: 62px; }
.sys-nav .chip img { width: auto; height: auto; max-width: 52px; max-height: 26px; }
@media (max-width: 900px) { .ptn-logo img { max-height: 50px; } .sys-nav .chip img { max-width: 44px; max-height: 22px; } }
/* Developer credit */
.dev-credit { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: .82rem; color: var(--muted); }
.dev-credit a { color: var(--text); transition: color .3s; }
.dev-credit a:hover { color: var(--green); }
@media (max-width: 640px) { .dev-credit { padding-bottom: 70px; } }
