@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/manrope-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/manrope-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/manrope-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-700.ttf) format('truetype');
}

html { scroll-behavior: smooth; } body { margin: 0; } .ahf-page p { margin-top: 0; }

  .ahf-page {
    --ahf-brown: #43291f;
    --ahf-copper: #a85f2c;
    --ahf-gold: #d49a50;
    --ahf-cream: #fff8ed;
    --ahf-sand: #f2dfc7;
    --ahf-ink: #2b211d;
    --ahf-muted: #6c5d55;
    --ahf-white: #ffffff;
    color: var(--ahf-ink);
    background: var(--ahf-white);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    overflow: hidden;
  }

  .ahf-page *,
  .ahf-page *::before,
  .ahf-page *::after {
    box-sizing: border-box;
  }

  .ahf-page img {
    display: block;
    max-width: 100%;
  }

  .ahf-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
  }

  .ahf-section {
    padding: 76px 0;
  }

  .ahf-section--soft {
    background: var(--ahf-cream);
  }

  .ahf-eyebrow {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 16px;
    color: var(--ahf-copper);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  .ahf-eyebrow::before {
    width: 30px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .ahf-title,
  .ahf-heading,
  .ahf-subheading {
    margin-top: 0;
    color: var(--ahf-brown);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.06;
  }

  .ahf-title {
    max-width: 850px;
    margin-bottom: 22px;
    font-size: clamp(40px, 5.2vw, 68px);
  }

  .ahf-heading {
    margin-bottom: 18px;
    font-size: clamp(32px, 4vw, 48px);
  }

  .ahf-subheading {
    margin-bottom: 12px;
    font-size: 26px;
  }

  .ahf-lead {
    max-width: 760px;
    margin: 0 0 30px;
    font-size: clamp(19px, 2.2vw, 24px);
    line-height: 1.5;
  }

  .ahf-note {
    color: var(--ahf-muted);
    font-size: 14px;
  }

  .ahf-hero {
    position: relative;
    background:
      radial-gradient(circle at 12% 20%, rgba(212,154,80,.20), transparent 25%),
      radial-gradient(circle at 88% 70%, rgba(168,95,44,.12), transparent 24%),
      linear-gradient(135deg, #fffdf8 0%, #f2e4d3 100%);
  }

  .ahf-hero::before {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(168,95,44,.18);
    border-radius: 30px;
    content: "";
    pointer-events: none;
  }

  .ahf-hero__content {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 40px));
    min-height: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
    gap: 56px;
    align-items: center;
    padding: 82px 0 70px;
  }

  .ahf-hero__copy {
    max-width: 660px;
  }

  .ahf-hero__visual {
    position: relative;
  }

  .ahf-hero__image {
    width: 100%;
    min-height: 560px;
    border-radius: 34px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 34px 90px rgba(67,41,31,.22);
  }

  .ahf-hero__proof {
    position: absolute;
    right: -12px;
    bottom: 28px;
    width: min(330px, 76%);
    padding: 20px 22px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: rgba(67,41,31,.94);
    box-shadow: 0 18px 46px rgba(67,41,31,.18);
    backdrop-filter: blur(12px);
  }

  .ahf-hero__proof strong {
    display: block;
    color: var(--ahf-white);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.02em;
  }

  .ahf-hero__proof span {
    color: rgba(255,255,255,.72);
    font-size: 14px;
  }

  .ahf-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 34px;
  }

  .ahf-pill {
    padding: 8px 14px;
    border: 1px solid rgba(168,95,44,.25);
    border-radius: 9px;
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(8px);
    font-size: 14px;
  }

  .ahf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .ahf-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid var(--ahf-copper);
    border-radius: 10px;
    background: var(--ahf-copper);
    color: var(--ahf-white) !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease;
  }

  .ahf-button:hover {
    background: #8e4b20;
    transform: translateY(-2px);
  }

  .ahf-button--light {
    border-color: rgba(67,41,31,.28);
    background: transparent;
    color: var(--ahf-brown) !important;
  }

  .ahf-button--light:hover {
    background: rgba(255,255,255,.62);
  }

  .ahf-intro-grid,
  .ahf-parent-grid,
  .ahf-final-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
  }

  .ahf-feature-image {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(67,41,31,.16);
  }

  .ahf-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
  }

  .ahf-scenarios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 34px;
  }

  .ahf-scenario {
    min-height: 230px;
    padding: 26px;
    border: 1px solid #eadac8;
    border-radius: 18px;
    background: var(--ahf-white);
    box-shadow: 0 14px 34px rgba(67,41,31,.06);
    transition: transform .22s ease, box-shadow .22s ease;
  }

  .ahf-scenario:hover {
    box-shadow: 0 22px 46px rgba(67,41,31,.11);
    transform: translateY(-5px);
  }

  .ahf-scenario__number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ahf-brown);
    color: var(--ahf-white);
    font-size: 13px;
    font-weight: 700;
  }

  .ahf-scenario p {
    margin-bottom: 0;
    color: var(--ahf-muted);
    font-size: 15px;
  }

  .ahf-fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 34px;
  }

  .ahf-fit-card {
    padding: 30px;
    border: 1px solid #eadac8;
    border-radius: 18px;
    background: var(--ahf-white);
  }

  .ahf-fit-card--muted {
    background: #f7f2ec;
  }

  .ahf-fit-card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }

  .ahf-fit-card li {
    position: relative;
    margin: 11px 0;
    padding-left: 28px;
  }

  .ahf-fit-card li::before {
    position: absolute;
    left: 0;
    color: var(--ahf-copper);
    content: "✓";
    font-weight: 700;
  }

  .ahf-fit-card--muted li::before {
    content: "—";
  }

  .ahf-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 34px;
    counter-reset: ahf-step;
  }

  .ahf-process__step {
    position: relative;
    padding: 58px 26px 0 0;
    counter-increment: ahf-step;
  }

  .ahf-process__step::before {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ahf-copper);
    color: var(--ahf-white);
    content: counter(ahf-step);
    font-weight: 700;
  }

  .ahf-process__step:not(:last-child)::after {
    position: absolute;
    top: 20px;
    left: 52px;
    width: calc(100% - 66px);
    height: 1px;
    background: #d9b994;
    content: "";
  }

  .ahf-process__step strong {
    display: block;
    margin-bottom: 7px;
    color: var(--ahf-brown);
  }

  .ahf-process__step p {
    margin: 0;
    color: var(--ahf-muted);
    font-size: 15px;
  }

  .ahf-form-wrap {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 54px;
    align-items: start;
  }

  .ahf-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 30px;
    border: 1px solid #eadac8;
    border-radius: 20px;
    background: var(--ahf-white);
    box-shadow: 0 18px 50px rgba(67,41,31,.08);
  }

  .ahf-field {
    display: grid;
    gap: 7px;
  }

  .ahf-field--full {
    grid-column: 1 / -1;
  }

  .ahf-field label {
    color: var(--ahf-brown);
    font-size: 14px;
    font-weight: 700;
  }

  .ahf-field input,
  .ahf-field select,
  .ahf-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d8c7b5;
    border-radius: 8px;
    background: #fffdf9;
    color: var(--ahf-ink);
    font: inherit;
    font-size: 15px;
  }

  .ahf-field textarea {
    min-height: 100px;
    resize: vertical;
  }

  .ahf-consent {
    grid-column: 1 / -1;
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: var(--ahf-muted);
    font-size: 13px;
  }

  .ahf-consent input {
    margin-top: 4px;
  }

  .ahf-form .ahf-button {
    grid-column: 1 / -1;
    width: 100%;
    border: 0;
    cursor: pointer;
  }

  .ahf-benefit,
  .ahf-card,
  .ahf-parent,
  .ahf-faq details {
    border: 1px solid #eadac8;
    border-radius: 20px;
    background: var(--ahf-white);
  }

  .ahf-benefit {
    padding: 24px;
    box-shadow: 0 12px 32px rgba(67,41,31,.05);
  }

  .ahf-benefit strong {
    display: block;
    margin-bottom: 7px;
    color: var(--ahf-brown);
    font-size: 18px;
  }

  .ahf-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 34px;
  }

  .ahf-card {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(67,41,31,.08);
  }

  .ahf-card__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--ahf-sand);
  }

  .ahf-card__body {
    padding: 24px;
  }

  .ahf-status {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e9f5e8;
    color: #256c2d;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .ahf-demo-label {
    display: inline-flex;
    margin-top: 16px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f7ead8;
    color: var(--ahf-muted);
    font-size: 13px;
  }

  .ahf-card__meta {
    margin: 0 0 16px;
    color: var(--ahf-muted);
    font-size: 15px;
  }

  .ahf-card__text {
    min-height: 78px;
    margin: 0 0 20px;
  }

  .ahf-parent-grid {
    align-items: stretch;
  }

  .ahf-parent {
    padding: 30px;
  }

  .ahf-parent ul,
  .ahf-checklist {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }

  .ahf-parent li,
  .ahf-checklist li {
    position: relative;
    margin: 9px 0;
    padding-left: 27px;
  }

  .ahf-parent li::before,
  .ahf-checklist li::before {
    position: absolute;
    left: 0;
    color: var(--ahf-copper);
    content: "✓";
    font-weight: 700;
  }

  .ahf-parent-poster {
    width: min(100%, 760px);
    margin: 36px auto 0;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(67,41,31,.17);
  }

  .ahf-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  .ahf-faq {
    display: grid;
    gap: 12px;
    max-width: 900px;
    margin-top: 30px;
  }

  .ahf-faq details {
    padding: 0 22px;
  }

  .ahf-faq summary {
    padding: 19px 0;
    color: var(--ahf-brown);
    cursor: pointer;
    font-weight: 700;
  }

  .ahf-faq details p {
    margin: 0 0 20px;
  }

  .ahf-final {
    background: var(--ahf-brown);
    color: var(--ahf-white);
  }

  .ahf-final .ahf-heading,
  .ahf-final .ahf-eyebrow {
    color: var(--ahf-white);
  }

  .ahf-final .ahf-button--light {
    border-color: rgba(255,255,255,.55);
    color: var(--ahf-white) !important;
  }

  .ahf-final .ahf-button--light:hover {
    background: rgba(255,255,255,.12);
  }

  .ahf-contact-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    background: rgba(255,255,255,.08);
  }

  .ahf-contact-card a {
    color: var(--ahf-white);
  }

  @media (max-width: 1180px) and (min-width: 901px) {
    .ahf-hero__content {
      grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
      gap: 34px;
    }

    .ahf-title {
      font-size: 48px;
    }

    .ahf-hero__image {
      min-height: 520px;
    }
  }

  @media (max-width: 900px) {
    .ahf-benefits,
    .ahf-cards,
    .ahf-scenarios {
      grid-template-columns: repeat(2, 1fr);
    }

    .ahf-intro-grid,
    .ahf-parent-grid,
    .ahf-final-grid,
    .ahf-form-wrap {
      grid-template-columns: 1fr;
    }

    .ahf-process {
      grid-template-columns: repeat(2, 1fr);
      gap: 28px 16px;
    }

    .ahf-process__step::after {
      display: none;
    }

    .ahf-hero__content {
      min-height: auto;
      grid-template-columns: 1fr;
      padding-top: 92px;
    }

    .ahf-hero__copy {
      max-width: 780px;
    }

    .ahf-hero__image {
      min-height: 480px;
      border-radius: 28px;
    }
  }

  @media (max-width: 640px) {
    .ahf-container,
    .ahf-hero__content {
      width: min(100% - 28px, 1180px);
    }

    .ahf-section {
      padding: 54px 0;
    }

    .ahf-hero::before {
      inset: 10px;
      border-radius: 18px;
    }

    .ahf-hero__content {
      gap: 32px;
      padding: 70px 0 40px;
    }

    .ahf-hero__image {
      min-height: 360px;
      border-radius: 24px;
    }

    .ahf-hero__proof {
      position: relative;
      right: auto;
      bottom: auto;
      width: calc(100% - 24px);
      margin: -42px auto 0;
    }

    .ahf-benefits,
    .ahf-cards,
    .ahf-columns,
    .ahf-scenarios,
    .ahf-fit-grid,
    .ahf-process,
    .ahf-form {
      grid-template-columns: 1fr;
    }

    .ahf-button {
      width: 100%;
    }

    .ahf-card__text {
      min-height: auto;
    }
  }

