/* Mistr Praček — hlavní stylopis. Self-contained, žádné externí CDN. */

:root {
  --navy: #0E2233;
  --navy-light: #16344B;
  --navy-light2: #12293C;
  --ink: #101418;
  --text: #23292E;
  --text-2: #35404A;
  --text-3: #5C666E;
  --text-4: #8A949B;
  --muted: #6E7A82;
  --border: #E2E5E2;
  --border-2: #D6DAD6;
  --border-3: #EDEFEC;
  --bg: #F3F4F1;
  --bg-2: #FAFBFA;
  --white: #FFFFFF;
  --orange: #D9963F;
  --red: #C6462F;
  --blue: #1F5C99;
  --navy-text: #B9C7D2;
  --navy-text-2: #93A5B3;
  --navy-text-3: #C4D0DA;
  --navy-text-4: #7C8F9E;
  --navy-text-5: #9FB3C2;
  --navy-text-6: #E4EBF0;

  --font-heading: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Courier New", monospace;

  --max: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; text-wrap: balance; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

@keyframes mpUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mpIn { from { transform: translateX(100%); } to { transform: none; } }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-1100 { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-1000 { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.container-860 { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.container-820 { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.container-780 { max-width: 780px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white);
  padding: 12px 18px; z-index: 100; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Topbar */
.topbar { background: var(--navy); color: var(--navy-text); font-size: 13px; letter-spacing: 0.01em; }
.topbar-inner {
  max-width: var(--max); margin: 0 auto; padding: 9px 24px;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-city { color: var(--navy-text-4); }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-phone { color: var(--white); font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.header-inner { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-family: var(--font-heading); font-weight: 800; font-size: 18px; flex: none;
}
.brand-text { text-align: left; line-height: 1.1; }
.brand-name { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.brand-sub { display: block; font-size: 11px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }

.main-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.nav-link {
  border: 0; background: transparent; color: var(--text-2); padding: 9px 14px; border-radius: 9px;
  font-size: 15px; font-weight: 600; text-decoration: none; display: inline-block;
}
.nav-link:hover { background: #EAEDEA; color: var(--text-2); }
.nav-link.is-active { background: var(--navy); color: var(--white); }
.nav-link.is-active:hover { background: var(--navy); color: var(--white); }

.header-actions { display: flex; gap: 10px; align-items: center; margin-left: 8px; }
.cart-btn {
  position: relative; border: 1px solid var(--border-2); background: var(--white); padding: 10px 14px;
  border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--ink);
}
.cart-btn:hover { border-color: var(--navy); color: var(--ink); }
.cart-badge { margin-left: 8px; background: var(--orange); color: var(--white); border-radius: 20px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.call-btn { background: var(--red); color: var(--white); padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 15px; }
.call-btn:hover { color: var(--white); opacity: 0.92; }

.nav-toggle {
  display: none; border: 1px solid var(--border-2); background: var(--white); border-radius: 9px;
  padding: 9px 12px; font-weight: 700; font-size: 14px; margin-left: auto;
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 11px; font-weight: 700; font-size: 16px; padding: 14px 22px; text-decoration: none; }
.btn-cta { background: var(--red); color: var(--white); }
.btn-cta:hover { color: var(--white); opacity: 0.92; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { color: var(--white); opacity: 0.92; }
.btn-outline { background: var(--white); color: var(--ink); border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: var(--navy); color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-block { width: 100%; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 0; }
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 72px 24px 80px; display: grid;
  grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-copy { animation: mpUp 0.6s ease both; }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange); border: 1px solid rgba(217,150,63,0.4);
  padding: 6px 12px; border-radius: 20px;
}
.hero h1 { font-size: 54px; line-height: 1.05; letter-spacing: -0.025em; margin: 22px 0 18px; }
.hero-lead { font-size: 19px; line-height: 1.6; color: var(--navy-text-3); margin: 0 0 28px; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px; }
.hero-stat-num { font-family: var(--font-heading); font-size: 30px; font-weight: 800; }
.hero-stat-label { font-size: 14px; color: var(--navy-text-2); }
.hero-media {
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.16);
  min-height: 420px; display: flex; align-items: flex-end; padding: 0; position: relative;
}
.hero-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.hero-media figcaption {
  position: absolute; left: 22px; bottom: 22px; font-family: var(--font-mono); font-size: 12px;
  color: var(--navy-text-5); background: rgba(14,34,51,0.75); padding: 8px 12px; border-radius: 8px;
}

/* Badges strip */
.badges-strip { background: var(--white); border-bottom: 1px solid var(--border); }
.badges-grid { max-width: var(--max); margin: 0 auto; padding: 28px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.badge-item { display: flex; gap: 12px; align-items: flex-start; }
.badge-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); margin-top: 7px; flex: none; }
.badge-title { font-weight: 700; font-size: 16px; }
.badge-text { font-size: 14px; color: var(--text-3); line-height: 1.5; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 64px 24px; }
.section-tight-top { padding-top: 20px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.section h2 { font-size: 38px; letter-spacing: -0.02em; margin-top: 10px; }
.section-lead { font-size: 18px; line-height: 1.7; color: var(--text-2); max-width: 780px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.service-card:hover { border-color: var(--navy); }
.service-code { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); }
.service-card h3 { font-size: 21px; letter-spacing: -0.01em; }
.service-desc { font-size: 15px; line-height: 1.6; color: var(--text-3); }
.service-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border); display: flex; justify-content: space-between; align-items: center; }
.service-time { font-size: 13px; color: var(--text-4); }
.service-price { font-weight: 700; color: var(--navy); }

.services-list { display: grid; gap: 16px; padding-top: 20px; padding-bottom: 64px; }
.service-detail { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: start; }
.service-detail h2 { font-size: 25px; margin: 8px 0 12px; letter-spacing: -0.015em; }
.service-detail-text { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.service-symptoms { font-size: 14px; color: var(--text-3); }
.service-price-box { background: var(--bg); border-radius: 12px; padding: 20px; }
.service-price-box .label { font-size: 13px; color: var(--text-3); }
.service-price-box .price { font-family: var(--font-heading); font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.service-price-box .time { font-size: 13px; color: var(--text-3); margin-bottom: 14px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: var(--navy); color: var(--white); border-radius: 16px; padding: 26px; min-height: 210px; display: flex; flex-direction: column; }
.step-num { font-family: var(--font-heading); font-size: 40px; font-weight: 800; color: var(--orange); line-height: 1; }
.step-card h3 { font-size: 19px; margin: 14px 0 10px; color: var(--white); }
.step-text { font-size: 15px; line-height: 1.6; color: var(--navy-text); }

/* Brands */
.brands-section { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-inner { max-width: var(--max); margin: 0 auto; padding: 56px 24px; }
.brands-inner h2 { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 8px; }
.brands-lead { color: var(--text-3); margin: 0 0 26px; }
.brand-list { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { border: 1px solid var(--border); border-radius: 10px; padding: 10px 16px; font-weight: 600; font-size: 15px; color: var(--text-2); background: var(--bg-2); }

/* Sense / calculator */
.sense-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.sense-grid h2 { font-size: 34px; letter-spacing: -0.02em; margin-bottom: 18px; }
.sense-grid p { font-size: 17px; line-height: 1.7; color: var(--text-2); margin-bottom: 14px; }
.calc-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 30px; }
.calc-card h3 { font-size: 20px; margin-bottom: 18px; }
.field-label { display: block; font-size: 14px; color: var(--text-3); margin-bottom: 6px; }
.field-select, .field-input, .field-textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border-2); border-radius: 10px; font-size: 15px; background: var(--white); color: var(--ink);
}
.field-select { margin-bottom: 16px; }
.calc-result-box { background: var(--bg); border-radius: 12px; padding: 20px; }
.calc-result-kicker { font-size: 13px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.calc-result-value { font-family: var(--font-heading); font-size: 34px; font-weight: 800; margin: 6px 0; }
.calc-result-note { font-size: 13px; color: var(--text-3); line-height: 1.5; }

/* Reviews */
.reviews-section { background: var(--navy); color: var(--white); }
.reviews-section h2 { font-size: 34px; letter-spacing: -0.02em; margin-bottom: 28px; color: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 26px; }
.review-stars { color: var(--orange); letter-spacing: 3px; font-size: 15px; }
.review-text { font-size: 16px; line-height: 1.65; color: var(--navy-text-6); margin: 10px 0; }
.review-author { font-size: 14px; color: var(--navy-text-2); }

/* Blog cards */
.blog-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  text-align: left; background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 0; overflow: hidden; display: block; color: inherit;
}
.article-card:hover { border-color: var(--navy); color: inherit; }
.article-thumb { display: block; height: 130px; width: 100%; object-fit: cover; background: var(--bg); }
.article-card-body { display: block; padding: 22px; }
.article-meta { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--text-4); margin-bottom: 8px; }
.article-title-sm { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 19px; line-height: 1.25; margin-bottom: 8px; color: var(--ink); }
.article-excerpt { display: block; font-size: 15px; color: var(--text-3); line-height: 1.55; }

.blog-list { display: grid; gap: 16px; }
.article-row {
  text-align: left; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; color: inherit;
}
.article-row:hover { border-color: var(--navy); color: inherit; }
.article-row-thumb { display: block; height: 110px; width: 100%; border-radius: 10px; object-fit: cover; background: var(--bg); }
.article-row-title { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 23px; line-height: 1.25; margin-bottom: 8px; color: var(--ink); }
.article-row-excerpt { display: block; font-size: 16px; color: var(--text-3); line-height: 1.6; }

/* Article page */
.article-page { max-width: 780px; margin: 0 auto; padding: 56px 24px 72px; }
.back-link { border: 0; background: none; padding: 0; color: var(--blue); font-weight: 600; margin-bottom: 18px; display: inline-block; font-size: 15px; }
.article-meta-line { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); margin-bottom: 12px; }
.article-page h1 { font-size: 40px; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 18px; }
.article-hero { height: 260px; width: 100%; border-radius: 16px; object-fit: cover; margin-bottom: 30px; background: var(--bg); }
.article-body h2 { font-size: 25px; letter-spacing: -0.015em; margin: 28px 0 10px; }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--text); margin-bottom: 4px; }
.article-cta { margin-top: 36px; background: var(--navy); color: var(--white); border-radius: 16px; padding: 28px; }
.article-cta h3 { font-size: 22px; margin-bottom: 8px; color: var(--white); }
.article-cta p { color: var(--navy-text); margin: 0 0 18px; }

/* Prices */
.page-head { max-width: var(--max); margin: 0 auto; padding: 56px 24px 20px; }
.page-head h1 { font-size: 44px; letter-spacing: -0.025em; margin-bottom: 14px; }
.page-lead { font-size: 18px; line-height: 1.7; color: var(--text-2); max-width: 780px; }

.price-table { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.price-head-row, .price-row { display: grid; grid-template-columns: 2fr 1fr 1fr; }
.price-head-row { background: var(--navy); color: var(--white); font-weight: 700; font-size: 14px; }
.price-head-row div { padding: 16px 22px; }
.price-head-row .align-right { text-align: right; }
.price-row { border-top: 1px solid var(--border-3); font-size: 15px; }
.price-row .name { padding: 15px 22px; font-weight: 600; }
.price-row .time { padding: 15px 22px; color: var(--text-3); }
.price-row .price { padding: 15px 22px; text-align: right; font-weight: 700; }

.price-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.price-note { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.price-note .t { font-weight: 700; margin-bottom: 6px; }
.price-note .d { font-size: 15px; color: var(--text-3); line-height: 1.55; }

/* Shop */
.category-list { display: flex; gap: 8px; flex-wrap: wrap; }
.category-chip { border: 1px solid var(--border-2); background: var(--white); color: var(--text-2); padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.category-chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.product-photo { height: 150px; width: 100%; object-fit: cover; background: var(--bg); }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-sku { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); }
.product-body h3 { font-size: 18px; line-height: 1.3; }
.product-desc { font-size: 14px; color: var(--text-3); line-height: 1.55; }
.product-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price { font-family: var(--font-heading); font-size: 22px; font-weight: 800; }
.add-btn { background: var(--red); color: var(--white); border: 0; padding: 11px 18px; border-radius: 10px; font-weight: 700; }
.add-btn:hover { opacity: 0.92; }

.shop-info { margin-top: 28px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.shop-info .t { font-weight: 700; margin-bottom: 6px; }
.shop-info .d { font-size: 15px; color: var(--text-3); line-height: 1.6; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; }
.about-grid p { font-size: 18px; line-height: 1.75; color: var(--text); margin-bottom: 14px; }
.about-grid h2 { font-size: 27px; margin: 30px 0 12px; }
.invoice-box { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; font-size: 15px; line-height: 1.9; color: var(--text-2); }
.about-media { display: grid; gap: 16px; align-content: start; }
.about-photo { height: 220px; width: 100%; border-radius: 16px; object-fit: cover; background: var(--bg); }
.fact-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.fact-value { font-family: var(--font-heading); font-size: 26px; font-weight: 800; }
.fact-label { font-size: 14px; color: var(--text-3); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 30px; }
.contact-card h2 { font-size: 22px; margin-bottom: 6px; }
.contact-card-lead { font-size: 14px; color: var(--text-3); margin: 0 0 20px; }
.contact-form { display: grid; gap: 14px; }
.consent-label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-3); line-height: 1.5; }
.consent-label input { margin-top: 3px; }
.thanks-box { text-align: center; padding: 40px 10px; }
.thanks-box .h { font-family: var(--font-heading); font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.thanks-box p { color: var(--text-3); font-size: 16px; line-height: 1.6; }

.contact-side { display: grid; gap: 16px; }
.contact-phone-card { background: var(--navy); color: var(--white); border-radius: 16px; padding: 28px; }
.contact-phone-card .label { font-size: 14px; color: var(--navy-text-2); margin-bottom: 4px; }
.contact-phone-card .phone { color: var(--white); font-family: var(--font-heading); font-size: 30px; font-weight: 800; }
.contact-phone-card .mail { margin-top: 14px; font-size: 16px; }
.contact-phone-card .mail a { color: var(--orange); }
.contact-phone-card .addr { margin-top: 6px; font-size: 15px; color: var(--navy-text); }
.map-photo { height: 220px; width: 100%; border-radius: 16px; object-fit: cover; background: var(--bg); }
.map-placeholder {
  height: 220px; border-radius: 16px; background: repeating-linear-gradient(135deg, #E7EAE6 0 12px, #F1F3F0 12px 24px);
  display: flex; align-items: flex-end; padding: 14px;
}
.map-placeholder span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); background: var(--white); padding: 5px 8px; border-radius: 6px; }
.cities-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.cities-card h3 { font-size: 18px; margin-bottom: 12px; }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; }
.city-chip { border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px; font-size: 14px; color: var(--text-2); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-family: var(--font-heading);
  font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { color: var(--orange); font-size: 22px; flex: none; }
.faq-item[open] .faq-sign { transform: rotate(45deg); }
.faq-answer { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.7; color: var(--text-2); }

/* Legal docs */
.doc-page { max-width: 820px; margin: 0 auto; padding: 56px 24px 72px; }
.doc-page h1 { font-size: 40px; letter-spacing: -0.025em; margin-bottom: 10px; }
.doc-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); margin-bottom: 28px; }
.doc-body h2 { font-size: 22px; letter-spacing: -0.01em; margin: 26px 0 8px; }
.doc-body p { font-size: 16px; line-height: 1.75; color: var(--text); margin-bottom: 4px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--navy-text); margin-top: auto; }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 56px 24px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; }
.footer-name { font-family: var(--font-heading); font-weight: 800; font-size: 19px; color: var(--white); }
.footer-desc { font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.footer-contact { font-size: 15px; line-height: 1.8; }
.footer-contact a.phone { color: var(--white); font-weight: 700; }
.footer-contact a.mail { color: var(--orange); }
.footer-col-title { color: var(--white); font-weight: 700; margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; font-size: 15px; }
.footer-links a { background: none; border: 0; padding: 0; text-align: left; color: var(--navy-text); font-size: 15px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom-inner { max-width: var(--max); margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: var(--navy-text-4); }
.footer-bottom-inner a { color: var(--navy-text); }

/* Cart drawer */
.cart-overlay { position: fixed; inset: 0; z-index: 60; display: none; justify-content: flex-end; }
.cart-overlay.is-open { display: flex; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(14,34,51,0.5); border: 0; padding: 0; }
.cart-drawer {
  position: relative; width: 440px; max-width: 92vw; background: var(--white); height: 100%;
  display: flex; flex-direction: column; animation: mpIn 0.25s ease both; box-shadow: -20px 0 60px rgba(0,0,0,0.2);
}
.cart-head { padding: 22px 26px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { font-size: 21px; }
.cart-close { border: 0; background: none; font-size: 22px; color: var(--text-3); line-height: 1; }
.cart-body { flex: 1; overflow: auto; padding: 20px 26px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--text-3); }
.cart-empty p { font-size: 16px; margin-bottom: 14px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-3); }
.cart-line-thumb { height: 64px; width: 64px; border-radius: 8px; object-fit: cover; background: var(--bg); }
.cart-line-name { font-weight: 700; font-size: 15px; line-height: 1.35; }
.cart-line-sku { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); margin: 4px 0 10px; }
.cart-line-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 30px; height: 30px; border: 1px solid var(--border-2); background: var(--white); border-radius: 8px; font-weight: 700; }
.qty-val { min-width: 26px; text-align: center; font-weight: 700; }
.cart-line-remove { margin-left: 6px; border: 0; background: none; color: var(--text-4); font-size: 13px; text-decoration: underline; }
.cart-line-total { font-weight: 700; }
.order-done-box { background: #F1F6F1; border: 1px solid #C9DCC9; border-radius: 12px; padding: 20px; margin-top: 18px; }
.order-done-box .t { font-weight: 700; margin-bottom: 6px; }
.order-done-box .d { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.cart-foot { border-top: 1px solid var(--border); padding: 22px 26px; }
.cart-shipping-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--text-3); margin-bottom: 6px; }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-total-label { font-weight: 700; font-size: 17px; }
.cart-total-value { font-family: var(--font-heading); font-weight: 800; font-size: 26px; }
.cart-terms-note { font-size: 12px; color: var(--text-4); margin-top: 10px; line-height: 1.5; }
.cart-terms-note a { color: var(--blue); text-decoration: underline; font-size: 12px; }

