/* MyEcoLife - COMPSOLVE LIMITED. One stylesheet, no framework. */
:root {
  --ink: #0f2124;
  --muted: #4b6165;
  --bg: #ffffff;
  --soft: #f1f6f5;
  --line: #dbe6e4;
  --deep: #052a31;
  --deep-2: #0a3740;
  --on-deep: #eaf4f2;
  --on-deep-muted: #a8c6c1;
  --accent: #0b7a5b;
  --accent-hover: #086149;
  --accent-on-deep: #4fd6a8;
  --danger: #b42318;
  --radius: 10px;
  --wrap: 1180px;
  --gutter: 20px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 650; }
h4 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent-on-deep); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* header */
.site-header { background: var(--deep); color: var(--on-deep); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--on-deep); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav a[aria-current="page"] { color: var(--accent-on-deep); }
.nav .cart-link { margin-left: 8px; border: 1px solid rgba(255,255,255,.22); display: inline-flex; align-items: center; gap: 8px; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent-on-deep); color: var(--deep); font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: var(--on-deep); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .95rem; cursor: pointer; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--deep); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 1.05rem; }
  .nav .cart-link { margin: 8px 0 0; justify-content: space-between; }
  .logo img { width: 140px; }
}

/* sections */
.section { padding: 84px 0; }
.section.soft { background: var(--soft); }
.section.deep { background: var(--deep); color: var(--on-deep); }
.section.deep h2, .section.deep h3 { color: #fff; }
.section.deep p, .section.deep li { color: var(--on-deep-muted); }
.section.deep a:not(.btn) { color: var(--accent-on-deep); }
.section.tight { padding: 56px 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.deep .lead { color: var(--on-deep-muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.measure { max-width: 68ch; }

/* hero */
.hero { background: var(--deep); color: var(--on-deep); padding: 72px 0 80px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: var(--on-deep-muted); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-art img { width: 100%; max-width: 560px; margin-left: auto; }
.hero.page-hero { padding: 64px 0 64px; }
.hero.page-hero h1 { max-width: 22ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.deep .btn-primary, .hero .btn-primary, .cta-band .btn-primary { background: var(--accent-on-deep); color: var(--deep); }
.deep .btn-primary:hover, .hero .btn-primary:hover, .cta-band .btn-primary:hover { background: #7fe5c2; color: var(--deep); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hover); }
.deep .btn-ghost, .hero .btn-ghost { color: var(--on-deep); border-color: rgba(255,255,255,.3); }
.deep .btn-ghost:hover, .hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-block { width: 100%; }

/* grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split > *, .grid > *, .hero-grid > *, .checkout-grid > * { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.soft .card { border-color: #d3e1de; }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .more::after { content: " \2192"; }
.deep .card { background: var(--deep-2); border-color: rgba(255,255,255,.08); }
.deep .card p { color: var(--on-deep-muted); }
.icon-card img { width: 44px; height: 44px; margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.deep .checks li::before { border-color: var(--accent-on-deep); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { border-top: 2px solid var(--accent); padding-top: 16px; }
.stat strong { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; }
.stat span { color: var(--muted); }

.figure { border-radius: var(--radius); }
.figure-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.partners-img { width: 100%; max-width: 440px; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); font-weight: 650; }
tr:last-child td { border-bottom: 0; }

/* CTA band */
.cta-band { background: var(--deep-2); color: var(--on-deep); padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; max-width: 28ch; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); }

/* shop */
.shop-group { margin-bottom: 56px; }
.shop-group > h2 { margin-bottom: 8px; }
.shop-group > p { color: var(--muted); margin-bottom: 24px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.product h3 { font-size: 1.2rem; margin-bottom: .4em; }
.product p { color: var(--muted); font-size: .97rem; }
.product .checks { font-size: .95rem; }
.price-row { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); margin-bottom: 16px; }
.price { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.price-unit { color: var(--muted); font-size: .9rem; text-align: right; }
.price-note { color: var(--muted); font-size: .95rem; }

.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--deep); color: var(--on-deep); z-index: 40; border-top: 1px solid rgba(255,255,255,.12); transform: translateY(100%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
.cart-bar.show { transform: none; visibility: visible; }
.cart-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.cart-bar .btn-primary { background: var(--accent-on-deep); color: var(--deep); }
body.has-cart-bar { padding-bottom: 72px; }

/* checkout */
.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.summary { position: sticky; top: 92px; }
.summary h2, .panel h2 { font-size: 1.35rem; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-name { font-weight: 600; }
.line-meta { color: var(--muted); font-size: .9rem; }
.line-total { font-weight: 600; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font: inherit; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty output { min-width: 32px; text-align: center; font-weight: 600; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: .9rem; cursor: pointer; padding: 8px 4px; min-height: 44px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-size: 1.2rem; font-weight: 700; }
.empty { color: var(--muted); }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9cbc8; border-radius: 8px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(11,122,91,.25); border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field .err { color: var(--danger); font-size: .9rem; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 18px; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.consent.invalid label { color: var(--danger); }
.notice { background: var(--soft); border-left: 3px solid var(--accent); padding: 14px 16px; border-radius: 6px; font-size: .95rem; margin-bottom: 20px; }
.form-msg { margin-top: 14px; font-weight: 600; }
.form-msg.ok { color: var(--accent); }
.form-msg.bad { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal p, .legal li { color: #2b3e41; }
.legal .updated { color: var(--muted); }

/* contacts */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; color: var(--muted); font-size: .9rem; }

/* footer */
.site-footer { background: var(--deep); color: var(--on-deep-muted); padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: var(--on-deep); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-logo { width: 150px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .grid-4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 56px; }
  .hero-grid, .split, .checkout-grid { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-art img { margin: 0 auto; max-width: 420px; }
  .summary { position: static; order: -1; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .shop-group .grid-4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .grid-4, .stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .panel, .product { padding: 20px; }
  .cta-band .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
