/* Theme Name: ZeroY Starter - AQUROV Engineering Store */

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--bg-50);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input{font:inherit}

.site-wrap{
  width:min(1220px, calc(100% - 48px));
  margin:0 auto;
}

/* ---------- Labels ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--blue-700);
  margin-bottom:12px;
}
.eyebrow.light{color:var(--aqua-400)}
.eyebrow:before{
  content:"";
  width:22px;
  height:1px;
  background:currentColor;
}
.kicker{
  display:inline-block;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--aqua-400);
  margin-bottom:14px;
}
.label{
  display:block;
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--ink-400);
}

/* ---------- Header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  background:rgba(245,247,250,.92);
  border-bottom:1px solid var(--line-300);
}
.site-header-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.site-brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-mark{
  width:38px;
  height:38px;
  border-radius:7px;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,var(--cyan),var(--blue-700));
}
.brand-mark:before,
.brand-mark:after{
  content:"";
  position:absolute;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.75);
}
.brand-mark:before{width:20px;height:20px}
.brand-mark:after{width:8px;height:8px}
.brand-copy{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}
.brand-copy b{
  font-size:18px;
  font-weight:800;
  letter-spacing:.04em;
  color:var(--ocean-950);
}
.brand-copy span{
  font-size:10px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--ink-400);
  margin-top:3px;
}
.site-nav{
  display:flex;
  align-items:center;
  gap:26px;
  color:var(--ink-600);
  font-size:14px;
  font-weight:500;
}
.site-nav a{transition:color .2s ease}
.site-nav a:hover,
.site-nav a.active{color:var(--blue-700)}

/* ---------- Sections ---------- */
.section{padding:72px 0}
.section.white{
  background:var(--white);
  border-top:1px solid var(--line-200);
  border-bottom:1px solid var(--line-200);
}
.section.tint{
  background:var(--bg-100);
  border-top:1px solid var(--line-200);
  border-bottom:1px solid var(--line-200);
}
.section.dark{
  background:var(--ocean-900);
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.section.dark:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:32px 32px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.2));
  -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.2));
  pointer-events:none;
}
.section.dark > .site-wrap{position:relative;z-index:2}
.section-head{max-width:760px;margin-bottom:36px}
.section h2{
  font-size:clamp(26px,2.8vw,34px);
  line-height:1.14;
  letter-spacing:-.025em;
  margin:10px 0 14px;
  font-weight:700;
}
.section.dark h2{color:var(--white)}
.section p.lead{
  font-size:16px;
  color:var(--ink-600);
  margin:0;
  line-height:1.6;
  max-width:64ch;
}
.section.dark p.lead{color:#B7C6D4}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 18px;
  border-radius:var(--radius-sm);
  border:1px solid transparent;
  font-weight:700;
  font-size:13px;
  transition:.2s ease;
  cursor:pointer;
}
.btn.primary{background:var(--blue-700);color:var(--white)}
.btn.primary:hover{background:var(--blue-600)}
.btn.secondary{background:var(--white);border-color:var(--line-300);color:var(--ink-900)}
.btn.secondary:hover{border-color:var(--blue-700);color:var(--blue-700)}
.btn.ghost{background:transparent;border-color:rgba(255,255,255,.28);color:var(--white)}
.btn.ghost:hover{border-color:var(--aqua-400);color:var(--aqua-400)}

/* ---------- Panels, key/value rows, chips ---------- */
.panel{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  padding:24px;
}
.panel-title{
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--aqua-400);
  margin:0 0 14px;
}
.kv-list{margin:0}
.kv-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:baseline;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.1);
  font-size:13px;
}
.kv-row:first-of-type{padding-top:0}
.kv-row:last-child{border-bottom:0;padding-bottom:0}
.kv-row dt{color:#9FB3C6;margin:0;line-height:1.5}
.kv-row dd{margin:0;color:var(--white);font-weight:700;text-align:right}
.panel-note{
  margin:16px 0 0;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:#7E90A2;
}
.badge{
  display:inline-flex;
  align-items:center;
  font-size:10px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  border-radius:4px;
  padding:5px 9px;
}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  list-style:none;
  padding:0;
  margin:0 0 22px;
}
.chips li{
  font-size:12px;
  font-weight:600;
  color:var(--white);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  border-radius:4px;
  padding:7px 12px;
}