.ahf-inline-1 { margin-top:18px }

.ahf-inline-2 { object-position:left center }

.ahf-inline-3 { object-position:center }

.ahf-inline-4 { object-position:right center }

.ahf-inline-5 { color:rgba(255,255,255,.72) }

.ahf-benefit p { margin: 0; }
.ahf-page .ah-photo-open { display: block; min-width: 0; color: inherit; text-decoration: none; }

.ahf-page .ah-managed-link.ah-link-empty { display: none; }
.ah-link-help { display: none; }
.ahf-contact-links { margin-top: 24px; }
.ahf-footer { padding: 24px 20px; background: #43291f; text-align: center; font-size: 14px; }
.ahf-footer a { color: #fff8ed; }
.ah-policy-nav, .ah-policy, .ah-footer { max-width: 900px; margin: auto; padding: 24px; font: 17px/1.65 Manrope, Arial, sans-serif; color: #43291f; }
.ah-policy h1 { font-size: clamp(28px,4vw,44px); line-height: 1.2; }
.ah-policy h2 { font-size: 26px; line-height: 1.3; }
.ah-policy section { margin-top: 32px; }
.ah-policy p { overflow-wrap: anywhere; }
.ah-policy a, .ah-policy-nav a, .ah-footer a { color: #a85f2c; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ahf-page * { transition: none !important; } }
.ah-lightbox {
  box-sizing: border-box;
  width: min(1100px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 52px 8px 16px;
  border: 0;
  border-radius: 12px;
  background: #211a14;
  color: #fbf7f0;
  overflow: auto;
  font: 16px/1.4 Arial, sans-serif;
}
.ah-lightbox::backdrop { background: #17100bee; }
.ah-lightbox button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff44;
  border-radius: 8px;
  background: #ffffff0a;
  color: #fbf7f0;
  font: 32px/1 Arial, sans-serif;
  cursor: pointer;
}
.ah-lightbox button[hidden] { display: none; }
.ah-lightbox button:focus-visible { outline: 2px solid #b87936; outline-offset: 3px; }
.ah-lightbox-close { position: absolute; top: 8px; right: 12px; }
.ah-lightbox-stage { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; align-items: center; }
.ah-lightbox-stage figure { grid-column: 2; min-width: 0; margin: 0; text-align: center; }
.ah-lightbox-stage [data-photo-step="-1"] { grid-column: 1; grid-row: 1; }
.ah-lightbox-stage [data-photo-step="1"] { grid-column: 3; grid-row: 1; }
.ah-lightbox-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 190px); margin: auto; object-fit: contain; }
.ah-lightbox figcaption { margin: 12px 0 0; font: 16px/1.4 Arial, sans-serif; overflow-wrap: anywhere; }
.ah-lightbox-position { margin: 6px 0 0; font-size: 13px; color: #cfbeaa; }
@media (max-width: 767px) {
  .ah.ah-social .ah-social-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ah-lightbox-stage { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 4px; }
  .ah-lightbox-stage button { width: 28px; height: 38px; }
  .ah-lightbox figcaption { font-size: 14px; }
}

/* Ссылки без адреса видны только владельцу в режиме редактирования. */

.ahf-page img { height: auto; }

/* Individual portraits appear as they are uploaded. */
.ahf-cards { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.ahf-card__body { padding: 20px; }
.ahf-card .ahf-button { width: 100%; padding: 13px 10px; font-size: 14px; }
.ahf-photo-slot { position: relative; overflow: hidden; }
.ahf-photo-slot .ah-photo-open { display: block; }
.ahf-photo-slot--hero, .ahf-photo-slot--intro { border-radius: 30px; }
.ahf-photo-slot--hero { box-shadow: 0 24px 60px rgba(67,41,31,.12); }
.ahf-photo-placeholder { display: none; }
.ahf-photo-slot.is-empty { background: radial-gradient(ellipse at top,#fffdf8,#eee0ce); }
.ahf-photo-slot.is-empty img { opacity: 0; }
.ahf-photo-slot.is-empty .ahf-photo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 26px; text-align: center; color: var(--ahf-brown); pointer-events: none; }
.ahf-photo-placeholder strong { font-family: Georgia,serif; font-size: clamp(26px,3vw,40px); font-weight: 400; }
.ahf-photo-placeholder p { max-width: 300px; margin: 0; color: var(--ahf-muted); }
.ahf-newborn-mark { font: 120px/1 Georgia,serif; color: #a85f2c; opacity: .35; }
.ahf-newborn-number { font: 76px/1 Georgia,serif; color: #a85f2c; opacity: .45; }
.ahf-photo-slot--puppy .ahf-photo-placeholder { font-size: 14px; }
.ahf-photo-slot--puppy img { height: auto; aspect-ratio: 4 / 5; }
.ahf-photo-slot--intro img { height: auto; aspect-ratio: 1; }
body:not(.ah-editing) .ahf-optional:empty { display: none; }
body:not(.ah-editing) .ahf-photo-slot.is-empty .ah-photo-open { pointer-events: none; }
.ah-editing .ahf-photo-slot.is-empty .ahf-photo-placeholder [data-edit] { pointer-events: auto; }
@media (max-width: 1000px) { .ahf-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) { .ahf-cards { gap: 12px; } .ahf-card__body { padding: 14px 10px; } .ahf-card .ahf-subheading { font-size: 18px; } .ahf-photo-slot--puppy .ahf-photo-placeholder { padding: 12px; font-size: 12px; } .ahf-newborn-number { font-size: 60px; } .ahf-card .ahf-button { font-size: 12px; } }
