/*
Theme Name: Kenwoodmongol RadioService
Theme URI: https://kenwoodmongol.mn/
Author: Codex
Description: Multi-page WordPress theme with working dropdown submenus for a radio service company.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kenwoodmongol-radioservice
*/

:root{
  --blue:#005da8;
  --blue-dark:#00335f;
  --blue-deep:#061f3d;
  --red:#e21f2d;
  --yellow:#f8bd20;
  --text:#192231;
  --muted:#667085;
  --line:#e3e9f2;
  --soft:#f4f7fb;
  --white:#fff;
  --shadow:0 18px 45px rgba(6,31,61,.12);
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:#fff;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(100% - 32px,var(--max));margin-inline:auto}

.top-line{
  background:var(--blue-deep);
  color:#d8e6f6;
  font-size:13px;
}
.top-line-wrap{
  min-height:38px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.top-contacts{display:flex;gap:20px;flex-wrap:wrap}
.top-contacts a:hover{color:#fff}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  box-shadow:0 8px 28px rgba(6,31,61,.07);
  border-bottom:1px solid var(--line);
}
.header-wrap{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:max-content;
}
.brand-badge{
  width:50px;
  height:50px;
  border-radius:12px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,var(--red),var(--blue));
  font-weight:900;
  letter-spacing:-.8px;
}
.brand-text{
  color:var(--blue-dark);
  font-size:23px;
  font-weight:900;
  line-height:1.05;
}
.brand-text small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
}

.main-menu ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  align-items:center;
}
.main-menu li{position:relative}
.main-menu > ul > li > a{
  display:block;
  padding:31px 12px;
  color:#1e293b;
  font-size:14px;
  font-weight:800;
}
.main-menu a:hover,
.main-menu a.active{
  color:var(--red);
}
.has-submenu > a::after{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-left:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
}
.submenu{
  position:absolute;
  top:100%;
  left:0;
  width:290px;
  padding:8px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  border-radius:0 0 16px 16px;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:.2s ease;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.submenu a{
  display:block;
  padding:12px 14px;
  border-radius:10px;
  color:#334155;
  font-size:14px;
  font-weight:750;
}
.submenu a:hover,
.submenu a.active{
  background:#f2f6fb;
  color:var(--red);
}
.mega-submenu{
  width:min(920px,calc(100vw - 32px));
  max-height:72vh;
  overflow:auto;
  padding:18px;
}
.catalog-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}
.mega-submenu > .catalog-menu{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
}
.catalog-menu .catalog-menu{
  margin:8px 0 0 10px;
  padding-left:10px;
  border-left:2px solid #e8eef7;
}
.catalog-menu a{
  display:block;
  padding:9px 10px;
  border-radius:10px;
  color:#334155;
  font-size:13px;
  font-weight:800;
  line-height:1.25;
}
.catalog-menu a:hover,
.catalog-menu a.active{
  background:#f2f6fb;
  color:var(--red);
}
.catalog-has-child > a{
  color:var(--blue-dark);
  background:#f7faff;
}
.header-btn,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:13px 22px;
  font-weight:900;
  transition:.22s ease;
}
.header-btn,
.btn-primary{
  color:#fff;
  background:var(--red);
  box-shadow:0 12px 26px rgba(226,31,45,.22);
}
.btn-secondary{
  color:var(--blue-dark);
  background:#fff;
}
.header-btn:hover,
.btn:hover{
  transform:translateY(-2px);
}