/* ---------- Image slot / gray placeholder ---------- */
.media-block{
  position:relative;
  background:linear-gradient(150deg,#EDF2F7,#DEE6ED);
  border:1px solid var(--line-300);
  border-radius:var(--radius-lg);
  min-height:420px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  padding:22px;
  margin:0;
}
.media-block:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(13,27,42,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,27,42,.05) 1px, transparent 1px);
  background-size:32px 32px;
  pointer-events:none;
}
.media-mark{
  position:absolute;
  top:50%;
  left:50%;
  width:150px;
  height:150px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  border:14px solid #C3CFDA;
  box-shadow:inset 0 0 0 8px #F2F6F9;
}
.media-block .badge{
  position:absolute;
  top:16px;
  left:16px;
  color:var(--ink-600);
  background:rgba(255,255,255,.9);
  border:1px solid var(--line-300);
}
.media-caption{position:relative;z-index:2}
.media-caption small{
  display:block;
  font-size:10px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--ink-400);
  margin-bottom:5px;
}
.media-caption strong{
  font-size:15px;
  color:var(--ink-900);
  font-weight:700;
  line-height:1.4;
}

/* ---------- Dark visual board (hero) ---------- */
.visual-board{
  position:relative;
  background:linear-gradient(145deg,#15344B,#0E2333);
  border:1px solid rgba(255,255,255,.13);
  border-radius:var(--radius-lg);
  box-shadow:0 30px 70px rgba(0,0,0,.24);
  padding:26px;
  min-height:420px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.visual-board:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:32px 32px;
  pointer-events:none;
}
.visual-board > *{position:relative;z-index:2}
.visual-board .badge{
  position:absolute;
  top:18px;
  left:20px;
  color:var(--aqua-400);
  background:rgba(8,19,31,.55);
  border:1px solid rgba(124,207,224,.3);
}
.board-title{
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--aqua-400);
  margin:22px 0 14px;
}

/* ---------- Metrics row ---------- */
.metric-row{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  margin-top:40px;
}
.metric-box{
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  padding:20px;
}
.metric-val{
  font-size:30px;
  font-weight:800;
  color:var(--ocean-900);
  line-height:1;
  letter-spacing:-.03em;
}
.metric-unit{
  font-size:13px;
  font-weight:600;
  color:var(--blue-700);
  margin-left:4px;
}
.metric-lbl{
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--ink-400);
  margin-top:9px;
  line-height:1.5;
}

/* ---------- Category cards ---------- */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.cat-card{
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  padding:20px;
  display:flex;
  gap:16px;
  align-items:flex-start;
  transition:transform .2s ease, border-color .2s ease;
}
.cat-card:hover{
  transform:translateY(-2px);
  border-color:#BFD6F6;
}
.cat-tile{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:var(--radius-sm);
  background:#EEF5FB;
  border:1px solid #D1E2EF;
  color:var(--blue-700);
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:16px;
}
.cat-card h3{
  font-size:16px;
  margin:2px 0 6px;
  color:var(--ocean-950);
  letter-spacing:-.01em;
}
.cat-card p{
  font-size:12.5px;
  color:var(--ink-600);
  margin:0;
  line-height:1.55;
}

