
/* ========================================
   ELAROUVE — HOME PAGE
   Warna: cream, beige, gold, warm gray
======================================== */

:root {
  --cream: #f8f4ed;
  --cream-light: #fdfaf5;
  --beige: #e9ddcc;
  --gold: #a57b42;
  --gold-dark: #805a2f;
  --ink: #302d28;
  --muted: #777168;
  --line: #e3d8c8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--cream-light);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* NAVBAR */

.navbar {
  min-height: 76px;
  padding: 12px 4.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(253, 250, 245, 0.97);
  border-bottom: 1px solid rgba(165, 123, 66, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -1.3px;
  color: var(--gold-dark);
}

.brand-dot {
  color: var(--gold);
}

.brand-subtitle {
  margin-top: 6px;
  font-size: 7px;
  letter-spacing: 1.7px;
  line-height: 1;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.nav-link {
  position: relative;
  padding: 9px 0;
  font-size: 12px;
  color: #575148;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-dark);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
}

.login-link {
  padding: 9px 24px;
  border: 1px solid #b99a71;
  border-radius: 7px;
  font-size: 12px;
  color: var(--gold-dark);
  transition: background 0.2s, color 0.2s;
}

.login-link:hover {
  background: var(--gold);
  color: white;
}

.menu-toggle {
  display: none;
}

/* HERO */

.hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 60px 5.5%;
  background:
    radial-gradient(ellipse at 75% 50%, rgba(215, 193, 162, 0.28), transparent 48%),
    linear-gradient(105deg, #f9f4ec 0%, #f2e7d9 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(165, 123, 66, 0.12);
  border-radius: 50%;
  left: -230px;
  top: -170px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 590px;
  padding: 10px 0 16px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.6px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(39px, 4.3vw, 66px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -1.6px;
}

.hero h1 em,
.next-section h2 em {
  color: var(--gold-dark);
  font-weight: 500;
}

.hero-description {
  max-width: 435px;
  margin-top: 22px;
  color: #6f695f;
  font-size: 14px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 25px;
}

.btn {
  min-height: 43px;
  padding: 11px 23px;
  border: 1px solid var(--gold);
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #b08a54, #8c6535);
  color: #fffdf8;
  border-color: transparent;
  box-shadow: 0 5px 16px rgba(128, 90, 47, 0.12);
}

.btn-primary:hover {
  background: var(--gold-dark);
  box-shadow: 0 7px 20px rgba(128, 90, 47, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: var(--gold-dark);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.7);
}

.play-icon {
  width: 17px;
  height: 17px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 31px;
  color: #82796b;
  font-size: 10px;
}

.note-star {
  font-size: 21px;
  color: var(--gold);
}

/* HERO VISUAL AND MOCKUPS */

.hero-visual {
  height: 405px;
  min-width: 0;
  position: relative;
  isolation: isolate;
}

.hero-photo-frame {
  position: absolute;
  width: 67%;
  height: 82%;
  top: 8%;
  left: 17%;
  overflow: hidden;
  border-radius: 48% 48% 4px 4px;
  border: 1px solid rgba(165, 123, 66, 0.5);
  outline: 7px solid rgba(255, 255, 255, 0.17);
  outline-offset: -12px;
  box-shadow: 0 18px 55px rgba(79, 59, 36, 0.13);
}

.hero-couple {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(76, 54, 30, 0.13), transparent 45%);
}

.invitation-mockup {
  position: absolute;
  z-index: 3;
  width: 38%;
  min-height: 255px;
  left: 39%;
  bottom: 0;
  padding: 9px;
  background: #fdf8ef;
  border: 1px solid #d8c29f;
  box-shadow: 0 12px 32px rgba(60, 42, 22, 0.22);
  transform: rotate(-5deg);
}

.invitation-inner {
  min-height: 237px;
  padding: 19px 9px 15px;
  border: 1px solid #d7c09b;
  background:
    radial-gradient(ellipse at 50% 0%, #fffdf8, #f5ead7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
}

.invitation-kicker {
  font-size: 6px;
  letter-spacing: 2px;
  color: #8d704b;
}

.invitation-names {
  font-family: var(--serif);
  font-size: clamp(25px, 2.8vw, 40px);
  line-height: 0.84;
  color: #997342;
}

.invitation-date {
  font-size: 7px;
  letter-spacing: 1.4px;
  color: #655643;
}

.invitation-ornament {
  color: var(--gold);
  font-size: 12px;
}

.invitation-quote {
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  color: #7b6952;
}

.phone-mockup {
  position: absolute;
  z-index: 4;
  width: 22%;
  height: 55%;
  min-width: 83px;
  max-width: 135px;
  right: 2%;
  bottom: 1%;
  padding: 6px;
  background: #282622;
  border: 1px solid #9e927e;
  border-radius: 23px;
  box-shadow: 0 12px 30px rgba(45, 35, 23, 0.25);
  transform: rotate(7deg);
}

.phone-screen {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  background: #eee2d0;
}

.phone-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 5px;
  text-align: center;
  color: #8a6635;
  background: rgba(250, 241, 224, 0.78);
}

.phone-overlay > span:first-child {
  font-size: 5px;
  letter-spacing: 1px;
}

.phone-overlay strong {
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 0.92;
}

.phone-overlay small {
  font-size: 5px;
  letter-spacing: 0.8px;
}

.phone-play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: white;
  font-size: 11px;
}

.floating-note {
  position: absolute;
  z-index: 5;
  top: 12%;
  right: -1%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(165, 123, 66, 0.13);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(60, 42, 22, 0.09);
  font-size: 9px;
  line-height: 1.7;
  color: #62594d;
}

.floating-note strong {
  color: var(--ink);
  font-weight: 500;
}

.floating-star {
  color: var(--gold);
  font-size: 23px;
}

.collection-note {
  position: absolute;
  z-index: 5;
  left: 5%;
  bottom: 2%;
  padding: 13px 17px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #fdf9f1;
  border: 1px solid rgba(165, 123, 66, 0.19);
  box-shadow: 0 7px 20px rgba(60, 42, 22, 0.1);
  transform: rotate(-2deg);
}

.collection-note span {
  font-size: 6px;
  letter-spacing: 1.7px;
  color: #94764c;
}

.collection-note strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
}

.hero-floral {
  position: absolute;
  z-index: 2;
  color: rgba(151, 119, 74, 0.5);
  pointer-events: none;
}

.floral-one {
  top: 13%;
  left: 9%;
  font-size: 48px;
}

.floral-two {
  bottom: 16%;
  right: 7%;
  font-size: 35px;
}

/* FEATURE STRIP */

.trust-strip {
  min-height: 74px;
  padding: 16px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: #fdfaf5;
  border-top: 1px solid rgba(165, 123, 66, 0.09);
  border-bottom: 1px solid rgba(165, 123, 66, 0.13);
}

.trust-heading {
  color: #8c7658;
  font-size: 9px;
  letter-spacing: 2px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 25px;
  border-left: 1px solid #ded0bb;
}

.trust-item > span {
  font-size: 23px;
  color: var(--gold);
}

.trust-item p {
  font-size: 10px;
  color: #777168;
}

/* CATALOG & PACKAGES */

.next-section {
  padding: 76px 5.5%;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: var(--cream-light);
}

.next-section h2 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.15;
  font-weight: 500;
}

