/* ===================================
   Amoha hero (replaces old #home carousel)
====================================== */
#home.amh {
  --amh-teal: #003847;
  --amh-teal-deep: #003444;
  --amh-glass: rgba(0, 52, 69, 0.8);
  --amh-blush: #e8cab8;
  --amh-rose: #E5AEA8;
  --amh-script-pink: #f2a5a0;
  --amh-cream: #F4ECE6;
  --amh-slide-ms: 3000ms;
  --amh-gutter: clamp(16px, 5vw, 75px);
  position: relative;
  display: block;
  min-height: 0;
  margin-top: -77px;             /* sit under the fixed header */
  padding: 0 !important;
  background: var(--amh-teal);
  font-family: 'Quicksand', sans-serif;
  color: var(--amh-cream);
}
#home.amh *, #home.amh *::before, #home.amh *::after { box-sizing: border-box; }

/* Stage */
#home .amh-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--amh-teal-deep);
}
#home .amh-frame { position: absolute; inset: 0; }
#home .amh-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
#home .amh-slide.is-active { opacity: 1; }
.site-wrapper #home .amh-slide img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: none;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}
#home .amh-slide.is-active img { animation: amh-drift calc(var(--amh-slide-ms) + 1500ms) ease-out forwards; }
@keyframes amh-drift { from { transform: scale(1); } to { transform: scale(1.07); } }
#home .amh-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,52,69,.55) 0, rgba(0,52,69,0) 160px),
    linear-gradient(180deg, rgba(0,52,69,0) 45%, rgba(0,52,69,.75) 100%);
}

/* Caption panel */
#home .amh-card {
  position: absolute; z-index: 2;
  left: var(--amh-gutter); bottom: clamp(32px, 8vh, 80px);
  width: min(620px, calc(100% - 2 * var(--amh-gutter)));
  padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.6vw, 38px);
  background: var(--amh-glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-left: 3px solid var(--amh-rose);
}
#home .amh-card h1 {
  margin: 0 0 8px;
  padding: 0;
  font-family: 'Antigua Presidente', 'Brush Script MT', cursive;
  font-weight: 400;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.1;
  color: var(--amh-script-pink);
  text-align: left;
}
#home .amh-card p {
  margin: 0 0 20px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  letter-spacing: 1px;
  color: #E5C7B5;
  max-width: 38ch;
}
#home .amh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#home .amh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px;
  font-family: 'Quicksand', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
#home .amh-btn--primary { background: var(--amh-blush); color: #285966; border: 1px solid var(--amh-blush); }
#home .amh-btn--primary:hover { background: #fff; border-color: #fff; color: #285966; }
#home .amh-btn--ghost { background: transparent; color: var(--amh-blush); border: 1px solid rgba(232, 202, 184, .6); }
#home .amh-btn--ghost:hover { color: #f4b8b3; border-color: #f4b8b3; }
#home .amh-btn:focus-visible, #home .amh-thumb:focus-visible { outline: 2px solid var(--amh-blush); outline-offset: 3px; }

/* Thumbnail rail = slideshow control */
#home .amh-rail {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
  padding: clamp(14px, 2vw, 22px) var(--amh-gutter) clamp(24px, 3.4vw, 44px);
  background: var(--amh-teal);
}
#home .amh-thumb {
  position: relative; display: block; width: 100%;
  padding: 0; margin: 0; border: 0; border-radius: 0;
  cursor: pointer; background: none; aspect-ratio: 4 / 3; overflow: hidden;
}
.site-wrapper #home .amh-thumb img {
  display: block; width: 100% !important; height: 100% !important; max-height: none;
  object-fit: cover;
  filter: saturate(.6) brightness(.7);
  transition: filter .35s, transform .5s;
}
.site-wrapper #home .amh-thumb:hover img { filter: saturate(.9) brightness(.9); transform: scale(1.03); }
.site-wrapper #home .amh-thumb[aria-current="true"] img { filter: none; }
#home .amh-thumb::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--amh-rose); }
#home .amh-thumb[aria-current="true"]::after { animation: amh-fill var(--amh-slide-ms) linear forwards; }
#home.is-paused .amh-thumb[aria-current="true"]::after { animation-play-state: paused; }
@keyframes amh-fill { to { width: 100%; } }

/* Tablet */
@media (max-width: 1024px) {
  #home .amh-card { width: min(520px, calc(100% - 2 * var(--amh-gutter))); }
}

/* Phone */
@media (max-width: 767px) {
  #home.amh { margin-top: -77px; }
  #home .amh-stage { height: auto; min-height: 0; display: flex; flex-direction: column; background: var(--amh-teal); }
  #home .amh-frame { position: relative; inset: auto; height: 68vh; min-height: 420px; }
  #home .amh-card {
    position: relative; left: auto; bottom: auto; width: auto;
    margin: -70px 16px 0;
    background: var(--amh-teal-deep);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    text-align: center; border-left: 0; border-top: 3px solid var(--amh-rose);
  }
  #home .amh-card h1 { text-align: center; font-size: 30px; }
  #home .amh-card p { margin-left: auto; margin-right: auto; font-size: 14px; }
  #home .amh-actions { flex-direction: column; }
  #home .amh-btn { width: 100%; }
  #home .amh-rail {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 20px; scrollbar-width: none;
  }
  #home .amh-rail::-webkit-scrollbar { display: none; }
  #home .amh-thumb { scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  #home .amh-slide { transition: none; }
  #home .amh-slide.is-active img { animation: none; }
  #home .amh-thumb[aria-current="true"]::after { animation: none; width: 100%; }
}

