/* Endeavourtronics — site styles
   White background in the brand navy / yellow palette:
   shared hero (css/hero.css), floating pill header, bento service grid,
   soft vision / mission cards and a rounded photo CTA; the footer holds the contact details */
:root {
    --bg: #ffffff;
    --soft: #f3f6fc;
    --card: #f7f9fd;
    --line: #e0e5f0;
    --ink: #060f2c;
    --text: #3c4466;
    --muted: #6b7290;
    --navy: #0a1a45;
    --accent: #1d6fe0;
    --accent-soft: #eaf0fb;
    --yellow: #f7c600;
    /* Dark gold for small text on white (bright yellow fails contrast there) */
    --gold: #8a6a00;
    --grad: linear-gradient(120deg, #0a1a45 0%, #1d6fe0 100%);
    --head: "Space Grotesk", "Segoe UI", sans-serif;
    --body: "DM Sans", system-ui, "Segoe UI", sans-serif;
    --radius: 22px;
    --section-y: 80px;
    --shadow: 0 12px 34px rgba(10, 26, 69, .07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.65; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong { color: var(--ink); font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -1px; }
h2 span, h3 span { color: var(--accent); }
.wrap { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: var(--section-y) 0; scroll-margin-top: 90px; }
/* Sections that sit on the same background run together, so only one side keeps the padding */
.vm + .cta-wrap { margin-top: calc(var(--section-y) * -.5); }
/* The CTA is now the last block before the footer */
.cta-wrap { padding-bottom: var(--section-y); }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: "// "; color: var(--gold); }

/* Scroll reveal (enabled by site-alt.js) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: #fff; transition: opacity .5s, visibility .5s; }
.loader.hide { opacity: 0; visibility: hidden; }
.loader-chip { position: relative; padding: 6px; border-radius: 26px; background: conic-gradient(from 0deg, var(--accent), #1d6fe0, var(--yellow), var(--accent)); animation: spin 1.4s linear infinite; }
.loader-chip img { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; animation: spin 1.4s linear infinite reverse; }
.loader-name { font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: 1px; }
.loader-name span { color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: .95rem; padding: 14px 28px; border-radius: 999px; transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-glow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 26px rgba(217, 174, 0, .35); }
.btn-glow:hover { background: var(--navy); color: #fff; box-shadow: 0 14px 34px rgba(10, 26, 69, .35); }
.btn-ghost { color: var(--ink); border: 1px solid #c6d0e3; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--yellow); }

/* Header */
.header { position: fixed; top: 18px; left: 0; right: 0; z-index: 100; transition: top .3s; }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .82); border: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(10, 26, 69, .08); transition: background .3s, box-shadow .3s; }
.header.solid { top: 10px; }
.header.solid .header-inner { background: rgba(255, 255, 255, .96); box-shadow: 0 12px 40px rgba(10, 26, 69, .14); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.brand em { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 9px 18px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--text); transition: background .25s, color .25s; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a.active { color: #fff; background: var(--navy); box-shadow: inset 0 -3px 0 var(--yellow); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--navy); color: var(--yellow); font-size: 1.4rem; cursor: pointer; }

/* Values */
.values { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.values-row div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 20px 16px; font-size: 1rem; }
.values-row div + div { border-left: 1px solid var(--line); }
.values-row i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(247, 198, 0, .22); color: var(--gold); font-size: 1.3rem; }
.values-row strong { font-family: var(--head); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid .lead { font-size: 1.12rem; margin: 16px 0 12px; }
.about-grid p + p { margin-top: 12px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.tags li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .9rem; color: var(--ink); }
.tags i { color: var(--accent); }
.about-visual { position: relative; height: 460px; }
.about-visual > img { position: absolute; object-fit: cover; border-radius: var(--radius); }
.about-visual .a1 { right: 0; top: 0; width: 78%; height: 74%; box-shadow: var(--shadow); }
.about-visual .a2 { left: 0; bottom: 0; width: 52%; height: 50%; box-shadow: 0 0 0 8px #fff, 0 30px 60px rgba(10, 26, 69, .18); }
/* Mirrored collage when the photos sit to the left of the text (About page) */
.about-visual.is-left .a1 { right: auto; left: 0; }
.about-visual.is-left .a2 { left: auto; right: 0; }
.since { position: absolute; right: 24px; bottom: 30px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(10, 26, 69, .14); font-family: var(--head); font-weight: 600; color: var(--ink); }
.since img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.since small { display: block; font-family: var(--body); font-weight: 500; font-size: .75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }

/* Services: bento grid (tile 1 is large, tiles 6 & 7 are wide) */
.services { background: var(--soft); }
.head {  margin: 0 auto 36px; text-align: center; }
.head p { margin-top: 12px; font-size: 1.05rem; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(260px, auto); gap: 16px; }
.tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.tile:nth-child(6), .tile:nth-child(7) { grid-column: span 2; }
/* Tiles keep a dark photo overlay so the white text stays readable */
.tile { position: relative; overflow: hidden; display: flex; border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
/* Deep navy shade over the photo (z-index 1 so it paints above the img), darkest behind the text */
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6, 15, 44, .05) 0%, rgba(6, 15, 44, .2) 30%, rgba(6, 15, 44, .78) 65%, rgba(6, 15, 44, .92) 100%); }
.tile:nth-child(1)::before { background: linear-gradient(180deg, rgba(6, 15, 44, 0) 0%, rgba(6, 15, 44, .15) 40%, rgba(6, 15, 44, .75) 70%, rgba(6, 15, 44, .92) 100%); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(10, 26, 69, .2); }
.tile:hover > img { transform: scale(1.07); }
.tile-body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; padding: 26px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 3px rgba(6, 15, 44, .6); }
.tile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 20px; }
.tile-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--yellow); color: var(--ink); font-size: 1.35rem; }
.tile h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.tile:nth-child(1) h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tile p { font-size: .92rem; margin-bottom: 16px; max-width: 520px; }
.tile:nth-child(1) p { font-size: 1.05rem; }
.tile-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 600; font-size: .9rem; color: #ffd84a; transition: gap .25s, color .25s; }
.tile:hover .tile-more { gap: 10px; color: var(--yellow); }
/* Home page services: compact icon list in one navy-gradient panel on the plain section background */
.svc-band .head p { color: var(--muted); }
.svc-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 14px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 36px 40px;
    list-style: none;
    border-radius: var(--radius);
    background: #0a1a45;
    box-shadow: 0 24px 50px rgba(10, 26, 69, .22);
}
.svc-list li { flex: 0 0 33.333%; display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 16px; font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: #fff; transition: background .25s; }
.svc-list li:hover { background: rgba(255, 255, 255, .1); }
.svc-list-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: var(--yellow); font-size: 1.3rem; transition: background .25s, color .25s, border-color .25s; }
.svc-list li:hover .svc-list-icon { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.services + .cta-wrap { padding-top: var(--section-y); }

/* Our product (home): 45 / 55 showcase — full uncropped photo on a light-blue panel, details on the right */
.home-product + .why { padding-top: 0; }
.home-product .head { margin-bottom: 48px; }
.home-product .head p { color: var(--muted); }
.showcase { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 48px; align-items: center; padding: 32px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 48px rgba(10, 26, 69, .09); }
.showcase-media { position: relative; display: flex; justify-content: center; align-items: center; border-radius: 16px; background: linear-gradient(160deg, var(--accent-soft) 0%, #f7faff 100%); }
/* Height-capped with width auto so the tall brochure keeps its original aspect ratio */
.showcase-media img { width: auto; max-width: 100%; max-height: 400px; border-radius: 10px;  transition: transform .5s; }
.showcase-media:hover img { transform: scale(1.02); }
.showcase-zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .8rem; font-weight: 600; color: var(--ink); box-shadow: 0 6px 16px rgba(10, 26, 69, .12); opacity: 0; transition: opacity .25s; }
.showcase-media:hover .showcase-zoom, .showcase-media:focus-visible .showcase-zoom { opacity: 1; }
.showcase-body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.showcase-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-family: var(--head); font-weight: 600; font-size: .8rem; letter-spacing: .5px; text-transform: uppercase; }
.showcase-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.5px; }
.showcase-lead { font-size: 1.05rem; }
.showcase-features { list-style: none; display: grid; gap: 10px; width: 100%; }
.showcase-features li { display: flex; align-items: center; gap: 14px; font-size: .95rem; color: var(--ink); transition: border-color .25s, background .25s; }
.showcase-features li:hover { border-color: #c6d0e3; background: var(--accent-soft); }
.showcase-features span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 1rem; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Why choose us (home): same photo bento tiles as the About page; six tiles = large 1st, four small, full-width 6th */
.why .head p { color: var(--muted); font-family: var(--head); font-weight: 500; }
.bento-why .tile:nth-child(6) { grid-column: span 4; }
.why + .cta-wrap { margin-top: calc(var(--section-y) * -.5); }

/* Vision & Mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.glass { position: relative; overflow: hidden; padding: 36px 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.glass::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 26, 69, .14), transparent 70%); }
.glass-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--navy); color: var(--yellow); font-size: 1.6rem; margin-bottom: 20px; box-shadow: 0 12px 28px rgba(10, 26, 69, .28); }
.glass h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.35; margin-bottom: 14px; }
.glass p { font-size: 1rem; }

/* Call to action */
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 48px 52px; border-radius: 30px; background: linear-gradient(120deg, rgba(6, 15, 44, .94), rgba(29, 111, 224, .72)), url("/images/stock/cta-bg.jpg") center / cover; }
.cta .eyebrow { color: #fff; }
.cta .eyebrow::before { color: var(--yellow); }
.cta h2 { color: #fff; }
.cta h2 span { color: var(--yellow); }
.cta p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; margin-top: 8px; }

/* Inner pages (Privacy, Error): clear the fixed header, content in a single card */
.page { padding-top: calc(var(--section-y) + 90px); }
.page h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -1px; }
.page h1 span { color: var(--accent); }
.page-body { max-width: 860px; margin: 0 auto; }
.page-body h3 { font-size: 1.2rem; margin: 22px 0 10px; }
.page-body p + p { margin-top: 12px; }
.page-body .btn { margin-top: 26px; }
.page-body code { font-size: .9rem; color: var(--accent); }