.hero{
  min-height:690px;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(6,31,61,.92),rgba(0,93,168,.62),rgba(6,31,61,.2)),
    url("https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
}
.hero-grid{
  min-height:690px;
  display:grid;
  grid-template-columns:1fr 360px;
  gap:44px;
  align-items:center;
}
.eyebrow,
.section-kicker{
  display:inline-flex;
  align-items:center;
  color:var(--yellow);
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.hero h1{
  max-width:770px;
  margin:16px 0;
  font-size:60px;
  line-height:1.02;
  letter-spacing:-1.6px;
  font-weight:900;
}
.hero p{
  max-width:650px;
  margin:0 0 28px;
  color:#dbeafe;
  font-size:18px;
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-panel{
  background:rgba(255,255,255,.96);
  color:var(--text);
  border-radius:20px;
  padding:14px;
  box-shadow:var(--shadow);
}
.hero-panel h2{
  margin:6px 8px 10px;
  color:var(--blue-dark);
  font-size:20px;
}
.hero-panel a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 14px;
  border-radius:12px;
  font-weight:850;
  border-bottom:1px solid #eef2f7;
}
.hero-panel a:hover{
  background:#f3f8ff;
  color:var(--red);
}

.stats-band{margin-top:-42px;position:relative;z-index:2}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.stats-grid div{
  padding:30px 22px;
  text-align:center;
  border-right:1px solid var(--line);
}
.stats-grid div:last-child{border-right:0}
.stats-grid strong{
  display:block;
  color:var(--red);
  font-size:38px;
  line-height:1;
  font-weight:900;
}
.stats-grid span{color:var(--muted);font-weight:750}

.section{padding:88px 0}
.section-light{background:var(--soft)}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:34px;
}
.section-head h2,
.split h2,
.inner-main h2,
.cta h2{
  color:var(--blue-deep);
  margin:8px 0 10px;
  font-size:42px;
  line-height:1.1;
  letter-spacing:-.8px;
}
.section-head p,
.split p,
.inner-main p{
  color:var(--muted);
  max-width:680px;
  margin:0;
}
.text-link{
  color:var(--red);
  font-weight:900;
}
.category-grid,
.service-grid,
.info-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.service-grid{grid-template-columns:repeat(5,1fr)}
.info-grid{grid-template-columns:repeat(3,1fr);margin-top:28px}
.category-card,
.service-card,
.info-card{
  display:block;
  min-height:220px;
  padding:26px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 14px 34px rgba(6,31,61,.06);
  transition:.22s ease;
}
.category-card:hover,
.service-card:hover,
.info-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}
.category-card span{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:18px;
  border-radius:12px;
  background:#eef6ff;
  color:var(--blue);
  font-weight:900;
}
.category-card h3,
.service-card h3,
.info-card h3{
  margin:0 0 10px;
  color:var(--blue-dark);
  font-size:21px;
  line-height:1.2;
}
.category-card p,
.service-card p,
.info-card p{
  color:var(--muted);
  margin:0;
}
.info-card a{
  display:inline-block;
  margin-top:18px;
  color:var(--red);
  font-weight:900;
}

.split{
  display:grid;
  grid-template-columns:1fr .9fr;
  align-items:center;
  gap:44px;
}
.split img{
  height:430px;
  width:100%;
  object-fit:cover;
  border-radius:24px;
  box-shadow:var(--shadow);
}
.check-list{
  display:grid;
  gap:12px;
  margin-top:24px;
}
.check-list span{
  padding:14px 16px;
  border-radius:14px;
  background:#f4f8fd;
  color:var(--blue-dark);
  font-weight:800;
}