.next-section > p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* KATALOG TEMPLATE */

#template {
  padding-bottom: 70px;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  max-width: 1120px;
  margin: 36px auto 0;
  text-align: left;
  align-items: stretch;
}

.template-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.template-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(75, 55, 32, 0.10);
}

.template-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  background: var(--beige);
}

.template-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.template-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 11px;
  background: rgba(253, 250, 245, 0.95);
  border: 1px solid rgba(165, 123, 66, 0.35);
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

.template-card:hover .template-image img {
  transform: scale(1.04);
}

.template-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 22px;
}

.template-category {
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  line-height: 1.6;
  text-transform: uppercase;
}

.template-card h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.15;
}

.template-price {
  margin-top: 9px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
}

.template-card .btn {
  margin-top: 17px;
  min-height: 39px;
  padding: 9px 18px;
  font-size: 11px;
}

/* RESPONSIVE KATALOG */

@media (max-width: 1000px) {
  .template-grid {
    gap: 16px;
  }

  .template-info {
    padding: 16px;
  }

  .template-card h3 {
    font-size: 24px;
  }
}

@media (max-width: 700px) {
  .template-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }

  .template-image {
    aspect-ratio: 4 / 3;
  }

  .template-info {
    padding: 20px;
  }

  .template-card h3 {
    font-size: 27px;
  }
}


