/* AMIS Veterinárna klinika — styles */
:root{
  --c-primary:oklch(52% 0.09 195);
  --c-primary-dark:oklch(38% 0.08 195);
  --c-primary-light:oklch(93% 0.03 195);
  --c-accent:oklch(52% 0.09 55);
  --c-accent-dark:oklch(42% 0.09 55);
  --c-bg:oklch(98% 0.006 85);
  --c-surface:oklch(99% 0.002 85);
  --c-surface-alt:oklch(95% 0.012 85);
  --c-border:oklch(89% 0.01 85);
  --c-text:oklch(23% 0.02 80);
  --c-muted:oklch(48% 0.02 80);
  --c-danger:oklch(52% 0.15 25);
  --c-footer-bg:oklch(23% 0.02 80);
  --c-footer-text:oklch(93% 0.01 85);
  --c-footer-muted:oklch(75% 0.01 85);
  --c-footer-border:oklch(35% 0.01 85);
  --c-footer-copy:oklch(65% 0.01 85);
  --font-head:'Segoe UI Semibold','Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --font-body:'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:var(--font-body);background:var(--c-bg);color:var(--c-text);min-height:100vh;display:flex;flex-direction:column;}
a{color:var(--c-primary);text-decoration:none;}
a:hover{color:var(--c-primary-dark);}
img{display:block;max-width:100%;height:auto;}
h1,h2,h3{font-family:var(--font-head);margin:0;}
p{margin:0;}
button{font-family:var(--font-body);}
.wrap{max-width:1200px;margin:0 auto;padding-left:32px;padding-right:32px;}
.wrap-narrow{max-width:900px;margin:0 auto;padding-left:32px;padding-right:32px;}
.wrap-page{max-width:1100px;margin:0 auto;padding-left:32px;padding-right:32px;}

/* Top emergency bar */
.topbar{background:var(--c-primary-dark);color:var(--c-surface);text-align:center;padding:8px 16px;font-size:13px;font-weight:500;}
.topbar a{color:var(--c-surface);font-weight:700;}

