/* Главная planmera.com: тот же стиль, что у брифа (Cormorant Garamond + Inter, тёплый беж, акцент #C4A882). */
:root {
  --black: #1A1A1A; --white: #fff; --warm: #F7F3EE; --accent: #C4A882; --accent-ink: #8C6F4B;
  --muted: #6F6F68; --border: #E8E4DF;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--black); font: 300 16px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.bar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.bar-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: block; flex: none; text-decoration: none; }
.logo img { height: 30px; width: auto; }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a, .lang { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.menu a:hover, .lang:hover { color: var(--black); }
.lang { border: 1px solid var(--border); padding: 6px 10px; }

.btn { display: inline-block; padding: 15px 30px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--black); transition: background .2s, color .2s, border-color .2s; text-align: center; }
.btn.primary { background: var(--black); color: var(--white); }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.btn.light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn.light:hover { background: var(--accent); border-color: var(--accent); }
.btn.sm { padding: 10px 16px; font-size: 11px; }
.btn .short { display: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.kicker { text-transform: uppercase; letter-spacing: .22em; font-size: 11px; color: var(--muted); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; margin-bottom: 36px; }
h3 { font-size: 26px; font-weight: 400; line-height: 1.2; }
.lead { font-size: 18px; color: var(--muted); max-width: 52ch; margin: 22px 0 0; }

.hero { padding: 64px 0 80px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.price { font-family: var(--serif); font-size: 24px; line-height: 1.3; max-width: 30ch; margin: 22px 0 0; }
.note { font-size: 14px; color: var(--muted); max-width: 48ch; margin: 16px 0 0; }
.hero-img { margin: 0; position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--warm); }
.hero-img img, .hero-img canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* hero.js: эскиз в линиях, поверх него кисть проявляет настоящую картинку на холсте (canvas) */
.hero-img .sketch { display: none; }
.hero-anim .hero-img .sketch { display: block; }
.hero-anim .hero-img .real { opacity: 0; }
.hero-anim .hero-img.revealed .real { opacity: 1; }

.block { padding: 88px 0; border-top: 1px solid var(--border); }
.block.warm { background: var(--warm); border-top: 0; }
.block.dark { background: var(--black); color: var(--white); border-top: 0; }
.block.dark p { color: #CFCAC2; max-width: 56ch; margin: 0; font-size: 17px; }
.block.dark h2 { margin-bottom: 16px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 20px; }
.card p { color: var(--muted); margin: 10px 0 0; }

.grid4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.grid4 li { border-top: 1px solid var(--accent); padding-top: 20px; }
.grid4 p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 0 0 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.steps .n { display: block; font-family: var(--serif); font-size: 46px; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

.split { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.split > div { flex: 1 1 420px; }
#contacts .btn { margin-top: 30px; }
.contacts { font-style: normal; display: flex; flex-direction: column; gap: 8px; min-width: 260px; }
.contacts .big { font-family: var(--serif); font-size: 30px; text-decoration: none; }
.contacts .big:hover { color: var(--accent-ink); }
.contacts span { color: var(--muted); }

/* Плавающая кнопка WhatsApp: только на телефоне, на компьютере есть кнопка в первом экране и контакты */
.wa-float { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 20; width: 56px; height: 56px; border-radius: 50%;
  background: var(--black); color: var(--white); align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.wa-float:hover { background: var(--accent-ink); }

.foot { border-top: 1px solid var(--border); padding: 28px 0; font-size: 13px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

@media (max-width: 980px) {
  .menu { display: none; }
  .lang { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-img { aspect-ratio: 3/2; }
  .cards { grid-template-columns: 1fr 1fr; }
  .grid4, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .bar-in { gap: 12px; height: 60px; }
  .logo img { height: 24px; }
  .btn .long { display: none; } .btn .short { display: inline; }
  .hero { padding: 36px 0 56px; }
  .cta-row .btn { flex: 1 1 100%; }
  .block { padding: 60px 0; }
  .cards, .grid4, .steps { grid-template-columns: 1fr; }
  .contacts .big { font-size: 24px; }
  .price { font-size: 21px; }
  .wa-float { display: flex; }
  .foot { padding-bottom: 88px; }  /* чтобы плавающая кнопка не закрывала подвал */
}

/* Плавающая кнопка и окно «Свяжитесь со мной» (landing/contact.js). На телефоне кнопка левее круглой WhatsApp. */
.contact-float { position: fixed; right: 24px; bottom: 24px; z-index: 20; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 22px; border: 0; border-radius: 26px; background: var(--black); color: var(--white); cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.contact-float:hover { background: var(--accent-ink); }
.contact-float:focus-visible, .contact button:focus-visible, .contact input:focus-visible, .contact textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 36px 32px 32px; border: 0; background: var(--white);
  color: var(--black); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.contact::backdrop { background: rgba(26,26,26,.55); }
.contact h2 { font-size: 34px; line-height: 1.1; padding-right: 32px; }
.contact-lead { color: var(--muted); margin: 12px 0 22px; font-size: 15px; }
.contact-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1;
  color: var(--muted); cursor: pointer; }
.contact-x:hover { color: var(--black); }
.contact-form label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.contact-form input:not([type=radio]), .contact-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--border); background: var(--white); font: 300 16px/1.4 var(--sans); color: var(--black); border-radius: 0; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); outline: 0; }
.contact-ways { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-ways legend { font-size: 13px; color: var(--muted); padding: 0; margin-bottom: 6px; }
.contact-ways .chip { margin: 0; position: relative; }
.contact-ways .chip input { position: absolute; opacity: 0; }
.contact-ways .chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--border); font-size: 14px; color: var(--black); cursor: pointer; }
.contact-ways .chip input:checked + span { border-color: var(--black); background: var(--black); color: var(--white); }
.contact-ways .chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.contact .captcha { margin: 4px 0 0; }
.contact-status { min-height: 1.4em; margin: 10px 0; font-size: 14px; color: #A3412F; }
.contact .btn { width: 100%; cursor: pointer; font-family: var(--sans); }
.contact .btn:disabled { opacity: .6; cursor: wait; }
@media (max-width: 620px) {
  .contact-float { right: 84px; bottom: 16px; height: 56px; border-radius: 28px; padding: 0 18px; letter-spacing: .1em; }
  .contact { padding: 30px 20px 22px; }
  .contact h2 { font-size: 28px; }
}
@media (max-width: 340px) { .contact-float span { display: none; } .contact-float { padding: 0 19px; } }