/* ---------- Buying path ---------- */
.path{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius);
  overflow:hidden;
}
.path-item{
  position:relative;
  padding:24px 22px;
  border-right:1px solid var(--line-200);
}
.path-item:last-child{border-right:0}
.path-num{
  display:block;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  color:var(--blue-700);
  margin-bottom:12px;
}
.path-item h3{
  font-size:16px;
  margin:0 0 8px;
  color:var(--ocean-950);
  letter-spacing:-.01em;
}
.path-item p{
  font-size:12.5px;
  color:var(--ink-600);
  margin:0;
  line-height:1.55;
}
.arrow{
  position:absolute;
  right:-11px;
  top:50%;
  transform:translateY(-50%);
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--white);
  border:1px solid var(--line-300);
  color:var(--blue-700);
  font-size:11px;
  font-weight:800;
  display:grid;
  place-items:center;
  z-index:2;
}

/* ---------- Process steps ---------- */
.step-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line-300);
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  overflow:hidden;
}
.step{
  background:var(--white);
  padding:26px 22px;
}
.step .num{
  display:block;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  color:var(--blue-700);
  margin-bottom:12px;
}
.step h3{
  font-size:16px;
  margin:0 0 10px;
  letter-spacing:-.01em;
  color:var(--ocean-950);
}
.step p{
  font-size:12.5px;
  color:var(--ink-600);
  line-height:1.6;
  margin:0;
}

/* ---------- Trust / evidence ---------- */
.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.trust-card{
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  padding:24px 20px;
}
.trust-card .num{
  display:block;
  font-size:24px;
  font-weight:800;
  color:var(--blue-700);
  letter-spacing:-.02em;
  margin-bottom:14px;
}
.trust-card h3{
  font-size:15px;
  margin:0 0 10px;
  color:var(--ocean-950);
}
.trust-card p{
  font-size:12.5px;
  color:var(--ink-600);
  line-height:1.6;
  margin:0;
}

/* ---------- Customer segments ---------- */
.seg-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px 24px;
}
.seg-card{
  border-top:2px solid var(--ocean-900);
  padding-top:16px;
}
.seg-card .seg-meta{
  display:block;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ink-400);
  margin-bottom:8px;
}
.seg-card h3{
  font-size:15px;
  margin:0 0 8px;
  color:var(--ocean-950);
}
.seg-card p{
  font-size:12.5px;
  color:var(--ink-600);
  margin:0;
  line-height:1.55;
}

/* ---------- About hero ---------- */
.about-page{background:var(--bg-50)}
.hero-band{padding:76px 0 68px}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:52px;
  align-items:center;
}
.hero-band h1{
  font-size:clamp(34px,4.4vw,56px);
  line-height:1.03;
  letter-spacing:-.035em;
  margin:12px 0 18px;
  font-weight:800;
  color:var(--white);
  max-width:16em;
}
.hero-band p.lead{
  font-size:18px;
  line-height:1.6;
  color:#B7C6D4;
  max-width:60ch;
  margin:0 0 26px;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 30px;
}
.hero-points{
  list-style:none;
  padding:22px 0 0;
  margin:0;
  border-top:1px solid rgba(255,255,255,.12);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 20px;
}
.hero-points li{
  position:relative;
  padding-left:20px;
  font-size:13px;
  color:#C5D4E2;
  line-height:1.5;
}
.hero-points li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--aqua-400);
  font-weight:800;
  font-size:12px;
}

/* ---------- Split composition ---------- */
.showcase-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}
.showcase-content p{
  font-size:15px;
  color:var(--ink-600);
  line-height:1.7;
  margin:0 0 18px;
}
.section.dark .showcase-content p{color:#B7C6D4}

/* ---------- Brand architecture ---------- */
.brand-arch{
  display:grid;
  grid-template-columns:1.15fr auto .85fr;
  gap:20px;
  align-items:stretch;
  margin-bottom:40px;
}
.brand-box.backing{opacity:.85}
.brand-box.backing h3{font-size:18px}
.brand-box.backing p{color:#8FA3B5}
.brand-box{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius);
  padding:24px;
}
.brand-box .badge{
  color:var(--aqua-400);
  background:rgba(8,19,31,.5);
  border:1px solid rgba(124,207,224,.3);
  margin-bottom:16px;
}
.brand-box h3{
  font-size:22px;
  margin:0 0 10px;
  color:var(--white);
  letter-spacing:-.02em;
}
.brand-box p{
  font-size:13px;
  color:#9FB3C6;
  margin:0 0 14px;
}
.brand-box ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:6px;
}
.brand-box li{
  position:relative;
  padding-left:16px;
  font-size:12.5px;
  color:#C5D4E2;
  line-height:1.5;
}
.brand-box li:before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:6px;
  height:1px;
  background:var(--aqua-400);
}
.bridge{
  align-self:center;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  color:var(--aqua-400);
  display:grid;
  place-items:center;
  font-size:15px;
}

