/* ── RESET & BASE ──────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{
    font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;
    font-size:16px;line-height:1.6;color:#1D1D1F;background:#fff
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.text-center{text-align:center}

h1,h2,h3,h4{font-weight:600;line-height:1.2}
h1{font-size:56px;letter-spacing:-.02em}
h2{font-size:40px;letter-spacing:-.01em}
h3{font-size:20px}
.section-title{text-align:center;margin-bottom:12px}
.section-subtitle{text-align:center;color:#6E6E73;font-size:18px;margin-bottom:48px}

.section{padding:80px 0}
.section-white{background:#fff}
.section-gray{background:#F5F5F7}
.section-navy{background:#1C3A5E;color:#fff}

/* ── BUTTONS ──────────────────────────────── */
.btn{
    display:inline-flex;align-items:center;justify-content:center;
    padding:12px 28px;border-radius:8px;font-size:16px;font-weight:500;
    cursor:pointer;transition:all .25s;border:2px solid transparent;line-height:1.2
}
.btn-primary{background:#1C3A5E;color:#fff;border-color:#1C3A5E}
.btn-primary:hover{background:#142B47}
.btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.btn-outline:hover{background:rgba(255,255,255,.15);border-color:#fff}
.btn-white{background:#fff;color:#1C3A5E;border-color:#fff}
.btn-white:hover{background:rgba(255,255,255,.9)}
.btn-lg{padding:16px 36px;font-size:17px}
.btn-block{width:100%}

/* ── HEADER ───────────────────────────────── */
.site-header{
    position:fixed;top:0;left:24px;z-index:1000;
    width:160px;height:80px;background:transparent
}
.site-header.scrolled{box-shadow:none}
.header-inner{
    width:160px;height:80px;margin:0;padding:0;
    display:flex;align-items:center;justify-content:center
}
.site-branding,.site-branding a,.site-logo{display:block;width:160px;height:80px}
.site-logo{object-fit:contain}

.main-navigation{display:flex;align-items:center;gap:32px}
.main-navigation .menu{display:flex;align-items:center;gap:28px}
.main-navigation .menu>li{position:relative}
.main-navigation .menu>li>a{font-size:14px;font-weight:500;color:#1D1D1F;padding:8px 0}
.main-navigation .menu>li>a:hover{color:#1C3A5E}

.main-navigation .sub-menu{
    position:absolute;top:100%;left:-12px;
    background:#fff;border:1px solid #D2D2D7;border-radius:12px;
    padding:8px;min-width:240px;
    opacity:0;visibility:hidden;transform:translateY(4px);
    transition:all .2s;box-shadow:0 8px 24px rgba(0,0,0,.08);z-index:100
}
.main-navigation .menu>li:hover .sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.main-navigation .sub-menu li a{
    display:block;padding:10px 14px;font-size:14px;color:#1D1D1F;border-radius:8px
}
.main-navigation .sub-menu li a:hover{background:#F5F5F7;color:#1C3A5E}

/* ── FOOTER ───────────────────────────────── */
.site-footer{background:#1D1D1F;color:#D2D2D7;padding:64px 0 0}
.footer-inner{max-width:1200px;margin:0 auto;padding:0 24px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer-logo{margin-bottom:16px;filter:brightness(0) invert(1)}
.footer-tagline{font-size:14px;color:#6E6E73}
.footer-heading{color:#fff;font-size:14px;font-weight:600;margin-bottom:16px;text-transform:uppercase;letter-spacing:.05em}
.footer-links li,.footer-contact li{margin-bottom:10px}
.footer-links a,.footer-contact a{font-size:14px;color:#D2D2D7}
.footer-links a:hover,.footer-contact a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:24px 0;text-align:center}
.footer-bottom p{font-size:13px;color:#6E6E73}
/* ── HOMEPAGE HERO ────────────────────────── */
.home-hero{
    position:relative;height:100vh;min-height:600px;max-height:900px;
    display:flex;align-items:center;overflow:hidden
}
.hero-bg{
    position:absolute;inset:0;background-size:cover;background-position:center
}
.hero-overlay{
    position:absolute;inset:0;
    background:linear-gradient(to bottom,rgba(0,0,0,.4),rgba(0,0,0,.2))
}
.hero-content{position:relative;z-index:2;text-align:center;max-width:800px}
.hero-title{color:#fff;font-size:64px;font-weight:700;margin-bottom:16px;letter-spacing:-.02em}
.hero-sub{color:rgba(255,255,255,.85);font-size:22px;line-height:1.5;margin-bottom:40px}
.hero-buttons{display:flex;gap:16px;justify-content:center}

/* ── STATS ────────────────────────────────── */
.stats-bar{background:#F5F5F7;padding:48px 0}
.stats-grid,.hp-stats{display:flex;justify-content:space-around;text-align:center}
.stats-grid .stat-number,.hp-stats .stat-number{display:block;font-size:48px;font-weight:700;color:#1C3A5E;line-height:1.1;margin-bottom:4px}
.stats-grid .stat-label,.hp-stats .stat-label{font-size:15px;color:#6E6E73;font-weight:500}

/* ── CATEGORY CARDS ──────────────────────── */
.hp-cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.category-card{
    display:block;background:#fff;border:1px solid #D2D2D7;border-radius:12px;
    overflow:hidden;transition:all .3s
}
.category-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.category-card-img{overflow:hidden}
.category-card-img img{width:100%;display:block;transition:transform .4s}
.category-card:hover .category-card-img img{transform:scale(1.03)}
.category-card-body{padding:20px}
.category-card-body h3{font-size:18px;font-weight:600;margin-bottom:6px;color:#1D1D1F}
.category-card-body p{font-size:14px;color:#6E6E73;line-height:1.5;margin-bottom:8px}
.product-count{font-size:13px;font-weight:500;color:#1C3A5E;text-transform:uppercase;letter-spacing:.03em}

/* ── SCENES ──────────────────────────────── */
.hp-scenes{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.scene-card{
    display:block;border-radius:12px;overflow:hidden;
    border:1px solid #D2D2D7;transition:all .3s;position:relative
}
.scene-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.scene-card img{width:100%;display:block}
.scene-label{display:block;padding:14px 16px;font-size:14px;font-weight:500;color:#1D1D1F;background:#fff}

/* ── WHY RHIDOOR ─────────────────────────── */
.hp-why,.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.why-card{
    text-align:center;padding:32px 20px;background:#fff;
    border:1px solid #D2D2D7;border-radius:12px;transition:all .3s
}
.why-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.why-icon{margin-bottom:16px;display:flex;justify-content:center}
.why-card h3{font-size:18px;font-weight:600;margin-bottom:8px}
.why-card p{font-size:14px;color:#6E6E73;line-height:1.5}

/* ── CTA ─────────────────────────────────── */
.cta-section{padding:80px 0}
.cta-section h2{margin-bottom:16px;font-size:36px}
.cta-text{font-size:18px;color:#6E6E73;margin-bottom:32px;max-width:600px;margin-left:auto;margin-right:auto}
.cta-banner{padding:80px 0}
.cta-input{
    padding:16px 20px;border-radius:8px;border:1px solid rgba(255,255,255,.3);
    background:rgba(255,255,255,.1);color:#fff;font-size:16px;min-width:300px;font-family:inherit
}
.cta-input::placeholder{color:rgba(255,255,255,.5)}
.cta-form-wrap form{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
/* ── PAGE HERO ────────────────────────────── */
.page-hero{background:#F5F5F7;padding:120px 0 64px;text-align:center}
.page-hero h1{margin-bottom:12px}
.page-hero-sm{padding:100px 0 48px}
.hero-subtitle{color:#6E6E73;font-size:20px;max-width:640px;margin:0 auto}

/* ── PRODUCT GRID (category pages) ──────── */
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.product-card{
    display:block;background:#fff;border:1px solid #D2D2D7;border-radius:12px;
    overflow:hidden;transition:all .3s
}
.product-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.product-card-img{overflow:hidden}
.product-card-img img{width:100%;display:block;transition:transform .4s}
.product-card:hover .product-card-img img{transform:scale(1.03)}
.product-card-body{padding:20px}
.product-card-body h3{font-size:18px;font-weight:600;margin-bottom:6px;color:#1D1D1F}
.product-card-body p{font-size:14px;color:#6E6E73;line-height:1.5;margin-bottom:12px}
.product-badge{
    display:inline-block;padding:3px 10px;border-radius:4px;
    font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;
    background:#1C3A5E;color:#fff;margin-bottom:10px
}
.learn-more{font-size:14px;font-weight:500;color:#1C3A5E}

/* ── PRODUCT DETAIL ──────────────────────── */
.product-detail-hero{background:#F5F5F7;padding:120px 0 64px}
.product-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.product-hero-image img{width:100%;border-radius:12px;border:1px solid #D2D2D7}
.product-hero-info .breadcrumbs{font-size:13px;color:#6E6E73;margin-bottom:16px}
.product-hero-info .breadcrumbs a{color:#6E6E73}
.product-hero-info .breadcrumbs a:hover{color:#1C3A5E}
.product-hero-info .breadcrumbs .sep{margin:0 4px}
.product-hero-info .badge-lg{margin-bottom:16px}
.product-hero-info h1{font-size:44px;margin-bottom:16px}
.product-desc{font-size:18px;color:#6E6E73;line-height:1.6;margin-bottom:32px}

/* Specs table */
.specs-table-wrap{max-width:800px;margin:0 auto}
.specs-table{width:100%;border-collapse:collapse}
.specs-table tr{border-bottom:1px solid #E8E8ED}
.specs-table th,.specs-table td{padding:14px 16px;text-align:left;font-size:15px;vertical-align:top}
.specs-table th{width:200px;font-weight:600;color:#1D1D1F}
.specs-table td{color:#6E6E73}

/* Highlights */
.highlights-list{max-width:700px;margin:0 auto}
.highlights-list li{
    padding:14px 0 14px 28px;border-bottom:1px solid #E8E8ED;
    font-size:16px;color:#1D1D1F;position:relative
}
.highlights-list li::before{
    content:"";position:absolute;left:4px;top:20px;
    width:6px;height:6px;border-radius:50%;background:#1C3A5E
}

/* Scenes grid (detail page) */
.scenes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cols-3{grid-template-columns:repeat(3,1fr)!important}

/* ── ABOUT ───────────────────────────────── */
.about-intro{max-width:800px;margin:0 auto;text-align:center}
.about-intro h2{margin-bottom:20px}
.about-intro p{font-size:17px;color:#6E6E73;line-height:1.7;margin-bottom:16px}

/* ── CONTACT ─────────────────────────────── */
.contact-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:48px}
.contact-form-wrap h2,.contact-info-wrap h2{font-size:28px;margin-bottom:24px}
.form-row{margin-bottom:16px}
.form-input{
    width:100%;padding:14px 16px;border:1px solid #D2D2D7;border-radius:8px;
    font-size:16px;font-family:inherit;color:#1D1D1F;background:#fff;transition:border-color .2s
}
.form-input:focus{outline:none;border-color:#1C3A5E}
.form-textarea{resize:vertical}
.form-note{font-size:13px;color:#6E6E73;margin-top:12px}
.contact-info-item{margin-bottom:24px}
.contact-info-item strong{display:block;font-size:13px;color:#6E6E73;margin-bottom:4px;text-transform:uppercase;letter-spacing:.04em}
.contact-info-item a{color:#1C3A5E;font-size:16px}
.contact-info-item a:hover{text-decoration:underline}

/* ── APPLICATIONS ────────────────────────── */
.application-block{padding:32px 0}
.app-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.app-reverse .app-img{order:2}
.app-reverse .app-info{order:1}
.app-img img{width:100%;border-radius:12px;border:1px solid #D2D2D7}
.app-info h2{font-size:32px;margin-bottom:12px}
.app-info p{font-size:16px;color:#6E6E73;line-height:1.6;margin-bottom:20px}
.app-products{margin-bottom:20px}
.app-products strong{display:block;font-size:14px;color:#1D1D1F;margin-bottom:6px}
.app-products ul li{font-size:14px;color:#6E6E73;padding:4px 0;position:relative;padding-left:16px}
.app-products ul li::before{content:"-";position:absolute;left:4px}
.app-divider{border:none;border-top:1px solid #E8E8ED;margin:0}

/* ── LEGAL ───────────────────────────────── */
.legal-content{max-width:800px;margin:0 auto}
.legal-content h2{font-size:24px;margin:32px 0 12px}
.legal-content p,.legal-content ul{color:#6E6E73;font-size:16px;line-height:1.7;margin-bottom:16px}
.legal-content ul{padding-left:24px;list-style:disc}
.legal-date{font-size:14px;color:#999;margin-top:40px}

/* ── RESPONSIVE ──────────────────────────── */
@media(max-width:1024px){
    .hp-cat-grid{grid-template-columns:repeat(2,1fr)}
    .hp-why{grid-template-columns:repeat(2,1fr)}
    .product-grid{grid-template-columns:repeat(2,1fr)}
    .footer-grid{grid-template-columns:repeat(2,1fr)}
    .hp-scenes{grid-template-columns:repeat(2,1fr)}
    .scenes-grid{grid-template-columns:repeat(2,1fr)}
    .product-hero-grid{grid-template-columns:1fr;gap:32px}
    .app-grid{grid-template-columns:1fr;gap:24px}
    .contact-grid{grid-template-columns:1fr;gap:32px}
}

@media(max-width:768px){
    h1{font-size:36px}
    h2{font-size:28px}
    .section{padding:48px 0}
    .hero-title{font-size:40px}
    .hero-sub{font-size:18px}
    .hero-buttons{flex-direction:column;align-items:center}
    .hp-stats{flex-direction:column;gap:24px}
    .hp-cat-grid{grid-template-columns:1fr}
    .hp-why{grid-template-columns:1fr}
    .hp-scenes{grid-template-columns:1fr}
    .product-grid{grid-template-columns:1fr}
    .scenes-grid{grid-template-columns:1fr}
    .product-hero-info h1{font-size:32px}
    .page-hero{padding:100px 0 40px}
    .product-detail-hero{padding:100px 0 40px}
    .footer-grid{grid-template-columns:1fr;gap:32px}
    .footer-col:first-child{order:4}
    .cta-input{min-width:auto;width:100%}
    .cta-form-wrap form{flex-direction:column}
    h2.cta-section{font-size:28px}

}

@media(max-width:480px){
    .container{padding:0 16px}
    .hero-title{font-size:32px}
    h1{font-size:28px}
    .btn-lg{padding:14px 28px;font-size:15px}
}