/* PAKET */

#paket {
  background: #f5eee4;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 17px;
  max-width: 1180px;
  margin: 36px auto 0;
  text-align: left;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 309px;
  padding: 27px 22px;
  background: #fffdf9;
  border: 1px solid #e3d5c1;
  border-radius: 4px;

  transform: scale(1);
  transform-origin: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

  z-index: 0;
}

/* Signature / Pilihan Favorit */

.package-card.package-featured {
  border: 1px solid #e3d5c1;
  box-shadow: none;
  z-index: 0;
}

/* Badge favorit tidak menggeser isi kartu */
.package-card.package-featured .package-popular {
  position: absolute;
  top: 5px;
  right: 100px;
  margin: 0;
}



/* Zoom saat hover di laptop/desktop */
@media (hover: hover) and (pointer: fine) {
  .package-card:hover {
    transform: scale(1.035);
    box-shadow: 0 18px 40px rgba(40, 30, 20, 0.12);
    z-index: 2;
  }

  .package-card.package-featured:hover {
    transform: scale(1.055);
    z-index: 3;
  }
}

.package-label {
  color: var(--gold-dark);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


.package-card h3 {
  font-size: 29px;
  margin-top: 0;
}


.package-price {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 25px;
  color: var(--gold-dark);
  line-height: 1.2;
}

.package-description {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.package-card .btn {
  width: 100%;
  margin-top: auto;
  padding: 12px 10px;
  flex-shrink: 0;
  text-align: center;
}

.package-note {
  margin-top: 25px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* Kurangi animasi jika pengguna memilih reduced motion */
@media (prefers-reduced-motion: reduce) {
  .package-card {
    transition: none;
  }
}


/* CARA PESAN */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 38px auto 0;
  text-align: left;
}

.step-card {
  padding: 26px;
  border-top: 1px solid #cbb18b;
  background: #fffdf9;
}

.step-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 32px;
}

.step-card h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.step-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* CTA PENUTUP */

#demo {
  padding-block: 82px;
  background:
    radial-gradient(ellipse at top, #f0e2ce, transparent 70%),
    var(--cream-light);
}

#demo .btn {
  margin-top: 22px;
}

/* RESPONSIVE CATALOG & PACKAGES */

@media (max-width: 1000px) {
  .template-grid {
    gap: 16px;
  }

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

  .template-card-content {
    padding: 15px;
  }

  .package-card {
    padding: 23px 18px;
  }
}

@media (max-width: 700px) {
  .next-section {
    padding: 50px 6%;
  }

  .next-section h2 {
    font-size: 34px;
  }

  .template-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }

  .template-card > img {
    aspect-ratio: 4 / 3;
  }

  .template-card-content {
    padding: 20px;
  }

  .package-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 28px;
  }

  .package-card {
    padding: 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .step-card {
    padding: 22px;
  }

  #demo {
    padding-block: 58px;
  }
}


/* FOOTER */

.footer {
  padding: 30px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  background: #f4ede2;
}

.footer .brand-name {
  font-size: 28px;
}

.footer .brand-subtitle {
  font-size: 6px;
}

.footer > p,
.footer > span {
  color: #777168;
  font-size: 10px;
}

/* TABLET */

@media (max-width: 1000px) {
  .navbar {
    padding-inline: 4%;
  }

  .nav-links {
    gap: 19px;
  }

  .hero {
    grid-template-columns: 1fr 0.9fr;
    padding-inline: 4%;
    min-height: 440px;
  }

  .hero h1 {
    font-size: clamp(37px, 4.8vw, 52px);
  }

  .hero-visual {
    height: 355px;
  }

  .invitation-mockup {
    min-height: 220px;
  }

  .invitation-inner {
    min-height: 202px;
  }

  .trust-strip {
    gap: 13px;
  }

  .trust-heading {
    max-width: 180px;
    line-height: 1.8;
  }

  .trust-item {
    padding-left: 14px;
  }
}

/* MOBILE */

