:root {
  --ink: #385e68;
  --ink-soft: #58737a;
  --text: #4f6268;
  --muted: #81969d;
  --coral: #eb7f72;
  --coral-dark: #db7065;
  --pink: #fde9e5;
  --blue: #eaf4f9;
  --paper: #ffffff;
  --soft: #f6fbfd;
  --line: #edf1f3;
  --shadow: 0 22px 55px rgba(82, 110, 122, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.narrow { width: min(760px, calc(100% - 40px)); text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(235,241,244,.85);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}
.logo img {
  width: 250px;
  max-width: 100%;
  height: auto;
  flex: 0 0 auto;
}
.main-nav {
  margin-left: auto;
  display: flex;
  gap: 31px;
  align-items: center;
  font-size: 14px;
  color: #687d83;
}
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--coral); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #f09a8e);
  box-shadow: 0 12px 25px rgba(235, 127, 114, .28);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(235,127,114,.35); }
.btn:active { transform: translateY(0); }
.btn-large { min-height: 58px; padding-inline: 34px; }
.btn-outline {
  color: var(--coral-dark);
  background: transparent;
  border: 1px solid rgba(235, 127, 114, .45);
  box-shadow: none;
}
.btn-outline:hover { background: #fff4f2; box-shadow: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
}

.section-soft {
  background:
    radial-gradient(circle at 12% 20%, rgba(215,235,245,.85), transparent 24%),
    radial-gradient(circle at 90% 75%, rgba(255,221,214,.75), transparent 26%),
    var(--soft);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 535px;
  display: flex;
  align-items: center;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 430px;
  height: 250px;
  background: rgba(255, 202, 193, .72);
  transform: rotate(-15deg);
  border-radius: 55px;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 58px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.1;
}
h1 {
  max-width: 640px;
  font-size: clamp(43px, 6vw, 74px);
  letter-spacing: -.04em;
}
h1 span { color: #db8c86; }
.lead {
  max-width: 470px;
  margin: 28px 0 32px;
  color: #526a71;
  font-size: 18px;
  line-height: 1.75;
}
.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
  isolation: isolate;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 14% -8% -10% 12%;
  z-index: -1;
  background: linear-gradient(135deg, rgba(244,251,253,.6), rgba(230,242,248,.96));
  border-radius: 52% 48% 46% 54% / 44% 50% 50% 56%;
}
.hero-art img {
  width: 100%;
  aspect-ratio: 1 / .86;
  object-fit: cover;
  object-position: center;
  border-radius: 46% 54% 45% 55% / 52% 38% 62% 48%;
  box-shadow: var(--shadow);
}