/* ---------- CTA band ---------- */
.cta-band-inner{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:48px;
  align-items:center;
}
.cta-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.cta-actions .btn{width:100%}
.cta-note{
  margin:20px 0 0;
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:#7E90A2;
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--ocean-950);
  color:#AFC1D0;
  border-top:1px solid rgba(255,255,255,.08);
  padding:44px 0 36px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr repeat(3,.7fr);
  gap:24px;
  margin-bottom:32px;
}
.footer-brand h4{
  color:var(--white);
  font-size:18px;
  margin:0 0 10px;
  letter-spacing:-.02em;
}
.footer-brand p{
  font-size:12.5px;
  line-height:1.6;
  max-width:380px;
  color:#8596A6;
  margin:0;
}
.footer-bottom{
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:12px;
  color:#7E90A2;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px){
  .hero-grid,
  .showcase-split,
  .brand-arch,
  .cta-band-inner{
    grid-template-columns:1fr;
    gap:32px;
  }
  .bridge{transform:rotate(90deg);justify-self:start}
  .metric-row,
  .trust-grid{grid-template-columns:1fr 1fr}
  .cat-grid,
  .step-grid,
  .seg-grid{grid-template-columns:1fr 1fr}
  .path{grid-template-columns:1fr 1fr}
  .path-item{border-right:0;border-bottom:1px solid var(--line-200)}
  .path-item:nth-child(odd){border-right:1px solid var(--line-200)}
  .arrow{display:none}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 680px){
  .site-wrap{width:calc(100% - 32px)}
  .site-header-inner{flex-wrap:wrap;padding:10px 0;row-gap:4px}
  .site-nav{flex:1 1 100%;gap:10px;font-size:12px;overflow-x:auto;padding:0 2px 4px 0;-webkit-overflow-scrolling:touch}
  .site-nav::-webkit-scrollbar{display:none}
  .brand-copy span{display:none}
  .section{padding:54px 0}
  .hero-band{padding:54px 0}
  .hero-band h1{font-size:38px}
  .hero-points{grid-template-columns:1fr}
  .metric-row,
  .trust-grid,
  .cat-grid,
  .step-grid,
  .seg-grid,
  .path,
  .footer-grid{grid-template-columns:1fr}
  .path-item{border-right:0}
  .media-block{min-height:320px}
  .visual-board{min-height:340px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}

/* ---------- Test page stage (page template: page-test.php) ---------- */
.test-page{background:var(--bg-50)}
.tp-stage{
  display:flex;
  align-items:center;
  min-height:min(720px, calc(100vh - 280px));
  padding:56px 0;
}
.tp-card{
  position:relative;
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:clamp(44px,6vw,80px) clamp(22px,5vw,64px);
  text-align:center;
  overflow:hidden;
}
.tp-card:before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:3px;
  background:linear-gradient(90deg,var(--blue-700),var(--cyan) 55%,var(--aqua-400));
}
.tp-card:after{
  content:"";
  position:absolute;
  inset:16px;
  border:1px solid var(--line-200);
  border-radius:var(--radius-sm);
  pointer-events:none;
}
.tp-label{
  position:relative;
  z-index:1;
  display:block;
  font-family:var(--font-mono);
  font-size:11px;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--ink-400);
  margin:0;
}
.tp-display{
  position:relative;
  z-index:1;
  margin:26px 0 0;
  font-size:clamp(46px,9vw,96px);
  font-weight:800;
  line-height:1.08;
  letter-spacing:.04em;
  color:var(--ocean-950);
}
.tp-display > *{margin:0}
.tp-display a{color:var(--blue-700)}
.tp-rule{
  position:relative;
  z-index:1;
  display:block;
  width:72px;
  height:2px;
  margin:30px auto 0;
  background:var(--line-300);
}
.tp-rule:after{
  content:"";
  position:absolute;
  left:0;top:0;
  width:24px;height:2px;
  background:var(--cyan);
}
.tp-locked{position:relative;z-index:1;margin:24px 0 0;text-align:left}
@media (max-width:680px){
  .tp-stage{min-height:0;padding:40px 0}
  .tp-card{padding:40px 36px 44px}
  .tp-display{margin-top:20px;letter-spacing:.02em}
  .tp-rule{margin-top:24px}
}