/* Checkout form inside drawer */
.checkout-form { display: grid; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border); }
.checkout-form .field-input { padding: 12px 14px; font-size: 14px; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 70; display: flex; justify-content: center; }
.cookie-banner.is-hidden { display: none; }
.cookie-card {
  background: var(--white); border: 1px solid var(--border-2); border-radius: 16px; box-shadow: 0 20px 50px rgba(14,34,51,0.18);
  padding: 24px; max-width: 780px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.cookie-title { font-family: var(--font-heading); font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.cookie-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.cookie-text a { text-decoration: underline; }
.cookie-actions { display: grid; gap: 8px; min-width: 170px; }
.cookie-accept { background: var(--navy); color: var(--white); border: 0; padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.cookie-reject { background: var(--white); color: var(--ink); border: 1px solid var(--border-2); padding: 12px 18px; border-radius: 10px; font-weight: 600; }

/* Form status messages */
.form-alert { border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
.form-alert.error { background: #FBEAE6; border: 1px solid #E7B7A8; color: #7A2E1B; }
.form-alert.success { background: #F1F6F1; border: 1px solid #C9DCC9; color: #24512A; }

/* 404 */
.error-page { max-width: 700px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.error-page .code { font-family: var(--font-heading); font-size: 72px; font-weight: 800; color: var(--navy); }
.error-page h1 { font-size: 30px; margin: 10px 0 14px; }
.error-page p { font-size: 16px; color: var(--text-3); margin-bottom: 26px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { min-height: 300px; }
  .hero-media img { min-height: 300px; }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .steps-grid, .reviews-grid, .blog-grid-3, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .sense-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-info, .price-notes { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); flex-direction: column; padding: 8px 16px 16px; margin-left: 0; gap: 2px; }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 17px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .badges-grid { grid-template-columns: 1fr; }
  .services-grid, .steps-grid, .reviews-grid, .blog-grid-3, .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-head-row, .price-row { grid-template-columns: 1.6fr 1fr 1fr; font-size: 13px; }
  .article-row { grid-template-columns: 1fr; }
  .cart-drawer { width: 100vw; }
  .page-head h1, .doc-page h1 { font-size: 32px; }
  .section h2 { font-size: 28px; }
}
