/* Iguana – "light & modern" sketch */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d2420;
  --muted: #6b726d;
  --green: #1f8a4c;
  --green-dark: #146236;
  --mint: #e6f4ea;
  --peach: #fdeedd;
  --orange: #ef7d22;
  --line: #ecebe6;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20,30,25,.04), 0 8px 24px rgba(20,30,25,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Assistant", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: "Rubik", "Assistant", Arial, sans-serif; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header: one light row, sticky */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(251,250,247,.88);
             backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
             border-bottom: 1px solid var(--line); display: flex; align-items: center;
             max-width: none; padding: 0 max(20px, calc((100vw - 1120px) / 2 + 20px)); gap: 24px; }
.banner { display: flex; align-items: center; flex: none; }
.brand { display: block; line-height: 0; padding: 12px 0; }
.brand img { height: 42px; width: auto; }
.lang { margin-inline-start: 14px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted);
        border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; background: var(--surface); }
.nav { flex: 1; min-width: 0; }
.nav-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.nav-in::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink); text-decoration: none; padding: 7px 14px; white-space: nowrap; font-weight: 600;
         font-size: 16px; border-radius: 999px; }
.nav a:hover { background: var(--mint); color: var(--green-dark); }
.nav a[aria-current] { background: var(--green); color: #fff; }
@media (max-width: 860px) {
  .site-head { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .banner { justify-content: space-between; padding: 0 16px; }
  .brand { padding: 10px 0 4px; }
  .brand img { height: 36px; }
  .nav-in { padding: 4px 12px 10px; }
  .nav a { font-size: 15px; padding: 6px 12px; background: var(--surface); border: 1px solid var(--line); }
  .nav a[aria-current] { border-color: var(--green); }
}

main.wrap { padding-top: 36px; padding-bottom: 72px; min-height: 60vh; }
.page-title { font-size: clamp(30px, 4.5vw, 44px); margin: 0 0 8px; }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 32px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none;
       font-weight: 700; padding: 12px 24px; border-radius: 999px; transition: transform .15s, background .15s; }
.btn:hover { background: var(--green); color: #fff; transform: translateY(-1px); }
.btn::after { content: "←"; }

/* book grid: covers on soft tinted tiles, no borders */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 36px 24px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card .cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5;
               background: var(--mint); border-radius: var(--radius); padding: 22px; overflow: hidden;
               transition: background .2s; }
.card:nth-child(3n+2) .cover { background: var(--peach); }
.card:nth-child(3n+3) .cover { background: #eef0fb; }
.card .cover img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; border-radius: 3px;
                   box-shadow: 0 10px 24px rgba(20,30,25,.18); transition: transform .25s; }
.card:hover .cover img { transform: translateY(-4px) rotate(-1deg); }
.card .ct { font-family: "Rubik", sans-serif; font-weight: 500; font-size: 17px; margin-top: 12px; line-height: 1.3; }
.card .cm { font-size: 14px; color: var(--muted); margin-top: 2px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; } .card .cover { padding: 14px; } }

