/*
 * Elena Doroshenko 4.3 Final
 * Strong editorial art-direction restoration + unique live photography.
 * Loaded after all previous layers.
 */

body.ed-signature-v430 {
  --ed43-navy: #082c52;
  --ed43-navy-deep: #051e39;
  --ed43-blue: #dce8ee;
  --ed43-blue-strong: #c8dde7;
  --ed43-paper: #fffaf1;
  --ed43-cream: #f3eadc;
  --ed43-gold: #c99b57;
  --ed43-gold-light: #efd49f;
  --ed43-teal: #2e7474;
  --ed43-ink: #123755;
}

/* ---------- Header ---------- */
body.ed-signature-v430 .ed-header {
  background: rgba(255,253,248,.94);
  border-bottom: 1px solid rgba(8,44,82,.11);
  box-shadow: 0 8px 30px rgba(8,44,82,.055);
  backdrop-filter: blur(14px);
}
body.ed-signature-v430 .ed-header__inner { min-height: 82px; }
body.ed-signature-v430 .ed-nav a { text-underline-offset: .28em; }

/* ---------- Home hero: editorial cover ---------- */
body.ed-signature-v430.ed-home .ed-hero--conversion {
  min-height: auto;
  padding: clamp(64px,7vw,104px) 0 clamp(82px,8vw,120px);
  background:
    radial-gradient(circle at 9% 18%, rgba(201,155,87,.18), transparent 26%),
    radial-gradient(circle at 92% 72%, rgba(46,116,116,.12), transparent 27%),
    linear-gradient(108deg, #fffaf1 0 53%, #dce8ee 53% 100%);
}
body.ed-signature-v430.ed-home .ed-hero--conversion::before {
  opacity: .72;
  background:
    linear-gradient(90deg, transparent 0 52.8%, rgba(8,44,82,.09) 53%, transparent 53.2%),
    url("../decor/paper-grain.svg") repeat;
}
body.ed-signature-v430.ed-home .ed-hero--conversion::after {
  height: 96px;
  opacity: .78;
}
body.ed-signature-v430.ed-home .ed-hero--conversion .ed-hero__grid {
  min-height: 650px;
  grid-template-columns: minmax(0,1.12fr) minmax(390px,.88fr);
  gap: clamp(48px,7vw,104px);
  align-items: center;
}
body.ed-signature-v430.ed-home .ed-hero--conversion .ed-hero__content {
  max-width: 730px;
  padding: 46px 0 38px;
}
body.ed-signature-v430.ed-home .ed-hero--conversion .ed-hero__content::before {
  top: -30px;
  right: -38px;
  bottom: -16px;
  left: -56px;
  background: rgba(255,251,243,.82);
  border: 1px solid rgba(201,155,87,.25);
  border-radius: 64px 20px 86px 26px;
  box-shadow: 0 32px 88px rgba(8,44,82,.09);
  transform: rotate(-.65deg);
}
body.ed-signature-v430.ed-home .ed-hero__name {
  font-size: clamp(4.8rem,7.7vw,7.9rem);
  color: var(--ed43-navy);
}
body.ed-signature-v430.ed-home .ed-hero__offer {
  max-width: 560px;
  color: #466177;
  font-size: clamp(1.55rem,2.55vw,2.65rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}
body.ed-signature-v430.ed-home .ed-hero__signals {
  background: rgba(255,255,255,.38);
  border-radius: 14px;
  overflow: hidden;
}
body.ed-signature-v430.ed-home .ed-hero__signals span { font-weight: 650; }
body.ed-signature-v430.ed-home .ed-hero__visual {
  position: relative;
  isolation: isolate;
  padding: 18px 18px 28px;
}
body.ed-signature-v430.ed-home .ed-hero__visual::before {
  position: absolute;
  z-index: -2;
  inset: 5% -5% 9% 8%;
  content: "";
  background: linear-gradient(155deg,var(--ed43-navy),#175d7d);
  border-radius: 44% 44% 34px 34px / 22% 22% 34px 34px;
  box-shadow: 0 38px 100px rgba(5,30,57,.23);
  transform: rotate(1.2deg);
}
body.ed-signature-v430.ed-home .ed-hero__visual::after {
  position: absolute;
  z-index: -1;
  right: -20px;
  bottom: 4px;
  width: 72%;
  height: 43%;
  content: "";
  background: linear-gradient(145deg,var(--ed43-gold-light),rgba(201,155,87,.6));
  border-radius: 28px 28px 92px 28px;
  transform: rotate(-2deg);
}
body.ed-signature-v430.ed-home .ed-hero__portrait {
  overflow: hidden;
  border: 7px solid rgba(255,253,248,.98);
  border-radius: 44% 44% 28px 28px / 19% 19% 28px 28px;
  box-shadow: 0 26px 74px rgba(5,30,57,.25);
}
body.ed-signature-v430.ed-home .ed-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
body.ed-signature-v430.ed-home .ed-hero__quote {
  right: -20px;
  bottom: 34px;
  max-width: 350px;
  color: #fff;
  background: rgba(5,30,57,.94);
  border: 1px solid rgba(239,212,159,.38);
  box-shadow: 0 18px 54px rgba(5,30,57,.25);
  backdrop-filter: blur(12px);
}
body.ed-signature-v430.ed-home .ed-hero__quote p { color: rgba(255,255,255,.9); }
body.ed-signature-v430.ed-home .ed-hero__quote-mark { color: var(--ed43-gold-light); }

/* ---------- Scenarios: visible editorial collage ---------- */
body.ed-signature-v430.ed-home .ed-scenarios {
  padding-top: clamp(92px,9vw,132px);
  padding-bottom: clamp(94px,9vw,132px);
  background:
    radial-gradient(circle at 84% 12%, rgba(46,116,116,.12), transparent 25%),
    linear-gradient(112deg,#eef4f6 0 32%,#fffaf1 32% 100%);
}
body.ed-signature-v430.ed-home .ed-art--scenario-word {
  color: rgba(8,44,82,.045);
  opacity: 1;
}
body.ed-signature-v430.ed-home .ed-scenario-grid { gap: 18px; }
body.ed-signature-v430.ed-home .ed-scenario-card {
  border: 1px solid rgba(8,44,82,.09);
  box-shadow: 0 18px 46px rgba(8,44,82,.08);
}
body.ed-signature-v430.ed-home .ed-scenario-card:nth-child(1) {
  background: linear-gradient(145deg,#092f58,#174f78);
}
body.ed-signature-v430.ed-home .ed-scenario-card:nth-child(2) {
  background: linear-gradient(145deg,#d6e7ed,#f5f8f8);
}
body.ed-signature-v430.ed-home .ed-scenario-card:nth-child(3) {
  background: linear-gradient(145deg,#fffaf0,#ecdcc5);
}
body.ed-signature-v430.ed-home .ed-scenario-card:nth-child(4) {
  background: linear-gradient(145deg,#fffdf8,#e9eef0);
}
body.ed-signature-v430.ed-home .ed-scenario-card:nth-child(5) {
  background: linear-gradient(145deg,#2d7775,#245966);
}
body.ed-signature-v430.ed-home .ed-scenario-card:nth-child(6) {
  background: linear-gradient(145deg,#f2e7d8,#fffdf8);
}
body.ed-signature-v430.ed-home .ed-scenario-action {
  margin-top: 24px;
  color: rgba(255,255,255,.82);
  background:
    radial-gradient(circle at 88% 40%, rgba(46,116,116,.45), transparent 35%),
    var(--ed43-navy-deep);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 60px rgba(5,30,57,.18);
}
body.ed-signature-v430.ed-home .ed-scenario-action p,
body.ed-signature-v430.ed-home .ed-scenario-action strong { color: #fff; }

/* ---------- Financial: premium dark centerpiece ---------- */
body.ed-signature-v430.ed-home .ed-financial-story {
  background:
    radial-gradient(circle at 79% 28%, rgba(38,145,153,.38), transparent 35%),
    radial-gradient(circle at 16% 88%, rgba(201,155,87,.18), transparent 27%),
    linear-gradient(135deg,#061f3b,#0a3c68 58%,#0c5268);
}
body.ed-signature-v430.ed-home .ed-financial-story__copy h2 { max-width: 14ch; }
body.ed-signature-v430.ed-home .ed-financial-story__statement {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
body.ed-signature-v430.ed-home .ed-financial-venn__circle {
  border-color: rgba(255,255,255,.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
body.ed-signature-v430.ed-home .ed-financial-venn__core {
  box-shadow: 0 20px 56px rgba(4,24,45,.3);
}

/* ---------- Formats: break the white-card monotony ---------- */
body.ed-signature-v430.ed-home .ed-formats {
  padding-top: clamp(94px,9vw,132px);
  padding-bottom: clamp(98px,9vw,138px);
  background:
    radial-gradient(circle at 13% 18%, rgba(201,155,87,.15), transparent 25%),
    linear-gradient(104deg,#fffaf1 0 61%,#dfeaf0 61% 100%);
}
body.ed-signature-v430.ed-home .ed-format-grid { gap: 18px; }
body.ed-signature-v430.ed-home .ed-service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8,44,82,.1);
  box-shadow: 0 18px 50px rgba(8,44,82,.09);
}
body.ed-signature-v430.ed-home .ed-service-card::after {
  position: absolute;
  right: -32px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  content: "";
  border: 1px solid rgba(201,155,87,.22);
  border-radius: 50%;
}
body.ed-signature-v430.ed-home .ed-service-card:nth-child(2) { background: #eef4f6; }
body.ed-signature-v430.ed-home .ed-service-card:nth-child(3) { background: #f8efe3; }
body.ed-signature-v430.ed-home .ed-service-card:nth-child(4) {
  color: rgba(255,255,255,.78);
  background: linear-gradient(145deg,#0a3158,#175878);
}
body.ed-signature-v430.ed-home .ed-service-card:nth-child(4) h3,
body.ed-signature-v430.ed-home .ed-service-card:nth-child(4) .ed-service-card__label,
body.ed-signature-v430.ed-home .ed-service-card:nth-child(4) a { color: #fff; }
body.ed-signature-v430.ed-home .ed-service-card:nth-child(4) p { color: rgba(255,255,255,.74); }
body.ed-signature-v430.ed-home .ed-boundary-note {
  margin-top: 28px;
  background: rgba(255,253,248,.72);
  border: 1px solid rgba(8,44,82,.1);
  box-shadow: 0 14px 40px rgba(8,44,82,.065);
}

/* ---------- Approach: keep dark, make photo editorial and unique ---------- */
body.ed-signature-v430.ed-home .ed-approach--conversion {
  background:
    radial-gradient(circle at 88% 16%, rgba(37,132,137,.42), transparent 34%),
    linear-gradient(135deg,#061f3b,#0a3b65 65%,#0d5169);
}
body.ed-signature-v430.ed-home .ed-approach__photo {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
body.ed-signature-v430.ed-home .ed-approach__photo::before {
  position: absolute;
  z-index: -1;
  inset: -18px -18px 10px 18px;
  content: "";
  background: linear-gradient(145deg,var(--ed43-gold-light),rgba(201,155,87,.38));
  border-radius: 34px 90px 34px 34px;
  transform: rotate(1.6deg);
}
body.ed-signature-v430.ed-home .ed-approach__photo img {
  border: 6px solid rgba(255,253,248,.98);
  border-radius: 34px 92px 34px 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
  object-position: 50% 24%;
}
body.ed-signature-v430.ed-home .ed-approach__photo figcaption {
  color: var(--ed43-navy-deep);
  background: rgba(255,250,241,.95);
  border: 1px solid rgba(201,155,87,.24);
  box-shadow: 0 16px 42px rgba(5,30,57,.18);
}
body.ed-signature-v430.ed-home .ed-process-list article {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}

/* ---------- First contact: warm editorial spread ---------- */
body.ed-signature-v430.ed-home .ed-first-contact {
  padding-top: clamp(92px,9vw,132px);
  padding-bottom: clamp(92px,9vw,132px);
  background:
    radial-gradient(circle at 90% 10%, rgba(46,116,116,.13), transparent 28%),
    linear-gradient(110deg,#fffaf1 0 55%,#eef3f5 55% 100%);
}
body.ed-signature-v430.ed-home .ed-first-contact__copy {
  padding: clamp(34px,4vw,54px);
  background: rgba(255,253,248,.83);
  border: 1px solid rgba(201,155,87,.2);
  border-radius: 32px 88px 32px 32px;
  box-shadow: 0 22px 66px rgba(8,44,82,.09);
}
body.ed-signature-v430.ed-home .ed-first-contact__steps {
  padding: clamp(28px,3.5vw,44px);
  background: #fff;
  border: 1px solid rgba(8,44,82,.09);
  border-radius: 26px;
  box-shadow: 0 22px 66px rgba(8,44,82,.11);
}
body.ed-signature-v430.ed-home .ed-first-contact__number {
  background: var(--ed43-gold-light);
  color: var(--ed43-navy-deep);
}

/* ---------- Education: stronger museum-like presentation ---------- */
body.ed-signature-v430.ed-home .ed-education--conversion {
  background:
    radial-gradient(circle at 80% 20%, rgba(201,155,87,.12), transparent 23%),
    linear-gradient(180deg,#f7f0e5,#fffdf8 43%,#edf3f5 100%);
}
body.ed-signature-v430.ed-home .ed-tabs {
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(8,44,82,.1);
  box-shadow: 0 24px 70px rgba(8,44,82,.09);
  backdrop-filter: blur(8px);
}
body.ed-signature-v430.ed-home .ed-tabs__button.is-active {
  background: linear-gradient(145deg,var(--ed43-navy),#174f77);
}
body.ed-signature-v430.ed-home .ed-document-card,
body.ed-signature-v430.ed-home .ed-more-documents {
  border: 1px solid rgba(8,44,82,.09);
  box-shadow: 0 14px 38px rgba(8,44,82,.075);
}

/* ---------- Expertise: magazine spread, not flat blocks ---------- */
body.ed-signature-v430.ed-home .ed-expertise {
  background:
    linear-gradient(103deg,#dfe9ed 0 49.7%,#f7eee1 49.7% 100%);
}
body.ed-signature-v430.ed-home .ed-expertise .ed-section-heading--split { margin-bottom: 42px; }
body.ed-signature-v430.ed-home .ed-courses {
  background: linear-gradient(145deg,#061f3b,#0c466f);
  box-shadow: 0 28px 84px rgba(5,30,57,.2);
}
body.ed-signature-v430.ed-home .ed-publications {
  background: rgba(255,251,244,.92);
  box-shadow: 0 26px 78px rgba(8,44,82,.12);
}

/* ---------- About: use a different live photo, stronger composition ---------- */
body.ed-signature-v430.ed-home .ed-about--conversion {
  background:
    radial-gradient(circle at 10% 74%, rgba(201,155,87,.18), transparent 24%),
    linear-gradient(108deg,#fffaf1 0 57%,#dbe8ed 57% 100%);
}
body.ed-signature-v430.ed-home .ed-about__grid {
  grid-template-columns: minmax(0,1.05fr) minmax(280px,.72fr) minmax(240px,.65fr);
  gap: clamp(28px,4vw,52px);
}
body.ed-signature-v430.ed-home .ed-about__copy {
  padding: clamp(28px,3vw,42px);
  background: rgba(255,253,248,.72);
  border: 1px solid rgba(201,155,87,.18);
  border-radius: 28px 28px 72px 28px;
  box-shadow: 0 18px 56px rgba(8,44,82,.07);
}
body.ed-signature-v430.ed-home .ed-about__photo {
  height: 535px;
}
body.ed-signature-v430.ed-home .ed-about__photo::before {
  inset: -10% -16% -8% -16%;
  opacity: .58;
}
body.ed-signature-v430.ed-home .ed-about__photo img {
  object-position: 48% 28%;
  border: 6px solid rgba(255,253,248,.98);
  border-radius: 44% 44% 28px 28px / 24% 24% 28px 28px;
  box-shadow: 0 30px 78px rgba(8,44,82,.2);
}
body.ed-signature-v430.ed-home .ed-about__facts > div {
  border: 1px solid rgba(8,44,82,.08);
  box-shadow: 0 16px 42px rgba(8,44,82,.075);
}
body.ed-signature-v430.ed-home .ed-about__facts > div:nth-child(2),
body.ed-signature-v430.ed-home .ed-about__facts > div:nth-child(4) {
  background: var(--ed43-navy);
  color: rgba(255,255,255,.75);
}
body.ed-signature-v430.ed-home .ed-about__facts > div:nth-child(2) strong,
body.ed-signature-v430.ed-home .ed-about__facts > div:nth-child(4) strong { color: #fff; }

/* ---------- FAQ ---------- */
body.ed-signature-v430.ed-home .ed-faq {
  background:
    radial-gradient(circle at 12% 18%, rgba(201,155,87,.16), transparent 24%),
    linear-gradient(110deg,#f4ecdf 0 38%,#eef3f5 38% 100%);
}
body.ed-signature-v430.ed-home .ed-faq__heading {
  padding: clamp(32px,4vw,50px);
  background: rgba(255,250,241,.84);
  border: 1px solid rgba(201,155,87,.2);
  border-radius: 28px 70px 28px 28px;
  box-shadow: 0 18px 58px rgba(8,44,82,.08);
}
body.ed-signature-v430.ed-home .ed-faq__items {
  padding: 10px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(8,44,82,.08);
  border-radius: 24px;
  box-shadow: 0 22px 66px rgba(8,44,82,.1);
}
body.ed-signature-v430.ed-home .ed-faq__items details {
  background: rgba(255,253,248,.72);
}

/* ---------- Final CTA ---------- */
body.ed-signature-v430.ed-home .ed-final-cta {
  background:
    radial-gradient(circle at 82% 40%, rgba(39,131,137,.45), transparent 34%),
    linear-gradient(135deg,#051e39,#08365f 62%,#0a5268);
}
body.ed-signature-v430.ed-home .ed-final-cta__inner {
  border-top: 1px solid rgba(239,212,159,.3);
  border-bottom: 1px solid rgba(239,212,159,.16);
}

/* ---------- Inner pages: restore identity there too ---------- */
body.ed-signature-v430.ed-inner-page .ed-inner-hero {
  background:
    radial-gradient(circle at 10% 18%, rgba(201,155,87,.15), transparent 26%),
    linear-gradient(108deg,#fffaf1 0 58%,#dce8ee 58% 100%);
}
body.ed-signature-v430.ed-inner-page .ed-inner-hero__copy {
  padding: clamp(20px,3vw,38px);
  background: rgba(255,253,248,.63);
  border: 1px solid rgba(201,155,87,.17);
  border-radius: 28px 28px 74px 28px;
}
body.ed-signature-v430.ed-inner-page .ed-inner-hero__photo {
  border-color: rgba(255,253,248,.98);
  box-shadow: 0 34px 90px rgba(5,30,57,.21);
}
body.ed-signature-v430.ed-inner-page .ed-page-section--tint {
  background:
    radial-gradient(circle at 84% 14%, rgba(46,116,116,.08), transparent 28%),
    #f3eee5;
}
body.ed-signature-v430.ed-inner-page .ed-proof-bar,
body.ed-signature-v430.ed-inner-page .ed-objection-box,
body.ed-signature-v430.ed-inner-page .ed-fact-panel,
body.ed-signature-v430.ed-inner-page .ed-compare-grid article,
body.ed-signature-v430.ed-inner-page .ed-link-deck a {
  box-shadow: 0 18px 52px rgba(8,44,82,.08);
}

/* ---------- Mobile / tablet ---------- */
@media (max-width: 1100px) {
  body.ed-signature-v430.ed-home .ed-hero--conversion .ed-hero__grid {
    grid-template-columns: minmax(0,1fr) minmax(340px,.72fr);
    gap: 42px;
  }
  body.ed-signature-v430.ed-home .ed-about__grid {
    grid-template-columns: 1fr .72fr;
  }
  body.ed-signature-v430.ed-home .ed-about__facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}

@media (max-width: 820px) {
  body.ed-signature-v430.ed-home .ed-hero--conversion {
    background: linear-gradient(180deg,#fffaf1 0 56%,#dce8ee 56% 100%);
  }
  body.ed-signature-v430.ed-home .ed-hero--conversion .ed-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  body.ed-signature-v430.ed-home .ed-hero__visual {
    width: min(92vw,520px);
    margin: 0 auto;
  }
  body.ed-signature-v430.ed-home .ed-hero__quote { right: -6px; }
  body.ed-signature-v430.ed-home .ed-about__grid { grid-template-columns: 1fr; }
  body.ed-signature-v430.ed-home .ed-about__photo { width: min(88vw,520px); margin: 0 auto; }
  body.ed-signature-v430.ed-home .ed-about__facts { grid-template-columns: 1fr 1fr; }
  body.ed-signature-v430.ed-home .ed-about__facts > div:nth-child(even) { transform: none; }
}

@media (max-width: 560px) {
  body.ed-signature-v430 .ed-header__inner { min-height: 72px; }
  body.ed-signature-v430.ed-home .ed-hero--conversion { padding-top: 42px; }
  body.ed-signature-v430.ed-home .ed-hero--conversion .ed-hero__content::before {
    right: -10px; left: -10px; border-radius: 34px 16px 52px 18px;
  }
  body.ed-signature-v430.ed-home .ed-hero__name { font-size: clamp(3.55rem,19vw,5.2rem); }
  body.ed-signature-v430.ed-home .ed-hero__offer { font-size: 1.55rem; }
  body.ed-signature-v430.ed-home .ed-hero__quote {
    position: relative;
    right: auto; bottom: auto;
    max-width: none;
    margin: -42px 12px 0;
  }
  body.ed-signature-v430.ed-home .ed-about__facts { grid-template-columns: 1fr; }
  body.ed-signature-v430.ed-home .ed-first-contact__copy,
  body.ed-signature-v430.ed-home .ed-faq__heading { padding: 26px 22px; }
}