.services { padding: 74px 0 82px; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title.left { text-align: left; margin-bottom: 24px; }
.section-title h2 { font-size: clamp(32px, 4.4vw, 45px); letter-spacing: -.03em; }
.section-title span {
  display: inline-block;
  width: 72px;
  height: 2px;
  margin-top: 16px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  position: relative;
}
.section-title span::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  transform: translateX(-50%);
}
.cards { display: grid; gap: 28px; }
.help-cards { grid-template-columns: repeat(4, 1fr); }
.help-card {
  text-align: center;
  padding: 10px 18px 0;
}
.icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  font-size: 42px;
  box-shadow: inset 0 -10px 22px rgba(255,255,255,.58);
}
.icon-blue { background: var(--blue); }
.icon-pink { background: var(--pink); color: #d68b84; }
.help-card h3,
.format-card h3 { font-size: 22px; margin-bottom: 11px; }
.help-card p,
.format-card p { margin: 0; font-size: 15px; color: #667b81; }

.about {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: center;
}
.about-text p {
  max-width: 480px;
  margin: 0 0 22px;
  font-size: 17px;
}
.about-text .btn { margin-top: 10px; }
.about-photo {
  justify-self: center;
  width: min(100%, 570px);
  position: relative;
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: -32px -34px -32px -54px;
  z-index: 0;
  background: linear-gradient(130deg, rgba(218,239,248,.86), rgba(247,252,254,.94));
  border-radius: 46% 54% 52% 48% / 50% 43% 57% 50%;
}
.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 43% 57% 45% 55% / 48% 45% 55% 52%;
  box-shadow: var(--shadow);
}
.approach { padding: 72px 0; }
.approach p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 18px;
  color: #5d7379;
}
.formats { padding: 72px 0 80px; }
.format-cards { grid-template-columns: repeat(3, 1fr); }
.format-card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 150px;
  padding: 28px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 35px rgba(70, 98, 110, .08);
}
.format-icon {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--ink);
  font-size: 40px;
}
.format-icon.pink { background: var(--pink); color: #d68b84; }

.cta {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(253,232,228,.92), transparent 24%),
    radial-gradient(circle at 91% 55%, rgba(222,240,248,.85), transparent 30%),
    #fbfdfe;
}
.cta-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr .62fr;
  gap: 34px;
  align-items: center;
}
.cta h2 { font-size: clamp(34px, 4.6vw, 50px); letter-spacing: -.03em; }
.cta p { margin: 24px 0 30px; font-size: 17px; }
.contact-form {
  padding: 28px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 15px;
  border: 1px solid #dde8ed;
  border-radius: 14px;
  outline: none;
  color: #3e555c;
  background: #fff;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(235,127,114,.8);
  box-shadow: 0 0 0 4px rgba(235,127,114,.12);
}
.contact-form .btn { width: 100%; }
.form-note {
  margin: 13px 0 0;
  color: #8a9ba1;
  font-size: 12px;
  line-height: 1.45;
}
.contacts {
  display: grid;
  gap: 17px;
  font-style: normal;
  color: #60757b;
}
.contacts a,
.contacts span {
  position: relative;
  padding-left: 36px;
}
.contacts a:nth-child(1)::before { content: "☎"; }
.contacts a:nth-child(2)::before { content: "✉"; }
.contacts a:nth-child(3)::before { content: "◉"; }
.contacts span::before { content: "⌖"; }
.contacts a::before,
.contacts span::before {
  position: absolute;
  left: 0;
  color: var(--ink);
}
.contacts a:hover { color: var(--coral-dark); }

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #83949a;
  font-size: 14px;
}
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--ink); }

.leaf {
  position: absolute;
  opacity: .38;
  pointer-events: none;
}
.leaf::before,
.leaf::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(98,139,150,.5);
  border-left: 0;
  border-bottom: 0;
  border-radius: 70% 0 70% 0;
  transform: rotate(-35deg);
}
.leaf-left { left: 20px; bottom: 25px; width: 180px; height: 220px; }
.leaf-left::before { width: 78px; height: 132px; left: 40px; top: 20px; }
.leaf-left::after { width: 88px; height: 150px; left: 72px; top: 52px; border-color: rgba(235,127,114,.36); }
.leaf-about { left: -26px; bottom: 22px; width: 130px; height: 170px; }
.leaf-about::before { width: 62px; height: 104px; left: 22px; top: 24px; border-color: rgba(235,127,114,.33); }
.leaf-about::after { display: none; }
.leaf-cta { right: 54px; bottom: 24px; width: 160px; height: 210px; }
.leaf-cta::before { width: 75px; height: 140px; left: 42px; top: 18px; }
.leaf-cta::after { width: 78px; height: 135px; left: 16px; top: 54px; border-color: rgba(98,139,150,.36); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .header-inner { gap: 16px; }
  .nav-toggle { display: block; }
  .header-btn { display: none; }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 18px 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .hero-grid,
  .about-grid,
  .cta-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-grid { padding-top: 52px; }
  .hero-art { max-width: 520px; }
  .help-cards { grid-template-columns: repeat(2, 1fr); }
  .format-cards { grid-template-columns: 1fr; }
  .cta-grid { gap: 28px; }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .logo img { width: 220px; max-width: calc(100vw - 110px); }
  h1 { font-size: 42px; }
  .lead { font-size: 16px; }
  .btn { width: 100%; }
  .hero-grid { gap: 30px; padding-bottom: 46px; }
  .services, .about, .formats, .cta { padding: 56px 0; }
  .help-cards { grid-template-columns: 1fr; gap: 36px; }
  .help-card { padding-inline: 0; }
  .about-photo img { height: 285px; }
  .format-card { align-items: flex-start; padding: 24px; }
  .contacts { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; padding: 20px 0; }
}