/* ---------- Contact page (page template: page-contact.php) ---------- */
.contact-page{background:var(--bg-50)}
.contact-hero{padding:64px 0 72px}
.contact-hero .hero-grid{align-items:start}
.contact-hero .hero-band h1{max-width:14em}
.form-card{
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:28px;
  margin:0;
}
.form-title{
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--blue-700);
  margin:0 0 20px;
}
.field{display:block;margin:0 0 16px}
.field > span{
  display:block;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ink-400);
  margin-bottom:7px;
}
.field input,
.field select,
.field textarea{
  width:100%;
  font:inherit;
  font-size:14px;
  color:var(--ink-900);
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  padding:11px 13px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border-color:var(--blue-700);
  box-shadow:0 0 0 3px rgba(15,95,184,.12);
}
.field textarea{min-height:132px;line-height:1.6;resize:vertical}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-actions{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--line-200);
}
.form-actions .btn.primary{min-height:46px;padding:0 24px}
.form-note{
  flex:1 1 220px;
  margin:0;
  font-size:11.5px;
  line-height:1.55;
  color:var(--ink-400);
}

/* ---------- Thank you page (page template: page-thank-you.php) ---------- */
.thankyou-page{background:var(--bg-50)}
.ty-stage{
  display:flex;
  align-items:center;
  min-height:min(660px, calc(100vh - 260px));
  padding:64px 0;
}
.ty-card{
  max-width:780px;
  margin:0 auto;
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:clamp(34px,5vw,60px);
  text-align:center;
}
.ty-mark{
  width:54px;
  height:54px;
  margin:0 auto 22px;
  border-radius:50%;
  background:#EEF5FB;
  border:1px solid #D1E2EF;
  color:var(--blue-700);
  display:grid;
  place-items:center;
  font-size:22px;
  font-weight:800;
}
.ty-card h1{
  font-size:clamp(24px,3vw,32px);
  line-height:1.2;
  letter-spacing:-.025em;
  color:var(--ocean-950);
  margin:0 0 16px;
}
.ty-card p.lead{
  font-size:15px;
  line-height:1.65;
  color:var(--ink-600);
  margin:0 auto;
  max-width:58ch;
}
.ty-next{
  list-style:none;
  padding:0;
  margin:30px 0 0;
  display:grid;
  gap:1px;
  background:var(--line-200);
  border:1px solid var(--line-200);
  border-radius:var(--radius-sm);
  overflow:hidden;
  text-align:left;
}
.ty-next li{
  background:var(--white);
  padding:14px 16px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:baseline;
}
.ty-next b{
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  color:var(--blue-700);
}
.ty-next span{
  font-size:12.5px;
  line-height:1.6;
  color:var(--ink-600);
}
.ty-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:30px;
}
.ty-note{
  margin:26px 0 0;
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--ink-400);
}
@media (max-width:680px){
  .contact-hero{padding:48px 0 56px}
  .form-card{padding:22px}
  .field-row{grid-template-columns:1fr;gap:0}
  .ty-stage{min-height:0;padding:40px 0}
}
/* ---------- Anchor offset for the sticky header ---------- */
.section[id]{scroll-margin-top:88px}

