:root {
  --green: #234d24;
  --green2: #3d7b32;
  --lime: #d9edb7;
  --cream: #f7f5ed;
  --ink: #1d281c;
  --muted: #657064;
  --white: #ffffff;
  --border: #e5eadf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
}

/* LAYOUT UMUM */

.wrap {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* NAVBAR */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7ebdf;
}

.nav {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* LOGO BRAND */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  font-weight: 900;
  letter-spacing: -0.4px;
  text-decoration: none;
}

.brand-logo {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  background: transparent;
}

.brand-text {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 13px;
  font-weight: 700;
}

.navlinks a {
  transition: color 0.2s ease;
}

.navlinks a:hover {
  color: var(--green2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* TOMBOL UMUM */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--green2);
  color: white;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.btn.light {
  background: white;
  color: var(--green);
  border: 1px solid #dfe7d8;
}

.btn.light:hover {
  background: #f4f7ef;
}

/* IKON FACEBOOK DAN TIKTOK */

.facebook-icon,
.tiktok-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: #111111;
  color: white;
  transition: transform 0.2s, background 0.2s;
}

.facebook-icon:hover,
.tiktok-icon:hover {
  background: #303030;
  transform: translateY(-2px);
}

.facebook-icon svg,
.tiktok-icon svg {
  width: 23px;
  height: 23px;
  display: block;
}

/* TOMBOL HAMBURGER */

