/* AutóKlinika — shared stylesheet
   Fonts: system stack only (no external font CDN) so the site renders
   fully offline/self-contained on any host. */

:root{
  --dark:#14161a;
  --dark2:#0e1012;
  --dark3:#1c1f24;
  --orange:#ff7a1a;
  --orange-dark:#e56a12;
  --cream:#f6f4f1;
  --text-dark:#1a1a1a;
  --text-body:#3a3d41;
  --text-muted:#6a6e73;
  --text-faint:#8a8e93;
  --border:#eee;
  --font-head:'Oswald','Arial Narrow',Arial,'Segoe UI',sans-serif;
  --font-body:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  background:#ffffff;
  color:var(--text-body);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:var(--orange);text-decoration:none;}
a:hover{color:var(--orange-dark);text-decoration:underline;}
::placeholder{color:#a9adb2;}
button{font-family:inherit;}
h1,h2,h3,h4{font-family:var(--font-head);margin:0;}
p{margin:0 0 14px;}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}

.container{max-width:1200px;margin:0 auto;padding:0 24px;}

/* Top info bar */
.topbar{
  background:var(--dark2);color:#c7cbd0;font-size:13px;padding:8px 24px;
  display:flex;flex-wrap:wrap;gap:16px;justify-content:center;align-items:center;
}
.topbar a{color:#c7cbd0;}
.topbar a:hover{color:#fff;}

/* Header / nav */
.site-header{
  position:sticky;top:0;z-index:40;background:var(--dark);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.header-inner{
  max-width:1200px;margin:0 auto;padding:14px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
}
.logo{
  font-family:var(--font-head);font-weight:700;font-size:24px;color:#f2f1ee;letter-spacing:0.5px;
}
.logo span{color:var(--orange);}
.main-nav{display:flex;gap:22px;flex-wrap:wrap;font-size:15px;font-weight:500;}
.main-nav a{color:#e7e6e3;text-decoration:none;}
.main-nav a:hover, .main-nav a.active{color:var(--orange);text-decoration:none;}
.nav-actions{display:flex;align-items:center;gap:14px;}
.cart-btn{
  cursor:pointer;position:relative;background:#1f2327;border:1px solid rgba(255,255,255,0.12);
  border-radius:8px;padding:9px 14px;color:#f2f1ee;font-size:14px;
}
.cart-count{
  position:absolute;top:-8px;right:-8px;background:var(--orange);color:var(--dark);
  font-size:11px;font-weight:700;border-radius:50%;width:20px;height:20px;
  display:flex;align-items:center;justify-content:center;
}
.nav-toggle{
  display:none;cursor:pointer;background:transparent;border:1px solid rgba(255,255,255,0.2);
  border-radius:8px;padding:9px 12px;color:#f2f1ee;font-size:16px;
}

/* Buttons */
.btn{
  display:inline-block;cursor:pointer;font-weight:600;font-size:14px;padding:13px 22px;
  border-radius:8px;border:1px solid transparent;text-align:center;text-decoration:none;
}
.btn:hover{text-decoration:none;}
.btn-primary{background:var(--orange);color:var(--dark);font-weight:700;}
.btn-primary:hover{background:var(--orange-dark);color:var(--dark);}
.btn-outline{background:transparent;border-color:rgba(255,255,255,0.25);color:#f2f1ee;font-weight:600;}
.btn-outline:hover{border-color:rgba(255,255,255,0.5);color:#fff;}
.btn-outline-dark{background:#fff;border-color:#ddd;color:var(--text-dark);font-weight:600;}
.btn-outline-dark:hover{border-color:#bbb;}
.btn-dark{background:var(--dark);color:#fff;font-weight:700;}
.btn-dark:hover{background:#000;color:#fff;}
.btn-block{display:block;width:100%;}
.btn-sm{padding:8px 12px;font-size:12px;border-radius:6px;}

/* Hero */
.hero{background:linear-gradient(180deg,var(--dark) 0%,var(--dark3) 100%);padding:90px 24px 100px;}
.hero-inner{max-width:1200px;margin:0 auto;display:flex;gap:50px;align-items:center;flex-wrap:wrap;}
.hero-content{flex:1;min-width:320px;}
.eyebrow{color:var(--orange);font-weight:700;letter-spacing:2px;font-size:13px;text-transform:uppercase;margin-bottom:14px;}
.hero-title{font-weight:700;font-size:52px;line-height:1.1;color:#f7f6f4;}
.hero-text{color:#b6bac0;font-size:17px;margin-top:20px;max-width:520px;line-height:1.6;}
.hero-actions{display:flex;gap:14px;margin-top:32px;flex-wrap:wrap;}
.hero-media{flex:1;min-width:320px;}
.hero-media img{width:100%;height:340px;object-fit:cover;border-radius:14px;}

/* Trust bar */
.trust-bar{background:var(--cream);padding:26px 24px;}
.trust-bar .container{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;
  color:#3a3d41;font-size:14px;font-weight:600;
}

/* Sections */
.section{padding:90px 24px;}
.section-tight{padding:70px 24px 100px;}
.section-header{text-align:center;max-width:640px;margin:0 auto 50px;}
.section-title{font-weight:700;font-size:34px;color:var(--text-dark);margin-top:10px;}
.section-cream{background:var(--cream);}
.section-dark{background:var(--dark);}
.grid{display:flex;flex-wrap:wrap;gap:22px;}

/* Service cards */
.service-card{flex:1;min-width:260px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:26px;}
.service-card.on-cream{background:#fff;}
.service-icon{
  width:46px;height:46px;border-radius:10px;background:#fff2e7;color:var(--orange);font-weight:700;
  font-family:var(--font-head);display:flex;align-items:center;justify-content:center;margin-bottom:16px;font-size:14px;
}
.service-title{font-weight:600;font-size:18px;color:var(--text-dark);}
.service-desc{color:var(--text-muted);font-size:14px;margin-top:8px;line-height:1.55;}
.service-price{color:var(--orange);font-weight:700;font-size:14px;margin-top:14px;}
.service-foot{display:flex;justify-content:space-between;align-items:center;margin-top:18px;}

/* Stats */
.stats-bar{background:var(--dark);padding:70px 24px;}
.stats-bar .grid{text-align:center;}
.stat{flex:1;min-width:180px;}
.stat-num{font-family:var(--font-head);font-size:40px;font-weight:700;color:var(--orange);}
.stat-label{color:#b6bac0;font-size:14px;margin-top:6px;}

/* Testimonials */
.testimonial-card{flex:1;min-width:260px;background:var(--cream);border-radius:12px;padding:26px;}
.stars{color:var(--orange);font-size:15px;}
.testimonial-text{color:var(--text-body);font-size:15px;line-height:1.6;margin-top:12px;}
.testimonial-author{color:var(--text-faint);font-size:13px;margin-top:14px;font-weight:600;}

/* Products */
.product-card{flex:1;min-width:240px;max-width:280px;background:#fff;border-radius:12px;overflow:hidden;border:1px solid var(--border);}
.product-card.wide{max-width:none;}
.product-image{height:150px;width:100%;object-fit:cover;background:var(--cream);}
.product-body{padding:18px;}
.product-cat{color:#a9adb2;font-size:11px;text-transform:uppercase;letter-spacing:1px;}
.product-name{font-size:14px;font-weight:600;color:var(--text-dark);margin-top:6px;min-height:36px;}
.product-foot{display:flex;justify-content:space-between;align-items:center;margin-top:14px;}
.product-price{color:var(--orange);font-weight:700;}
.add-cart-btn{cursor:pointer;background:var(--dark);color:#fff;font-size:12px;font-weight:600;padding:8px 12px;border-radius:6px;border:none;}
.add-cart-btn:hover{background:#000;}

/* Blog */
.blog-card{flex:1;min-width:280px;max-width:380px;background:var(--cream);border-radius:12px;overflow:hidden;}
.blog-card.tall .blog-image{height:170px;}
.blog-image{height:150px;width:100%;object-fit:cover;}
.blog-body{padding:20px;}
.blog-title{font-weight:600;font-size:16px;color:var(--text-dark);line-height:1.3;}
.blog-excerpt{color:var(--text-muted);font-size:13px;margin-top:8px;line-height:1.5;}

/* CTA banner */
.cta-banner{background:linear-gradient(90deg,var(--orange),#e5620f);padding:60px 24px;}
.cta-inner{max-width:900px;margin:0 auto;text-align:center;}
.cta-title{font-weight:700;font-size:30px;color:var(--dark);}

/* Page header (inner pages) */
.page-header{max-width:1200px;margin:0 auto;padding:70px 24px 0;}
.page-title{font-weight:700;font-size:38px;color:var(--text-dark);}
.page-intro{color:var(--text-muted);font-size:16px;margin-top:12px;max-width:640px;line-height:1.6;}
.page-body{max-width:1200px;margin:0 auto;padding:0 24px 100px;}
.page-body-narrow{max-width:1000px;margin:0 auto;padding:0 24px 100px;}

/* Price list */
.price-group{margin-top:40px;}
.price-cat{font-weight:600;font-size:20px;color:var(--text-dark);border-bottom:2px solid var(--orange);display:inline-block;padding-bottom:6px;}
.price-row{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--border);}
.price-name{color:var(--text-body);font-size:15px;}
.price-value{color:var(--text-dark);font-weight:700;font-size:15px;}
.price-note{margin-top:40px;background:#fff2e7;border-radius:10px;padding:20px;color:#7a4a1a;font-size:14px;}

/* Shop */
.shop-note{margin-top:50px;color:var(--text-muted);font-size:13px;line-height:1.7;}

/* About */
.about-flex{display:flex;gap:50px;margin-top:36px;flex-wrap:wrap;align-items:center;}
.about-text{flex:1;min-width:300px;color:var(--text-body);font-size:15px;line-height:1.8;}
.about-media{flex:1;min-width:300px;}
.about-media img{width:100%;height:320px;object-fit:cover;border-radius:14px;}
.team-block{margin-top:70px;}
.team-heading{font-weight:600;font-size:24px;color:var(--text-dark);}
.team-grid{display:flex;flex-wrap:wrap;gap:22px;margin-top:24px;}
.team-card{flex:1;min-width:220px;text-align:center;}
.team-photo{width:100%;height:180px;object-fit:cover;border-radius:12px;}
.team-name{font-weight:600;color:var(--text-dark);margin-top:12px;}
.team-role{color:var(--text-faint);font-size:13px;margin-top:2px;}
.about-stats{margin-top:70px;background:var(--dark);border-radius:14px;padding:44px;display:flex;flex-wrap:wrap;gap:24px;}
.about-stat{flex:1;min-width:200px;text-align:center;}
.about-stat-num{color:var(--orange);font-family:var(--font-head);font-size:32px;font-weight:700;}
.about-stat-label{color:#b6bac0;font-size:13px;margin-top:6px;}

/* Contact */
.contact-grid{display:flex;gap:50px;margin-top:40px;flex-wrap:wrap;}
.contact-info{flex:1;min-width:300px;}
.contact-details{color:var(--text-body);font-size:15px;line-height:1.9;}
.map-box{
  margin-top:24px;height:220px;border-radius:12px;overflow:hidden;position:relative;
}
.map-box img{width:100%;height:100%;object-fit:cover;}
.map-pin{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);
  background:var(--orange);color:var(--dark);font-weight:700;font-size:12px;
  padding:8px 12px;border-radius:8px 8px 8px 2px;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,0.3);
}
.contact-form-panel{flex:1;min-width:300px;background:var(--cream);border-radius:14px;padding:32px;}
.form-stack{display:flex;flex-direction:column;gap:14px;}
.form-stack input,.form-stack textarea,.form-stack select{
  padding:13px;border-radius:8px;border:1px solid #ddd;font-size:14px;font-family:inherit;width:100%;
}
.form-stack textarea{min-height:90px;resize:vertical;}
.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus{outline:2px solid var(--orange);outline-offset:1px;}
.form-hint{font-size:11px;color:#999;}
.form-hint a{color:#777;text-decoration:underline;}
.form-error{font-size:13px;color:#c0392b;background:#fdecea;border-radius:8px;padding:10px 12px;display:none;}
.form-error.show{display:block;}
.hp-field{position:absolute;left:-9999px;top:-9999px;opacity:0;height:0;width:0;}
.success-box{text-align:center;padding:30px 0;}
.success-icon{font-size:36px;}
.success-title{font-family:var(--font-head);font-size:19px;color:var(--text-dark);margin-top:10px;}
.success-text{color:#666;font-size:14px;margin-top:8px;}
.payment-options{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--text-body);}
.payment-options label{display:flex;align-items:center;gap:6px;cursor:pointer;}

/* Legal pages */
.legal-content{max-width:800px;margin:0 auto;padding:70px 24px 100px;color:var(--text-body);font-size:15px;line-height:1.8;}
.legal-title{font-weight:700;font-size:32px;color:var(--text-dark);margin-bottom:20px;}
.legal-content p{margin:0 0 16px;}
.legal-table{margin-top:16px;border:1px solid var(--border);border-radius:8px;overflow:hidden;font-size:13px;}
.legal-table-row{display:flex;padding:10px 14px;border-top:1px solid var(--border);}
.legal-table-row:first-child{border-top:none;background:var(--cream);font-weight:700;}
.legal-table-row div:nth-child(1){flex:1;}
.legal-table-row div:nth-child(2){flex:2;}
.legal-table-row div:nth-child(3){flex:1;}
.legal-list{margin:0 0 16px;line-height:1.9;}

/* Footer */
.site-footer{background:var(--dark);padding:60px 24px 0;}
.footer-top{
  max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;gap:40px;
  padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-brand{flex:2;min-width:240px;}
.footer-brand .logo{font-size:22px;}
.footer-about{color:#9a9ea3;font-size:14px;margin-top:12px;line-height:1.7;max-width:320px;}
.footer-col{flex:1;min-width:160px;}
.footer-col.wide{min-width:200px;}
.footer-heading{color:#f2f1ee;font-weight:600;margin-bottom:14px;}
.footer-links{display:flex;flex-direction:column;gap:9px;color:#9a9ea3;font-size:14px;}
.footer-links a{color:#9a9ea3;}
.footer-links a:hover{color:var(--orange);}
.footer-contact{color:#9a9ea3;font-size:14px;line-height:1.8;}
.footer-bottom{max-width:1200px;margin:0 auto;padding:20px 0;color:#6c7075;font-size:13px;text-align:center;}

/* Cookie banner */
.cookie-banner{
  position:fixed;bottom:0;left:0;right:0;background:var(--dark);color:#e7e6e3;padding:18px 24px;
  display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:center;z-index:70;
  box-shadow:0 -6px 20px rgba(0,0,0,0.25);
}
.cookie-banner[hidden]{display:none;}
.cookie-text{font-size:13px;max-width:640px;}
.cookie-text a{color:var(--orange);}

/* Cart drawer */
.cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:60;display:none;}
.cart-overlay.open{display:block;}
.cart-drawer{
  position:fixed;top:0;right:-440px;bottom:0;width:min(420px,100%);background:#fff;z-index:61;
  box-shadow:-8px 0 30px rgba(0,0,0,0.2);display:flex;flex-direction:column;transition:right .25s ease;
}
.cart-drawer.open{right:0;}
.cart-head{padding:20px 24px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;}
.cart-title{font-family:var(--font-head);font-size:20px;font-weight:600;color:var(--text-dark);}
.cart-close{cursor:pointer;font-size:22px;color:#888;background:none;border:none;line-height:1;}
.cart-body{flex:1;overflow-y:auto;padding:16px 24px;}
.cart-empty{text-align:center;color:#999;padding:50px 10px;font-size:14px;}
.cart-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #f0f0f0;}
.cart-item-thumb{width:56px;height:56px;flex:none;border-radius:6px;object-fit:cover;background:var(--cream);}
.cart-item-name{font-size:14px;font-weight:600;color:var(--text-dark);}
.cart-item-total{font-size:13px;color:#888;margin-top:2px;}
.cart-item-controls{display:flex;align-items:center;gap:10px;margin-top:8px;}
.qty-btn{
  cursor:pointer;width:22px;height:22px;border:1px solid #ddd;border-radius:5px;background:#fff;
  display:flex;align-items:center;justify-content:center;font-size:14px;padding:0;
}
.qty-val{font-size:13px;min-width:16px;text-align:center;}
.cart-item-remove{cursor:pointer;margin-left:auto;font-size:12px;color:#c33;background:none;border:none;}
.cart-foot{padding:20px 24px;border-top:1px solid var(--border);}
.cart-total-row{display:flex;justify-content:space-between;font-size:15px;font-weight:600;color:var(--text-dark);margin-bottom:14px;}
.cart-note{text-align:center;font-size:11px;color:#999;margin-top:10px;}

/* Mobile */
@media (max-width:900px){
  .main-nav{display:none;width:100%;flex-direction:column;gap:2px;order:3;}
  .main-nav.open{display:flex;}
  .main-nav a{padding:10px 4px;border-top:1px solid rgba(255,255,255,0.06);}
  .nav-toggle{display:inline-block;}
  .header-inner{position:relative;}
}
@media (max-width:640px){
  .hero-title{font-size:36px;}
  .hero{padding:60px 20px 70px;}
  .section{padding:60px 20px;}
  .section-tight{padding:50px 20px 70px;}
  .page-header{padding:50px 20px 0;}
  .page-body,.page-body-narrow{padding:0 20px 70px;}
  .legal-content{padding:50px 20px 70px;}
  .cta-title{font-size:24px;}
  .about-stats,.stats-bar,.footer-top{text-align:center;}
}
