/* ==========================================================================
   Nasco Engineering — main stylesheet
   Palette: logo navy + catalog orange, steel greys. Type: Barlow / Barlow Condensed.
   Signature motif: the pointy-top hexagon from the catalog cover and logo gear.
   ========================================================================== */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--navy: #1a2170;        /* logo navy */
	--navy-deep: #141a58;
	--orange: #f07a1e;      /* catalog orange */
	--orange-soft: #fde9d8;
	--copper: #8c4a0b;      /* the "N" in the logo */
	--steel: #eef1f5;
	--line: #d5dae3;
	--ink: #1e2433;
	--muted: #5a6275;
	--white: #fff;
	--font: "Barlow", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans Bengali", "Nirmala UI", sans-serif;
	--font-display: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;
	--wrap: 1200px;
	--gap: clamp(1rem, 2.5vw, 2rem);
	--section: clamp(3.5rem, 7vw, 6rem);
	--hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	--radius: 3px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; color: var(--navy); margin: 0 0 .5em; letter-spacing: .005em; }
h3 { font-family: var(--font); font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
.container { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.container--text { max-width: 820px; }
.section { padding-block: var(--section); }
.section--steel { background: var(--steel); }
.section--line { border-top: 1px solid var(--line); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head .section-title { margin: 0; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius); font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--orange); color: var(--navy-deep); }
.btn--primary:hover { background: #ff8c33; color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--line-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line-dark:hover { border-color: #25d366; color: var(--ink); }
.btn--small { padding: .55rem 1rem; font-size: .95rem; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy-deep); color: #c9cde6; font-size: .875rem; }
.topbar__inner { display: flex; gap: 1.75rem; justify-content: flex-end; padding-block: .45rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.topbar__item .icon { color: var(--orange); }
a.topbar__item:hover { color: #fff; }
.topbar__address { margin-right: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.site-logo { flex: none; display: block; }
.site-logo__img { width: 168px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a { display: block; padding: 1.6rem .7rem; font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; }
.primary-nav .menu > li > a { box-shadow: inset 0 -3px 0 transparent; transition: box-shadow .15s; }
.primary-nav .menu > li:hover > a,
.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a,
.primary-nav .menu > .current-menu-parent > a { box-shadow: inset 0 -3px 0 var(--orange); color: var(--navy); }
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: .4em; height: .4em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: .5rem 0; position: absolute; left: 0; top: 100%; min-width: 280px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); box-shadow: 0 18px 40px -20px rgba(20, 26, 88, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { padding: .55rem 1.1rem; font-weight: 500; }
.primary-nav .sub-menu a:hover { background: var(--steel); color: var(--navy); }
.nav-search { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.nav-search input { border: 0; padding: .5rem .7rem; width: 150px; font: inherit; font-size: .95rem; }
.nav-search button { border: 0; background: var(--steel); padding: 0 .7rem; cursor: pointer; color: var(--navy); }
.header-call { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; background: var(--navy); color: #fff; border-radius: var(--radius); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-call:hover { background: var(--navy-deep); color: #fff; }
.header-call .icon { color: var(--orange); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; cursor: pointer; color: var(--navy); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }

@media (max-width: 1180px) {
	.nav-search { display: none; }
}
@media (max-width: 1024px) {
	.topbar__address { display: none; }
	.nav-toggle { display: inline-flex; }
	.primary-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff; flex-direction: column; align-items: stretch; gap: 1rem; padding: 5.5rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; z-index: 60; }
	.nav-open .primary-nav { transform: none; visibility: visible; box-shadow: -20px 0 40px rgba(20, 26, 88, .2); }
	.nav-open .nav-toggle { position: fixed; right: 1rem; top: 1rem; z-index: 70; background: #fff; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; }
	.primary-nav .menu a { padding: .75rem .25rem; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a { box-shadow: none !important; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 1rem; display: none; min-width: 0; }
	.primary-nav .is-open > .sub-menu { display: block; }
	.nav-search { display: flex; }
	.nav-search input { width: 100%; }
	.header-call { justify-content: center; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 600px) { .topbar__item:not(a) { display: none; } .topbar__inner { justify-content: center; } }

/* ---------- Hexagon primitives ---------- */
.hex { clip-path: var(--hex); display: block; }
.hex__inner { clip-path: var(--hex); display: flex; flex-direction: column; align-items: center; justify-content: center; position: absolute; inset: 3px; background: #fff; text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__pattern { position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z M28 63v34' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E"); background-size: 56px 97px; mask-image: linear-gradient(90deg, transparent 0%, #000 55%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
.hero__inner { position: relative; min-height: clamp(520px, 72vh, 640px); display: grid; }
.hero__slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: var(--gap); padding-block: 4rem 5rem; }
.hero__slide[hidden] { display: none; }
.hero__slide.is-active { animation: heroIn .6s ease both; }
@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }
.hero__kicker { color: var(--orange); font-weight: 600; letter-spacing: .02em; margin-bottom: 1rem; }
.hero__title { color: #fff; font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: .96; margin-bottom: 1.25rem; max-width: 12ch; }
.hero__lead { font-size: 1.15rem; color: #d6d9ee; max-width: 46ch; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.hex--hero { position: absolute; width: 78%; aspect-ratio: .866; top: 6%; right: 8%; background: var(--orange); }
.hex--hero .hex__inner { inset: 6px; background: var(--steel); padding: 14%; }
.hex--hero img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(20, 26, 88, .25)); }
.hex--outline { position: absolute; aspect-ratio: .866; background: rgba(255, 255, 255, .35); }
.hex--outline::after { content: ""; position: absolute; inset: 2px; clip-path: var(--hex); background: var(--navy); }
.hex--a { width: 22%; left: 0; top: 4%; }
.hex--b { width: 16%; right: 0; bottom: 2%; }
.hex--solid { position: absolute; aspect-ratio: .866; background: var(--orange); }
.hex--c { width: 11%; left: 10%; bottom: 14%; }
.hero__dots { position: absolute; left: 0; bottom: 2rem; display: flex; gap: .6rem; }
.hero__dot { width: 34px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .3); cursor: pointer; }
.hero__dot.is-active { background: var(--orange); }
@media (max-width: 860px) {
	.hero__slide { grid-template-columns: 1fr; padding-block: 3rem 4.5rem; }
	.hero__visual { max-width: 300px; justify-self: center; order: -1; }
	.hero__title { max-width: none; }
}

/* ---------- About intro ---------- */
.about-intro { overflow: hidden; }
.about-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-intro__media { margin: 0; position: relative; }
.about-intro__media img { width: 100%; border-radius: var(--radius); }
.about-intro__media::before { content: ""; position: absolute; width: 90px; aspect-ratio: .866; background: var(--orange); clip-path: var(--hex); left: -28px; bottom: -30px; z-index: -1; }
.about-intro__text p { color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .about-intro { overflow: hidden; }
.about-intro__grid { grid-template-columns: 1fr; } }

/* ---------- Honeycomb categories (signature) ---------- */
.honeycomb { --w: 236px; list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(9, calc(var(--w) / 2)); justify-content: center; column-gap: 8px; }
.honeycomb__cell { grid-column: span 2; width: var(--w); }
.honeycomb__cell:nth-child(5) { grid-column: 2 / span 2; }
.honeycomb__cell:nth-child(n+5) { margin-top: calc(var(--w) * -0.27); }
.hex--tile { position: relative; width: 100%; aspect-ratio: .866; background: var(--line); text-decoration: none; transition: background-color .15s; }
.hex--tile .hex__inner { padding: 16% 12% 16%; gap: .25rem; }
.hex--tile img { width: 66%; height: 46%; object-fit: contain; margin-bottom: .4rem; transition: transform .2s; }
.hex__label { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; line-height: 1.05; color: var(--navy); }
.hex__count { font-size: .85rem; color: var(--muted); }
.hex--tile:hover, .hex--tile:focus-visible { background: var(--orange); outline: none; }
.hex--tile:hover img { transform: scale(1.06); }
@media (max-width: 1100px) {
	.honeycomb { --w: 200px; }
}
@media (max-width: 900px) {
	.honeycomb { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); column-gap: 10px; row-gap: 10px; }
	.honeycomb__cell, .honeycomb__cell:nth-child(5) { grid-column: auto; width: auto; margin-top: 0 !important; }
}

/* ---------- Enlistment + logos ---------- */
.enlist__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.enlist__sub { font-weight: 600; color: var(--copper); font-size: 1.15rem; }
@media (max-width: 860px) { .enlist__grid { grid-template-columns: 1fr; } }
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-grid li { display: flex; align-items: center; justify-content: center; padding: 1.25rem 1rem; min-height: 96px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logo-grid img { max-height: 54px; width: auto; object-fit: contain; }
.logo-grid--round { grid-template-columns: repeat(3, 1fr); border: 0; gap: 1rem; }
.logo-grid--round li { border: 0; padding: 0; min-height: 0; background: none; }
.logo-grid--round img { max-height: 120px; }
.logo-grid--sister img, .logo-grid--certs img { max-height: 64px; }

/* ---------- Why ---------- */
.why__list { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--navy); }
.why__item { padding: 1.75rem 1.5rem 0 0; }
.why__item + .why__item { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.why__icon { display: inline-flex; width: 48px; aspect-ratio: .866; clip-path: var(--hex); background: var(--orange-soft); color: var(--copper); align-items: center; justify-content: center; margin-bottom: 1rem; }
.why__icon .icon { width: 22px; height: 22px; }
.why__item p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
	.why__list { grid-template-columns: 1fr 1fr; }
	.why__item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
	.why__list { grid-template-columns: 1fr; }
	.why__item, .why__item + .why__item { border-left: 0; padding-left: 0; }
}

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.project-card { background: #fff; border-top: 3px solid var(--orange); }
.project-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.project-card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--line); }
.project-card__placeholder .icon { width: 64px; height: 64px; }
.project-card__body { padding: 1.1rem 1.25rem 1.4rem; }
.project-card__title { font-size: 1.15rem; margin-bottom: .4rem; }
.project-card__title a { text-decoration: none; color: var(--navy); }
.project-card__loc { display: flex; gap: .4rem; align-items: flex-start; color: var(--muted); font-size: .95rem; margin: 0; }
.project-card__loc .icon { color: var(--orange); margin-top: .2em; }
@media (max-width: 860px) { .project-grid { grid-template-columns: 1fr; } }
.project-list { display: grid; gap: 3rem; margin-top: 2rem; }
.project-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.project-row:nth-child(even) .project-row__media { order: 2; }
.project-row__media { aspect-ratio: 16 / 10; background: var(--steel); overflow: hidden; border-radius: var(--radius); }
.project-row__media img { width: 100%; height: 100%; object-fit: cover; }
.project-row h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 860px) { .project-row { grid-template-columns: 1fr; } .project-row:nth-child(even) .project-row__media { order: 0; } }
.project-single { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap); align-items: start; }
.project-single__media { margin: 0; }
@media (max-width: 860px) { .project-single { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-band { background: var(--orange); color: var(--navy-deep); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band__title { color: var(--navy-deep); font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-band .btn--line { border-color: var(--navy-deep); color: var(--navy-deep); }
.cta-band .btn--line:hover { background: var(--navy-deep); color: #fff; }

/* ---------- Page band ---------- */
.page-band { background: var(--navy); color: #fff; padding-block: 2.6rem 0; position: relative; }
.page-band::after { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--orange) 0 min(320px, 40%), rgba(255, 255, 255, .12) 0); margin-top: 2.2rem; }
.page-band__title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .4rem 0 0; }
.page-band__sub { color: #ccd0ea; max-width: 70ch; margin: .8rem 0 0; }
.breadcrumb { font-size: .9rem; color: #aeb3d6; display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Products ---------- */
.cat-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; list-style: none; padding: 0; }
.cat-jump a { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); }
.cat-jump a:hover { border-color: var(--orange); background: var(--orange-soft); }
.cat-jump--stack { margin-top: 1.5rem; }
.cat-block { padding-block: 1rem 3rem; border-top: 1px solid var(--line); }
.cat-block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.5rem; margin-bottom: 1.5rem; }
.cat-block__head .section-title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cat-block__head .section-title a { text-decoration: none; color: var(--navy); }
.cat-block__head p { margin: 0; color: var(--muted); max-width: 60ch; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--gap); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
.product-card:hover { border-color: var(--navy); }
.product-card__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #fff, var(--steel)); padding: 1.25rem; border-bottom: 1px solid var(--line); }
.product-card__media img { max-height: 100%; width: auto; object-fit: contain; }
.product-card__media .is-placeholder { width: 64px; opacity: .25; }
.product-card__body { padding: 1rem 1.15rem 1.25rem; }
.product-card__title { font-size: 1.1rem; margin-bottom: .2rem; }
.product-card__title a { color: var(--navy); text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; }
.product-card { position: relative; }
.product-card__brand { color: var(--copper); font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.product-card__text { color: var(--muted); font-size: .95rem; margin: 0; }

.product__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.product__stage { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff, var(--steel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 8%; }
.product__main { max-height: 100%; width: auto; object-fit: contain; }
.product__thumbs { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.product__thumbs button { width: 72px; height: 72px; padding: 4px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; }
.product__thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.product__thumbs button.is-active { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.product__facts { margin: 0 0 1.25rem; display: grid; gap: 0; border-top: 1px solid var(--line); }
.product__facts div { display: grid; grid-template-columns: 130px 1fr; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.product__facts dt { color: var(--muted); font-weight: 500; }
.product__facts dd { margin: 0; font-weight: 600; }
.product__lead { font-size: 1.15rem; }
.product__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }
.product__actions .icon { color: #25d366; }
.product__call { color: var(--muted); }
.product__content { margin-top: clamp(2.5rem, 5vw, 4rem); }
.product__specs-title { font-size: clamp(1.8rem, 3vw, 2.3rem); padding-bottom: .6rem; border-bottom: 3px solid var(--navy); }
@media (max-width: 860px) { .product__top { grid-template-columns: 1fr; } }

/* ---------- Entry content + spec tables ---------- */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--orange); }
.entry-content figure { margin-inline: 0; }
.entry-content .wp-block-image img { border-radius: var(--radius); }
.entry-content .nasco-md-photo { float: right; width: min(240px, 40%); margin: .3em 0 1em 2em; }
.entry-content .nasco-md-photo img { border: 1px solid var(--line); }
.entry-content h2 { clear: both; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll:focus-visible { outline-offset: 0; }
.wp-block-table { margin-inline: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .97rem; font-variant-numeric: tabular-nums lining-nums; min-width: 520px; }
.entry-content thead th { background: var(--navy); color: #fff; text-align: left; font-weight: 600; padding: .75rem .9rem; white-space: nowrap; position: sticky; top: 0; }
.entry-content td { padding: .6rem .9rem; border: 0; border-top: 1px solid var(--line); vertical-align: top; }
.entry-content .wp-block-table thead { border-bottom: 0; }
.entry-content .wp-block-table th { border: 0; }
.entry-content .wp-block-table table { border: 0; }
.entry-content tbody tr:nth-child(even) td { background: #f7f8fb; }
.entry-content tbody tr:hover td { background: var(--orange-soft); }
.entry-content td:first-child { color: var(--muted); }
.wp-block-table figcaption { font-size: .9rem; color: var(--muted); }

/* ---------- Contact + form ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__block { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.contact__block h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.contact__block p { display: flex; gap: .55rem; align-items: flex-start; margin: 0 0 .5rem; }
.contact__block .icon { color: var(--orange); margin-top: .25em; }
.contact__form { background: var(--steel); padding: clamp(1.5rem, 3vw, 2.5rem); border-top: 4px solid var(--orange); }
.contact__map { margin-top: var(--section); aspect-ratio: 21 / 8; min-height: 300px; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
.quote-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.quote-form input[type=text], .quote-form input[type=tel], .quote-form input[type=email], .quote-form select, .quote-form textarea { width: 100%; padding: .7rem .8rem; border: 1px solid #b9c0cd; border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink); }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--navy); outline: 2px solid var(--orange-soft); }
.quote-form small { display: block; color: var(--muted); margin-top: .3rem; }
.quote-form .req { color: var(--copper); }
.hp-field { position: absolute; left: -9999px; }
.form-notice { padding: .9rem 1rem; margin-bottom: 1.25rem; border-left: 4px solid; background: #fff; }
.form-notice.is-success { border-color: #1f9d55; }
.form-notice.is-error { border-color: #c0392b; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: .5rem; margin-bottom: 2rem; max-width: 560px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: .7rem .8rem; border: 1px solid #b9c0cd; border-radius: var(--radius); font: inherit; }
.search-form .search-submit { padding: .7rem 1.2rem; background: var(--navy); color: #fff; border: 0; border-radius: var(--radius); font: 600 1rem var(--font); cursor: pointer; }
.empty-note { font-size: 1.1rem; color: var(--muted); }
.entry-list { padding-block: 1.25rem; border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c9cde6; font-size: .97rem; }
.site-footer a { color: #e7e9f6; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: var(--gap); padding-block: 4rem 3rem; }
.site-logo--footer img { width: 180px; margin-bottom: 1.25rem; }
.site-footer__title { color: #fff; font-size: 1.25rem; margin-bottom: 1rem; }
.footer-menu, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: .5rem; }
.footer-contact li { display: flex; gap: .55rem; margin-bottom: .75rem; }
.footer-contact .icon { color: var(--orange); margin-top: .25em; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.25rem; font-size: .9rem; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; background: #1ebe5b; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
	.topbar, .site-header, .site-footer, .cta-band, .wa-float, .product__actions { display: none !important; }
	.page-band { background: none; color: #000; }
	.page-band__title { color: #000; }
}
