/* =========================================================
   HASIL BEFORE-AFTER | EVALITA PRINTING
   Clean CSS structure for easier maintenance
========================================================= */

/* =========================================================
   01. RESET & DESIGN TOKENS
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #031326;
  --navy-deep: #020b17;
  --blue: #d8ad62;
  --blue-soft: #f4d99a;
  --white: #ffffff;
  --muted: #d8e2ef;
  --muted-soft: #9fb1c7;
  --border: rgba(255, 255, 255, 0.16);

  --glass-dark: rgba(2, 13, 27, 0.54);
  --card-bg: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.035)
  );

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --shadow-card: 0 26px 80px rgba(0, 0, 0, 0.26);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* =========================================================
   02. GLOBAL UTILITIES
========================================================= */
.section-container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.section-heading p {
  color: var(--muted-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* =========================================================
   03. HERO
========================================================= */
.result-hero {
  min-height: 82vh;
  padding: 0 5vw 90px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(1, 10, 24, 0.98) 0%,
      rgba(1, 10, 24, 0.82) 44%,
      rgba(1, 10, 24, 0.26) 100%
    ),
    linear-gradient(
      180deg,
      rgba(1, 10, 24, 0.2) 0%,
      rgba(1, 10, 24, 0.92) 100%
    ),
    url("../assets/img/hero-taman.png") center right / cover no-repeat;
}

.result-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 45%, rgba(46, 140, 255, 0.20), transparent 34%),
    radial-gradient(circle at 5% 100%, rgba(0, 0, 0, 0.78), transparent 32%);
}

.result-nav {
  position: relative;
  z-index: 2;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--blue-soft);
  font-size: 2.8rem;
  transform: rotate(-10deg);
}

.brand h1 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1;
}

.brand p {
  margin-top: 4px;
  color: var(--muted-soft);
  font-size: 0.85rem;
}

.back-link {
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(2, 13, 27, 0.52);
  border: 1px solid var(--border);
  color: var(--muted);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.back-link:hover {
  color: var(--white);
  border-color: rgba(90, 168, 255, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin-top: 100px;
}

.hero-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3.7rem, 7vw, 7.8rem);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 28px;
}

.hero-content p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.hero-stats div {
  min-width: 160px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--glass-dark);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-soft);
  font-size: 1.2rem;
}

.hero-stats span {
  color: var(--muted-soft);
  font-size: 0.88rem;
}

/* =========================================================
   04. PORTFOLIO BEFORE-AFTER
========================================================= */
.portfolio-section {
  padding: 110px 0;
  background:
    radial-gradient(circle at top right, rgba(46, 140, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #020b17 0%, #031326 45%, #020b17 100%);
}

.simple-note {
  margin-bottom: 34px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.simple-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.simple-note p {
  color: var(--muted-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.portfolio-card,
.empty-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow-card);
  transition: 0.28s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(90, 168, 255, 0.38);
}

.compare-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 260px;
}

.compare-img {
  position: relative;
  overflow: hidden;
}

.compare-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.portfolio-card:hover .compare-img img {
  transform: scale(1.07);
}

.compare-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(2, 11, 23, 0.72) 100%
  );
}

.compare-img span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(2, 13, 27, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
}