/* Header */
.site-header{background:var(--c-surface);border-bottom:1px solid var(--c-border);padding:14px 32px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;position:sticky;top:0;z-index:50;}
.brand{display:flex;align-items:center;gap:10px;cursor:pointer;}
.brand-mark{width:42px;height:42px;border-radius:10px;background:var(--c-primary);display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--font-head);font-weight:700;font-size:18px;flex-shrink:0;}
.brand-name{font-family:var(--font-head);font-weight:700;font-size:19px;line-height:1;color:var(--c-text);}
.brand-sub{font-size:11px;color:var(--c-muted);letter-spacing:.03em;}
.main-nav{display:flex;gap:22px;flex-wrap:wrap;align-items:center;}
.main-nav a{font-size:15px;color:var(--c-text);font-weight:500;}
.main-nav a.active{color:var(--c-primary);font-weight:700;}
.cart-link{position:relative;cursor:pointer;display:flex;align-items:center;gap:6px;background:var(--c-surface-alt);border:1px solid var(--c-border);border-radius:10px;padding:8px 14px;color:var(--c-text);font-size:14px;font-weight:600;}
.cart-badge{background:var(--c-accent);color:#fff;font-size:12px;font-weight:700;border-radius:999px;padding:2px 7px;display:none;}
.cart-badge.show{display:inline-block;}
.nav-toggle{display:none;background:none;border:1px solid var(--c-border);border-radius:8px;padding:8px 10px;font-size:18px;cursor:pointer;}

main{flex:1;}

/* Buttons */
.btn{display:inline-block;border:none;padding:14px 26px;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;text-align:center;}
.btn-primary{background:var(--c-accent);color:#fff;}
.btn-primary:hover{background:var(--c-accent-dark);color:#fff;}
.btn-outline{background:transparent;color:var(--c-text);border:1px solid var(--c-border);}
.btn-outline:hover{background:var(--c-surface-alt);}
.btn-teal{background:var(--c-primary);color:#fff;}
.btn-teal:hover{background:var(--c-primary-dark);color:#fff;}
.btn-sm{padding:10px 18px;font-size:13px;border-radius:8px;}
.btn-block{display:block;width:100%;}

/* Hero */
.hero{padding:72px 32px 56px;display:grid;grid-template-columns:1.1fr 0.9fr;gap:48px;align-items:center;}
.badge{display:inline-block;background:var(--c-primary-light);color:var(--c-primary-dark);font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px;margin-bottom:18px;}
.hero h1{font-size:44px;line-height:1.15;margin:0 0 18px;}
.hero p{font-size:17px;color:var(--c-muted);line-height:1.6;margin:0 0 28px;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}
.hero-media img{border-radius:20px;border:1px solid var(--c-border);width:100%;height:340px;object-fit:cover;}

/* Stats */
.stats{background:var(--c-surface-alt);padding:32px;}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center;}
.stat-num{font-family:var(--font-head);font-size:30px;font-weight:700;color:var(--c-primary);}
.stat-label{font-size:14px;color:var(--c-muted);}

/* Sections generic */
.section{padding:64px 32px;}
.section-alt{background:var(--c-surface-alt);}
.section-teal{background:var(--c-primary-light);}
.section-title{font-size:30px;text-align:center;margin:0 0 8px;}
.section-lead{text-align:center;color:var(--c-muted);margin:0 0 40px;}

/* Services grid (home) */
.services-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;}
.service-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:14px;padding:22px 16px;cursor:pointer;text-align:center;display:block;}
.service-card:hover{box-shadow:0 8px 20px oklch(89% 0.01 85 / 0.6);}
.service-card-title{font-family:var(--font-head);font-weight:600;font-size:16px;margin-bottom:8px;color:var(--c-text);}
.service-card-desc{font-size:13px;color:var(--c-muted);line-height:1.5;}

/* Features (why choose us) */
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.feature-card{background:var(--c-surface);border-radius:14px;padding:22px;}
.feature-icon{font-size:26px;margin-bottom:10px;}
.feature-title{font-weight:600;margin-bottom:6px;}
.feature-desc{font-size:13px;color:var(--c-muted);}

/* Calculator */
.calc-box{background:var(--c-surface);border:1px solid var(--c-border);border-radius:16px;padding:28px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;align-items:end;}
.calc-label{font-size:13px;font-weight:600;margin-bottom:8px;}
.calc-type-btns{display:flex;gap:8px;}
.calc-type-btn{flex:1;padding:10px;border-radius:8px;border:1px solid var(--c-border);cursor:pointer;background:#fff;color:var(--c-text);font-weight:600;font-size:14px;}
.calc-type-btn.active{background:var(--c-primary);color:#fff;border-color:var(--c-primary);}
.calc-input{width:100%;padding:10px;border-radius:8px;border:1px solid var(--c-border);font-size:15px;}
.calc-result{background:var(--c-surface-alt);border-radius:10px;padding:14px;text-align:center;}
.calc-result-label{font-size:12px;color:var(--c-muted);}
.calc-result-val{font-family:var(--font-head);font-size:26px;font-weight:700;color:var(--c-primary);}

/* Testimonials */
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.testimonial-card{background:var(--c-surface);border-radius:14px;padding:22px;border:1px solid var(--c-border);}
.testimonial-quote{font-size:14px;line-height:1.6;color:var(--c-text);margin-bottom:14px;}
.testimonial-author{font-size:13px;font-weight:600;color:var(--c-muted);}

/* Blog cards */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.blog-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:14px;overflow:hidden;display:block;}
.blog-card img{height:150px;width:100%;object-fit:cover;}
.blog-card-body{padding:16px;}
.blog-date{font-size:12px;color:var(--c-muted);margin-bottom:6px;}
.blog-title{font-weight:600;font-size:15px;margin-bottom:8px;color:var(--c-text);}
.blog-excerpt{font-size:13px;color:var(--c-muted);line-height:1.5;}

/* CTA banner */
.cta-banner{background:var(--c-primary);color:#fff;padding:48px 32px;text-align:center;}
.cta-banner h2{font-size:26px;margin:0 0 12px;}
.cta-banner p{margin:0 0 20px;opacity:.9;}
.cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
.cta-actions a.btn-white{background:#fff;color:var(--c-primary-dark);padding:12px 24px;border-radius:10px;font-weight:600;}

/* Page header (inner pages) */
.page-header{padding:56px 32px 8px;}
.page-header h1{font-size:34px;margin:0 0 10px;}
.page-header p{color:var(--c-muted);font-size:16px;max-width:700px;}

/* Services page rows */
.service-row{display:grid;grid-template-columns:0.9fr 1.1fr;gap:36px;align-items:center;padding:36px 0;border-bottom:1px solid var(--c-border);}
.service-row img{border-radius:16px;width:100%;height:220px;object-fit:cover;}
.service-row h3{font-size:24px;margin:0 0 10px;}
.service-row p{font-size:15px;line-height:1.6;color:var(--c-text);margin:0 0 14px;}
.bullets{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:16px;}
.bullet{font-size:13px;color:var(--c-muted);}
.service-row-footer{display:flex;align-items:center;gap:16px;}
.price-from{font-weight:700;color:var(--c-primary);}

/* Pricing table */
.price-list{background:var(--c-surface);border:1px solid var(--c-border);border-radius:14px;overflow:hidden;}
.price-row{display:flex;justify-content:space-between;padding:16px 22px;border-bottom:1px solid var(--c-border);}
.price-row:last-child{border-bottom:none;}
.price-row .name{font-size:15px;}
.price-row .price{font-weight:700;color:var(--c-primary);}
.price-note{font-size:13px;color:var(--c-muted);margin-top:18px;}

/* Team */
.team-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-bottom:48px;}
.team-card{text-align:center;}
.team-card img{width:100%;height:130px;object-fit:cover;border-radius:12px;margin-bottom:10px;}
.team-name{font-weight:600;font-size:14px;}
.team-role{font-size:12px;color:var(--c-primary);margin-bottom:4px;}
.team-bio{font-size:12px;color:var(--c-muted);}
.equipment-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.equipment-item{background:var(--c-primary-light);border-radius:10px;padding:16px;font-size:14px;font-weight:600;text-align:center;color:var(--c-primary-dark);}

/* Shop */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:32px;}
.product-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;}
.product-card img{height:130px;width:100%;object-fit:cover;}
.product-body{padding:14px;display:flex;flex-direction:column;flex:1;}
.product-name{font-weight:600;font-size:14px;margin-bottom:4px;}
.product-desc{font-size:12px;color:var(--c-muted);flex:1;margin-bottom:10px;}
.product-footer{display:flex;align-items:center;justify-content:space-between;}
.product-price{font-weight:700;color:var(--c-primary);}

/* Cart */
.cart-item{display:grid;grid-template-columns:64px 1fr auto auto;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--c-border);}
.cart-item img{width:60px;height:60px;object-fit:cover;border-radius:8px;}
.cart-item-name{font-weight:600;font-size:14px;}
.cart-item-price{font-size:12px;color:var(--c-muted);}
.qty-controls{display:flex;align-items:center;gap:8px;}
.qty-btn{width:28px;height:28px;border-radius:6px;border:1px solid var(--c-border);background:#fff;cursor:pointer;font-size:16px;line-height:1;}
.cart-line-actions{display:flex;align-items:center;gap:14px;}
.cart-line-total{font-weight:700;}
.remove-btn{background:none;border:none;color:var(--c-danger);cursor:pointer;font-size:13px;}
.cart-total-row{display:flex;justify-content:space-between;padding:20px 0;font-size:18px;font-weight:700;}
.cart-empty{text-align:center;padding:40px 0;color:var(--c-muted);}
.cart-empty .icon{font-size:32px;margin-bottom:10px;}
.order-success{background:var(--c-primary-light);border-radius:14px;padding:32px;text-align:center;}
.order-success .icon{font-size:32px;margin-bottom:10px;}
.order-success .title{font-weight:700;font-size:18px;margin-bottom:6px;}
.order-success .desc{color:var(--c-muted);font-size:14px;}

/* Forms */
.field-group{display:flex;flex-direction:column;gap:14px;}
input[type=text],input[type=email],input[type=tel],input[type=number],select,textarea{
  font-family:var(--font-body);padding:12px;border-radius:8px;border:1px solid var(--c-border);font-size:15px;width:100%;background:#fff;color:var(--c-text);
}
textarea{resize:vertical;}
input:focus,select:focus,textarea:focus{outline:2px solid var(--c-primary);outline-offset:1px;}
.honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.form-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:16px;padding:28px;}
.form-note{font-size:12px;color:var(--c-muted);margin-top:10px;}
.checkbox-row{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--c-muted);}
.checkbox-row input{width:auto;margin-top:3px;}
.form-error{background:oklch(93% 0.05 25);color:oklch(38% 0.15 25);border-radius:8px;padding:12px 14px;font-size:13px;margin-bottom:14px;}