/* ---------- Product cards ---------- */
.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.product-card{
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:border-color .2s ease, transform .2s ease;
}
.product-card:hover{
  border-color:#BFD6F6;
  transform:translateY(-2px);
}
.product-media{
  position:relative;
  height:180px;
  background:linear-gradient(150deg,#F1F5F9,#E2E9F0);
  border-bottom:1px solid var(--line-300);
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-media:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(13,27,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,27,42,.04) 1px, transparent 1px);
  background-size:24px 24px;
}
.product-media .media-mark{
  width:96px;
  height:96px;
  border-width:11px;
}
.product-media .badge{
  position:absolute;
  top:12px;
  left:12px;
  color:var(--ink-600);
  background:rgba(255,255,255,.9);
  border:1px solid var(--line-300);
}
.product-body{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}
.product-body h3{
  font-size:16px;
  margin:0;
  color:var(--ocean-950);
  letter-spacing:-.01em;
}
.product-body p{
  font-size:12.5px;
  color:var(--ink-600);
  margin:0;
  line-height:1.55;
  flex:1;
}
.product-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.product-meta span{
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--ink-600);
  background:var(--bg-100);
  border:1px solid var(--line-200);
  border-radius:4px;
  padding:4px 7px;
}
.product-foot{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  border-top:1px solid var(--line-200);
  padding-top:14px;
}
.product-foot .btn{flex:1 1 auto;width:auto}

/* ---------- Technical library ---------- */
.library{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
}
.library-card{
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  padding:20px;
}
.resource-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}
.resource{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:baseline;
  border:1px solid var(--line-200);
  border-radius:var(--radius-sm);
  padding:12px 14px;
}
.resource b{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--ocean-950);
}
.resource span{
  display:block;
  font-size:11px;
  color:var(--ink-400);
  margin-top:3px;
}
.resource-link{
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--blue-700);
  white-space:nowrap;
}
.learn-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.learn-card{
  border:1px solid var(--line-200);
  border-radius:var(--radius-sm);
  padding:14px;
}
.learn-tag{
  display:block;
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--blue-700);
  margin-bottom:8px;
}
.learn-card h4{
  font-size:13.5px;
  margin:0 0 6px;
  color:var(--ocean-950);
}
.learn-card p{
  font-size:11.5px;
  color:var(--ink-600);
  margin:0;
  line-height:1.5;
}
.library-note{
  margin:16px 0 0;
  font-size:11.5px;
  color:var(--ink-400);
  line-height:1.5;
}

/* ---------- Applications ---------- */
.app-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}
.app-card{margin:0}
.app-media{
  position:relative;
  height:150px;
  border-radius:var(--radius-sm);
  border:1px solid var(--line-300);
  background:linear-gradient(150deg,#EDF2F7,#DFE7EE);
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  padding:12px;
}
.app-media:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(13,27,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,27,42,.04) 1px, transparent 1px);
  background-size:22px 22px;
}
.app-media .badge{
  position:relative;
  z-index:2;
  font-size:9px;
  color:var(--ink-600);
  background:rgba(255,255,255,.88);
  border:1px solid var(--line-300);
}
.app-card h3{
  font-size:13.5px;
  margin:12px 0 6px;
  color:var(--ocean-950);
}
.app-card p{
  font-size:11.5px;
  color:var(--ink-600);
  margin:0;
  line-height:1.5;
}

/* ---------- Homepage responsive ---------- */
@media (max-width: 1000px){
  .product-grid{grid-template-columns:1fr 1fr}
  .app-grid{grid-template-columns:1fr 1fr 1fr}
  .library{grid-template-columns:1fr}
}
@media (max-width: 680px){
  .product-grid,
  .app-grid,
  .learn-grid{grid-template-columns:1fr}
  .library-card{padding:16px}
  .resource{padding:10px 12px}
}

