/*
Theme Name: WIVIEW Enterprise
Theme URI: https://example.com/wiview-enterprise
Author: OpenAI
Author URI: https://openai.com
Description: Industrial enterprise WordPress theme for WIVIEW Engineering Supplies with demo seeder, products, brands, industries and contact layouts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: wiview-enterprise
*/

:root{
  --wv-blue:#0b3d91;
  --wv-blue-dark:#071a36;
  --wv-orange:#ff7a00;
  --wv-silver:#c8d0d9;
  --wv-bg:#f6f8fb;
  --wv-text:#0f172a;
  --wv-muted:#475569;
  --wv-border:#d9e1ea;
  --wv-white:#ffffff;
  --wv-shadow:0 18px 50px rgba(7,26,54,.12);
  --wv-radius:18px;
  --wv-container:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--wv-text);
  background:var(--wv-bg);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{width:min(var(--wv-container),calc(100% - 32px));margin-inline:auto}
.site-topbar{
  background:linear-gradient(90deg,var(--wv-blue-dark),#0b2448);
  color:#e8edf7;
  font-size:14px;
}
.topbar-inner{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:10px 0;flex-wrap:wrap}
.topbar-meta{display:flex;gap:18px;flex-wrap:wrap}
.site-header{
  background:#fff;border-bottom:1px solid var(--wv-border);position:sticky;top:0;z-index:99;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:24px}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand-mark{
  width:62px;height:62px;border-radius:16px;background:linear-gradient(135deg,var(--wv-blue),#0d5cc9 60%,var(--wv-orange));
  display:grid;place-items:center;color:#fff;font-weight:900;font-size:28px;box-shadow:var(--wv-shadow)
}
.brand-logo{width:220px;height:66px;display:flex;align-items:center}
.brand-logo img{max-width:220px;max-height:66px;width:auto;height:auto;object-fit:contain}
.brand-text strong{display:block;font-size:34px;line-height:1;color:var(--wv-blue-dark);letter-spacing:.5px}
.brand-text span{display:block;color:var(--wv-orange);font-weight:800;letter-spacing:1.2px;font-size:12px}
.main-nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0;align-items:center;flex-wrap:wrap}
.main-nav a{font-weight:700;color:var(--wv-blue-dark)}
.btn,.wp-block-button__link,button,input[type=submit]{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:14px 24px;border-radius:14px;border:none;cursor:pointer;
  background:var(--wv-orange);color:#fff;font-weight:800;box-shadow:var(--wv-shadow)
}
.btn-outline{background:transparent;color:var(--wv-blue-dark);border:2px solid var(--wv-blue-dark);box-shadow:none}
.hero{
  background:
    linear-gradient(90deg, rgba(7,26,54,.92) 0%, rgba(7,26,54,.88) 42%, rgba(7,26,54,.55) 66%, rgba(7,26,54,.28) 100%),
    var(--hero-image),
    linear-gradient(135deg,#0c1f3b,#173b73 55%, #365f99);
  background-size:cover;
  background-position:center;
  color:#fff;
  padding:96px 0 84px;
}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:42px;align-items:center}
.eyebrow{display:inline-block;color:#ffb067;font-weight:900;letter-spacing:1.8px;text-transform:uppercase;font-size:13px}
h1,h2,h3,h4{margin:0 0 14px;line-height:1.04}
h1{font-size:clamp(38px,6vw,74px);text-transform:uppercase}
h2{font-size:clamp(30px,4vw,48px);color:var(--wv-blue-dark);text-transform:uppercase}
.hero p{font-size:20px;color:#e7edf9;max-width:740px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}
.hero-card{
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);
  border-radius:26px;padding:26px;backdrop-filter:blur(8px);box-shadow:0 30px 80px rgba(0,0,0,.18)
}
.hero-tiles,.icon-grid,.stats-grid,.card-grid,.brand-grid,.footer-grid{display:grid;gap:20px}
.hero-tiles{grid-template-columns:repeat(2,1fr);margin-top:26px}
.tile,.feature-card,.brand-card,.industry-card,.product-card,.contact-card,.value-card{
  background:#fff;border:1px solid var(--wv-border);border-radius:var(--wv-radius);padding:22px;box-shadow:var(--wv-shadow)
}
.card-image{display:block;margin:-22px -22px 18px;aspect-ratio:16/10;overflow:hidden;border-radius:var(--wv-radius) var(--wv-radius) 0 0;background:#e8edf7}
.card-image img{width:100%;height:100%;object-fit:cover}
.brand-image{height:92px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;padding:12px;background:#f8fafc;border:1px solid var(--wv-border);border-radius:14px}
.brand-image img{max-width:100%;max-height:68px;width:auto;height:auto;object-fit:contain}
.section{padding:72px 0}
.section-muted{background:#fff}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px;flex-wrap:wrap}
.section-head p{margin:0;color:var(--wv-muted);max-width:720px}
.icon-grid{grid-template-columns:repeat(4,1fr)}
.card-grid.products{grid-template-columns:repeat(4,1fr)}
.card-grid.industries{grid-template-columns:repeat(3,1fr)}
.brand-grid{grid-template-columns:repeat(5,1fr)}
.product-card h3,.industry-card h3,.brand-card h3,.contact-card h3,.value-card h3{font-size:22px;color:var(--wv-blue-dark)}
.badge{
  display:inline-flex;align-items:center;background:rgba(255,122,0,.12);color:var(--wv-orange);padding:6px 10px;
  border-radius:999px;font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:1px
}
.icon-circle{
  width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,var(--wv-blue-dark),var(--wv-blue));
  color:#fff;display:grid;place-items:center;font-size:22px;margin-bottom:16px;font-weight:900
}
.stats-grid{grid-template-columns:repeat(4,1fr);margin-top:24px}
.stat{background:#fff;border-radius:18px;padding:20px;border:1px solid var(--wv-border);box-shadow:var(--wv-shadow)}
.stat strong{display:block;font-size:34px;color:var(--wv-orange)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.page-hero{padding:78px 0;background:linear-gradient(90deg,var(--wv-blue-dark),#102b58);color:#fff}
.page-hero h1{font-size:clamp(34px,5vw,56px)}
.contact-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px}
.contact-list{display:grid;gap:16px}
.contact-item{padding:18px;border-radius:16px;background:#fff;border:1px solid var(--wv-border)}
.site-footer{
  background:linear-gradient(180deg,#08172f,#061225);color:#dfe9f8;padding:56px 0 22px;margin-top:64px
}
.site-footer .brand-logo{width:240px;height:72px}
.site-footer .brand-logo img{max-width:240px;max-height:72px}
.footer-grid{grid-template-columns:1.2fr 1fr 1fr 1fr}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:30px;padding-top:18px;color:#acc0dd;font-size:14px}
.menu-toggle{display:none}
.notice{
  background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;padding:16px;border-radius:14px;margin:18px 0
}
.admin-note{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;padding:16px;border-radius:14px}
@media (max-width:1100px){
  .hero-grid,.split,.contact-layout{grid-template-columns:1fr}
  .icon-grid{grid-template-columns:repeat(2,1fr)}
  .card-grid.products{grid-template-columns:repeat(2,1fr)}
  .card-grid.industries{grid-template-columns:repeat(2,1fr)}
  .brand-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .header-inner{flex-wrap:wrap}
  .main-nav{width:100%}
  .main-nav ul{gap:12px}
  .icon-grid,.stats-grid,.card-grid.products,.card-grid.industries,.brand-grid,.footer-grid,.hero-tiles{grid-template-columns:1fr}
  .brand-text strong{font-size:26px}
  .brand-logo{width:190px;height:58px}
  .brand-logo img{max-width:190px;max-height:58px}
  h1{font-size:40px}
  .hero p{font-size:18px}
}
