/* Little Voices Studio – palette "Inkt & zegel" (ink, rice paper, seal red, jade, gold) */
:root {
  --ink: #1f2a44;          /* headings, dark sections */
  --paper: #faf6ee;        /* page background (rice paper) */
  --paper-deep: #f2eadb;   /* soft tinted areas */
  --red: #b83f28;          /* seal red: buttons and highlights */
  --red-dark: #96321f;
  --jade: #3a8f7b;         /* accent, close to the logo colour */
  --jade-dark: #2c6f5f;
  --gold: #e9b44c;         /* small playful details */
  --text: #2b3245;
  --muted: #646a78;
  --line: #e6dccb;
  --radius: 18px;
  --font: "Nunito", "Quicksand", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--jade-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }

.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250,246,238,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand img { height: 84px; width: auto; object-fit: contain; }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a { text-decoration: none; color: var(--ink); font-weight: 700; }
.nav nav a:not(.btn):hover { color: var(--red); }

/* Buttons */
.btn { display: inline-block; background: var(--red); color: #fff !important; text-decoration: none; font-weight: 800; font-family: inherit; font-size: 1rem;
       padding: 14px 26px; border-radius: 999px; border: 2px solid var(--red); cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn:focus-visible, .refresh:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-small { padding: 8px 18px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff !important; border-color: var(--ink); }
.btn-block { width: 100%; margin-top: 22px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--paper-deep) 0%, var(--paper) 75%); padding: 80px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; color: var(--red); margin: 0 0 12px; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h1 span { color: var(--jade); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-art { position: relative; height: 430px; display: grid; place-items: center; }
.portrait { position: relative; z-index: 1; margin: 0; width: 330px; }
.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 50%; background: var(--jade); opacity: .9; z-index: -1; }
.portrait img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 35%; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 18px 40px rgba(31,42,68,.18); }
.hanzi { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; font-size: 260px; font-weight: 700; color: var(--red); opacity: .07; line-height: 1; }
.bubble { position: absolute; z-index: 2; background: #fff; color: var(--ink); font-weight: 700; font-size: 1.5rem; padding: 14px 24px; border-radius: 22px;
          box-shadow: 0 10px 30px rgba(31,42,68,.12); animation: float 6s ease-in-out infinite; }
.bubble::after { content: ""; position: absolute; bottom: -10px; left: 24px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.b1 { top: 30px; left: 2%; background: var(--red); color: #fff; }
.b1::after { border-top-color: var(--red); }
.b2 { top: 170px; right: -6px; animation-delay: -2s; }
.b3 { bottom: 20px; left: 4%; animation-delay: -4s; border: 3px solid var(--gold); }
.b3::after { border-top-color: var(--gold); bottom: -13px; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } html { scroll-behavior: auto; } }

/* About */
.about { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; max-width: 860px; }
.about p { font-size: 1.08rem; }
.seal { width: 96px; height: 96px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 700;
        letter-spacing: .05em; transform: rotate(-6deg); box-shadow: inset 0 0 0 4px var(--red), inset 0 0 0 6px rgba(255,255,255,.8); margin-top: 8px; }
.signature { font-weight: 800; color: var(--ink); margin-top: 18px; }
.signature span { color: var(--red); }

/* Sections */
.section { padding: 84px 0; }
.section-tint { background: var(--ink); color: #e3e6ee; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); text-align: center; font-weight: 800; }
.section-title.left { text-align: left; }
.section-intro { text-align: center; color: var(--muted); max-width: 36em; margin: 0 auto 44px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: 0 6px 24px rgba(31,42,68,.05); }
.card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; color: #fff; margin-bottom: 18px; }
.card-icon.red { background: var(--red); }
.card-icon.ink { background: var(--ink); }
.card ul { padding: 0; margin: 16px 0 0; list-style: none; }
.card li { padding-left: 26px; position: relative; margin: 8px 0; }
.card li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.feature h3 { color: #fff; font-size: 1.2rem; }
.feature p { margin: 0; }
.feature-num { display: inline-block; font-size: 1.6rem; font-weight: 800; color: var(--gold); margin-bottom: 10px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: s; position: relative; padding: 26px 26px 26px 84px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 24px; top: 24px; width: 42px; height: 42px; border-radius: 50%;
                    background: var(--jade); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.2rem; }
.steps strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.steps span { color: var(--muted); }

/* Contact */
.contact { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.hello { font-size: 2rem; font-weight: 700; color: var(--red); margin: 28px 0 0; }
.small { color: var(--muted); }

.form-card { background: #fff; border-radius: 22px; padding: 36px; box-shadow: 0 16px 50px rgba(31,42,68,.12); }
label { display: block; font-weight: 700; color: var(--ink); margin: 18px 0 6px; }
label:first-of-type { margin-top: 0; }
.req { color: #c4462f; }
.opt { font-weight: 400; color: var(--muted); font-size: .9em; }
input[type=text], input[type=email], textarea {
  width: 100%; font: inherit; color: var(--text); padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fffdf9; transition: border-color .2s;
}
input:focus, textarea:focus { border-color: var(--jade); background: #fff; outline: none; }
textarea { resize: vertical; min-height: 120px; }
[aria-invalid="true"] { border-color: #c4462f !important; }
.field-error { color: #b23a26; font-size: .9rem; margin: 6px 0 0; }

.captcha-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.captcha-row img { border-radius: 10px; border: 2px solid var(--line); }
.captcha-row input { flex: 1; min-width: 140px; text-transform: uppercase; letter-spacing: .15em; }
.refresh { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.refresh:hover { border-color: var(--red); color: var(--red); }
.cf-turnstile { margin-top: 18px; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; }
.alert.success { background: #e3f5ef; color: #1d6b55; border: 1px solid #b6e2d3; }
.alert.error { background: #fdecea; color: #9b2c1c; border: 1px solid #f4c2ba; }
.privacy { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d4e2; padding: 28px 0; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid, .contact-grid, .cards, .features, .steps { grid-template-columns: 1fr; }
  .hero-art { height: 340px; }
  .portrait { width: 250px; }
  .hanzi { font-size: 180px; }
  .about-inner { grid-template-columns: 1fr; gap: 20px; }
  .seal { width: 72px; height: 72px; font-size: 1.5rem; }
  .bubble { font-size: 1.2rem; }
  .section { padding: 60px 0; }
  .nav nav a:not(.btn) { display: none; }
  .form-card { padding: 24px; }
}
@media (max-width: 860px) {
  .nav { height: 76px; }
  .brand img { height: 64px; }
}
