/* Abraham Healer — California Sunset Spiritual
 * Divi 4 centralized styles
 * Assign the documented abraham-* classes in Divi Advanced > CSS ID & Classes.
 */

:root {
  --ab-ivory: #f7f0e7;
  --ab-ivory-light: #fffaf4;
  --ab-coral: #d95f42;
  --ab-coral-dark: #bd4930;
  --ab-teal: #123f45;
  --ab-teal-light: #235a59;
  --ab-sand: #d7b98e;
  --ab-sand-light: #ead8bd;
  --ab-espresso: #34231d;
  --ab-muted: #6e5d54;
  --ab-white: #fffdf9;
  --ab-content: 1240px;
  --ab-radius: 30px;
  --ab-shadow: 0 18px 45px rgba(52, 35, 29, .10);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ab-ivory);
  color: var(--ab-teal);
  font-family: Arial, Helvetica, sans-serif;
}

.abraham-display h1,
.abraham-heading h2,
.abraham-heading h3,
.abraham-service-card h3,
.abraham-step h3,
.abraham-why-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.045em;
}

/* Accessibility */
.abraham-btn a:focus-visible,
.abraham-header a:focus-visible,
.abraham-footer a:focus-visible,
.abraham-faq .et_pb_toggle_title:focus-visible {
  outline: 3px solid var(--ab-sand);
  outline-offset: 3px;
}

/* Header */
.abraham-header {
  position: relative;
  z-index: 999;
  background: rgba(247, 240, 231, .97);
}

.abraham-header__row {
  width: min(92%, var(--ab-content));
  min-height: 94px;
  display: flex;
  align-items: center;
}

.abraham-brand,
.abraham-brand a {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ab-teal);
  font-size: clamp(25px, 2.2vw, 36px);
  letter-spacing: -.04em;
}

.abraham-main-menu .et-menu > li > a {
  color: var(--ab-teal);
  font-size: 15px;
  padding-bottom: 10px;
}

.abraham-main-menu .et-menu > li > a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--ab-coral);
  transition: right .2s ease;
}

.abraham-main-menu .et-menu > li > a:hover::after,
.abraham-main-menu .current-menu-item > a::after { right: 0; }

/* Buttons */
.abraham-btn .et_pb_button,
.et_pb_button.abraham-btn {
  min-height: 54px;
  padding: 14px 27px !important;
  border-radius: 12px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease !important;
}

.abraham-btn--call .et_pb_button,
.et_pb_button.abraham-btn--call {
  border-color: var(--ab-coral) !important;
  background: var(--ab-coral) !important;
  color: #fff !important;
  box-shadow: 0 13px 30px rgba(217, 95, 66, .20);
}

.abraham-btn--call .et_pb_button:hover,
.et_pb_button.abraham-btn--call:hover {
  border-color: var(--ab-coral-dark) !important;
  background: var(--ab-coral-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(217, 95, 66, .28);
}

.abraham-btn--wa .et_pb_button,
.et_pb_button.abraham-btn--wa {
  border: 1px solid var(--ab-teal) !important;
  background: transparent !important;
  color: var(--ab-teal) !important;
}

.abraham-btn--wa .et_pb_button:hover,
.et_pb_button.abraham-btn--wa:hover {
  background: rgba(18, 63, 69, .06) !important;
  transform: translateY(-2px);
}

/* Hero */
.abraham-hero {
  overflow: hidden;
  padding: 0 !important;
  background: var(--ab-ivory);
}

.abraham-hero__row {
  width: 100%;
  max-width: 1440px;
  min-height: 900px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.abraham-hero__copy {
  width: 46%;
  padding: 165px clamp(30px, 4.8vw, 78px) 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.abraham-hero__media {
  position: relative;
  width: 54%;
  margin-top: 94px;
  overflow: hidden;
  border-radius: 190px 0 0 0;
  min-height: 806px;
}

.abraham-hero__media .et_pb_image,
.abraham-hero__media .et_pb_image_wrap,
.abraham-hero__media img {
  width: 100%;
  height: 100%;
}

.abraham-hero__media img {
  object-fit: cover;
  object-position: center;
}

.abraham-hero__media::before,
.abraham-hero__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.abraham-hero__media::before {
  left: -90px;
  bottom: -160px;
  width: 260px;
  height: 410px;
  background: var(--ab-coral);
  transform: rotate(25deg);
}

.abraham-hero__media::after {
  right: -145px;
  bottom: -105px;
  width: 340px;
  height: 310px;
  background: var(--ab-sand);
  transform: rotate(-20deg);
}

.abraham-badge {
  width: fit-content;
  margin-bottom: 34px !important;
  padding: 10px 17px;
  border: 1px solid var(--ab-coral);
  border-radius: 999px;
  color: var(--ab-coral);
  font-size: 13px;
  font-weight: 700;
}

.abraham-display h1 {
  color: var(--ab-teal);
  font-size: clamp(62px, 5.2vw, 84px);
  line-height: .98;
}

.abraham-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: var(--ab-espresso);
  font-size: 13px;
}

/* Topics */
.abraham-topics {
  background: var(--ab-teal);
  color: #fff;
}

.abraham-topics__row {
  width: min(92%, var(--ab-content));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 25px;
}

.abraham-topic {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
}

/* Sections */
.abraham-services,
.abraham-faq-section { background: var(--ab-ivory-light); }

.abraham-section-intro,
.abraham-services__grid,
.abraham-process__row,
.abraham-faq__row,
.abraham-form__row {
  width: min(88%, var(--ab-content));
}

.abraham-service-card {
  position: relative;
  min-height: 430px;
  padding: 34px;
  overflow: hidden;
  border-radius: var(--ab-radius);
  transition: transform .2s ease, box-shadow .2s ease;
}

.abraham-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ab-shadow);
}