/* Readable text on glitter brush headings */
#services h2.entry-title,
#contact h2.entry-title,
#about-us .info-text {
  font-weight: 500 !important;
  color: #00303d !important;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(242, 215, 205, .85), 0 0 2px rgba(242, 215, 205, .9);
}
#about-us .info-text { letter-spacing: 1px; }

/* Match all section headings */
.section h2.entry-title { font-weight: 500 !important; letter-spacing: 2px; }

/* Mobile menu: call + WhatsApp */
.amh-menu-cta { display: none; }
@media screen and (max-width: 1020px) {
  .amh-menu-cta { display: flex; flex-direction: column; gap: 12px; width: 230px; max-width: calc(100vw - 40px); margin: 8px auto 0; padding: 24px 0 0; border-top: 1px solid rgba(232, 202, 184, .2); }
  .amh-menu-btn { width: 100%; padding: 0 20px; box-sizing: border-box; white-space: nowrap; }
  .amh-menu-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; font-family: 'Quicksand', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 1px;
    text-decoration: none; transition: background-color .2s, color .2s;
  }
  .amh-menu-btn--call { background: #e8cab8; color: #285966 !important; border: 1px solid #e8cab8; }
  .amh-menu-btn--wa { background: transparent; color: #e8cab8 !important; border: 1px solid rgba(232, 202, 184, .6); }
  .amh-menu-btn:hover { background: #fff; color: #285966 !important; border-color: #fff; }
}

/* Services + contact body text */
.service-txt h4 { font-weight: 600 !important; }
.contact-details .detail, .contact-details .detail a, .contact-details .detail p { font-weight: 600 !important; }
#contact input, #contact textarea, #contact input::placeholder, #contact textarea::placeholder, #contact label { font-weight: 600 !important; }

@media screen and (max-width: 767px) {
  /* Contact details */
  .contact-info-details .contact-details { padding-left: 6% !important; padding-right: 6% !important; margin-top: 12px !important; margin-bottom: 22px !important; align-items: center; gap: 14px; }
  .contact-details .contact-icon { flex: 0 0 38px !important; width: 38px !important; max-width: 38px !important; }
  .site-wrapper .contact-details .contact-icon img { width: 38px !important; height: auto !important; }
  .detail.get-direction a { max-width: none !important; width: auto !important; white-space: nowrap; align-self: flex-start; padding: 6px 14px !important; }
  .contact-details .detail { flex: 1 1 auto !important; width: auto !important; margin-left: 0 !important; min-width: 0; }
  .contact-details .detail, .contact-details .detail a, .contact-details .detail p { font-size: 14px !important; line-height: 1.7em !important; letter-spacing: .5px !important; overflow-wrap: anywhere; }
}

/* All paragraphs */
body p { font-weight: 600 !important; }

/* Slide progress bar */
#home .amh-progress {
  position: absolute; z-index: 3;
  left: var(--amh-gutter); right: max(var(--amh-gutter), 96px); bottom: 14px;
  display: flex; gap: 8px;
}
#home .amh-seg {
  flex: 1; height: 16px; padding: 6px 0; margin: 0;
  background: none; border: 0; border-radius: 0; cursor: pointer;
}
#home .amh-seg-fill {
  display: block; position: relative; height: 3px; width: 100%;
  background: rgba(232, 202, 184, .35); overflow: hidden;
}
#home .amh-seg-fill::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--amh-rose);
}
#home .amh-seg.is-done .amh-seg-fill::after { width: 100%; }
#home .amh-seg.is-active .amh-seg-fill::after { animation: amh-fill var(--amh-slide-ms) linear forwards; }
#home .amh-seg:hover .amh-seg-fill { background: rgba(232, 202, 184, .6); }
#home .amh-seg:focus-visible { outline: 2px solid var(--amh-blush); outline-offset: 2px; }
@media (max-width: 767px) {
  #home .amh-progress { bottom: 82px; left: 16px; right: 16px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  #home .amh-seg.is-active .amh-seg-fill::after { animation: none; width: 100%; }
}