.cta{
  padding:70px 0;
  color:#fff;
  background:linear-gradient(135deg,var(--blue-dark),var(--blue));
}
.cta-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.cta h2{color:#fff;margin-bottom:8px}
.cta p{color:#dbeafe;margin:0;max-width:720px}

.page-hero{
  padding:94px 0;
  background-size:cover;
  background-position:center;
  color:#fff;
}
.page-hero h1{
  max-width:760px;
  margin:14px 0;
  font-size:54px;
  line-height:1.05;
  letter-spacing:-1.2px;
}
.page-hero p{
  max-width:730px;
  margin:0;
  color:#e7f0fb;
  font-size:18px;
}
.breadcrumbs{
  display:flex;
  gap:8px;
  align-items:center;
  margin-bottom:16px;
  color:#cfe3fb;
  font-size:14px;
  font-weight:800;
}
.breadcrumbs a:hover{color:#fff}
.inner-grid{
  display:grid;
  grid-template-columns:1fr 310px;
  gap:34px;
  align-items:start;
}
.side-menu{
  position:sticky;
  top:112px;
  padding:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 14px 34px rgba(6,31,61,.06);
}
.side-menu h3{
  margin:0 0 14px;
  color:var(--blue-dark);
}
.side-menu strong{
  display:block;
  margin:18px 0 6px;
  color:var(--red);
  font-size:13px;
  text-transform:uppercase;
}
.side-menu a{
  display:block;
  padding:9px 10px;
  border-radius:10px;
  color:#334155;
  font-weight:750;
  font-size:14px;
}
.side-menu a:hover,
.side-menu a.active{
  background:#f2f6fb;
  color:var(--red);
}
.side-menu .catalog-menu{
  gap:4px;
}
.side-menu .catalog-menu a{
  font-size:13px;
  padding:8px 9px;
}
.side-menu .catalog-menu .catalog-menu{
  margin-left:5px;
  padding-left:8px;
}

.product-hero{
  background:
    linear-gradient(90deg,rgba(0,45,85,.94),rgba(0,93,168,.62)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat;
}
.product-layout{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:30px;
  align-items:start;
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.product-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(6,31,61,.06);
  transition:.22s ease;
}
.product-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}
.product-image{
  display:grid;
  place-items:center;
  aspect-ratio:1 / .76;
  background:#f4f7fb;
  overflow:hidden;
}
.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:14px;
}
.product-image span{
  padding:18px;
  color:var(--muted);
  font-weight:900;
  text-align:center;
}
.product-body{
  padding:18px;
}
.product-meta{
  color:var(--red);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.3px;
  margin-bottom:8px;
}
.product-body h3{
  margin:0 0 12px;
  color:var(--blue-dark);
  font-size:20px;
  line-height:1.2;
}
.product-detail{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:38px;
  align-items:start;
}
.product-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.product-gallery a{
  display:grid;
  place-items:center;
  min-height:250px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#f8fafc;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(6,31,61,.06);
}
.product-gallery img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:16px;
}
.product-summary{
  position:sticky;
  top:116px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:28px;
  box-shadow:var(--shadow);
}
.product-summary h2{
  margin:0 0 12px;
  color:var(--blue-dark);
  font-size:34px;
  line-height:1.1;
}
.product-summary p{
  color:var(--muted);
  margin:0 0 20px;
}
.product-summary .btn{
  margin-top:24px;
}

.site-footer{
  background:#061f3d;
  color:#c8d8ea;
  padding:58px 0 22px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.25fr .85fr .85fr 1.1fr;
  gap:34px;
}
.footer-grid h3{
  color:#fff;
  margin:0 0 16px;
}
.footer-grid p{margin:0;color:#b8c9dc}
.footer-grid a{
  display:block;
  margin-bottom:10px;
  color:#b8c9dc;
}
.footer-grid a:hover{color:#fff}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin-top:34px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#91a7bf;
  font-size:13px;
}

@media (max-width:1100px){
  .header-wrap{
    flex-wrap:wrap;
    padding:12px 0;
  }
  .main-menu{
    order:3;
    width:100%;
    overflow-x:auto;
  }
  .main-menu ul{
    width:max-content;
  }
  .mega-submenu > .catalog-menu{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .main-menu > ul > li > a{
    padding:15px 12px;
  }
  .submenu{
    top:auto;
  }
  .hero-grid,
  .split,
  .inner-grid,
  .product-layout,
  .product-detail{
    grid-template-columns:1fr;
  }
  .category-grid,
  .info-grid,
  .product-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .service-grid,
  .footer-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .side-menu{position:static}
  .product-summary{position:static}
}

@media (max-width:720px){
  .top-line{display:none}
  .header-wrap{min-height:74px}
  .brand-text{font-size:19px}
  .brand-badge{width:44px;height:44px}
  .header-btn{display:none}
  .hero,
  .hero-grid{min-height:auto}
  .hero-grid{padding:78px 0}
  .hero h1{font-size:38px}
  .page-hero h1{font-size:36px}
  .section{padding:64px 0}
  .section-head{display:block}
  .section-head h2,
  .split h2,
  .inner-main h2,
  .cta h2{font-size:31px}
  .category-grid,
  .service-grid,
  .info-grid,
  .product-grid,
  .product-gallery,
  .stats-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .mega-submenu > .catalog-menu{
    grid-template-columns:1fr;
  }
  .stats-grid div{border-right:0;border-bottom:1px solid var(--line)}
  .cta-wrap{display:block}
  .cta .btn{margin-top:22px}
}