@media (max-width: 700px) {
  html {
    scroll-padding-top: 72px;
  }

  .navbar {
    min-height: 70px;
    padding: 12px 5%;
  }

  .brand-name {
    font-size: 31px;
  }

  .brand-subtitle {
    font-size: 6px;
    letter-spacing: 1.4px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 17px;
    height: 1.5px;
    background: var(--gold-dark);
    transition: transform 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 17px 5% 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fdfaf5;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 20px rgba(55, 43, 29, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 4px;
    font-size: 13px;
  }

  .nav-link.active::after {
    display: none;
  }

  .login-link {
    margin-top: 7px;
    padding: 11px 15px;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 42px 6% 25px;
    gap: 16px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 2.1px;
  }

  .hero h1 {
    margin-top: 13px;
    font-size: clamp(39px, 10.3vw, 55px);
    line-height: 1.01;
    letter-spacing: -1px;
  }

  .hero-description {
    max-width: 420px;
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.8;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 20px;
  }

  .btn {
    min-height: 42px;
    padding: 10px 17px;
    gap: 8px;
    font-size: 11px;
  }

  .hero-note {
    margin-top: 19px;
    font-size: 9px;
  }

  .hero-visual {
    width: 100%;
    height: min(83vw, 370px);
    min-height: 280px;
    margin-top: 5px;
  }

  .hero-photo-frame {
    width: 70%;
    height: 84%;
    top: 5%;
    left: 13%;
  }

  .invitation-mockup {
    width: 38%;
    min-height: 190px;
    left: 32%;
    bottom: 0;
    padding: 6px;
  }

  .invitation-inner {
    min-height: 176px;
    padding: 12px 5px;
    gap: 7px;
  }

  .invitation-names {
    font-size: clamp(25px, 7vw, 34px);
  }

  .invitation-kicker,
  .invitation-date {
    font-size: 5px;
  }

  .invitation-quote {
    font-size: 9px;
  }

  .phone-mockup {
    width: 22%;
    height: 51%;
    min-width: 75px;
    right: 0;
    bottom: 2%;
    border-radius: 18px;
    padding: 5px;
  }

  .phone-screen {
    border-radius: 13px;
  }

  .phone-overlay {
    gap: 8px;
  }

  .phone-overlay strong {
    font-size: 15px;
  }

  .floating-note {
    top: 4%;
    right: -1%;
    padding: 9px 10px;
    gap: 6px;
    font-size: 7px;
  }

  .floating-star {
    font-size: 18px;
  }

  .collection-note {
    left: 0;
    bottom: 0;
    padding: 10px 12px;
  }

  .collection-note span {
    font-size: 5px;
  }

  .collection-note strong {
    font-size: 13px;
  }

  .hero-floral {
    font-size: 27px;
  }

  .trust-strip {
    padding: 17px 5%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px 6px;
  }

  .trust-heading {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
    font-size: 8px;
  }

  .trust-item {
    padding-left: 0;
    border-left: 0;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .trust-item > span {
    font-size: 21px;
  }

  .trust-item p {
    font-size: 9px;
  }

  .next-section {
    min-height: 165px;
    padding: 42px 6%;
  }

  .next-section h2 {
    font-size: 31px;
    line-height: 1.1;
  }

  .next-section > p:last-child {
    font-size: 11px;
  }

  .footer {
    padding: 25px 6%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 13px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .btn {
    padding-inline: 12px;
    font-size: 10px;
  }

  .invitation-mockup {
    min-height: 170px;
  }

  .invitation-inner {
    min-height: 156px;
  }

  .floating-note {
    right: -2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


/* KARTU PAKET TERPILIH */

.package-card.is-selected {
  transform: scale(1.025);
  border: 2px solid var(--gold);
  box-shadow: 0 14px 34px rgba(128, 90, 47, 0.16);
  z-index: 2;
}

.package-card.is-selected::after {
  content: "✓ Paket dipilih";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  background: var(--gold-dark);
  color: #fffdf9;
  font-size: 9px;
  letter-spacing: 0.4px;
  border-radius: 2px;
  pointer-events: none;
}

/* Tombol utama hanya pada kartu terpilih */
.package-card.is-selected .btn {
  background: var(--gold-dark);
  color: #fffdf9;
  border-color: var(--gold-dark);
}

@media (max-width: 768px) {
  .package-card.is-selected {
    transform: scale(1.01);
  }
}


/* Jangan sampai kartu terpilih terlalu besar di HP */
@media (max-width: 768px) {
  .package-card.is-selected {
    transform: scale(1.01);
  }
}

/* Pastikan hanya kartu terpilih yang memiliki border emas */

.package-grid .package-card.package-featured {
  border: 1px solid #e3d5c1;
  box-shadow: none;
}

.package-grid .package-card.is-selected {
  border: 2px solid var(--gold);
  box-shadow: 0 14px 34px rgba(128, 90, 47, 0.16);
}
/* =========================================
   ELAROUVE HOME — RESPONSIVE IMPROVEMENTS
   ========================================= */

/* Mencegah elemen melebar keluar layar */
html {
  width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  min-width: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

/* Tablet dan laptop berlayar kecil */
@media (max-width: 1000px) {
  .hero,
  .next-section,
  .footer {
    max-width: 100%;
  }

  .template-grid,
  .package-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .template-card,
  .package-card,
  .step-card {
    min-width: 0;
  }
}

/* HP */
@media (max-width: 700px) {
  .hero,
  .next-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 46px);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .hero-description,
  .section-description {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    max-width: 100%;
  }

  .template-grid,
  .package-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .template-card,
  .package-card,
  .step-card {
    width: 100%;
    min-width: 0;
  }

  .navbar {
    max-width: 100%;
  }

  .brand-subtitle {
    overflow-wrap: anywhere;
  }

  .footer {
    padding-left: 20px;
    padding-right: 20px;
    overflow-wrap: anywhere;
  }
}

/* HP kecil */
@media (max-width: 380px) {
  .hero,
  .next-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}



/* Dropdown akun navbar Elarouve */
.account-menu {
  position: relative;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font: inherit;
}

.account-dropdown[hidden] {
  display: none !important;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1000;
  width: 230px;
  padding: 10px;
  background: #fffdf9;
  border: 1px solid #e8dfd2;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(57, 43, 28, 0.14);
}

.account-dropdown-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-bottom: 1px solid #e8dfd2;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.account-dropdown-heading strong {
  color: #46392e;
  font-size: 14px;
}

.account-dropdown-heading small {
  color: #897b6c;
  font-size: 12px;
}

.account-dropdown > a,
.account-dropdown > button {
  display: block;
  width: 100%;
  padding: 11px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #514438;
  text-align: left;
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.account-dropdown > a:hover,
.account-dropdown > button:hover {
  background: #f3ece2;
}

@media (max-width: 768px) {
  .account-menu {
    width: 100%;
  }

  .account-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .account-dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
    box-shadow: none;
  }
}


/* Profile card dropdown Elarouve */
.account-dropdown {
    width: 270px;
    padding: 14px;
    background: #fffdf9;
    border: 1px solid #e9dfd2;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(57, 43, 28, 0.15);
}

.account-profile {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 7px 5px 12px;
}

.account-avatar {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #eadcc9;
    background: #f0e7da;
}

.account-profile-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.account-profile-info strong {
    color: #49392c;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.account-profile-info span {
    color: #897764;
    font-size: 12px;
}

.account-profile-info small {
    color: #a17c4f;
    font-size: 11px;
}

.account-dropdown-divider {
    height: 1px;
    background: #eee5d9;
    margin: 4px 0 8px;
}

.account-dropdown > a,
.account-dropdown > button {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 42px;
    padding: 10px;
    box-sizing: border-box;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #514438;
    font: inherit;
    font-size: 13px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.account-dropdown > a:hover,
.account-dropdown > button:hover {
    background: #f5eee5;
}

.account-menu-icon {
    width: 20px;
    color: #8a7056;
    text-align: center;
    font-size: 17px;
}

.account-menu-arrow {
    margin-left: auto;
    color: #a99a88;
    font-size: 20px;
}

.account-dropdown > button {
    color: #a35e52;
}

.account-dropdown > button .account-menu-icon {
    color: #a35e52;
}

.account-avatar {
    overflow: hidden;
}

@media (max-width: 768px) {
    .account-dropdown {
        width: 100%;
        margin-top: 8px;
        box-sizing: border-box;
    }
}

.account-avatar-placeholder {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 2px solid #eadcc9;
  border-radius: 50%;
  background: #f0e7da;
  color: #9a8064;
  font-size: 27px;
}


/* Perbaikan visibilitas dropdown akun */
.account-dropdown[hidden] {
  display: none !important;
}

.account-menu {
  position: relative;
}

.account-dropdown:not([hidden]) {
  display: block;
}



/* ========================================
   BUSINESS SETTINGS — LOGO
======================================== */

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 48px;
  object-fit: contain;
}

.brand-logo[hidden] {
  display: none !important;
}


/* ========================================
   FOOTER — SEAMLESS ELEGANT DESIGN
======================================== */

.footer {
  background: transparent;
  border-top: 1px solid var(--line);
}


/* ========================================
   FOOTER — CONTACT & SOCIAL MEDIA
======================================== */

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 14px 0;
}

.footer-contact a {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--gold-dark);
}

@media (max-width: 600px) {
  .footer-contact {
    gap: 10px 16px;
  }

  .footer-contact a {
    font-size: 11px;
  }
}


/* ========================================
   ELAROUVE — ELEGANT LUXURY FOOTER
======================================== */

.footer {
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 38px 5% 22px;
  color: var(--muted);
}

.footer-main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.4fr;
  align-items: center;
  gap: 48px;
}

/* BRAND */

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand .brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-decoration: none;
}