.panel-title-light{color:var(--blue-700)}

/* ---------- Shop archive (archive-product.php) ---------- */
.shop-page{background:var(--bg-50)}
.shop-search{width:100%;max-width:520px}
.shop-search form{display:flex;gap:10px}
.shop-search input[type="search"]{
  flex:1 1 auto;
  min-height:42px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:var(--radius-sm);
  background:rgba(255,255,255,.06);
  color:var(--white);
  font-size:13px;
}
.shop-search input[type="search"]::placeholder{color:#9FB3C6}
.shop-search button{
  flex:0 0 auto;
  min-height:42px;
  padding:0 18px;
  border:1px solid transparent;
  border-radius:var(--radius-sm);
  background:var(--blue-700);
  color:var(--white);
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.shop-search button:hover{background:var(--blue-600)}
.shop-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.shop-chip{
  font-size:12px;
  font-weight:700;
  color:var(--ink-600);
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:4px;
  padding:7px 12px;
  transition:border-color .18s ease,color .18s ease;
}
.shop-chip:hover{border-color:var(--blue-700);color:var(--blue-700)}
.shop-chip.is-active{background:var(--ocean-900);border-color:var(--ocean-900);color:var(--white)}
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.shop-count{font-size:12.5px;color:var(--ink-600)}
.shop-order select{
  min-height:40px;
  padding:0 12px;
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  background:var(--white);
  color:var(--ink-900);
  font-size:12.5px;
}
.product-photo{width:100%;height:100%;object-fit:cover;display:block}
.product-media:has(> .product-photo):before{display:none}
.product-price{font-size:17px;font-weight:800;color:var(--ocean-950);letter-spacing:-.01em}
.product-body h3 a:hover{color:var(--blue-700)}
.shop-pagination{margin-top:32px}
.shop-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  min-height:38px;
  margin-right:6px;
  padding:0 10px;
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  background:var(--white);
  color:var(--ink-600);
  font-size:13px;
  font-weight:700;
}
.shop-pagination .page-numbers.current{background:var(--ocean-900);border-color:var(--ocean-900);color:var(--white)}
.shop-pagination .page-numbers:hover{border-color:var(--blue-700);color:var(--blue-700)}
@media (max-width:680px){
  .shop-toolbar{gap:10px}
  .shop-order select{width:100%}
}

/* ---------- Product category archive (taxonomy-product_cat.php) ---------- */
.hero-figure{
  margin:0;
  position:relative;
  border:1px solid rgba(255,255,255,.13);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:0 30px 70px rgba(0,0,0,.24);
}
.hero-figure img{
  width:100%;
  height:100%;
  min-height:300px;
  object-fit:cover;
  display:block;
}
.cat-card.has-thumb{flex-direction:column;align-items:stretch;gap:14px}
.cat-card.has-thumb .cat-thumb{
  width:100%;
  height:150px;
  flex:0 0 auto;
  object-fit:cover;
  border:1px solid var(--line-200);
  border-radius:var(--radius-sm);
  background:var(--bg-100);
}
.learn-grid.learn-grid-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:1000px){
  .learn-grid.learn-grid-4{grid-template-columns:1fr 1fr}
}
@media (max-width:680px){
  .learn-grid.learn-grid-4{grid-template-columns:1fr}
  .hero-figure img{min-height:220px}
  .cat-card.has-thumb .cat-thumb{height:120px}
}