/* Services: premium 2-column tiles on mobile */
@media screen and (max-width: 767px) {
  #services .section-content-holder.services-display { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: none !important; float: none !important; }
  .services-display > .content-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 8px !important;
    width: auto !important;
    box-sizing: border-box;
  }
  .services-display > .content-wrapper > .clear { display: none !important; }
  .services-display .one_half {
    width: auto !important; max-width: none !important;
    margin: 0 !important; float: none !important;
    display: flex !important; height: auto !important;
  }
  .services-display .service-holder {
    flex-direction: column !important;
    align-items: center; justify-content: flex-start;
    gap: 12px; width: 100%; height: auto !important; box-sizing: border-box;
    padding: 22px 12px 20px;
    background: rgba(255, 255, 255, .38);
    border: 1px solid rgba(40, 89, 102, .12);
    box-shadow: 0 6px 18px rgba(0, 52, 69, .06);
    text-align: center;
  }
  .services-display .service-holder .service-img {
    flex: 0 0 auto !important;
    width: 64px !important; max-width: 64px !important; height: 64px;
    display: flex !important; align-items: center; justify-content: center !important;
    border-radius: 50%;
    background: #F4ECE6;
    border: 1px solid rgba(229, 174, 168, .7);
  }
  .site-wrapper .services-display .service-holder .service-img img {
    width: 38px !important; height: 38px !important; object-fit: contain;
  }
  .services-display .service-holder .service-txt {
    flex: 0 0 auto !important; width: auto !important;
    margin: 0 !important; text-align: center !important; float: none !important;
  }
  .services-display .service-txt h4 {
    font-size: 13.5px !important; line-height: 1.45em !important;
    font-weight: 600 !important; letter-spacing: .4px !important;
    color: #003847 !important;
  }
  .services-display .service-txt h4 br { display: none; }
}

/* Services mobile: softer, editorial look (overrides tiles above) */
@media screen and (max-width: 767px) {
  .services-display > .content-wrapper { gap: 0 !important; padding: 0 12px !important; }
  .services-display .one_half { border-bottom: 1px solid rgba(229, 174, 168, .55); }
  .services-display .one_half:not(.last) { border-right: 1px solid rgba(229, 174, 168, .55); }
  .services-display .service-holder {
    background: none !important; border: 0 !important; box-shadow: none !important;
    padding: 28px 12px 26px !important; gap: 14px !important;
  }
  .services-display .service-holder .service-img {
    width: 58px !important; max-width: 58px !important; height: 72px !important;
    background: rgba(244, 236, 230, .55) !important;
    border: 1px solid rgba(229, 174, 168, .9) !important;
    border-radius: 999px 999px 0 0 !important;
  }
  .site-wrapper .services-display .service-holder .service-img img { width: 34px !important; height: 34px !important; margin-top: 6px; }
  .services-display .service-txt h4 {
    font-size: 14px !important; font-weight: 600 !important;
    letter-spacing: .6px !important; line-height: 1.5em !important;
    color: #285966 !important;
  }
}

/* Services mobile: filled arch icons */
@media screen and (max-width: 767px) {
  .services-display .service-holder .service-img {
    background: #285966 !important;
    border: 1px solid #285966 !important;
    box-shadow: inset 0 0 0 3px #e2c8b8, inset 0 0 0 4px rgba(229, 174, 168, .9);
  }
  .site-wrapper .services-display .service-holder .service-img img {
    width: 38px !important; height: 38px !important;
    filter: brightness(0) invert(1) sepia(.35) saturate(1.6) hue-rotate(-12deg) drop-shadow(0 0 .4px #fff) drop-shadow(0 0 .4px #fff);
  }
}

/* Contact icons: filled teal badges */
.contact-details .contact-icon {
  flex: 0 0 46px !important; width: 46px !important; max-width: 46px !important; height: 46px;
  display: flex !important; align-items: center; justify-content: center !important;
  align-self: center;
  border-radius: 50%;
  background: #285966;
  box-shadow: 0 0 0 3px rgba(244, 236, 230, .7), 0 0 0 4px rgba(229, 174, 168, .9);
}
.site-wrapper .contact-details .contact-icon img { width: 22px !important; height: 22px !important; max-width: none; }
@media screen and (max-width: 767px) {
  .contact-details .contact-icon { flex: 0 0 42px !important; width: 42px !important; max-width: 42px !important; height: 42px; }
  .site-wrapper .contact-details .contact-icon img { width: 20px !important; height: 20px !important; }
}
.contact-details.direction-button .contact-icon { background: none !important; box-shadow: none !important; }


/* Welcome to Amoha: readability on glitter brush (desktop + mobile) */
#about-us .info-text {
  color: #00222c !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-shadow: 0 0 2px #fff, 0 0 6px rgba(255,255,255,.9), 0 0 14px rgba(255,255,255,.7) !important;
}


/* Our Work gallery: masonry layout */
#work .our-work-images { column-count: 3; column-gap: 12px; }
#work .our-work-images > .clear { display: none !important; }
#work .our-work-images > .one_third_width {
  float: none !important; width: 100% !important; margin: 0 0 12px 0 !important; padding: 0 !important;
  display: inline-block; break-inside: avoid; -webkit-column-break-inside: avoid;
}
#work .our-work-images > .one_third_width a { display: block; }
#work .our-work-images > .one_third_width img {
  width: 100% !important; height: auto !important; display: block; border-radius: 4px;
  object-fit: contain; aspect-ratio: auto;
}
@media (max-width: 767px) {
  #work .our-work-images { column-count: 2; column-gap: 8px; }
  #work .our-work-images > .one_third_width { margin-bottom: 8px !important; }
}