.footer-brand .brand-logo {
  max-width: 170px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-brand .brand-name {
  font-family: var(--serif);
  font-size: 29px;
  color: var(--gold-dark);
  line-height: 1;
}

.footer-brand .brand-subtitle {
  font-size: 8px;
  letter-spacing: 2.2px;
  color: var(--gold);
}

/* DESKRIPSI */

.footer-description p {
  max-width: 330px;
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* KONTAK */

.footer-contact {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.footer-contact[hidden] {
  display: none !important;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-contact a:hover {
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.footer-contact-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-contact-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* COPYRIGHT */

.footer-bottom {
  max-width: 1440px;
  margin: 30px auto 0;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
}

.footer-bottom-note {
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* RESPONSIVE TABLET */

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-description {
    text-align: right;
  }

  .footer-description p {
    margin-left: auto;
  }

  .footer-contact {
    grid-column: 1 / -1;
    justify-content: center;
    padding-top: 8px;
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 600px) {
  .footer {
    padding: 32px 22px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    text-align: center;
  }

  .footer-brand .brand {
    align-items: center;
  }

  .footer-description {
    text-align: center;
  }

  .footer-description p {
    margin: 0 auto;
    max-width: 290px;
  }

  .footer-contact {
    justify-content: center;
    gap: 16px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    margin-top: 25px;
  }
}



/* ========================================
   FOOTER — DESKTOP ALIGNMENT REFINEMENT
======================================== */

@media (min-width: 901px) {

  .footer-main {
    max-width: 1640px;
    grid-template-columns: 1fr 1.35fr 1.4fr;
    gap: 48px;
  }

  /* LOGO LEBIH KE KIRI */
  .footer-brand {
    justify-content: flex-start;
  }

  /* DESKRIPSI TEPAT DI TENGAH */
  .footer-description {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .footer-description p {
    margin: 0 auto;
    text-align: center;
  }

  /* KONTAK LEBIH KE KANAN */
  .footer-contact {
    justify-content: flex-end;
    padding-right: 0;
  }

  /* COPYRIGHT MENGIKUTI LEBAR FOOTER */
  .footer-bottom {
    max-width: 1640px;
  }

}


/* ========================================
   ELAROUVE — DESKTOP FOOTER REFINEMENT
======================================== */

@media (min-width: 901px) {

  .footer {
    padding: 32px 6.8% 20px;
  }

  .footer-main {
    max-width: 1640px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 24px;
  }

  /* LOGO KIRI */

  .footer-brand {
    justify-content: flex-start;
  }

  /* DESKRIPSI TEPAT DI TENGAH HALAMAN */

  .footer-description {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .footer-description p {
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
  }

  /* KONTAK KANAN */

  .footer-contact {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 18px;
  }

  /* COPYRIGHT SEPANJANG FOOTER */

  .footer-bottom {
    max-width: 1640px;
    width: 100%;
    margin: 26px auto 0;
    padding-top: 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid var(--line);
  }

}


/* COPYRIGHT CENTER — DESKTOP */

@media (min-width: 901px) {
  .footer-bottom {
    position: relative;
    justify-content: flex-end;
  }

  .footer-bottom > span:first-child {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
  }

  .footer-bottom-note {
    margin-left: auto;
  }
}