.portfolio-content {
  padding: 24px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.portfolio-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(46, 140, 255, 0.15);
  color: var(--blue-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

.portfolio-content p,
.empty-card p {
  color: var(--muted-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.empty-card {
  grid-column: 1 / -1;
  padding: 30px;
}

.preview-btn {
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #d8ad62, #a8772c);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.preview-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(46, 140, 255, 0.28);
}

/* =========================================================
   05. TESTIMONI WHATSAPP
========================================================= */
.wa-testimonial-section {
  padding: 110px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(46, 140, 255, 0.13), transparent 32%),
    linear-gradient(180deg, #031326 0%, #020b17 100%);
}

.wa-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.wa-testimonial-card {
  width: 100%;
  max-width: 430px;
  justify-self: center;
  padding: 14px;
  border-radius: 26px;
  cursor: zoom-in;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
  transition: 0.28s ease;
}

.wa-testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(90, 168, 255, 0.36);
}

.wa-testimonial-card img {
  width: 100%;
  display: block;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.wa-testimonial-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 6px 4px;
}

.wa-testimonial-card figcaption strong {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.wa-testimonial-card figcaption span {
  color: var(--muted-soft);
  font-size: 0.76rem;
}

/* =========================================================
   06. CTA
========================================================= */
.cta-section {
  padding: 110px 0;
  background: #020b17;
}

.cta-box {
  padding: 56px;
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 40px;
  background:
    radial-gradient(circle at top left, rgba(46, 140, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-box h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.cta-box p {
  color: var(--muted-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.btn-wa {
  min-height: 60px;
  padding: 0 28px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d8ad62, #a8772c);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 18px 45px rgba(46, 140, 255, 0.28);
  transition: var(--transition);
}

.btn-wa:hover {
  transform: translateY(-4px);
}

/* =========================================================
   07. FOOTER
========================================================= */
.footer {
  padding: 26px 20px;
  text-align: center;
  background: #020b17;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer p {
  color: var(--muted-soft);
  font-size: 0.86rem;
}

.footer,
.footer.reveal {
  opacity: 1;
  transform: none;
}

/* =========================================================
   08. MODAL SHARED STYLE
========================================================= */
.preview-modal,
.testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.testimonial-modal {
  z-index: 1000;
}

.preview-modal.is-open,
.testimonial-modal.is-open {
  display: flex;
}

.preview-backdrop,
.testimonial-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 10, 24, 0.86);
  backdrop-filter: blur(14px);
}

.testimonial-backdrop {
  background: rgba(1, 10, 24, 0.88);
}

.preview-content,
.testimonial-content {
  position: relative;
  z-index: 2;
  max-height: 92vh;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(46, 140, 255, 0.16), transparent 34%),
    rgba(2, 13, 27, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
}

.preview-content {
  width: min(1280px, 96vw);
}

.testimonial-content {
  width: min(720px, 94vw);
}

.preview-close,
.testimonial-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.preview-close:hover,
.testimonial-close:hover {
  background: rgba(46, 140, 255, 0.35);
  transform: rotate(90deg);
}

.preview-header,
.testimonial-header {
  padding-right: 60px;
  margin-bottom: 24px;
}

.preview-header span,
.testimonial-header span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
}

.preview-header h2,
.testimonial-header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -1px;
}

.testimonial-header h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.preview-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.preview-image-box,
.testimonial-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.preview-image-box span {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(2, 13, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-image-box img,
.testimonial-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* =========================================================
   09. FLOATING WHATSAPP
========================================================= */
.floating-wa {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 850;
  min-width: 64px;
  height: 64px;
  padding: 0 20px 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #18b66a, #0c8f51);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(12, 143, 81, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: var(--transition);
}

.floating-wa:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(12, 143, 81, 0.48);
}

.floating-wa-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  letter-spacing: -0.5px;
}

.floating-wa-text {
  font-size: 0.92rem;
  white-space: nowrap;
}

/* =========================================================
   10. RESPONSIVE
========================================================= */
@media (max-width: 980px) {
  .result-hero {
    min-height: auto;
    padding: 0 6vw 80px;
    background:
      linear-gradient(
        180deg,
        rgba(1, 10, 24, 0.98) 0%,
        rgba(1, 10, 24, 0.78) 48%,
        rgba(1, 10, 24, 0.96) 100%
      ),
      url("../assets/img/hero-taman.png") center / cover no-repeat;
  }

  .result-nav {
    height: auto;
    padding: 28px 0;
  }

  .back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 0.86rem;
  }

  .hero-content {
    margin-top: 70px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wa-testimonial-section,
  .cta-section {
    padding: 80px 0;
  }

  .wa-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .wa-testimonial-card {
    max-width: 380px;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .btn-wa {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .preview-modal,
  .testimonial-modal {
    padding: 14px;
  }

  .preview-content,
  .testimonial-content {
    width: 100%;
    max-height: 94vh;
    padding: 20px;
    border-radius: 24px;
  }

  .preview-compare {
    grid-template-columns: 1fr;
  }

  .preview-image-box,
  .testimonial-image-wrap {
    border-radius: 18px;
  }

  .preview-header h2,
  .testimonial-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 700px) {
  .wa-testimonial-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wa-testimonial-card {
    max-width: 420px;
    width: 100%;
  }

  .wa-testimonial-card figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .wa-testimonial-card figcaption strong {
    font-size: 0.86rem;
  }

  .wa-testimonial-card figcaption span {
    font-size: 0.76rem;
  }
}

@media (max-width: 620px) {
  .section-container {
    width: calc(100% - 36px);
  }

  .result-hero {
    padding: 0 22px 70px;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
    font-size: 2.3rem;
  }

  .brand h1 {
    font-size: 1.55rem;
  }

  .brand p {
    font-size: 0.78rem;
  }

  .hero-content {
    margin-top: 52px;
  }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 3px;
  }

  .hero-content h2 {
    font-size: 3.2rem;
    line-height: 1;
    letter-spacing: -1.5px;
  }

  .hero-content p {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .portfolio-section,
  .wa-testimonial-section,
  .cta-section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 2.35rem;
    line-height: 1.12;
    letter-spacing: -1px;
  }

  .section-heading p {
    font-size: 0.92rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portfolio-card {
    border-radius: 24px;
  }

  .compare-box {
    height: 230px;
  }

  .portfolio-content {
    padding: 22px;
  }

  .wa-testimonial-card {
    padding: 12px;
    border-radius: 22px;
  }

  .wa-testimonial-card img {
    border-radius: 16px;
  }

  .cta-box {
    padding: 28px;
    border-radius: 28px;
  }

  .cta-box h2 {
    font-size: 2.35rem;
  }

  .cta-box p {
    font-size: 0.92rem;
  }

  .btn-wa {
    width: 100%;
  }

  .testimonial-content {
    padding: 18px;
  }

  .floating-wa {
    right: 18px;
    bottom: 18px;
    width: 62px;
    min-width: 62px;
    height: 62px;
    padding: 0;
    justify-content: center;
  }

  .floating-wa-icon {
    width: 44px;
    height: 44px;
  }

  .floating-wa-text {
    display: none;
  }

  .result-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .back-link {
    width: 100%;
    margin-left: 0;
    padding: 13px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(46, 140, 255, 0.28), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(90, 168, 255, 0.34);
    color: var(--white);
    text-align: center;
  }
}


/* FIX FULL PREVIEW DESKTOP BIAR GAMBAR LEBIH MANTAP */
@media (min-width: 900px) {
  .preview-content {
    width: min(1680px, 98vw);
    max-height: 96vh;
    padding: 22px;
  }

  .preview-header {
    margin-bottom: 16px;
  }

  .preview-header h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
  }

  .preview-compare {
    height: calc(96vh - 135px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .preview-image-box {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .preview-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* =========================================================
   FIX TESTIMONI - THUMBNAIL KECIL BERJEJER
========================================================= */

.wa-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.wa-testimonial-card {
  max-width: none;
  width: 100%;
  padding: 10px;
  border-radius: 20px;
  cursor: zoom-in;
}

.wa-testimonial-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
}

.wa-testimonial-card figcaption {
  padding: 10px 4px 2px;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.wa-testimonial-card figcaption strong {
  font-size: 0.78rem;
}

.wa-testimonial-card figcaption span {
  font-size: 0.68rem;
}

@media (max-width: 980px) {
  .wa-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .wa-testimonial-card img {
    height: 200px;
  }
}

@media (max-width: 700px) {
  .wa-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .wa-testimonial-card {
    padding: 8px;
    border-radius: 18px;
  }

  .wa-testimonial-card img {
    height: 180px;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .wa-testimonial-card img {
    height: 160px;
  }

  .wa-testimonial-card figcaption strong {
    font-size: 0.72rem;
  }

  .wa-testimonial-card figcaption span {
    font-size: 0.64rem;
  }
}

/* =========================================================
   ANIMASI HALUS - HALAMAN HASIL
========================================================= */

.result-nav {
  animation: navDrop 0.8s ease forwards;
}

.hero-content {
  opacity: 0;
  animation: heroFadeLeft 1s ease 0.25s forwards;
}

.hero-stats div {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
}

.hero-stats div:nth-child(1) {
  animation-delay: 0.55s;
}

.hero-stats div:nth-child(2) {
  animation-delay: 0.7s;
}

.hero-stats div:nth-child(3) {
  animation-delay: 0.85s;
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeLeft {
  from {
    opacity: 0;
    transform: translateX(-34px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card,
.wa-testimonial-card,
.cta-box {
  will-change: transform;
}

.floating-wa {
  animation: waPulse 2.8s ease-in-out infinite;
}

@keyframes waPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 18px 45px rgba(12, 143, 81, 0.36);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(12, 143, 81, 0.48);
  }
}

.floating-wa:hover {
  animation-play-state: paused;
}

.preview-btn,
.btn-wa {
  position: relative;
  overflow: hidden;
}

.preview-btn::after,
.btn-wa::after {
  content: "";
  position: absolute;
  top: 0;
  left: -85%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0.55s ease;
}

.preview-btn:hover::after,
.btn-wa:hover::after {
  left: 130%;
}

/* Patch integrasi Lorong 02 */
.brand-logo-shell{
  overflow:hidden;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
}
.brand-logo-shell img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.result-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
@media(max-width:680px){
  .result-actions{justify-content:flex-start;width:100%;}
}
.brand-logo-shell{transform:none;}