/* book page */
.book { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.book-cover { background: var(--mint); border-radius: 24px; padding: 40px; position: sticky; top: 96px; }
.book-cover img { display: block; margin: 0 auto; border-radius: 4px; box-shadow: 0 18px 40px rgba(20,30,25,.22); }
.book h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 20px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0 24px; margin: 0 0 24px; font-size: 16px; }
.facts dt, .facts dd { padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; }
.buy { margin-bottom: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.desc { font-size: 18px; }
.desc > *:first-child { margin-top: 0; }
.desc div, .desc p { margin: 0 0 .6em; }
.jump { font-weight: 700; text-decoration: none; background: var(--mint); padding: 6px 14px; border-radius: 999px; }
@media (max-width: 820px) {
  .book { grid-template-columns: 1fr; gap: 24px; }
  .book-cover { position: static; padding: 28px; }
  .book-cover img { max-height: 340px; width: auto; }
}

.reviews { margin-top: 72px; }
.reviews h2 { font-size: 30px; margin: 0 0 20px; }
.count { display: inline-block; font-size: 15px; background: var(--peach); color: var(--orange); border-radius: 999px;
         padding: 0 12px; vertical-align: middle; font-weight: 700; }
#reviews { column-count: 2; column-gap: 20px; }
#reviews h2 { column-span: all; }
@media (max-width: 820px) { #reviews { column-count: 1; } }
.review { break-inside: avoid; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
          padding: 22px 24px; margin: 0 0 20px; overflow-wrap: anywhere; position: relative; }
.review img { display: block; margin: 10px 0; border-radius: 8px; }
.review div, .review p { margin: 0 0 .4em; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; font-weight: 600; }
.pager a { text-decoration: none; background: var(--surface); box-shadow: var(--shadow); padding: 10px 18px; border-radius: 999px; }

/* home */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin: 0 0 72px;
        background: linear-gradient(135deg, var(--mint), #f3f9f0 55%, var(--peach)); border-radius: 32px; padding: 56px; }
.hero-text { order: 0; }
.hero-cover { order: 1; justify-self: center; }
.hero-cover img { display: block; max-height: 420px; width: auto; border-radius: 4px; box-shadow: 0 24px 50px rgba(20,30,25,.25);
                  transform: rotate(-3deg); transition: transform .3s; }
.hero-cover:hover img { transform: rotate(0); }
.kicker { display: inline-block; margin: 0 0 12px; color: var(--orange); background: #fff; font-weight: 700; font-size: 14px;
          padding: 4px 12px; border-radius: 999px; }
.hero h1 { margin: 0 0 6px; font-size: clamp(32px, 4.5vw, 52px); }
.hero h1 a { text-decoration: none; color: inherit; }
.by { margin: 0 0 18px; color: var(--muted); font-weight: 600; font-size: 18px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 24px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; border-radius: 24px; margin-bottom: 48px; }
  .hero-cover { order: -1; }
  .hero-cover img { max-height: 280px; }
}
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; }
.sec-head a { font-weight: 600; text-decoration: none; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 12px; } .grid-3 .cm { display: none; }
  .grid-3 .ct { font-size: 14px; } .grid-3 .cover { padding: 10px; border-radius: 12px; } }
section { margin-bottom: 72px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } section { margin-bottom: 48px; } }
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 30px; }
.panel h2 { margin: 0 0 14px; font-size: 22px; }
.award-in { display: flex; gap: 18px; align-items: center; }
.award-in img { width: 88px; flex: none; border-radius: 4px; box-shadow: 0 8px 18px rgba(20,30,25,.18); }
.award-in p { margin: 0; }
.news { background: var(--ink); color: #e9ece9; box-shadow: none; }
.news h2 { color: #fff; }
.news p { margin: 0 0 18px; }
.news .btn { background: var(--orange); }
.news .btn:hover { background: #fff; color: var(--ink); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); background: var(--surface);
         border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; transition: transform .2s; }
.quote:hover { transform: translateY(-3px); color: var(--ink); }
.q-book { font-family: "Rubik", sans-serif; font-weight: 700; font-size: 19px; }
.q-award { font-weight: 700; color: var(--orange); font-size: 14px; }
.q-text { font-size: 15px; color: var(--muted); }

/* prose pages */
.prose { max-width: 720px; font-size: 18px; }
.prose ul { padding: 0; list-style: none; display: grid; gap: 12px; }
.prose li { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 20px; }
.prose li p { margin: 0; }
.prose h5 { font-family: "Rubik", sans-serif; font-size: 22px; margin: 32px 0 12px; }
.narrow { max-width: 620px; }
.center { text-align: center; margin: 60px auto; }
.en .prose p { margin: 0 0 1em; }
.contact-card { max-width: 560px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 30px 34px; }
.contact-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 14px 28px; margin: 0; font-size: 19px; }
.contact-card dt { color: var(--muted); }
.contact-card dd { margin: 0; font-weight: 600; }

/* footer */
.site-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; background: var(--surface); }
.foot-in { padding: 28px 20px; display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; }
.site-foot p { margin: 0; }
.site-foot a { color: var(--ink); }
.copy { margin-inline-start: auto !important; font-size: 13px; }

@media print {
  .site-head, .site-foot, .pager, .buy { display: none; }
}

/* ---------- final: original illustrations ---------- */
.site-head { position: static; display: block; padding: 0; background: var(--bg); backdrop-filter: none;
             -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); }
.site-head .banner { max-width: 1120px; margin: 0 auto; padding: 16px 20px 4px; display: flex; justify-content: center;
                     align-items: center; position: relative; }
