/*
Theme Name: Hmedia
Description: Hmedia custom WooCommerce theme — fast, dark, visual and animation-first.
Version: 2.0.0
Text Domain: hmedia
*/
:root{--hm-bg:#050b14;--hm-surface:#0b1422;--hm-surface2:#101e31;--hm-text:#f6f9fc;--hm-muted:#8fa4b8;--hm-cyan:#24d9e8;--hm-lime:#b8ef4c;--hm-line:rgba(255,255,255,.085);--hm-r:24px;--hm-max:1440px}
*{box-sizing:border-box}html{background:var(--hm-bg);scroll-behavior:smooth}body{margin:0;background:var(--hm-bg);color:var(--hm-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}img{max-width:100%;display:block}a{text-decoration:none;color:inherit}.hm-wrap{width:min(var(--hm-max),calc(100% - 32px));margin:auto}
.hm-header{position:sticky;top:0;z-index:80;background:rgba(5,11,20,.82);backdrop-filter:blur(16px);border-bottom:1px solid var(--hm-line)}.hm-nav{min-height:72px;display:flex;align-items:center;gap:26px}.hm-logo{font-size:25px;font-weight:950;letter-spacing:-1.2px}.hm-logo span{color:var(--hm-cyan)}.hm-menu{display:flex;gap:19px;flex:1}.hm-menu a{font-size:13px;color:#c3d1de;font-weight:700}.hm-menu a:hover{color:#fff}.hm-actions{display:flex;gap:8px}.hm-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 15px;border:1px solid var(--hm-line);border-radius:13px;background:#0d1b2c;color:#fff;font-weight:850;font-size:13px;cursor:pointer;transition:.2s}.hm-btn:hover{transform:translateY(-2px)}.hm-btn.primary{background:linear-gradient(135deg,var(--hm-cyan),#67f2ca);color:#031219;border:0}
.hm-hero{padding:26px 0 10px}.hm-hero-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:16px}.hm-hero-main{min-height:540px;border:1px solid var(--hm-line);border-radius:30px;overflow:hidden;position:relative;background:#0b1625}.hm-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.7;filter:saturate(1.08)}.hm-hero-main:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,11,20,.96) 0%,rgba(5,11,20,.65) 46%,rgba(5,11,20,.05) 100%)}.hm-hero-copy{position:relative;z-index:2;padding:54px;max-width:720px;height:100%;display:flex;flex-direction:column;justify-content:flex-end}.hm-kicker{font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.16em;color:var(--hm-cyan)}.hm-hero h1{font-size:clamp(44px,6vw,82px);line-height:.9;letter-spacing:-.06em;margin:13px 0 17px}.hm-hero p{font-size:16px;line-height:1.55;color:#b5c5d4;max-width:610px;margin:0 0 22px}.hm-hero-actions{display:flex;gap:9px;flex-wrap:wrap}.hm-side{display:grid;gap:16px}.hm-side-card{position:relative;overflow:hidden;border:1px solid var(--hm-line);border-radius:25px;min-height:262px;background:#0b1625;isolation:isolate;transition:transform .25s,box-shadow .25s}.hm-side-card:hover{transform:translateY(-5px);box-shadow:0 25px 70px rgba(0,0,0,.32)}.hm-side-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hm-side-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,11,20,.96),rgba(5,11,20,.08));z-index:-1}.hm-side-copy{position:absolute;left:22px;right:22px;bottom:19px}.hm-side-copy h3{margin:6px 0;font-size:25px}.hm-side-copy p{margin:0;color:#b5c5d4;font-size:13px}
.hm-section{padding:38px 0}.hm-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}.hm-section-head h2{margin:0;font-size:30px;letter-spacing:-.04em}.hm-section-head p{margin:5px 0 0;color:var(--hm-muted);font-size:13px}.hm-section-head a{color:var(--hm-cyan);font-size:13px;font-weight:850}
.hm-platforms{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.hm-platform{min-height:300px;border-radius:22px;overflow:hidden;position:relative;border:1px solid rgba(255,255,255,.1);background:linear-gradient(145deg,#172b46,#0a1320);transition:transform .25s,box-shadow .25s}.hm-platform:hover{transform:translateY(-6px) scale(1.01);box-shadow:0 28px 70px rgba(0,0,0,.3)}.hm-platform:before{content:"";position:absolute;inset:0;background:var(--platform-bg,linear-gradient(145deg,#7d35ff,#12b4e8));opacity:.94}.hm-platform:nth-child(2):before{background:linear-gradient(145deg,#1764ff,#55d4ff)}.hm-platform:nth-child(3):before{background:linear-gradient(145deg,#2a1d7c,#d94870)}.hm-platform:nth-child(4):before{background:linear-gradient(145deg,#ff7945,#ff2525)}.hm-platform img{position:absolute;z-index:1;left:50%;bottom:5px;transform:translateX(-50%);width:91%;height:69%;object-fit:contain;filter:drop-shadow(0 18px 17px rgba(0,0,0,.28));transition:transform .35s}.hm-platform:hover img{transform:translateX(-50%) translateY(-9px) scale(1.045)}.hm-platform-copy{position:relative;z-index:2;text-align:center;padding:20px}.hm-platform-copy h3{font-size:23px;margin:0 0 5px}.hm-platform-copy span{font-size:13px;color:#fff}
.hm-feature-grid{display:grid;grid-template-columns:1.5fr .7fr .7fr;gap:14px}.hm-feature{position:relative;min-height:330px;border-radius:25px;overflow:hidden;border:1px solid var(--hm-line);background:#0d1928}.hm-feature img{width:100%;height:100%;object-fit:cover;transition:transform .45s}.hm-feature:hover img{transform:scale(1.045)}.hm-feature:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,11,20,.93),transparent 65%)}.hm-feature-copy{position:absolute;z-index:2;left:23px;right:23px;bottom:20px}.hm-feature-copy h3{margin:5px 0;font-size:27px}.hm-feature-copy p{margin:0;color:#c1d0dc;font-size:13px}
.hm-products .products{margin:0!important}.woocommerce ul.products li.product{background:#0b1625;border:1px solid var(--hm-line);border-radius:18px;padding:11px!important;overflow:hidden}.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 20px 60px rgba(0,0,0,.25)}.woocommerce ul.products li.product a img{border-radius:13px}.woocommerce ul.products li.product .price{color:var(--hm-lime);font-weight:950}.woocommerce ul.products li.product .button{border-radius:11px;background:var(--hm-cyan);color:#031219;font-weight:900}
.hm-duo{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hm-banner{min-height:310px;border-radius:26px;border:1px solid var(--hm-line);position:relative;overflow:hidden;background:#0b1625}.hm-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hm-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,11,20,.95),rgba(5,11,20,.15))}.hm-banner-copy{position:relative;z-index:2;padding:32px;max-width:520px}.hm-banner-copy h2{font-size:36px;line-height:1;margin:8px 0 13px}.hm-banner-copy p{color:#b7c7d5;line-height:1.5}
.hm-market-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hm-info{border:1px solid var(--hm-line);border-radius:20px;background:#0b1625;padding:23px}.hm-info .icon{font-size:28px}.hm-info h3{margin:10px 0 5px}.hm-info p{color:var(--hm-muted);font-size:13px;line-height:1.5;margin:0}
.hm-footer{margin-top:40px;padding:48px 0;border-top:1px solid var(--hm-line);color:var(--hm-muted)}.hm-footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:25px}.hm-footer strong{color:#fff}.hm-footer p{font-size:13px}
.hm-reveal{opacity:0;transform:translateY(18px);transition:opacity .65s,transform .65s}.hm-reveal.is-visible{opacity:1;transform:none}
@media(max-width:1050px){.hm-hero-grid{grid-template-columns:1fr}.hm-side{grid-template-columns:1fr 1fr}.hm-platforms{grid-template-columns:repeat(2,1fr)}.hm-feature-grid{grid-template-columns:1fr 1fr}.hm-feature:first-child{grid-column:1/-1}.hm-menu{display:none}.hm-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.hm-wrap{width:calc(100% - 20px)}.hm-hero-copy{padding:27px}.hm-hero-main{min-height:500px}.hm-hero h1{font-size:47px}.hm-side{grid-template-columns:1fr}.hm-platforms{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}.hm-platform{min-width:76vw;scroll-snap-align:start}.hm-feature-grid,.hm-duo{grid-template-columns:1fr}.hm-feature:first-child{grid-column:auto}.hm-section{padding:27px 0}.hm-section-head h2{font-size:25px}.hm-footer-grid{grid-template-columns:1fr}.hm-actions .hm-btn:first-child{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hm-platform,.hm-platform img,.hm-side-card,.hm-feature img,.hm-btn,.hm-reveal{transition:none!important}.hm-reveal{opacity:1;transform:none}}

.hm-section-panel{border:1px solid var(--hm-line);border-radius:20px;background:#0b1625;padding:23px}.hm-section-panel h3{margin:10px 0 5px}.hm-section-panel p{color:var(--hm-muted);font-size:13px;line-height:1.5;margin:0}

/* Hmedia 2.0.1 — Yaou integration */
.hm-yaou-zone{overflow:hidden}.hm-yaou-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.75fr);gap:24px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:28px;padding:28px;background:radial-gradient(circle at 80% 20%,rgba(0,230,255,.12),transparent 34%),linear-gradient(145deg,rgba(15,24,44,.94),rgba(7,10,20,.96));box-shadow:0 20px 60px rgba(0,0,0,.25)}
.hm-yaou-copy h2{font-size:clamp(30px,4vw,54px);line-height:1.02;margin:8px 0 12px}.hm-yaou-copy p{max-width:620px;color:rgba(255,255,255,.72);font-size:17px}.hm-yaou-art{min-height:300px;display:flex;justify-content:center;align-items:end}.hm-yaou-art img{width:min(100%,430px);max-height:420px;object-fit:contain;filter:drop-shadow(0 20px 35px rgba(0,0,0,.35));transition:transform .35s ease}.hm-yaou-grid:hover .hm-yaou-art img{transform:translateY(-6px) rotate(-1deg)}.hm-yaou-mini{margin-top:18px}.hm-yaou-mini img{width:150px;max-height:150px;object-fit:contain}@media(max-width:760px){.hm-yaou-grid{grid-template-columns:1fr;padding:20px}.hm-yaou-art{min-height:230px}.hm-yaou-art img{width:300px}}
