@import url("./fonts.css");

:root{
  --blue:#2E6FE0;
  --blue-dark:#1F52B3;
  --blue-light:#6FB6FF;
  --blue-bg:#EAF2FF;
  --text-dark:#101828;
  --text-body:#4B5563;
  --text-muted:#6B7280;
  --text-faint:#94A3B8;
  --border:#E2E8F0;
  --bg-alt:#F6F9FC;
  --navy:#0F1B2E;
  --navy-card:#16233A;
  --navy-border:#1E2D42;
  --ok-bg:#E7F6EC;
  --ok-border:#BFE6CC;
  --ok-text:#1B5E32;
  --font-heading:'Sora',-apple-system,'Segoe UI',sans-serif;
  --font-body:'Inter',-apple-system,'Segoe UI',sans-serif;
  --radius:11px;
  --container:1280px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:#fff;
  font-family:var(--font-body);
  color:var(--text-body);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:var(--blue);text-decoration:none;}
a:hover{color:var(--blue-dark);}
h1,h2,h3,h4{font-family:var(--font-heading);color:var(--text-dark);margin:0;}
p{margin:0;}
ul{margin:0;padding:0;}
button{font-family:var(--font-body);cursor:pointer;}
input,select,textarea{font-family:var(--font-body);}

.container{max-width:var(--container);margin:0 auto;padding:0 24px;}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--border);}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:14px 24px;max-width:var(--container);margin:0 auto;}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.logo-mark{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,var(--blue),var(--blue-light));display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.logo-mark span{color:#fff;font-family:var(--font-heading);font-weight:700;font-size:18px;}
.logo-text{font-family:var(--font-heading);font-weight:700;font-size:21px;color:var(--text-dark);letter-spacing:-0.02em;}
.main-nav{display:flex;gap:18px;flex-wrap:wrap;align-items:center;}
.nav-link{font-size:14px;font-weight:600;color:var(--text-body);padding:6px 2px;border-bottom:2px solid transparent;}
.nav-link:hover{color:var(--text-dark);}
.nav-link.active{color:var(--text-dark);border-bottom-color:var(--blue);}
.header-actions{display:flex;align-items:center;gap:14px;}
.phone-link{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--text-dark);font-size:13px;font-weight:600;white-space:nowrap;}
.phone-dot{width:7px;height:7px;border-radius:50%;background:var(--blue);flex-shrink:0;}
.cart-wrap{position:relative;}
.cart-btn{position:relative;display:flex;align-items:center;gap:8px;background:var(--blue-bg);border:none;border-radius:10px;padding:9px 14px;font-weight:600;font-size:13px;color:var(--blue-dark);}
.cart-badge{background:var(--blue);color:#fff;border-radius:999px;min-width:20px;height:20px;padding:0 6px;font-size:11px;display:flex;align-items:center;justify-content:center;}
.cart-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:320px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 20px 40px rgba(16,24,40,0.14);padding:18px;display:none;}
.cart-dropdown.open{display:block;}
.cart-dropdown-title{font-family:var(--font-heading);font-weight:700;font-size:15px;color:var(--text-dark);margin-bottom:12px;}
.cart-dropdown-items{display:flex;flex-direction:column;gap:10px;max-height:260px;overflow:auto;}
.cart-dropdown-item{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:10px;border-bottom:1px solid #F1F5F9;}
.cart-dropdown-item-name{font-size:13px;font-weight:600;color:var(--text-dark);}
.cart-dropdown-item-meta{font-size:12px;color:var(--text-muted);}
.cart-remove-btn{border:none;background:none;color:#9CA3AF;cursor:pointer;font-size:14px;}
.cart-dropdown-total{display:flex;justify-content:space-between;margin-top:12px;font-weight:700;font-size:14px;color:var(--text-dark);}
.cart-dropdown-cta{display:block;text-align:center;margin-top:12px;background:var(--blue);color:#fff;padding:10px;border-radius:10px;font-weight:600;font-size:14px;}
.cart-dropdown-empty{font-size:13px;color:var(--text-muted);}
.nav-toggle{display:none;background:none;border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-size:18px;line-height:1;}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:14px 24px;border-radius:var(--radius);font-weight:600;font-size:14.5px;border:none;}
.btn-primary{background:var(--blue);color:#fff;}
.btn-primary:hover{background:var(--blue-dark);color:#fff;}
.btn-outline{background:#fff;color:var(--blue-dark);border:1.5px solid var(--blue);}
.btn-outline:hover{background:var(--blue-bg);color:var(--blue-dark);}
.btn-white{background:#fff;color:var(--blue-dark);font-weight:700;}
.btn-block{width:100%;}

/* ---------- Hero / sections ---------- */
.hero-home{position:relative;background:linear-gradient(180deg,var(--blue-bg) 0%,#fff 100%);}
.hero-home .container{padding:72px 24px 60px;display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #D6E6FF;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:600;color:var(--blue-dark);margin-bottom:20px;}
.h1-hero{font-size:48px;font-weight:800;line-height:1.12;letter-spacing:-0.02em;margin:0 0 20px;}
.lead{font-size:17px;line-height:1.7;color:var(--text-body);max-width:520px;margin:0 0 32px;}
.btn-row{display:flex;gap:14px;flex-wrap:wrap;}
.stat-row{display:flex;gap:32px;margin-top:44px;flex-wrap:wrap;}
.stat-num{font-family:var(--font-heading);font-weight:800;font-size:26px;color:var(--text-dark);}
.stat-label{font-size:13px;color:var(--text-muted);}
.hero-img{width:100%;height:440px;border-radius:24px;object-fit:cover;}

.page-hero{background:var(--blue-bg);}
.page-hero .container{padding:56px 24px;display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;}
.page-hero-eyebrow{font-size:13px;font-weight:700;color:var(--blue-dark);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:12px;}
.page-hero h1{font-size:38px;line-height:1.15;margin:0 0 16px;}
.page-hero p{font-size:16px;line-height:1.7;color:var(--text-body);max-width:520px;margin:0 0 24px;}
.page-hero-img{width:100%;height:340px;border-radius:20px;object-fit:cover;}

.simple-hero{background:var(--blue-bg);}
.simple-hero .container{padding:44px 24px;}
.simple-hero h1{font-size:32px;margin:0 0 10px;}
.simple-hero p{font-size:15px;color:var(--text-body);max-width:640px;margin:0;}

.section{padding:64px 24px;}
.section .container{padding:0;}
.section-alt{background:var(--bg-alt);}
.section-dark{background:var(--navy);}
.section-head{text-align:center;margin-bottom:44px;}
.section-head .eyebrow-label{font-size:13px;font-weight:700;color:var(--blue);letter-spacing:0.06em;text-transform:uppercase;margin-bottom:10px;}
.section-head h2{font-size:32px;}
.section-title-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:32px;flex-wrap:wrap;gap:12px;}

/* ---------- Grids / cards ---------- */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}

.category-card{text-decoration:none;color:inherit;border:1px solid var(--border);border-radius:18px;overflow:hidden;display:block;box-shadow:0 4px 20px rgba(16,24,40,0.04);background:#fff;}
.category-card img{width:100%;height:200px;object-fit:cover;}
.category-card-body{padding:22px;}
.category-card-body h3{font-size:18px;margin:0 0 8px;}
.category-card-body p{font-size:14px;color:var(--text-muted);line-height:1.6;margin:0 0 12px;}
.card-link{font-size:14px;font-weight:600;color:var(--blue);}

.feature-card{background:#fff;border-radius:16px;padding:26px;border:1px solid var(--border);}
.feature-icon{width:44px;height:44px;border-radius:12px;background:var(--blue-bg);margin-bottom:16px;}
.feature-card h4{font-size:15px;margin:0 0 8px;}
.feature-card p{font-size:13.5px;color:var(--text-muted);line-height:1.6;margin:0;}

.article-card{border:1px solid var(--border);border-radius:16px;padding:24px;}
.article-card .kicker{font-size:12px;font-weight:700;color:var(--blue);text-transform:uppercase;margin-bottom:10px;}
.article-card h4{font-size:16px;margin:0 0 10px;}
.article-card p{font-size:13.5px;color:var(--text-muted);line-height:1.6;margin:0;}

.testimonial-card{background:var(--navy-card);border-radius:16px;padding:26px;}
.testimonial-card p{font-size:14.5px;color:#CBD5E1;line-height:1.7;margin:0 0 16px;}
.testimonial-card .name{font-size:13px;font-weight:600;color:#fff;}

.cta-banner{background:linear-gradient(135deg,var(--blue),var(--blue-dark));border-radius:24px;padding:48px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px;}
.cta-banner h2{color:#fff;font-size:26px;margin:0 0 8px;}
.cta-banner p{color:#DCE9FF;font-size:14.5px;margin:0;}

/* ---------- Model / product cards ---------- */
.model-card{border:1px solid var(--border);border-radius:18px;overflow:hidden;}
.model-card img{width:100%;height:220px;object-fit:cover;}
.model-card-body{padding:24px;}
.model-card-body h3{font-size:19px;margin:0 0 4px;}
.model-card-body>p{font-size:13.5px;color:var(--text-muted);margin:0 0 16px;}
.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:13px;color:var(--text-body);margin-bottom:18px;}
.spec-grid b{color:var(--text-dark);}

.mini-card{border:1px solid var(--border);border-radius:16px;overflow:hidden;}
.mini-card img{width:100%;height:180px;object-fit:cover;}
.mini-card-body{padding:20px;}
.mini-card-body h4{font-size:16px;margin:0 0 6px;}
.mini-card-body p{font-size:13px;color:var(--text-muted);line-height:1.6;margin:0;}

.icon-feature{border:1px solid var(--border);border-radius:16px;padding:24px;display:flex;gap:18px;align-items:flex-start;}
.icon-feature .feature-icon{flex-shrink:0;margin-bottom:0;}
.icon-feature h4{font-size:16px;margin:0 0 6px;}
.icon-feature p{font-size:13.5px;color:var(--text-muted);line-height:1.65;margin:0;}

.audit-banner{background:var(--bg-alt);border-radius:18px;padding:32px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;}
.audit-banner p{font-size:14.5px;color:var(--text-body);margin:0;max-width:560px;}

.step-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;}
.step-num{font-family:var(--font-heading);font-weight:800;font-size:22px;color:var(--blue);margin-bottom:8px;}
.step-label{font-size:13.5px;color:var(--text-body);line-height:1.5;font-weight:600;}

/* ---------- Article grid (porady) ---------- */
.article-full{border:1px solid var(--border);border-radius:16px;overflow:hidden;}
.article-full img{width:100%;height:170px;object-fit:cover;}
.article-full-body{padding:22px;}

/* ---------- Shop ---------- */
.shop-layout{display:grid;grid-template-columns:1fr 320px;gap:32px;align-items:flex-start;}
.category-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px;}
.category-filter-btn{border-radius:999px;padding:9px 16px;font-size:13.5px;font-weight:600;background:#fff;color:var(--text-body);border:1px solid var(--border);}
.category-filter-btn.active{background:var(--blue);color:#fff;border:none;}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.product-card{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#fff;display:flex;flex-direction:column;}
.product-card img{width:100%;height:150px;object-fit:cover;}
.product-card-body{padding:16px;display:flex;flex-direction:column;flex:1;}
.product-cat{font-size:11.5px;font-weight:700;color:var(--blue);text-transform:uppercase;margin-bottom:6px;}
.product-name{font-family:var(--font-heading);font-weight:700;font-size:14.5px;color:var(--text-dark);margin:0 0 8px;line-height:1.35;}
.product-price{font-family:var(--font-heading);font-weight:800;font-size:17px;color:var(--text-dark);margin:0 0 12px;margin-top:auto;}
.add-cart-btn{background:var(--blue);color:#fff;border:none;border-radius:9px;padding:10px;font-weight:600;font-size:13.5px;width:100%;}
.add-cart-btn:hover{background:var(--blue-dark);}

.cart-panel{border:1px solid var(--border);border-radius:18px;padding:24px;background:var(--bg-alt);position:sticky;top:90px;}
.cart-panel h3{font-size:17px;margin:0 0 16px;}
.cart-panel-items{display:flex;flex-direction:column;gap:12px;margin-bottom:16px;}
.cart-panel-item{background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px;}
.cart-panel-item-top{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px;}
.cart-panel-item-name{font-size:13px;font-weight:600;color:var(--text-dark);line-height:1.3;}
.cart-panel-item-bottom{display:flex;justify-content:space-between;align-items:center;}
.qty-controls{display:flex;align-items:center;gap:8px;}
.qty-btn{width:24px;height:24px;border-radius:6px;border:1px solid var(--border);background:#fff;font-size:13px;line-height:1;}
.qty-val{font-size:13px;font-weight:600;min-width:16px;text-align:center;}
.line-total{font-size:13.5px;font-weight:700;color:var(--text-dark);}
.cart-panel-total{display:flex;justify-content:space-between;font-size:15px;font-weight:700;color:var(--text-dark);padding-top:12px;border-top:1px solid var(--border);margin-bottom:16px;}
.checkout-note{font-size:11.5px;color:var(--text-faint);margin:10px 0 0;line-height:1.5;}
.cart-panel-empty{font-size:13.5px;color:var(--text-muted);margin:0;}
.order-success{margin-top:16px;background:var(--ok-bg);border:1px solid var(--ok-border);border-radius:12px;padding:14px;font-size:13px;color:var(--ok-text);line-height:1.6;}

/* ---------- Forms ---------- */
.form-stack{display:flex;flex-direction:column;gap:16px;}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.field label{font-size:13px;font-weight:600;color:var(--text-dark);display:block;margin-bottom:6px;}
.field input,.field select,.field textarea{width:100%;padding:12px 14px;border:1px solid #D6E0EA;border-radius:10px;font-size:14px;background:#fff;}
.field textarea{resize:vertical;}
.consent-row{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;color:var(--text-muted);line-height:1.6;}
.consent-row input{margin-top:2px;}
.success-box{background:var(--ok-bg);border:1px solid var(--ok-border);border-radius:14px;padding:20px;font-size:14px;color:var(--ok-text);line-height:1.6;}
.error-box{background:#FDECEC;border:1px solid #F3B9B9;border-radius:14px;padding:20px;font-size:14px;color:#8A1F1F;line-height:1.6;margin-bottom:16px;}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;}
.contact-info-card{border:1px solid var(--border);border-radius:18px;padding:28px;margin-bottom:24px;}
.contact-info-card h3{font-size:17px;margin:0 0 18px;}
.contact-info-list{display:flex;flex-direction:column;gap:14px;font-size:14px;color:var(--text-body);}
.contact-info-list b{color:var(--text-dark);}
.map-img{width:100%;height:220px;border-radius:18px;object-fit:cover;}

/* ---------- Legal pages ---------- */
.legal-wrap{max-width:900px;margin:0 auto;padding:56px 24px 80px;}
.legal-wrap h1{font-size:32px;margin:0 0 28px;}
.legal-wrap h2{font-size:19px;margin:32px 0 12px;}
.legal-wrap p{font-size:14.5px;color:var(--text-body);line-height:1.75;margin:0;}
.legal-wrap ul,.legal-wrap ol{font-size:14.5px;color:var(--text-body);line-height:1.9;margin:0 0 14px;padding-left:20px;}
.legal-updated{font-size:13px;color:var(--text-faint);margin:0 0 32px;}
.legal-box{background:var(--bg-alt);border-radius:14px;padding:22px;margin-bottom:16px;}
.legal-box-title{font-size:13.5px;font-weight:700;color:var(--text-dark);margin-bottom:8px;}
.legal-fine{font-size:13px;color:var(--text-faint);line-height:1.7;margin:0 0 32px;}
.legal-table{border:1px solid var(--border);border-radius:14px;overflow:hidden;margin-bottom:24px;width:100%;border-collapse:collapse;}
.legal-table th{background:var(--bg-alt);padding:14px 18px;font-size:12.5px;font-weight:700;color:var(--text-dark);text-align:left;}
.legal-table td{padding:14px 18px;font-size:13px;color:var(--text-body);border-top:1px solid var(--border);}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy);color:#CBD5E1;}
.footer-grid{padding:56px 24px 28px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px;max-width:var(--container);margin:0 auto;}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.footer-brand .logo-mark{width:34px;height:34px;border-radius:9px;}
.footer-brand span.logo-text{font-size:19px;color:#fff;}
.footer-desc{font-size:13.5px;line-height:1.7;color:#94A3B8;max-width:320px;margin:0 0 16px;}
.footer-legal-id{font-size:13px;color:#64748B;}
.footer-col-title{font-family:var(--font-heading);font-weight:700;font-size:14px;color:#fff;margin-bottom:14px;}
.footer-links{display:flex;flex-direction:column;gap:10px;font-size:13.5px;}
.footer-links a{color:#94A3B8;}
.footer-links a:hover{color:#fff;}
.footer-contact{display:flex;flex-direction:column;gap:14px;font-size:13.5px;color:#94A3B8;}
.footer-contact a{color:#94A3B8;}
.footer-bottom{border-top:1px solid var(--navy-border);max-width:var(--container);margin:0 auto;padding:20px 24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12.5px;color:#64748B;}

/* ---------- Cookie banner ---------- */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:100;background:var(--navy);color:#E2E8F0;padding:18px 24px;box-shadow:0 -10px 30px rgba(0,0,0,0.15);display:none;}
.cookie-banner.visible{display:block;}
.cookie-banner-inner{max-width:var(--container);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.cookie-banner p{font-size:13.5px;line-height:1.6;margin:0;max-width:760px;color:#CBD5E1;}
.cookie-banner a{color:#7FB2FF;text-decoration:underline;}
.cookie-actions{display:flex;gap:10px;flex-shrink:0;}
.cookie-btn{border-radius:9px;padding:10px 16px;font-size:13px;font-weight:600;}
.cookie-reject{background:transparent;border:1px solid #33465F;color:#CBD5E1;}
.cookie-accept{background:var(--blue);border:none;color:#fff;padding:10px 18px;}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .hero-home .container,.page-hero .container{grid-template-columns:1fr;}
  .hero-img,.page-hero-img{height:280px;order:-1;}
  .grid-3,.grid-4,.contact-grid,.grid-2{grid-template-columns:1fr 1fr;}
  .shop-layout{grid-template-columns:1fr;}
  .cart-panel{position:static;}
  .step-grid{grid-template-columns:repeat(3,1fr);}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:680px){
  .main-nav{display:none;}
  .nav-toggle{display:block;}
  .main-nav.open{display:flex;flex-direction:column;align-items:flex-start;width:100%;order:5;}
  .header-inner{position:relative;}
  .phone-link span{display:none;}
  .h1-hero{font-size:34px;}
  .grid-3,.grid-4,.contact-grid,.grid-2,.form-row-2{grid-template-columns:1fr;}
  .step-grid{grid-template-columns:1fr 1fr;}
  .product-grid{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .cta-banner{flex-direction:column;text-align:center;}
  .btn-row{flex-direction:column;align-items:stretch;}
}