.site-head .brand { padding: 0; }
.site-head .brand img { width: 850px; max-width: 100%; height: auto; }
.site-head .lang { position: absolute; left: 20px; top: 16px; margin: 0; }
.site-head .nav-in { max-width: 1120px; margin: 0 auto; justify-content: center; padding: 8px 20px 12px; }
@media (max-width: 860px) {
  .site-head .banner { padding: 10px 16px 0; }
  .site-head .nav-in { justify-content: flex-start; padding: 6px 12px 10px; }
}
@media (max-width: 640px) {
  .site-head .banner { justify-content: flex-start; }
  .site-head .brand img { width: 300px; }
  .site-head .lang { left: 12px; top: 10px; }
}

.page-title { display: flex; align-items: flex-end; gap: 16px; }
.title-art { height: 64px; width: auto; flex: none; }
@media (max-width: 640px) { .title-art { height: 48px; } .page-title { gap: 10px; } }
.nav-en { display: none; }
@media (max-width: 640px) {
  .site-head .lang { display: none; }
  .nav .nav-en { display: inline-block; }
}
.page-title + .contact-card { margin-top: 20px; }

/* buy buttons under catalog cards */
.card-item { display: flex; flex-direction: column; }
.card-item .card { flex: 1; }
.card-buy { align-self: flex-start; margin-top: 10px; background: var(--ink); color: #fff; text-decoration: none;
            font-weight: 700; font-size: 15px; padding: 7px 18px; border-radius: 999px; }
.card-buy:hover { background: var(--green); color: #fff; }
.card-buy.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.card-buy.alt:hover { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .card-buy { align-self: stretch; text-align: center; } }
.card-item:nth-child(3n+2) .card .cover { background: var(--peach); }
.card-item:nth-child(3n+3) .card .cover { background: #eef0fb; }

/* order popup */
.order-dlg { border: 0; border-radius: 22px; padding: 28px 28px 24px; width: min(420px, calc(100vw - 32px));
             box-shadow: 0 24px 60px rgba(20,30,25,.25); color: var(--ink); background: var(--surface); }
.order-dlg::backdrop { background: rgba(20,30,25,.45); }
.order-dlg h2 { margin: 0; font-size: 22px; }
.order-book { margin: 4px 0 20px; font-weight: 700; color: var(--green-dark); font-size: 19px; }
.order-x { position: absolute; top: 12px; left: 14px; border: 0; background: none; font-size: 28px; line-height: 1;
           cursor: pointer; color: var(--muted); padding: 4px 8px; }
.order-opts { display: grid; gap: 10px; }
.order-opts > a { display: block; text-align: center; text-decoration: none; font-weight: 700; padding: 12px; border-radius: 999px; }
.order-wa { background: #1f8a4c; color: #fff; }
.order-wa:hover { background: var(--green-dark); color: #fff; }
.order-tel { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.order-tel:hover { background: var(--ink); color: #fff; }
.order-mail { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; padding-top: 4px; }
.order-copy { border: 0; background: var(--mint); color: var(--green-dark); font: inherit; font-weight: 700; font-size: 14px;
              padding: 4px 12px; border-radius: 999px; cursor: pointer; }
.contact-cta { margin: 22px 0 0; }

/* ---------- mobile hamburger menu ---------- */
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .site-head .banner { justify-content: flex-start; padding: 10px 16px 8px 72px; min-height: 64px; }
  .site-head .brand img { width: 850px; max-width: 100%; }
  .site-head .lang { display: none; }
  .nav-toggle { display: flex; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
                width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
                border: 1px solid var(--line); background: var(--surface); border-radius: 14px; cursor: pointer; padding: 0; }
  .nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .site-head .nav { display: none; }
  .js .site-head.nav-open .nav { display: block; border-top: 1px solid var(--line); }
  .site-head .nav-in { flex-direction: column; align-items: stretch; gap: 2px; overflow: visible; padding: 8px 12px 14px; }
  .site-head .nav a { display: block; background: none; border: 0; border-radius: 12px; padding: 12px 16px; font-size: 17px; }
  .site-head .nav a[aria-current] { background: var(--mint); color: var(--green-dark); border: 0; }
  .site-head .nav .nav-en { display: block; }
}
@media (max-width: 640px) { .site-head .brand img { width: 300px; } }
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }
