/*
Theme Name: Valor Hyper Boats – Blocksy Child
Theme URI: https://example.com/
Description: Custom Blocksy child theme for Valor Hyper Boats — Valor 27, Valor 33, Valor 38, Valor 38 Race, and Valor 44 — with a streamlined navigation, WooCommerce account/cart icons, and configurator entry point.
Author: OpenAI for Valor Hyper Boats
Template: blocksy
Version: 1.9.0
Text Domain: valor-hyper-boats
*/

:root {
  --valor-bg:#ffffff;
  --valor-bg-soft:#f4f8fc;
  --valor-panel:#e9f3fb;
  --valor-text:#071b2f;
  --valor-muted:#5e6e7d;
  --valor-line:rgba(7,27,47,.14);
  --valor-accent:#0067c5;
  --valor-navy:#071b2f;
  --valor-blue-soft:#eaf5fd;
  --valor-max:1440px;
  --valor-header-h:72px;
}

html { scroll-behavior:smooth; }
body.valor-site { margin:0; background:var(--valor-bg); color:var(--valor-text); }
body.valor-site #main-container { background:var(--valor-bg); min-height:50vh; }
body.valor-site a { text-underline-offset:3px; }
.valor-wrap { width:min(calc(100% - 40px),var(--valor-max)); margin:0 auto; }
.valor-eyebrow { text-transform:uppercase; letter-spacing:.18em; font-size:12px; font-weight:800; color:var(--valor-accent); }
.valor-display { font-size:clamp(52px,9vw,150px); line-height:.88; letter-spacing:-.05em; text-transform:uppercase; margin:0; }
.valor-section-title { font-size:clamp(38px,6vw,86px); line-height:.95; letter-spacing:-.045em; text-transform:uppercase; margin:12px 0 0; }
.valor-copy { color:var(--valor-muted); font-size:clamp(16px,1.6vw,21px); line-height:1.6; max-width:760px; }
.valor-btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:0 24px; border:1px solid var(--valor-navy); color:var(--valor-navy); text-decoration:none; text-transform:uppercase; letter-spacing:.1em; font-size:12px; font-weight:800; transition:.25s ease; }
.valor-btn:hover { background:var(--valor-navy); color:#fff; transform:translateY(-1px); }
.valor-btn--solid { background:#fff; color:var(--valor-navy); border-color:#fff; }
.valor-btn--solid:hover { background:var(--valor-accent); border-color:var(--valor-accent); color:#fff; }
.valor-btn--accent { background:var(--valor-accent); border-color:var(--valor-accent); color:#fff; }
.valor-btn--accent:hover { background:var(--valor-navy); border-color:var(--valor-navy); color:#fff; }
.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

/* Header */
.valor-site-header { position:relative; z-index:999; width:100%; height:var(--valor-header-h); background:rgba(7,27,47,.97); border-bottom:1px solid rgba(255,255,255,.12); box-shadow:0 8px 28px rgba(0,0,0,.18); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.valor-site-header.is-overlay { position:absolute; left:0; top:0; background:rgba(7,27,47,.94); border-bottom-color:rgba(255,255,255,.14); }
.valor-header-inner { width:min(calc(100% - 44px),1560px); height:100%; margin:0 auto; display:flex; align-items:center; gap:32px; }
.valor-brand-wrap { display:flex; align-items:center; flex:0 0 auto; }
.valor-brand-wrap .custom-logo-link { display:flex; align-items:center; }
.valor-brand-wrap .custom-logo { width:auto; max-width:205px; max-height:34px; object-fit:contain; }
.valor-nav-logo-link { display:flex; align-items:center; line-height:0; text-decoration:none; }
.valor-nav-logo { display:block; width:205px; max-width:22vw; height:auto; }
.valor-brand { display:flex; flex-direction:column; color:var(--valor-navy); text-decoration:none; line-height:.8; }
.valor-brand-word { font-size:28px; line-height:.9; font-weight:900; letter-spacing:.12em; }
.valor-brand small { margin-top:8px; font-size:8px; letter-spacing:.35em; color:#607284; }
.valor-site-header.is-overlay .valor-brand { color:#fff; }
.valor-site-header.is-overlay .valor-brand small { color:rgba(255,255,255,.72); }
.valor-primary-nav { margin-left:auto; transform:translateY(10px); }
.valor-menu { list-style:none; display:flex; align-items:center; gap:34px; margin:0; padding:0; }
.valor-menu > li { position:relative; margin:0; }
.valor-menu > li > a { display:flex; align-items:center; min-height:60px; color:#fff; text-decoration:none; text-transform:uppercase; font-size:11px; font-weight:750; letter-spacing:.12em; transition:color .2s ease; }
.valor-menu > li > a:hover,.valor-menu > li.current-menu-item > a { color:#8bc8ff; }
.valor-site-header.is-overlay .valor-menu > li > a { color:#fff; }
.valor-site-header.is-overlay .valor-menu > li > a:hover,.valor-site-header.is-overlay .valor-menu > li.current-menu-item > a { color:#8bc8ff; }
.valor-menu .menu-item-has-children > a::after { content:""; width:6px; height:6px; margin-left:8px; border-right:1px solid currentColor; border-bottom:1px solid currentColor; transform:rotate(45deg) translateY(-2px); }
.valor-menu .sub-menu { position:absolute; top:calc(100% - 10px); left:-18px; z-index:20; min-width:180px; margin:0; padding:10px; list-style:none; background:#fff; border:1px solid rgba(7,27,47,.12); opacity:0; visibility:hidden; transform:translateY(8px); transition:.2s ease; box-shadow:0 20px 50px rgba(0,0,0,.35); }
.valor-menu .menu-item-has-children:hover > .sub-menu,.valor-menu .menu-item-has-children:focus-within > .sub-menu { opacity:1; visibility:visible; transform:translateY(0); }
.valor-menu .sub-menu a { display:block; padding:12px 13px; color:var(--valor-navy); text-decoration:none; text-transform:uppercase; font-size:10px; font-weight:700; letter-spacing:.11em; }
.valor-menu .sub-menu a:hover { background:var(--valor-blue-soft); color:var(--valor-accent); }
.valor-header-actions { display:flex; align-items:center; gap:10px; flex:0 0 auto; transform:translateY(10px); }
.valor-configure-btn { display:inline-flex; min-height:42px; align-items:center; padding:0 18px; background:var(--valor-accent); color:#fff; text-decoration:none; font-size:10px; font-weight:850; letter-spacing:.11em; text-transform:uppercase; transition:.2s ease; }
.valor-configure-btn:hover { background:var(--valor-navy); color:#fff; transform:translateY(-1px); }
.valor-icon-link { position:relative; width:40px; height:40px; display:grid; place-items:center; color:#fff; border:1px solid rgba(255,255,255,.28); text-decoration:none; transition:.2s ease; }
.valor-icon-link:hover { border-color:var(--valor-accent); color:var(--valor-accent); }
.valor-site-header.is-overlay .valor-icon-link { color:#fff; border-color:rgba(255,255,255,.25); }
.valor-site-header.is-overlay .valor-icon-link:hover { border-color:#8bc8ff; color:#8bc8ff; }
.valor-icon-link svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.valor-cart-count { position:absolute; top:-7px; right:-7px; min-width:18px; height:18px; display:grid; place-items:center; padding:0 4px; border-radius:20px; background:var(--valor-accent); color:#fff; font-size:9px; font-weight:900; }
.valor-menu-toggle { display:none; width:42px; height:42px; margin-left:auto; padding:10px; background:transparent; border:1px solid rgba(255,255,255,.28); }
.valor-menu-toggle span:not(.screen-reader-text) { display:block; height:1px; margin:5px 0; background:#fff; }
.valor-site-header.is-overlay .valor-menu-toggle { border-color:rgba(255,255,255,.25); }
.valor-site-header.is-overlay .valor-menu-toggle span:not(.screen-reader-text) { background:#fff; }

/* Hero */
.valor-hero { position:relative; min-height:94vh; display:flex; align-items:flex-end; overflow:hidden; isolation:isolate; background:var(--valor-navy); color:#fff; }
.valor-hero::before { content:""; position:absolute; inset:0; z-index:-4; background:linear-gradient(135deg,#0d6eb8,#071b2f); }
.valor-hero__media { position:absolute; inset:0; z-index:-3; overflow:hidden; background:var(--valor-navy); }
.valor-hero__image { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center center; }
.valor-hero::after { content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(180deg,rgba(7,27,47,.12) 0%,rgba(7,27,47,.20) 38%,rgba(7,27,47,.92) 100%); }
.valor-hero__grid { position:absolute; inset:0; z-index:-1; opacity:.1; background-image:linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px); background-size:80px 80px; mask-image:linear-gradient(to bottom,transparent,#000); }
.valor-hero__content { padding:150px 0 72px; }
.valor-hero__brand { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.valor-hero__brand-line { width:64px; height:2px; background:#74bdff; }
.valor-hero .valor-eyebrow { color:#bfe2ff; }
.valor-hero__sub { max-width:680px; margin-top:24px; font-size:clamp(18px,2vw,27px); color:#e7f1f8; }
.valor-hero .valor-display { color:#fff; }
.valor-hero .valor-btn:not(.valor-btn--solid) { border-color:rgba(255,255,255,.76); color:#fff; }
.valor-hero .valor-btn:not(.valor-btn--solid):hover { background:#fff; color:var(--valor-navy); }
.valor-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.valor-scroll { position:absolute; right:28px; bottom:34px; writing-mode:vertical-rl; font-size:10px; letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.6); }

/* Model lineup */
.valor-lineup { padding:110px 0 120px; background:#fff; color:var(--valor-navy); }
.valor-lineup__intro { display:flex; justify-content:space-between; gap:40px; align-items:flex-end; margin-bottom:50px; }
.valor-lineup__intro .valor-copy { max-width:520px; }
.valor-model-stage { border-top:1px solid var(--valor-line); border-bottom:1px solid var(--valor-line); padding:32px 0; }
.valor-model-nav { display:flex; gap:8px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x proximity; scrollbar-width:thin; padding-bottom:6px; }
.valor-model-tab { appearance:none; flex:1 0 150px; min-width:140px; scroll-snap-align:start; border:0; border-top:2px solid transparent; background:transparent; color:#7b8997; text-align:left; padding:18px 8px 12px; cursor:pointer; transition:.2s ease; }
.valor-model-tab strong { display:block; font-size:clamp(24px,3vw,48px); line-height:1; letter-spacing:-.04em; color:inherit; }
.valor-model-tab span { display:block; margin-top:8px; font-size:10px; letter-spacing:.14em; text-transform:uppercase; }
.valor-model-tab:hover,.valor-model-tab.is-active { color:var(--valor-navy); border-top-color:var(--valor-accent); }
.valor-model-preview { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr); min-height:500px; margin-top:28px; background:linear-gradient(140deg,#f1f7fb,#e6f0f8 55%,#f8fbfd); overflow:hidden; }
.valor-model-visual { position:relative; display:flex; align-items:center; justify-content:center; min-height:460px; padding:44px; overflow:hidden; }
.valor-model-visual::before { content:""; position:absolute; width:58%; aspect-ratio:1; border:1px solid rgba(7,27,47,.08); border-radius:50%; }
.valor-model-visual::after { content:""; position:absolute; width:80%; height:1px; background:linear-gradient(90deg,transparent,rgba(0,103,197,.18),transparent); bottom:29%; }
.valor-model-wordmark { position:relative; z-index:1; font-size:clamp(90px,14vw,220px); font-weight:900; line-height:.75; letter-spacing:-.08em; color:rgba(0,103,197,.10); user-select:none; transition:opacity .25s ease; white-space:nowrap; }
.valor-model-image { position:absolute; z-index:2; inset:28px; width:calc(100% - 56px); height:calc(100% - 56px); object-fit:contain; object-position:center; opacity:1; transition:opacity .25s ease; }
.valor-model-image[hidden] { display:none; }
.valor-model-visual.has-model-image .valor-model-wordmark { opacity:.28; }
.valor-model-detail { padding:52px 40px; display:flex; flex-direction:column; justify-content:center; border-left:1px solid var(--valor-line); }
.valor-model-detail h3 { margin:0; font-size:clamp(42px,5vw,72px); letter-spacing:-.05em; text-transform:uppercase; }
.valor-model-detail p { color:var(--valor-muted); font-size:16px; line-height:1.7; margin:18px 0 28px; }
.valor-model-meta { display:flex; gap:18px; flex-wrap:wrap; color:#52687a; font-size:11px; text-transform:uppercase; letter-spacing:.12em; margin-bottom:26px; }

/* Configurator CTA */
.valor-builder { position:relative; padding:120px 0; overflow:hidden; background:linear-gradient(135deg,#eef7ff 0%,#fff 48%,#e2f0fb 100%); color:var(--valor-navy); }
.valor-builder::after { content:"BUILD"; position:absolute; right:-1vw; bottom:-4vw; font-weight:900; font-size:24vw; line-height:.7; color:rgba(0,0,0,.035); letter-spacing:-.08em; pointer-events:none; }
.valor-builder__grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:70px; }
.valor-builder .valor-eyebrow,.valor-builder .valor-copy { color:#53697b; }
.valor-builder .valor-section-title { color:var(--valor-navy); }
.valor-builder .valor-btn { margin-top:26px; }
.valor-builder__mock { min-height:430px; position:relative; display:flex; align-items:center; justify-content:center; }
.valor-builder__boat { position:relative; width:min(92%,650px); aspect-ratio:2.8/1; background:linear-gradient(155deg,#ffffff 0 58%,#0067c5 58% 67%,#a7cdea 67% 72%,#071b2f 72%); clip-path:polygon(4% 36%,74% 18%,94% 35%,100% 53%,88% 69%,21% 77%,0 60%); filter:drop-shadow(0 25px 28px rgba(0,0,0,.2)); }
.valor-builder__boat::before { content:""; position:absolute; right:8%; top:24%; width:18%; height:36%; background:var(--valor-navy); clip-path:polygon(0 0,100% 12%,90% 100%,12% 90%); }
.valor-builder__mock.has-image { min-height:0; }
.valor-builder__image { display:block; width:100%; max-height:520px; object-fit:contain; object-position:center; }

.valor-final { min-height:66vh; display:flex; align-items:center; text-align:center; background:radial-gradient(circle at center,rgba(0,103,197,.34),transparent 34%),var(--valor-navy); color:#fff; }
.valor-final .valor-wrap { display:flex; flex-direction:column; align-items:center; }
.valor-final .valor-copy { text-align:center; color:#bfd0de; }
.valor-final .valor-eyebrow { color:#7fc4ff; }
.valor-final .valor-section-title { color:#fff; }
.valor-final .valor-btn { border-color:rgba(255,255,255,.72); color:#fff; }
.valor-final .valor-btn:hover { background:#fff; color:var(--valor-navy); }
.valor-final .valor-btn--accent { background:var(--valor-accent); border-color:var(--valor-accent); color:#fff; }
.valor-final .valor-btn--accent:hover { background:#fff; border-color:#fff; color:var(--valor-navy); }
.valor-final .valor-actions { justify-content:center; }

/* Footer */
.valor-site-footer { position:relative; background:#061729; color:#fff; border-top:1px solid rgba(255,255,255,.10); }
.valor-footer-grid { display:grid; grid-template-columns:minmax(280px,1.8fr) repeat(3,minmax(140px,.65fr)); gap:60px; padding:78px 0 64px; }
.valor-brand-wrap--footer { margin-bottom:24px; }
.valor-site-footer .valor-brand { color:#fff; }
.valor-site-footer .valor-brand small { color:#8fa9bd; }
.valor-site-footer .custom-logo { filter:none; }
.valor-footer-brand p { max-width:430px; margin:0 0 26px; color:#a9bfd0; font-size:15px; line-height:1.7; }
.valor-footer-col { display:flex; flex-direction:column; align-items:flex-start; gap:11px; }
.valor-footer-col h3 { margin:0 0 10px; color:#fff; font-size:11px; text-transform:uppercase; letter-spacing:.16em; }
.valor-footer-col a { color:#a9bfd0; text-decoration:none; font-size:14px; transition:.2s ease; }
.valor-footer-col a:hover { color:var(--valor-accent); transform:translateX(2px); }
.valor-footer-bottom { min-height:70px; border-top:1px solid rgba(255,255,255,.10); display:flex; align-items:center; justify-content:space-between; gap:20px; color:#7f9aaf; font-size:10px; text-transform:uppercase; letter-spacing:.12em; }

/* Generic inner-page breathing room when using parent Blocksy templates. */
body.valor-site:not(.valor-home) #main-container { padding-top:0; }
body.valor-site:not(.valor-home) #main-container > main,body.valor-site:not(.valor-home) #main-container > .site-main { min-height:55vh; }

@media (max-width:1100px) {
  .valor-header-inner { gap:18px; }
  .valor-menu { gap:22px; }
  .valor-configure-btn { padding:0 13px; font-size:9px; }
}

@media (max-width:980px) {
  :root { --valor-header-h:72px; }
  .valor-header-inner { width:min(calc(100% - 28px),1560px); gap:7px; }
  .valor-menu-toggle { display:block; order:2; margin-left:0; transform:translateY(5px); }
  .valor-primary-nav { transform:none; position:absolute; top:72px; left:0; right:0; margin:0; max-height:0; overflow:hidden; background:#fff; border-bottom:1px solid var(--valor-line); transition:max-height .3s ease; }
  .valor-primary-nav.is-open { max-height:520px; overflow:visible; }
  .valor-menu { display:block; padding:12px 20px 22px; }
  .valor-menu > li > a { min-height:48px; }
  .valor-menu .sub-menu { position:static; min-width:0; max-height:0; overflow:hidden; padding:0 0 0 15px; border:0; opacity:1; visibility:visible; transform:none; box-shadow:none; background:transparent; }
  .valor-menu .menu-item-has-children.is-submenu-open > .sub-menu { max-height:160px; padding-top:2px; padding-bottom:8px; }
  .valor-menu .sub-menu a { padding:10px 0; }
  .valor-header-actions { margin-left:auto; order:1; gap:5px; transform:translateY(5px); }
  .valor-primary-nav { order:3; }
  .valor-configure-btn { display:none; }
  .valor-icon-link { width:38px; height:38px; }
  .valor-lineup__intro { display:block; }
  .valor-lineup__intro .valor-copy { margin-top:20px; }
  .valor-model-nav { overflow-x:auto; padding-bottom:10px; margin-right:-14px; padding-right:14px; }
  .valor-model-tab { flex:0 0 138px; min-width:138px; }
  .valor-model-preview,.valor-builder__grid { grid-template-columns:1fr; }
  .valor-model-detail { border-left:0; border-top:1px solid var(--valor-line); }
  .valor-footer-grid { grid-template-columns:1.5fr 1fr 1fr; }
  .valor-footer-col:last-child { grid-column:2 / 4; flex-direction:row; align-items:center; flex-wrap:wrap; }
  .valor-footer-col:last-child h3 { width:100%; }
}

@media (max-width:640px) {
  .valor-wrap { width:min(calc(100% - 28px),var(--valor-max)); }
  .valor-brand-word { font-size:22px; }
  .valor-brand small { font-size:7px; }
  .valor-brand-wrap .custom-logo { max-width:145px; max-height:30px; }
  .valor-nav-logo { width:145px; max-width:44vw; }
  .valor-header-actions { gap:4px; }
  .valor-menu-toggle { width:38px; height:38px; }
  .valor-icon-link { width:36px; height:36px; }
  .valor-hero { min-height:88vh; }
  .valor-hero__media { inset:0; }
  .valor-hero__image { width:100%; height:100%; object-fit:cover; object-position:center center; }
  .valor-hero__content { padding:120px 0 52px; }
  .valor-scroll { display:none; }
  .valor-lineup,.valor-builder { padding:82px 0; }
  .valor-model-preview { min-height:0; }
  .valor-model-visual { min-height:280px; padding:18px; }
  .valor-model-image { inset:16px; width:calc(100% - 32px); height:calc(100% - 32px); }
  .valor-model-tab { flex-basis:122px; min-width:122px; }
  .valor-model-tab strong { font-size:26px; }
  .valor-model-tab span { font-size:8px; line-height:1.35; }
  .valor-model-detail { padding:34px 22px; }
  .valor-builder__mock { min-height:300px; }
  .valor-footer-grid { grid-template-columns:1fr 1fr; gap:38px 24px; padding:58px 0 46px; }
  .valor-footer-brand { grid-column:1 / -1; }
  .valor-footer-col:last-child { grid-column:1 / -1; }
  .valor-footer-bottom { padding:22px 0; min-height:0; align-items:flex-start; flex-direction:column; }
}

@media (max-width:980px) {
  .valor-site-header.is-overlay .valor-primary-nav { background:#fff; }
  .valor-site-header.is-overlay .valor-menu > li > a { color:var(--valor-navy); }
  .valor-site-header.is-overlay .valor-menu > li > a:hover { color:var(--valor-accent); }
}

@media (max-width:480px) {
  .valor-actions { gap:9px; }
  .valor-actions .valor-btn { width:100%; }
  .valor-display { font-size:clamp(48px,18vw,76px); }
  .valor-section-title { font-size:clamp(36px,12vw,56px); }
  .valor-model-preview { margin-top:18px; }
  .valor-model-detail h3 { font-size:40px; }
  .valor-model-detail p { font-size:15px; }
  .valor-builder__image { max-height:330px; }
}