.abraham-service-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -78px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #fff;
  opacity: .26;
  pointer-events: none;
}

.abraham-service-card--coral { background: #f5d4c6; color: #643223; }
.abraham-service-card--teal { background: var(--ab-teal); color: #fff; }
.abraham-service-card--sand { background: #e8d3b4; color: var(--ab-espresso); }

.abraham-service-card h3 {
  margin-top: 60px;
  color: currentColor;
  font-size: 35px;
  line-height: 1.05;
}

/* Love section */
.abraham-love { overflow: hidden; background: var(--ab-ivory); }

.abraham-love-photo {
  position: relative;
  overflow: hidden;
  border-radius: 250px 250px 24px 24px;
}

.abraham-love-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.abraham-experience-seal {
  position: absolute;
  z-index: 4;
  right: -45px;
  bottom: 45px;
  width: 150px;
  height: 150px;
  padding: 25px 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ab-coral);
  color: #fff;
  text-align: center;
  box-shadow: 0 15px 40px rgba(217, 95, 66, .28);
}

.abraham-link-cta a { color: var(--ab-coral) !important; }

/* About */
.abraham-about { overflow: hidden; background: var(--ab-teal); color: #fff; }
.abraham-about h2, .abraham-about h3 { color: #fff; }
.abraham-about p { color: #d9e2df; }

.abraham-about-photo {
  overflow: hidden;
  clip-path: ellipse(84% 72% at 84% 50%);
}

.abraham-about-photo img {
  width: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: 36% center;
}

.abraham-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.abraham-values .et_pb_blurb {
  min-height: 90px;
  margin: 0;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

/* Process */
.abraham-step {
  padding: 34px 0;
  border-top: 1px solid var(--ab-sand-light);
}

.abraham-step:last-child { border-bottom: 1px solid var(--ab-sand-light); }
.abraham-step h3 { color: var(--ab-teal); font-size: 28px; }

/* Trust */
.abraham-why { background: var(--ab-coral); color: #fff; }
.abraham-why h2, .abraham-why h3 { color: #fff; }

.abraham-why__grid {
  width: min(88%, var(--ab-content));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .3);
  border-left: 1px solid rgba(255, 255, 255, .3);
}

.abraham-why-card {
  min-height: 240px;
  margin: 0 !important;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, .3);
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}

/* FAQ */
.abraham-faq .et_pb_toggle {
  margin: 0 !important;
  padding: 25px 0;
  border: 0;
  border-top: 1px solid var(--ab-sand-light);
  background: transparent;
}

.abraham-faq .et_pb_toggle:last-child { border-bottom: 1px solid var(--ab-sand-light); }
.abraham-faq .et_pb_toggle_title { color: var(--ab-teal); font-family: Georgia, serif; font-size: 23px; }
.abraham-faq .et_pb_toggle_content { max-width: 660px; color: var(--ab-muted); line-height: 1.7; }
.abraham-faq .et_pb_toggle_title::before { color: var(--ab-coral); }

/* Fluent Forms */
.abraham-form {
  padding: 32px;
  border: 1px solid var(--ab-sand-light);
  border-radius: var(--ab-radius);
  background: var(--ab-ivory-light);
  box-shadow: 0 18px 45px rgba(52, 35, 29, .07);
}

.abraham-form .ff-el-form-control {
  min-height: 50px;
  border: 1px solid var(--ab-sand-light) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--ab-espresso) !important;
}

.abraham-form textarea.ff-el-form-control { min-height: 130px; }
.abraham-form .ff-el-form-control:focus { border-color: var(--ab-teal) !important; box-shadow: 0 0 0 3px rgba(18, 63, 69, .12) !important; }

.abraham-form .ff-btn-submit {
  min-height: 54px;
  padding: 13px 26px;
  border: 0;
  border-radius: 12px;
  background: var(--ab-coral) !important;
  color: #fff !important;
  font-weight: 700;
}

/* Final CTA */
.abraham-final-cta {
  position: relative;
  overflow: hidden;
  background: var(--ab-teal);
  color: #fff;
}

.abraham-final-cta h2 { color: #fff; }

.abraham-final-cta::before,
.abraham-final-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.abraham-final-cta::before {
  top: -180px;
  left: -250px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, .17);
}

.abraham-final-cta::after {
  right: -360px;
  bottom: -400px;
  width: 620px;
  height: 620px;
  background: var(--ab-coral);
}

.abraham-final-cta__inner { position: relative; z-index: 2; }

/* Footer */
.abraham-footer { background: #281d18; color: #f8eee6; }
.abraham-footer a { color: #f8eee6; }
.abraham-footer a:hover { color: #f18c6c; }
.abraham-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }

/* Mobile conversion bar */
.abraham-mobile-sticky { display: none; }

@media (max-width: 980px) {
  .abraham-header__row { min-height: 74px; }
  .abraham-main-menu .et_pb_menu__menu { display: none; }
  .abraham-main-menu .et_mobile_nav_menu { display: flex; }

  .abraham-hero__row {
    min-height: auto;
    flex-direction: column;
  }

  .abraham-hero__copy,
  .abraham-hero__media { width: 100%; }

  .abraham-hero__copy { padding: 116px 24px 32px; }
  .abraham-hero__media { min-height: 430px; margin-top: 0; border-radius: 120px 120px 0 0; }

  .abraham-display h1 { font-size: clamp(48px, 10vw, 62px); }
  .abraham-topics__row { grid-template-columns: 1fr 1fr; }
  .abraham-why__grid { grid-template-columns: 1fr; }
  .abraham-why-card { min-height: 200px; }
  .abraham-about-photo { clip-path: ellipse(95% 75% at 50% 76%); }
  .abraham-about-photo img { min-height: 520px; }
}

@media (max-width: 767px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  .abraham-badge { margin-bottom: 22px !important; padding: 7px 12px; font-size: 10px; }
  .abraham-display h1 { font-size: clamp(42px, 13vw, 55px); line-height: .97; }
  .abraham-btn .et_pb_button,
  .et_pb_button.abraham-btn { width: 100%; min-height: 54px; }
  .abraham-trust { gap: 7px 10px; font-size: 10px; white-space: normal; }

  .abraham-hero__media { min-height: 365px; }
  .abraham-hero__media::before { left: -95px; bottom: -120px; width: 170px; height: 280px; }
  .abraham-hero__media::after { right: -120px; bottom: -75px; width: 220px; height: 190px; }

  .abraham-service-card { min-height: 330px; padding: 28px; }
  .abraham-love-photo { border-radius: 140px 140px 20px 20px; }
  .abraham-experience-seal { right: 8px; bottom: -28px; width: 118px; height: 118px; }
  .abraham-values .et_pb_blurb { padding: 16px 12px; }
  .abraham-faq .et_pb_toggle_title { padding-right: 36px; font-size: 20px; }
  .abraham-form { padding: 22px 18px; }

  .abraham-mobile-sticky {
    position: fixed !important;
    z-index: 9999;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)) !important;
    background: rgba(255, 250, 244, .96);
    box-shadow: 0 -8px 30px rgba(52, 35, 29, .13);
    backdrop-filter: blur(12px);
  }

  .abraham-mobile-sticky__row {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1.55fr 1fr;
    gap: 7px;
  }

  .abraham-mobile-sticky .et_pb_column { width: 100% !important; margin: 0 !important; }
  .abraham-mobile-sticky .et_pb_button_module_wrapper { margin: 0 !important; }
  .abraham-mobile-sticky .et_pb_button { min-height: 50px; padding: 12px 8px !important; font-size: 14px !important; }
}

@media (max-width: 479px) {
  .abraham-footer__main { display: block; }
  .abraham-footer__main .et_pb_column { width: 100% !important; margin: 0 0 34px !important; }
  .abraham-topic { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
