/* Start custom CSS *//* Homepage — Peachy AIA Advisor (/) */
html {
  scroll-behavior: smooth;
}
[data-elementor-id="515"],
[data-elementor-id="515"] h1,
[data-elementor-id="515"] h2,
[data-elementor-id="515"] h3,
[data-elementor-id="515"] p,
[data-elementor-id="515"] a,
[data-elementor-id="515"] button,
[data-elementor-id="515"] summary,
[data-elementor-id="515"] span {
  font-family: var(--peachy-font), "Noto Sans Thai", sans-serif !important;
}

/* Neutralize Elementor V4 default 10px padding on layout wrappers & grids */
[data-id="35f44f20"],
[data-id="3fe17112"],
[data-id="49e89af2"],
[data-id="4383dd02"],
[data-id="27837e45"],
[data-id="84a4c98"],
[data-id="60c525ac"],
[data-id="2bc368fd"],
[data-id="58af1fe8"],
[data-id="5b446fe2"],
[data-id="24f425de"],
[data-id="32cfaba3"],
[data-id="15b99b28"],
[data-id="28d78bf5"],
[data-id="46f7d809"],
[data-id="60a1067"],
[data-id="15ae986a"],
[data-id="3abe9653"],
[data-id="699c2084"],
[data-id="44af28d7"],
[data-id="42ede95b"],
[data-id="5088b5bf"],
[data-id="d01edd5"] {
  padding: 0 !important;
}
[data-id="84a4c98"] > div,
[data-id="32cfaba3"] > div,
[data-id="46f7d809"] > div,
[data-id="3abe9653"] > div {
  padding: 0 !important;
}

/* S00 Hero — clean luxury big typography & full headroom on desktop */
[data-id="3fe17112"] {
  width: 56px !important;
  height: 4px !important;
}
@media (min-width: 768px) {
  [data-id="5cf0b597"] {
    background-position: right top !important;
    background-size: cover !important;
  }
  [data-id="5cf0b597"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 250, 250, 0.92) 0%, rgba(255, 250, 250, 0.76) 47%, rgba(255, 250, 250, 0) 69%);
    pointer-events: none;
    z-index: 1;
  }
}
@media (min-width: 1025px) {
  [data-id="1a2077cd"] {
    min-height: clamp(580px, 41vw, 720px) !important;
  }
  [data-id="35f44f20"] {
    max-width: 760px !important;
  }
  [data-id="aeabc41"] {
    font-size: 52px !important;
    white-space: nowrap !important;
  }
  [data-id="3c219203"] {
    font-size: 48px !important;
  }
}

/* S01 Trust Bar crisp subtle vertical dividers on desktop */
@media (min-width: 768px) {
  [data-id="5590c555"] > div:not(:last-child) {
    position: relative;
  }
  [data-id="5590c555"] > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 16%;
    bottom: 16%;
    width: 1px;
    background-color: #efdddd;
  }
}
@media (max-width: 767px) {
  [data-id="5590c555"] > div:not(:last-child) {
    border-bottom: 1px solid #f2e4e4;
    padding-bottom: 14px !important;
  }
}

/* S01 Service Cards subtle hover elevation */
[data-id="4383dd02"] > div {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
[data-id="4383dd02"] > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(153, 7, 7, 0.11) !important;
  border-color: rgba(153, 7, 7, 0.22) !important;
}

/* S02 Product Cards hover lift + image zoom + filled chevron */
[data-id="60c525ac"] > a {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
[data-id="60c525ac"] > a img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-id="60c525ac"] > a:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(153, 7, 7, 0.13) !important;
  border-color: rgba(153, 7, 7, 0.28) !important;
}
[data-id="60c525ac"] > a:hover img {
  transform: scale(1.04);
}
[data-id="60c525ac"] > a:hover p {
  background-color: #990707 !important;
  color: #ffffff !important;
}

/* S03 About Peachy — balanced vertical centering with flush-bottom portrait on desktop */
@media (min-width: 1025px) {
  [data-id="11bf7302"] {
    padding-top: 44px !important;
  }
  [data-id="2bc368fd"] {
    align-items: stretch !important;
  }
  [data-id="58af1fe8"] {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }
  [data-id="58af1fe8"] img {
    max-height: 550px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
  [data-id="7c88b6fa"] {
    align-self: center !important;
    padding-top: 32px !important;
    padding-bottom: 56px !important;
  }
}

/* S04 4-Step Cards desktop chevron connectors + clean crimson banner without divider box */
@media (min-width: 1025px) {
  [data-id="15b99b28"] > div:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -21px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: #c30000;
    opacity: 0.72;
    pointer-events: none;
    z-index: 3;
  }
}
[data-id="6ca85e31"] > div {
  display: none !important;
}

/* S06 Article Cards — uncropped 16:9 left cover + hover lift & zoom */
@media (min-width: 1025px) {
  [data-id="35bf790c"] img {
    height: 365px !important;
    object-position: right center !important;
  }
}
[data-id="35bf790c"],
[data-id="44af28d7"] > a {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
[data-id="35bf790c"] img,
[data-id="44af28d7"] > a img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-id="35bf790c"]:hover,
[data-id="44af28d7"] > a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(153, 7, 7, 0.12) !important;
  border-color: rgba(153, 7, 7, 0.28) !important;
}
[data-id="35bf790c"]:hover img,
[data-id="44af28d7"] > a:hover img {
  transform: scale(1.03);
}

/* S08 Final CTA — balanced vertical centering, crisp horizontal 3-button row & flush-bottom cutout */
@media (min-width: 768px) {
  [data-id="317cdaed"] > div > a:first-child {
    width: auto !important;
    flex: 0 0 auto !important;
  }
}
@media (min-width: 1025px) {
  [data-id="66108633"] {
    padding-top: 40px !important;
  }
  [data-id="5088b5bf"] {
    align-items: stretch !important;
  }
  [data-id="d01edd5"] {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }
  [data-id="d01edd5"] img {
    max-height: 520px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
  [data-id="317cdaed"] {
    align-self: center !important;
    padding-top: 36px !important;
    padding-bottom: 52px !important;
  }
}

/* Global pill button hover polish */
[data-elementor-id="515"] a[class*="e-button"],
[data-id="317cdaed"] a {
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
[data-elementor-id="515"] a[class*="e-button"]:hover,
[data-id="317cdaed"] > div > a:first-child:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* S07 FAQ Accordion smooth open/close icon rotation */
[data-id="1ba49e56"] details[open] summary img {
  transform: rotateZ(-90deg) !important;
}
[data-id="1ba49e56"] summary img {
  transition: transform 0.25s ease;
}

/* Balanced Thai heading wrap on mobile */
@media (max-width: 767px) {
  [data-id="aeabc41"],
  [data-id="3c219203"],
  [data-id="3877e7e4"],
  [data-id="4383dd02"] h3,
  [data-id="15b99b28"] h3 {
    text-wrap: balance;
  }
  [data-id="7c88b6fa"] {
    padding-bottom: 0 !important;
  }
  [data-id="317cdaed"] {
    padding-bottom: 8px !important;
  }
}/* End custom CSS */