/* Contact page */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:56px 32px;}
.contact-item{margin-bottom:20px;}
.contact-item .label{font-weight:600;margin-bottom:4px;}
.contact-item .value{color:var(--c-muted);}
.hours-row{display:flex;justify-content:space-between;font-size:14px;color:var(--c-muted);padding:4px 0;max-width:280px;}
.hours-row .h{font-weight:600;color:var(--c-text);}
.map-embed{border-radius:14px;overflow:hidden;border:1px solid var(--c-border);height:220px;}
.map-embed iframe{width:100%;height:100%;border:0;}

/* Legal pages */
.legal-page{max-width:800px;margin:0 auto;padding:56px 32px;}
.legal-page h1{font-size:30px;margin:0 0 24px;}
.legal-page p{line-height:1.7;color:var(--c-text);margin-bottom:14px;}
.company-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:14px;padding:24px;line-height:1.9;}

/* Footer */
.site-footer{background:var(--c-footer-bg);color:var(--c-footer-text);padding:48px 32px 20px;margin-top:auto;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:32px;}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.footer-mark{width:36px;height:36px;border-radius:8px;background:var(--c-primary);display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--font-head);font-weight:700;}
.footer-desc{font-size:13px;color:var(--c-footer-muted);line-height:1.6;}
.footer-col-title{font-weight:600;margin-bottom:14px;font-size:14px;}
.footer-link{display:block;font-size:13px;color:var(--c-footer-muted);margin-bottom:8px;cursor:pointer;}
.footer-link:hover{color:var(--c-footer-text);}
.footer-contact-line{font-size:13px;color:var(--c-footer-muted);margin-bottom:8px;}
.footer-bottom{max-width:1200px;margin:32px auto 0;border-top:1px solid var(--c-footer-border);padding-top:18px;font-size:12px;color:var(--c-footer-copy);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;}