/* ---------- Product single (single-product.php) ---------- */
.product-page{background:var(--bg-50)}
.product-narrow{max-width:920px}
.product-crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:12.5px;color:var(--ink-600);margin-bottom:20px}
.product-crumbs a:hover{color:var(--blue-700)}
.product-top-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:start}
.product-gallery{margin:0}
.product-main-photo{
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid var(--line-300);
  border-radius:var(--radius);
  background:var(--bg-100);
}
.product-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.product-thumb{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  background:var(--bg-100);
}
.product-buy h1{
  font-size:clamp(26px,3vw,38px);
  line-height:1.1;
  letter-spacing:-.03em;
  margin:10px 0 12px;
  color:var(--ocean-950);
}
.product-meta-line{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--ink-600);margin:0 0 16px}
.product-intro{font-size:15px;color:var(--ink-600);line-height:1.65;margin:0 0 16px}
.product-key-specs span{background:var(--white);border-color:var(--line-300)}
.product-price-lg{font-size:24px;font-weight:800;color:var(--ocean-950);letter-spacing:-.02em;margin:0 0 18px}
.panel-light{
  background:var(--white);
  border:1px solid var(--line-300);
  border-radius:var(--radius);
  padding:20px;
  margin-bottom:20px;
}
.kv-list-light .kv-row{border-bottom:1px solid var(--line-200)}
.kv-list-light .kv-row dt{color:var(--ink-600)}
.kv-list-light .kv-row dd{color:var(--ocean-950)}
.product-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.product-actions .cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0}
.product-actions .quantity input{
  width:84px;
  min-height:42px;
  padding:0 10px;
  border:1px solid var(--line-300);
  border-radius:var(--radius-sm);
  font-size:13px;
}
.spec-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:16px}
.spec-card{background:var(--white);border:1px solid var(--line-300);border-radius:var(--radius-sm);padding:20px}
.spec-table{width:100%;border-collapse:collapse;font-size:13px}
.spec-table th{
  width:54%;
  text-align:left;
  font-weight:600;
  color:var(--ink-600);
  padding:11px 0;
  border-bottom:1px solid var(--line-200);
  vertical-align:top;
}
.spec-table td{
  font-weight:700;
  color:var(--ocean-950);
  padding:11px 0;
  border-bottom:1px solid var(--line-200);
  vertical-align:top;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td{border-bottom:0}
.compat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}
.compat-card{background:var(--white);border:1px solid var(--line-300);border-radius:var(--radius-sm);padding:16px}
.compat-photo{width:100%;height:150px;object-fit:cover;border-radius:var(--radius-sm);background:var(--bg-100);margin-bottom:12px}
.product-drawing,
.product-application{margin:20px 0 0;border:1px solid var(--line-300);border-radius:var(--radius);overflow:hidden;background:var(--bg-100)}
.product-drawing img,
.product-application img{width:100%;height:auto;display:block}
.product-drawing figcaption,
.product-application figcaption{padding:12px 16px;background:var(--white)}
.product-copy{font-size:15px;line-height:1.75;color:var(--ink-600)}
.mobile-buy{display:none}
@media (max-width:1000px){
  .product-top-grid{grid-template-columns:1fr;gap:28px}
  .spec-grid{grid-template-columns:1fr 1fr}
  .compat-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:680px){
  .spec-grid,
  .compat-grid{grid-template-columns:1fr}
  .product-page{padding-bottom:78px}
  .mobile-buy{
    display:flex;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:150;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 16px;
    background:var(--white);
    border-top:1px solid var(--line-300);
    box-shadow:0 -8px 24px rgba(13,27,42,.08);
  }
  .mobile-buy-price{font-size:15px;font-weight:800;color:var(--ocean-950)}
}

/* ---------- Photo figure (About page and similar sections) ---------- */
.media-figure{
  margin:0;
  border:1px solid var(--line-300);
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:var(--bg-100);
}
.media-figure img{width:100%;height:auto;display:block}
.media-figure figcaption{
  padding:12px 16px;
  background:var(--white);
  border-top:1px solid var(--line-200);
  margin:0;
}

/* ---------- Photo slots inside cards (real photos) ---------- */
.app-photo{width:100%;height:100%;object-fit:cover;display:block}
.app-media{display:block;padding:0;position:relative}
.app-media .badge{position:absolute;left:12px;bottom:12px;z-index:2}
.app-card h3{margin-top:12px}
