.al-home-block {
  --home-ink: #142536;
  --home-muted: #425969;
  --home-dark: #123b56;
  --home-accent: #bbecfa;
  padding-block: clamp(48px, 6vw, 96px);
  color: var(--home-ink);
}
.al-home-block h2 { font-size: clamp(25px, 2.7vw, 36px); line-height: 1.16; letter-spacing: -.025em; }
.al-home-block h3 { font-size: clamp(16px, 1.8vw, 18px); line-height: 1.35; }
.al-home-block :is(h2,h3) { font-weight: 600; margin: 0; color: inherit; }
.al-home-block p { margin: 0; line-height: 1.65; color: var(--home-muted) !important; }
.al-home-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 25px; margin-bottom: 28px; }
.al-home-heading p { max-width: none; }
.al-work { --work-bg: #f2f9fd; background: var(--work-bg); }
.al-work-grid, .al-guide-list, .al-tech-list { list-style: none; margin: 0; padding: 0; }
.al-work-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.al-work-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 10px;
  min-height: 238px; padding: 24px 24px 54px; background: transparent; border-radius: 0;
  --work-card-bg: #fff;
}
/* Bentuk kartu + lekukan sudut kiri bawah murni tanpa mask (0 piksel di bawah angka 01-04) */
.al-work-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 33px;
  z-index: -1;
  border-radius: 17px 17px 0 12px;
  background: var(--work-card-bg);
}
.al-work-card::after {
  content: "";
  position: absolute;
  left: 56px;
  right: 0;
  bottom: 0;
  height: 34px;
  z-index: -1;
  border-radius: 0 0 17px 12px;
  background: var(--work-card-bg);
}
.al-work-card:nth-child(2) { --work-card-bg: #def3fc; }
.al-work-card:nth-child(3) { --work-card-bg: #c9ebfa; }
.al-work-card:nth-child(4) { --work-card-bg: var(--home-dark); color: #fff; }
.al-work-card:nth-child(4) p { color: #dff3fd !important; }
.al-work-icon { display: flex; align-items: center; min-height: 34px; margin-bottom: 8px; }
.al-work-icon i { font-size: 23px; }
.al-work-icon span {
  position: absolute; inset: auto auto 0 0; display: grid; place-items: center;
  width: 56px; height: 33px; background: transparent; color: #155775;
  font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.al-work-icon span::before {
  content: "";
  position: absolute;
  top: -0.5px;
  right: -0.5px;
  width: 13.5px;
  height: 13.5px;
  pointer-events: none;
  background: radial-gradient(circle at 0 100%, transparent 12.6px, var(--work-card-bg) 13.1px);
}

.al-tech-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); align-items: stretch; gap: clamp(24px, 5vw, 72px); }
.al-tech-photo { position: relative; margin: 0; min-height: 300px; border-radius: 20px; background: #e8f4fb; overflow: hidden; }
.al-tech-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.al-tech-caption {
  position: absolute;
  inset: auto 12px 12px auto;
  z-index: 1;
  max-width: min(245px, calc(100% - 24px));
  border-radius: 12px;
  background: rgba(248, 252, 255, .95);
  color: #18394b;
  box-shadow: 0 5px 18px rgba(13, 31, 44, .2);
}
.al-tech-caption a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: inherit; }
.al-tech-caption strong { display: block; font-family: var(--al-heading-ff, inherit); font-size: 15px; font-weight: 600; line-height: 1.3; }
.al-tech-caption small { display: block; margin-top: 3px; color: #365466; font-size: 12px; line-height: 1.35; }
.al-tech-caption-arrow { display: grid; place-items: center; width: 27px; height: 27px; flex: none; border-radius: 50%; background: #e4f4fc; color: #145b7c; }
.al-tech-caption a:hover strong { text-decoration: underline; }
.al-tech-caption a:focus-visible { outline: 2px solid #137496; outline-offset: -3px; border-radius: inherit; }
.al-tech-list { display: grid; gap: 17px; margin-top: 24px; }
.al-tech-list li { display: flex; align-items: flex-start; gap: 13px; }
.al-tech-list i { display: grid; place-items: center; flex: 0 0 41px; width: 41px; height: 41px; border-radius: 50%; background: #e5f5fd; color: #1a587b; }
.al-tech-list h3 { margin-bottom: 3px; }
.al-guide-panel { display: grid; gap: 24px; }
.al-guide-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; }
.al-guide-intro p { grid-column: 1; max-width: 60ch; }
.al-home-link { display: inline-flex; align-items: center; gap: 8px; color: #145b7c; font-weight: 500; }
.al-guide-intro .al-home-link { grid-column: 2; grid-row: 1 / 3; min-height: 44px; }
.al-guide-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.al-guide-list > li {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  justify-content: flex-end; gap: 7px; grid-column: span 2;
  min-height: clamp(195px, 20vw, 278px); padding: clamp(14px, 2vw, 24px);
  overflow: hidden; border-radius: 16px; background: #193039;
}
.al-guide-list > li:nth-child(-n+2) { grid-column: span 3; }
.al-guide-list > li::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 26%, rgba(9,22,25,.64) 62%, rgba(9,22,25,.96) 100%),
              var(--guide-image) center / cover no-repeat;
}
.al-guide-list li:nth-child(1) { --guide-image: url("../../wp-content/uploads/2020/05/p_sliding_door.jpg"); }
.al-guide-list li:nth-child(2) { --guide-image: url("../../wp-content/uploads/2020/05/p_foolding_door.jpg"); }
.al-guide-list li:nth-child(3) { --guide-image: url("../../wp-content/uploads/2020/05/p_mosquito_net.jpg"); }
.al-guide-list li:nth-child(4) { --guide-image: url("../../wp-content/uploads/2020/05/p_glass_shower.jpg"); }
.al-guide-list li:nth-child(5) { --guide-image: url("../../wp-content/uploads/2020/05/p_sky_light.jpg"); }
.al-home-block .al-guide-list h3 { color: #fff; overflow-wrap: anywhere; }
.al-guide-links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.al-guide-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 4px 10px;
  border-radius: 8px; background: rgba(255,255,255,.16); color: #fff; font-size: 14px;
}
.al-guide-links a:hover { background: #fff; color: #104665; }
.al-guide-links a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.al-guide-links a > span[aria-hidden="true"],
.al-guide-intro .al-home-link > span[aria-hidden="true"] { display: none; }
.al-home-link:hover { text-decoration: underline; color: #104665; }
.al-home-link:focus-visible { outline: 2px solid #137496; outline-offset: -2px; }
@media (max-width: 767px) {
  .al-guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .al-guide-list > li:nth-child(n) { grid-column: auto; min-height: 215px; padding: 18px; }
  .al-guide-list > li:last-child { grid-column: 1 / -1; }
  .al-guide-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .al-guide-intro p { margin-top: 0; }
  .al-guide-intro .al-home-link { min-height: 36px; margin-top: 2px; }
}
@media (max-width: 575px) {
  .al-guide-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .al-guide-list > li:nth-child(n) { min-height: 205px; padding: 20px; }
}
.al-faq { background: #f5fafd; }
.al-faq .al-home-heading { align-items: center; }
.al-faq .al-home-heading p { max-width: 100%; }
.al-faq-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: start; }
.al-faq details { border-radius: 13px; background: #fff; }
.al-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; cursor: pointer; font-weight: 650; list-style: none; }
.al-faq summary::-webkit-details-marker { display: none; }
.al-faq summary::after { content: "+"; display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; background: #e2f2fc; color: #235773; font-size: 17px; }
.al-faq details[open] summary::after { content: "−"; }
.al-faq details p { padding: 0 20px 18px; }
.al-faq details:not([open]) > p { display: none; }
.al-consult-panel { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(0,1fr); align-items: center; gap: clamp(18px,4vw,52px); padding: clamp(24px,5vw,60px); border-radius: 24px; background: linear-gradient(123deg,#12334d,#165476); color: #fff; }
.al-consult-copy { display: grid; gap: 14px; justify-items: start; }
.al-consult-copy p { color: #e1f2fb !important; }
.al-consult-copy .al-consult-area { color: #bbecfa !important; font-weight: 600; }
.al-consult-copy .al-consult-hours { font-size: 13px; }
.al-consult-action, .al-quote-send { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; border-radius: 10px; font-weight: 700; background: #bbecfa; color: #12334d; line-height: 1.35; }
.al-consult-action:hover, .al-quote-send:hover { background: #d9f4fe; color: #12334d; }
.al-quote { padding: clamp(17px,3vw,28px); border-radius: 17px; background: #fff; color: #142536; }
.al-quote-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 15px 0; }
.al-quote-fields label { min-width: 0; font-size: 12px; font-weight: 650; }
.al-quote-fields input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 0; border-radius: 8px; background: #f3f6f9; color: #142536; outline: none; transition: background-color 0.16s ease; }
.al-quote-fields input:focus { background: #e7eef7; border: 0; box-shadow: none; }
.al-quote .al-quote-result { margin-block: 0 12px; display: flex; justify-content: space-between; gap: 8px; }
.al-quote-result strong { color: #165476; }
.al-quote .al-quote-hint { font-size: 13px; }
.al-catalog-card.al-card { position: relative; aspect-ratio: 4 / 5; display: block; border-radius: 16px; color: #fff; background: #193039; overflow: hidden; isolation: isolate; }
.al-catalog-card.al-card img { width: 100%; height: 100%; object-fit: cover; }
.al-catalog-card::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg,transparent 30%,rgba(10,22,26,.28) 53%,rgba(9,22,25,.94) 100%); }
.al-catalog-caption { position: absolute; z-index: 2; display: grid; gap: 3px; bottom: 0; inset-inline: 0; padding: 14px 46px 15px 15px; color: #fff; }
.al-catalog-caption strong { font-size: clamp(15px,1.55vw,22px); font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.al-catalog-caption small { font-size: 12px; line-height: 1.3; color: #e0eeee; }
.al-catalog-arrow { position: absolute; z-index: 2; right: 13px; bottom: 14px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #195573; }
.al-catalog-card:focus-visible { outline: 3px solid #168892; outline-offset: -3px; }
.al-catalog-all { display: block; width: fit-content; margin: 0 0 14px auto; color: #145b7c; font-weight: 500; }
@media(max-width: 991px) {
  .al-home-block { padding-block: 52px; }
  .al-home-heading { gap: 10px 20px; margin-bottom: 24px; }
  .al-work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .al-tech-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .al-consult-panel { grid-template-columns: minmax(0,1fr); gap: 28px; padding: 32px 24px; }
  .al-tech-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .al-faq-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
}
@media(max-width: 575px) {
  .al-home-block { padding-block: 44px; }
  .al-home-heading { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 22px; }
  .al-catalog-all { margin: 4px 0 18px auto; font-size: 14.5px; }
  .al-work-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .al-work-card { min-height: 0; padding: 22px 20px 52px; }
  .al-work-icon { margin-bottom: 4px; }
  .al-tech-photo { aspect-ratio: 4 / 3; border-radius: 16px; }
  .al-tech-caption { max-width: calc(100% - 20px); inset: auto 10px 10px 10px; }
  .al-tech-list { gap: 18px; margin-top: 20px; }
  .al-faq summary { padding: 15px 16px; font-size: 15px; }
  .al-faq details p { padding: 0 16px 16px; font-size: 14px; }
  .al-consult-panel { padding: 26px 18px; gap: 24px; border-radius: 20px; }
  .al-consult-action, .al-quote-send { width: 100%; justify-content: center; text-align: center; padding: 12px 16px; }
  .al-quote { padding: 20px 18px; }
  .al-quote-fields { grid-template-columns: minmax(0,1fr); gap: 12px; }
}

/* Product guide and FAQ read as consecutive sections, with separate surfaces. */
#panduan-produk { padding-bottom: clamp(30px, 4vw, 60px); }
#panduan-produk + #faq { padding-top: clamp(32px, 4vw, 60px); }
.al-consult-copy h2 { max-width: 21ch; }

/* ── World-Class Scroll Choreography & Luxury Micro-Interactions ────────── */
html.al-motion-ready [data-al-reveal] {
  opacity: 0;
  filter: blur(5px);
  will-change: transform, opacity, filter;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--al-delay, 0ms),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--al-delay, 0ms),
    filter 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--al-delay, 0ms);
}
html.al-motion-ready [data-al-reveal="up"] {
  transform: translate3d(0, 38px, 0);
}
html.al-motion-ready [data-al-reveal="card"] {
  transform: translate3d(0, 48px, 0) scale(0.94);
}
html.al-motion-ready [data-al-reveal="left"] {
  transform: translate3d(-36px, 0, 0);
}
html.al-motion-ready [data-al-reveal="right"] {
  transform: translate3d(36px, 0, 0);
}
html.al-motion-ready [data-al-reveal="scale"] {
  transform: translate3d(0, 28px, 0) scale(0.9);
}
html.al-motion-ready [data-al-reveal="curtain"] {
  transform: scale(1.05);
  clip-path: inset(9% 0% 9% 0% round 20px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--al-delay, 0ms),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--al-delay, 0ms),
    filter 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--al-delay, 0ms),
    clip-path 0.95s cubic-bezier(0.16, 1, 0.3, 1) var(--al-delay, 0ms);
}
html.al-motion-ready [data-al-reveal].is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}
html.al-motion-ready [data-al-reveal="curtain"].is-revealed {
  clip-path: inset(0% 0% 0% 0% round 20px);
}

/* Section 1: Alur Kerja cards */
.al-work-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: none !important;
  filter: drop-shadow(0 18px 34px rgba(18, 59, 86, 0.14)) !important;
}
.al-work-card .al-work-icon i {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.al-work-card:hover .al-work-icon i {
  transform: scale(1.14) translateY(-2px);
}

/* Section 2: Keunggulan Teknis */
.al-tech-photo img {
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.al-tech-photo:hover img {
  transform: scale(1.05);
}
.al-tech-caption:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 28px rgba(13, 31, 44, 0.24);
}
.al-tech-caption-arrow {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease;
}
.al-tech-caption a:hover .al-tech-caption-arrow {
  transform: translate(2px, -2px);
  background: #1ea3c6;
  color: #fff;
}
.al-tech-list li:hover {
  transform: translateX(6px) !important;
}
.al-tech-list li i {
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.al-tech-list li:hover i {
  background: #1ea3c6;
  color: #fff;
  transform: scale(1.08);
}

/* Section 3: Panduan Produk Bento Grid */
.al-guide-list > li::before {
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.al-guide-list > li:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 22px 46px rgba(9, 22, 25, 0.22);
}
.al-guide-list > li:hover::before {
  transform: scale(1.07);
}
.al-guide-links a {
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.al-guide-links a:hover {
  transform: translateY(-2px);
}

/* Section 4: FAQ Accordion (no added border lines) */
.al-faq details:hover {
  box-shadow: 0 12px 28px rgba(18, 59, 86, 0.07);
  transform: translateY(-2px) !important;
}
.al-faq details[open] {
  box-shadow: 0 14px 32px rgba(18, 59, 86, 0.08);
}
.al-faq summary::after {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease;
}
.al-faq details[open] summary::after {
  transform: rotate(180deg);
  background: #1ea3c6;
  color: #fff;
}
.al-faq details[open] > p {
  animation: al-faq-open 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes al-faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section 5: Konsultasi & Calculator */
.al-consult-panel {
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(18, 51, 77, 0.22);
}
.al-consult-panel::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -15%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 236, 250, 0.16), transparent 68%);
  pointer-events: none;
}
.al-consult-copy, .al-quote {
  position: relative;
  z-index: 1;
}
.al-consult-action, .al-quote-send {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.3s ease;
}
.al-consult-action:hover, .al-quote-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.al-quote {
  box-shadow: 0 18px 40px rgba(8, 26, 40, 0.18);
}
.al-quote:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 26px 52px rgba(8, 26, 40, 0.24);
}

/* Section 6: Spesialis Kami / CEO Portrait (no added border or outline) */
.al-about__thumb img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}
.al-about__thumb:hover img {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 42px rgba(18, 59, 86, 0.16);
}

/* Product Detail Assurance Sections */
.al-assurance-item {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.al-assurance-item:hover {
  transform: translateY(-4px);
}