.menu {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid #dfe7d8;
  border-radius: 10px;
  background: white;
  color: var(--green);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

/* HERO / BERANDA */

.hero {
  padding: 28px 0 0;
  background: var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 34px;
  min-height: 390px;
}

.eyebrow {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 30px;
  background: #e7f0da;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 14px;
  color: #182719;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.8px;
}

.hero h1 span {
  color: var(--green2);
}

.hero p {
  max-width: 490px;
  color: #526052;
  font-size: 15px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.hero-image {
  height: 360px;
  overflow: hidden;
  border-radius: 24px;
  background: #e8eddf;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* KEUNGGULAN */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
  padding: 20px;
  border-radius: 16px 16px 0 0;
  background: var(--green);
  color: white;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
}

.benefit i {
  font-size: 24px;
  font-style: normal;
}

.benefit small {
  display: block;
  margin-top: 4px;
  color: #dbe9d4;
  font-weight: 500;
  line-height: 1.5;
}

/* SECTION UMUM */

section {
  padding: 62px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0 0 7px;
  font-size: 30px;
  letter-spacing: -0.8px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.tag {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 20px;
  background: #e7f3de;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

/* =========================================
   REVISI KATALOG PRODUK PAPA LAGONDA
   ========================================= */

.section-no-top {
  padding-top: 0 !important;
}

.product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border, #e5eadf);
  border-radius: 18px;
  background: var(--white, #fff);
  box-shadow: 0 5px 20px rgba(29, 40, 28, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(29, 40, 28, 0.11);
}

.catalog-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream, #f7f5ed);
}

.catalog-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.catalog-card__content h3 {
  margin: 14px 0 10px;
  color: var(--ink, #1d281c);
  font-size: 1.25rem;
  line-height: 1.4;
}

.catalog-card__description {
  margin: 0 0 16px;
  color: var(--muted, #657064);
  font-size: 0.94rem;
  line-height: 1.7;
}

.catalog-card__price {
  margin: auto 0 18px;
  padding-top: 10px;
  color: var(--green, #234d24);
  font-size: 1.3rem;
  font-weight: 800;
}

.catalog-card__price small {
  font-size: 0.9rem;
  font-weight: 600;
}

.catalog-card__price--contact {
  font-size: 1.05rem;
}

.catalog-card__options {
  margin: -4px 0 12px;
  padding-left: 22px;
  color: var(--ink, #1d281c);
  line-height: 1.8;
}

.catalog-card__button {
  width: 100%;
  justify-content: center;
  margin-top: 0;
  text-align: center;
}

/* =========================================
   DOKUMENTASI VIDEO VAKSINASI
   ========================================= */

.vaccination-section {
  background: var(--cream, #f7f5ed);
}

.vaccination-heading {
  margin-bottom: 28px;
}

.vaccination-video-card {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border, #e5eadf);
  border-radius: 18px;
  background: var(--white, #fff);
  box-shadow: 0 8px 28px rgba(29, 40, 28, 0.08);
}

.vaccination-video {
  display: block;
  width: 100%;
  max-height: 600px;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: contain;
}

.vaccination-caption {
  padding: 22px 24px;
}

.vaccination-caption h3 {
  margin: 0 0 8px;
  color: var(--green, #234d24);
  font-size: 1.15rem;
}

.vaccination-caption p {
  margin: 0;
  color: var(--muted, #657064);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* =========================================
   RESPONSIVE TABLET
   ========================================= */

@media (max-width: 900px) {
  .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* =========================================
   RESPONSIVE MOBILE
   ========================================= */

@media (max-width: 560px) {
  .product-catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .catalog-card__content {
    padding: 18px;
  }

  .catalog-card__content h3 {
    font-size: 1.15rem;
  }

  .catalog-card__price {
    font-size: 1.2rem;
  }

  .vaccination-video-card {
    border-radius: 14px;
  }

  .vaccination-caption {
    padding: 17px;
  }

  .vaccination-video {
    aspect-ratio: 16 / 9;
  }
}

/* Hormati pengaturan pengurangan animasi */
@media (prefers-reduced-motion: reduce) {
  .catalog-card {
    transition: none;
  }

  .catalog-card:hover {
    transform: none;
  }
}

/* PROMOSI DAN KONTAK */

.promo {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 32px;
  border-radius: 24px;
  background: var(--green);
  color: white;
}

.promo h2 {
  margin: 0 0 9px;
  font-size: 29px;
}

.promo p {
  margin: 0 0 8px;
  color: #e2edda;
  font-size: 14px;
  line-height: 1.7;
}

.promo .btn {
  background: var(--lime);
  color: #203f1d;
}

.promo .btn:hover {
  background: white;
}

/* TENTANG DAN LOKASI */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.about-grid h2 {
  margin: 14px 0 12px;
  font-size: 30px;
}

.about-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.location-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #f4f6ef;
}

.location-card strong {
  display: block;
  margin-bottom: 9px;
  font-size: 18px;
}

.location-card p {
  margin: 0 0 14px;
}

/* FOOTER */

footer {
  padding: 38px 0 20px;
  background: #122414;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
}

.footer-brand .brand-text {
  color: white;
}

.footer-brand .brand-text small {
  color: #d5e0d1;
}

.footer-grid p,
.footer-grid a {
  color: #d5e0d1;
  font-size: 12px;
  line-height: 1.8;
}

.footer-grid h4 {
  margin: 0 0 10px;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #365038;
  color: #c0d0bb;
  font-size: 11px;
  line-height: 1.7;
}

/* TOMBOL WHATSAPP MENGAMBANG */

.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  box-shadow: 0 8px 25px #17381735;
}

/* TABLET */

@media (max-width: 980px) {
  .nav {
    gap: 12px;
  }

  .navlinks {
    gap: 13px;
    font-size: 12px;
  }

  .brand-text {
    font-size: 13px;
  }

  .brand {
    gap: 10px;
  }

  .nav-actions .btn {
    padding: 12px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }
}

/* MOBILE */

@media (max-width: 760px) {
  .nav {
    position: relative;
  }


  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-logo {
    width: 43px;
    height: 43px;
  }

  .brand-text {
    font-size: 12px;
    line-height: 1.25;
  }

  .brand small {
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: 0;
  }

  /* Menu dropdown */
  .navlinks {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 1000;

    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 16px 35px rgba(29, 40, 28, 0.14);

    /* Kondisi awal: tertutup */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;

    transition:
      opacity 220ms ease,
      transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 220ms ease;
  }

  .navlinks.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }


  .navlinks a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    transition:
      background-color 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }

  .navlinks a:hover,
  .navlinks a:focus-visible {
    background: var(--cream);
    color: var(--green2);
    transform: translateX(3px);
  }


  .navlinks a:last-child {
    border-bottom: 0;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions > .btn {
    display: none;
  }

  .facebook-icon,
  .tiktok-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .facebook-icon svg,
  .tiktok-icon svg {
    width: 20px;
    height: 20px;
  }

  .menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--green);
    font-size: 22px;
    cursor: pointer;
    transition:
      background-color 200ms ease,
      transform 200ms ease;
  }

  .menu:active {
    transform: scale(0.92);
  }


  /* Hero */
  .hero {
    padding-top: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    padding-top: 10px;
  }

  .hero-image {
    grid-row: 1;
    height: 250px;
    border-radius: 18px;
  }

  .hero-copy {
    grid-row: 2;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 42px);
    letter-spacing: -1.2px;
  }

  .hero p {
    font-size: 14px;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 17px;
  }

  section {
    padding: 44px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head h2 {
    font-size: 27px;
  }

  .product-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .product-photo {
    min-height: 240px;
  }

  .product-photo img {
    min-height: 240px;
    max-height: 340px;
  }

  .product-info {
    padding: 23px;
  }

  .product-info h3 {
    font-size: 27px;
  }

  .price {
    font-size: 28px;
  }

  .promo {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .promo h2 {
    font-size: 25px;
  }

  .promo .btn {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand .brand-logo {
    width: 48px;
    height: 48px;
  }

  .floating {
    right: 12px;
    bottom: 12px;
  }
}

/* HP KECIL */

@media (max-width: 380px) {
  .wrap {
    width: 94%;
  }

  .brand {
    gap: 6px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-text {
    font-size: 10px;
  }

  .brand small {
    font-size: 8px;
  }

  .nav-actions {
    gap: 4px;
  }

  .facebook-icon,
  .tiktok-icon {
    width: 32px;
    height: 32px;
  }

  .facebook-icon svg,
  .tiktok-icon svg {
    width: 18px;
    height: 18px;
  }

  .menu {
    min-width: 34px;
    min-height: 34px;
    padding: 5px 7px;
    font-size: 17px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .actions .btn {
    padding: 12px;
    font-size: 12px;
  }

  .promo {
    padding: 20px;
  }
}

/* SPLASH SCREEN */

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #153e2a;
  color: #f5e8c8;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.splash-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.splash-logo {
  display: block;
  width: 130px;
  height: 130px;
  object-fit: contain;
  animation: splashLogoReveal 1.1s ease both;
}

.splash-title {
  margin: 0;
  color: #f5e8c8;
  font-size: clamp(25px, 6vw, 34px);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.3;
  animation: splashTextReveal 0.8s ease 0.2s both;
}

.splash-subtitle {
  margin: 10px 0 0;
  color: #d5e0d1;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  animation: splashTextReveal 0.8s ease 0.35s both;
}

.splash-divider {
  width: 46px;
  height: 2px;
  margin: 28px auto;
  border-radius: 10px;
  background: #e8c77b;
  animation: splashTextReveal 0.8s ease 0.45s both;
}

.splash-loading-text {
  margin: 0 0 14px;
  color: #e1e8dc;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.splash-progress {
  width: 220px;
  height: 4px;
  overflow: hidden;
  margin: 20px auto 0;
  border-radius: 10px;
  background: rgba(245, 232, 200, 0.2);
}

.splash-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 10px;
  background: #f5e8c8;
  animation: splash-loading 3s ease-in-out forwards;
}

.splash-footer-text {
  margin: 22px 0 0;
  color: #a9c0a9;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* ANIMASI SPLASH */

@keyframes splash-loading {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes splashLogoReveal {
  from {
    opacity: 0;
    transform: scale(0.72);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splashTextReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIF SPLASH */

@media (max-width: 480px) {
  .splash-logo {
    width: 112px;
    height: 112px;
  }

  .splash-title {
    letter-spacing: 1.5px;
  }

  .splash-subtitle {
    font-size: 10px;
    letter-spacing: 2.5px;
  }
}

/* PREFERENSI PENGURANGAN ANIMASI */

@media (prefers-reduced-motion: reduce) {
  .splash-logo,
  .splash-title,
  .splash-subtitle,
  .splash-divider,
  .splash-progress-bar {
    animation: none;
  }

  .splash-screen {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navlinks,
  .navlinks a,
  .menu {
    transition: none !important;
  }
}