/* Page banner (About, Products, Contact): navy band that clears the fixed header */
/* Each page sets its own banner photo; the shade is darkest on the left behind the heading so the photo shows on the right */
.page-hero { --page-img: url("/images/stock/page-about.jpg"); padding: calc(var(--section-y) + 90px) 0 var(--section-y); background: linear-gradient(90deg, rgba(6, 15, 44, .92) 0%, rgba(6, 15, 44, .7) 45%, rgba(29, 111, 224, .3) 100%), var(--page-img) center / cover; color: rgba(255, 255, 255, .88); }
.page-hero-about { --page-img: url("/images/stock/page-about.jpg"); }
.page-hero-products { --page-img: url("/images/stock/page-products.jpg"); }
.page-hero-contact { --page-img: url("/images/stock/page-contact.jpg"); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -1px; margin: 14px 0 10px; }
.page-hero h1 span { color: var(--yellow); }
.page-hero p { font-size: 1.1rem; max-width: 620px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.crumbs a:hover { color: var(--yellow); }
.crumbs i { font-size: .7rem; color: var(--yellow); }
.crumbs span { color: #fff; font-weight: 600; }
.page-hero + .section .cta { margin: 0; }

/* Products: image + content rows, alternating sides */
.products { display: grid; gap: 32px; }
.product {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
    gap: 48px;
    align-items: center;
    padding: 36px;
    border-radius: 30px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
/* Alternate rows put the photo on the right, so the column widths swap too and the photo keeps the narrow column */
.product:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
.product:nth-child(even) .product-media { order: 2; }
/* Photos of any shape sit uncropped in the same 4:5 frame so every row lines up */
.product-media { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; padding: 12px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.product-media img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; transition: transform .6s; }
.product-media:hover img { transform: scale(1.03); }
/* Body blocks are spaced by the flex gap, so a missing description or PDF leaves no extra space */
.product-body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.product-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
/* Description is entered in the gallery: plain text keeps its line breaks, simple HTML is styled */
.product-desc { white-space: pre-line; }
.product-desc.is-html { white-space: normal; }
.product-desc > :first-child { margin-top: 0; }
.product-desc p + p, .product-desc ul, .product-desc ol { margin-top: 10px; }
.product-desc ul, .product-desc ol { padding-left: 22px; white-space: normal; }
.product-desc li + li { margin-top: 6px; }
.product-desc li::marker { color: var(--accent); }
.product-pdf { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 460px; padding: 12px 12px 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.product-pdf-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fdecec; color: #d93025; font-size: 1.4rem; }
.product-pdf-info { flex: 1; min-width: 0; line-height: 1.35; }
.product-pdf-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--head); }
.product-pdf-info small { color: var(--muted); font-size: .82rem; }
.product-pdf-view { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: border-color .25s, color .25s; }
.product-pdf-view:hover { border-color: var(--accent); color: var(--accent); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pager a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--head); font-weight: 600; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager a.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: inset 0 -3px 0 var(--yellow); }
.empty { max-width: 640px; margin: 0 auto; text-align: center; }
.empty .glass-icon { margin: 0 auto 20px; }
.empty h3 { margin-bottom: 10px; }
.empty .btn { margin-top: 22px; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.contact-cards h3 { font-size: 1.3rem; margin-bottom: 8px; }
.contact-cards a { color: var(--accent); font-weight: 600; word-break: break-word; }
.contact-cards a:hover { color: var(--navy); }
.contact-map { overflow: hidden; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-map iframe { display: block; width: 100%; height: 440px; border: 0; }

/* Footer (navy band to close the page) */
.footer { background: var(--navy); border-top: 4px solid var(--yellow); color: rgba(255, 255, 255, .72); }
.footer .brand { color: #fff; }
.footer .brand em { color: #ffd84a; }
.footer h4 { color: var(--yellow); font-size: 1rem; margin-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.3fr; gap: 36px; padding: 52px 0 0; }
.footer-about p { margin-top: 20px; font-size: .92rem; max-width: 340px; }
.footer ul { list-style: none; font-size: .92rem; }
.footer-links li { margin-bottom: 10px; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 10px; }
.footer-contact i { color: #ffd84a; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-bottom a { color: #fff; font-weight: 600; }

/* Back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; background: var(--yellow); color: var(--ink); font-size: 1.2rem; box-shadow: 0 10px 26px rgba(10, 26, 69, .35); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, visibility .3s, transform .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Responsive */
@media (max-width: 1100px) {
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .bento { grid-template-columns: 1fr 1fr; }
    .tile:nth-child(1), .tile:nth-child(7) { grid-column: span 2; grid-row: auto; }
    .tile:nth-child(6) { grid-column: auto; }
    .bento-why .tile:nth-child(6) { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .burger { display: block; }
    .header-inner { border-radius: 26px; flex-wrap: wrap; row-gap: 0; }
    .nav { order: 3; width: 100%; flex-direction: column; gap: 4px; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; }
    .nav-open .nav { max-height: 360px; padding: 8px 0 4px; }
    .nav a { padding: 12px 16px; border-radius: 14px; }
    .values-row { grid-template-columns: 1fr 1fr; }
    .values-row div:nth-child(3) { border-left: 0; }
    .values-row div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .vm-grid { grid-template-columns: 1fr; }
    .cta { padding: 36px 28px; }
    .product { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
    .product:nth-child(even) { grid-template-columns: 1fr; }
    .product:nth-child(even) .product-media { order: 0; }
    .product-media { width: 100%; max-width: 520px; margin: 0 auto; }
    .showcase { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
    .home-product .head { margin-bottom: 32px; }
    .contact-cards { grid-template-columns: 1fr; }
    .svc-list { padding: 24px; }
    .svc-list li { flex-basis: 50%; }
}
@media (max-width: 600px) {
    :root { --section-y: 56px; }
    .about-visual { height: 340px; }
    .bento { grid-template-columns: 1fr; }
    .tile:nth-child(n), .bento-why .tile:nth-child(n) { grid-column: auto; }
    .svc-list { padding: 16px; row-gap: 4px; }
    .svc-list li { flex-basis: 100%; }
    .values-row, .footer-grid { grid-template-columns: 1fr; }
    .values-row div + div { border-left: 0; border-top: 1px solid var(--line); }
    .glass { padding: 28px 22px; }
    .product { padding: 18px; gap: 22px; border-radius: 24px; }
    .product-media { padding: 14px; }
    .product-actions, .product-actions .btn { width: 100%; justify-content: center; }
    .showcase { padding: 16px; }
    .showcase-media { padding: 18px; }
    .showcase-actions, .showcase-actions .btn { width: 100%; justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .loader-chip, .loader-chip img { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
