:root {
  --maroon: #4A1620;
  --maroon-light: #6b2130;
  --cream: #F7F0EC;
  --dusty-pink: #C98FA0;
  --navy: #12182B;
  --gold: #D4A94D;
  --light-gray: #E8E6E2;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1160px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale {
  animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn {
  display: inline-block;
  padding: .8em 1.8em;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(74, 22, 32, 0.15);
}
.btn--pill { border-radius: 999px; }

.btn--primary {
  background: var(--maroon);
  color: var(--cream);
}
.btn--primary:hover { background: var(--maroon-light); }

.btn--ghost {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn--ghost:hover { background: var(--maroon); color: var(--cream); }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: #c19638; box-shadow: 0 10px 25px rgba(212, 169, 77, 0.3); }

.btn--outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 240, 236, 0.5);
}
.btn--outline-light:hover {
  border-color: var(--cream);
  background: rgba(247, 240, 236, 0.12);
}

.section { padding: 6rem 1.5rem; }
.section--alt { background: var(--light-gray); }

.section--dark { 
  background: var(--maroon); 
  color: var(--cream);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section__inner--center { text-align: center; max-width: 680px; }
.section__inner--split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.section__header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section__eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--maroon);
  margin-bottom: .8rem;
  font-size: 1.1rem;
}
.section__eyebrow--light { color: var(--dusty-pink); }

.section__title { font-size: clamp(1.8rem, 2.8vw, 2.5rem); max-width: 640px; }
.section__title--light { color: var(--cream); }

.section__desc { max-width: 60ch; color: #4a4f5d; }
.section__desc--light { color: rgba(247, 240, 236, 0.85); margin: 0 auto 2rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,240,236,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-gray);
  transition: box-shadow 0.3s ease;
}
.nav:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: auto;
}
.nav__logo-badge {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.nav__logo:hover .nav__logo-badge {
  transform: rotate(10deg) scale(1.05);
}
.nav__logo-badge--small { width: 36px; height: 36px; }
.nav__logo-word {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
}
.nav__links {
  display: flex;
  gap: 2rem;
  font-size: .95rem;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--maroon);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--maroon); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { flex-shrink: 0; }

@media (max-width: 800px) {
  .nav__links { display: none; }
}

.hero {
  padding: 6rem 1.5rem 7rem;
}
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge-pill {
  display: inline-block;
  background: rgba(74, 22, 32, 0.08);
  color: var(--maroon);
  border: 1px solid rgba(74, 22, 32, 0.15);
  border-radius: 999px;
  padding: .4em 1.2em;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero__title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  margin-bottom: 0.3rem;
}
.hero__inner--centered .hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
}

.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--maroon);
  margin-bottom: 1.2rem;
}

.hero__desc {
  max-width: 46ch;
  color: #4a4f5d;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__inner--centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 960px;
}
.hero__inner--centered .hero__desc {
  max-width: 62ch;
  font-size: 1.15rem;
  margin-left: auto;
  margin-right: auto;
}
.hero__inner--centered .hero__actions {
  justify-content: center;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__circle-wrapper {
  position: relative;
  width: 280px; 
  height: 280px; 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}
.hero__circle-wrapper:hover {
  transform: scale(1.03);
}

.hero__circle {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(74, 22, 32, 0.1);
  transform: scale(1.1); 
}

@media (max-width: 860px) {
  .hero__inner { 
    grid-template-columns: 1fr; 
    gap: 3rem; 
    text-align: center; 
  }
  .hero__visual { margin: 1rem auto; }
  .hero__badge-pill, .hero__title, .hero__tagline, .hero__desc { 
    margin-left: auto; 
    margin-right: auto; 
  }
  .hero__actions { justify-content: center; }
  .hero__circle-wrapper { width: 240px; height: 240px; }
}

.about__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--maroon);
  box-shadow: 0 15px 35px rgba(74, 22, 32, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.about__image:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(74, 22, 32, 0.15);
}

.about__values {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 1rem;
}

.about__values li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .95rem;
  color: #4a4f5d;
  transition: transform 0.3s ease;
}

.about__values li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  background-color: var(--gold);
  border-radius: 50%;
}

.about__values li strong {
  color: var(--maroon);
}

.about__values li:hover {
  transform: translateX(5px);
}

@media (max-width: 860px) {
  .section__inner--split { grid-template-columns: 1fr; gap: 2.5rem; }
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(74, 22, 32, 0.08);
  border-color: rgba(74, 22, 32, 0.2);
  background: #FFFFFF;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card__mark {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.service-card p { color: #4a4f5d; margin-bottom: 0; font-size: .95rem; }

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process__card {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}
.process__card:hover {
  background: #FFFFFF;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.04);
  border-color: var(--dusty-pink);
}
.process__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--dusty-pink);
  font-weight: 700;
  display: block;
  margin-bottom: .5rem;
  transition: color 0.3s ease;
}
.process__card:hover .process__num {
  color: var(--maroon);
}
.process__card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.process__card p { color: #4a4f5d; font-size: .9rem; margin: 0; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
}

.contact__links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  background: #350F16;
  color: rgba(247, 240, 236, 0.7);
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(247, 240, 236, 0.12);
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem; 
  font-size: .85rem;
}

/* Efek Animasi Scroll Dinamis (Fade-In & Fade-Out yang Hidup) */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