/* Cookie banner */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--c-border);padding:18px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;box-shadow:0 -4px 20px oklch(0% 0 0 / 0.08);z-index:100;}
.cookie-banner p{font-size:13px;color:var(--c-text);max-width:640px;}
.cookie-actions{display:flex;gap:10px;}

/* Responsive */
@media (max-width:960px){
  .hero{grid-template-columns:1fr;padding-top:48px;}
  .hero-media{order:-1;}
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .features-grid{grid-template-columns:repeat(2,1fr);}
  .testimonials-grid{grid-template-columns:1fr;}
  .blog-grid{grid-template-columns:1fr 1fr;}
  .service-row{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:repeat(3,1fr);}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .contact-grid{grid-template-columns:1fr;}
  .calc-box{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:640px){
  .site-header{padding:12px 16px;}
  .main-nav{display:none;width:100%;order:3;flex-direction:column;gap:0;background:var(--c-surface);border-top:1px solid var(--c-border);margin-top:12px;padding-top:12px;}
  .main-nav.open{display:flex;}
  .main-nav a{padding:10px 0;width:100%;border-bottom:1px solid var(--c-border);}
  .nav-toggle{display:block;}
  .hero h1{font-size:32px;}
  .hero,.section,.page-header,.contact-grid{padding-left:16px;padding-right:16px;}
  .wrap,.wrap-narrow,.wrap-page{padding-left:16px;padding-right:16px;}
  .stats-grid{grid-template-columns:1fr 1fr;}
  .services-grid{grid-template-columns:1fr;}
  .features-grid{grid-template-columns:1fr;}
  .blog-grid{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .bullets{grid-template-columns:1fr;}
  .cart-item{grid-template-columns:48px 1fr;grid-template-areas:"img name" "img controls";}
  .cookie-banner{flex-direction:column;align-items:stretch;text-align:center;}
}
