:root {
  --sq-primary: #1ea64b;
  --sq-primary-dark: #0f7c34;
  --sq-primary-soft: #ddf7e1;
  --sq-soft: #f4fbf4;
  --sq-soft-2: #fbfefb;
  --sq-text: #0f2a17;
  --sq-muted: #64816c;
  --sq-border: rgba(30, 166, 75, 0.12);
  --sq-shadow: 0 22px 60px rgba(18, 77, 34, 0.08);
  --sq-radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--sq-text);
  background: linear-gradient(180deg, #fdfffd 0%, #f7fcf7 100%);
}
img { max-width: 100%; display: block; }
.section-space { padding: 96px 0; }
.text-muted-soft { color: var(--sq-muted) !important; }
.bg-soft { background: var(--sq-soft); }
.bg-soft-2 { background: var(--sq-soft-2); }

.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: rgba(250,255,250,.96);
  backdrop-filter: blur(10px);
  transition: opacity .4s ease, visibility .4s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.loader-orb {
  width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #9ff0a7, var(--sq-primary));
  box-shadow: 0 18px 40px rgba(30,166,75,.25);
  animation: pulseOrb 1.3s ease-in-out infinite;
}
@keyframes pulseOrb {
  0%,100% { transform: scale(1); }
  50% { transform: scale(.88); }
}

.navbar {
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--sq-border);
}
.navbar .nav-link { color: var(--sq-text); }
.navbar .nav-link:hover { color: var(--sq-primary-dark); }
.brand-logo {
  width: 56px; height: 56px; object-fit: cover; border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  background: #fff;
}
.btn-primary-sq {
  background: linear-gradient(135deg, var(--sq-primary), #49c568);
  border: none; color: #fff;
  box-shadow: 0 15px 35px rgba(30, 166, 75, 0.24);
}
.btn-primary-sq:hover { background: linear-gradient(135deg, var(--sq-primary-dark), var(--sq-primary)); color: #fff; transform: translateY(-1px); }
.btn-outline-sq {
  border: 1px solid rgba(30,166,75,.22);
  background: rgba(255,255,255,.88);
  color: var(--sq-primary-dark);
}
.btn-outline-sq:hover { background: var(--sq-primary-soft); color: var(--sq-primary-dark); }

.hero {
  position: relative; overflow: hidden;
  padding-top: 146px; padding-bottom: 90px;
  background:
    radial-gradient(circle at 10% 12%, rgba(73, 197, 104, 0.14), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(30,166,75,.16), transparent 28%),
    linear-gradient(180deg, #fcfffc 0%, #f2fbf2 100%);
}
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(30,166,75,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent);
}
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 120px;
  background: linear-gradient(180deg, transparent, transparent 40%, #fff 42%, #fff 100%);
  border-top-left-radius: 55% 100%;
  border-top-right-radius: 55% 100%;
}
.hero-copy { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.15rem; border-radius: 999px;
  background: rgba(255,255,255,.92); border: 1px solid var(--sq-border);
  color: var(--sq-primary-dark); font-weight: 700;
  box-shadow: var(--sq-shadow);
}
.hero-title {
  font-size: clamp(2.7rem, 7vw, 4.8rem);
  line-height: 1.02; letter-spacing: -.03em; font-weight: 900;
}
.hero-subtitle {
  font-size: 1.08rem; line-height: 1.8; max-width: 620px;
  color: var(--sq-muted);
}
.hero-points { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-point {
  padding: .8rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--sq-border);
  box-shadow: 0 12px 30px rgba(16, 83, 32, 0.06);
  color: var(--sq-primary-dark); font-weight: 600;
}
.hero-stats .stat-card {
  padding: 1rem 1.1rem; border-radius: 22px; background: rgba(255,255,255,.82);
  border: 1px solid var(--sq-border); box-shadow: var(--sq-shadow);
  font-weight: 700; height: 100%;
}
.hero-visual-wrap {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.hero-shape {
  position: absolute; border-radius: 999px; filter: blur(2px);
  animation: floatShape 7s ease-in-out infinite;
}
.hero-shape-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(30,166,75,.20) 0%, rgba(30,166,75,.04) 70%, transparent 76%);
}
.hero-shape-2 {
  width: 300px; height: 300px; right: 4%; bottom: 10%;
  background: radial-gradient(circle, rgba(164, 221, 88, .25) 0%, rgba(164,221,88,.05) 72%, transparent 76%);
  animation-delay: 1.4s;
}
.mockup {
  position: relative; z-index: 2; max-height: 720px;
  filter: drop-shadow(0 28px 56px rgba(22,70,30,.18));
  animation: floatPhone 5.2s ease-in-out infinite;
}
@keyframes floatPhone {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatShape {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

.section-heading { margin-bottom: 3rem; }
.section-kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .2em;
  font-size: .78rem; font-weight: 800; color: var(--sq-primary);
}
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.1;
  max-width: 860px; margin: 0 auto;
}
.card-soft {
  padding: 1.8rem;
  border-radius: var(--sq-radius);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--sq-border);
  box-shadow: var(--sq-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-soft:hover, .package-card:hover, .gallery-card:hover, .timeline-card:hover, .testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15, 80, 31, 0.12);
}
.icon-badge {
  width: 72px; height: 72px; border-radius: 22px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, #f0fff3, #dff6e3);
  color: var(--sq-primary-dark); font-size: 1.6rem;
  box-shadow: inset 0 0 0 1px rgba(30,166,75,.10);
}

.package-card {
  border-radius: 30px; overflow: hidden; background: #fff;
  border: 1px solid var(--sq-border); box-shadow: var(--sq-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.package-image-wrap {
  position: relative; overflow: hidden; height: 240px;
  background: linear-gradient(180deg, #eef8ee, #dff3df);
}
.package-image {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.package-card:hover .package-image { transform: scale(1.06); }
.package-badge {
  position: absolute; top: 16px; right: 16px;
  padding: .55rem .9rem; border-radius: 999px; background: rgba(15,124,52,.94);
  color: #fff; font-size: .78rem; font-weight: 800;
}
.package-body { padding: 1.5rem; }
.package-price { font-size: 2rem; font-weight: 900; color: var(--sq-primary-dark); }
.package-unit { color: var(--sq-muted); font-weight: 600; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.list-check li { display: flex; gap: .8rem; align-items: flex-start; }
.list-check i { color: var(--sq-primary); font-size: 1rem; margin-top: .1rem; }

.timeline-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem;
}
.timeline-card {
  position: relative; padding: 1.7rem; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,252,248,.96));
  border: 1px solid var(--sq-border); box-shadow: var(--sq-shadow);
}
.timeline-number {
  width: 54px; height: 54px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--sq-primary), #64d27a);
  color: #fff; font-weight: 900; font-size: 1.2rem;
}

.eid-special {
  position: relative; background-size: cover; background-position: center;
  overflow: hidden;
}
.eid-special:before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.05), transparent 60%);
}
.eid-lantern {
  position: absolute; top: 18px; width: 68px; height: 140px;
  opacity: .55; animation: sway 4.8s ease-in-out infinite;
}
.eid-lantern:before, .eid-lantern:after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
}
.eid-lantern:before { top: 0; width: 2px; height: 40px; background: rgba(255,255,255,.35); }
.eid-lantern:after {
  top: 40px; width: 46px; height: 70px;
  border: 2px solid rgba(255,255,255,.45); border-radius: 16px;
  box-shadow: inset 0 0 18px rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.eid-lantern-left { left: 7%; }
.eid-lantern-right { right: 7%; animation-delay: 1.2s; }
@keyframes sway {
  0%,100% { transform: rotate(2deg); }
  50% { transform: rotate(-3deg); }
}

.testimonial-card {
  max-width: 820px; padding: 2.2rem; border-radius: 32px;
  background: #fff; border: 1px solid var(--sq-border); box-shadow: var(--sq-shadow);
  text-align: center;
}
.quote-icon {
  width: 72px; height: 72px; border-radius: 24px;
  display: grid; place-items: center; margin: 0 auto 1rem;
  background: linear-gradient(135deg, #effff2, #def4e0);
  color: var(--sq-primary-dark); font-size: 1.6rem;
}
.testimonial-text {
  font-size: 1.1rem; line-height: 1.9; color: #335443;
}
.testimonial-name { font-weight: 800; color: var(--sq-primary-dark); }

.gallery-card {
  position: relative; border-radius: 28px; overflow: hidden;
  min-height: 320px; box-shadow: var(--sq-shadow);
}
.gallery-image {
  width: 100%; height: 100%; min-height: 320px; object-fit: cover;
  transition: transform .6s ease;
}
.gallery-card:hover .gallery-image { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: auto 0 0 0; padding: 1.3rem;
  background: linear-gradient(180deg, transparent, rgba(3, 21, 10, .85));
  color: #fff;
}

.map-card {
  overflow: hidden; border-radius: 32px; min-height: 420px;
  border: 1px solid var(--sq-border); box-shadow: var(--sq-shadow); background: #fff;
}
.map-card iframe { display: block; width: 100%; height: 420px; }
.contact-stack { display: grid; gap: .9rem; }
.contact-pill {
  display: flex; align-items: center; gap: .85rem; text-decoration: none;
  padding: 1rem 1.1rem; border-radius: 18px; background: #fff;
  color: var(--sq-text); border: 1px solid var(--sq-border);
  box-shadow: 0 12px 30px rgba(18,77,34,.05);
}
.contact-pill i { color: var(--sq-primary); font-size: 1.2rem; }

.faq-accordion .accordion-item {
  border: 1px solid var(--sq-border); border-radius: 22px; overflow: hidden;
  margin-bottom: 1rem; box-shadow: var(--sq-shadow);
}
.faq-accordion .accordion-button {
  font-weight: 700; padding: 1.2rem 1.3rem; background: #fff;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: #f5fff6; color: var(--sq-primary-dark); box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq-accordion .accordion-body { color: #466556; line-height: 1.8; }

.footer-cta {
  padding: 0 0 24px; background: linear-gradient(180deg, #f8fcf8 0%, #eef9ef 100%);
}
.footer-box {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 2rem; border-radius: 32px; background: rgba(255,255,255,.92);
  border: 1px solid var(--sq-border); box-shadow: var(--sq-shadow); margin-bottom: 1.5rem;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--sq-muted); font-size: .95rem;
}

.floating-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 99;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background: linear-gradient(135deg, #1eba4f, #0d9f44);
  color: #fff; font-size: 1.7rem; box-shadow: 0 20px 45px rgba(16, 129, 53, 0.34);
  animation: pulseFloat 2.6s infinite;
}
@keyframes pulseFloat {
  0% { box-shadow: 0 20px 45px rgba(16, 129, 53, 0.34), 0 0 0 0 rgba(30,186,79,.35); }
  70% { box-shadow: 0 20px 45px rgba(16, 129, 53, 0.34), 0 0 0 16px rgba(30,186,79,0); }
  100% { box-shadow: 0 20px 45px rgba(16, 129, 53, 0.34), 0 0 0 0 rgba(30,186,79,0); }
}

.reveal-up {
  opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease;
}
.reveal-up.show { opacity: 1; transform: translateY(0); }
.reveal-up.delay-2 { transition-delay: .12s; }

/* admin */
.admin-body {
  background: linear-gradient(180deg, #f8fcf8 0%, #eef9ef 100%);
}
.admin-card {
  border: 1px solid var(--sq-border); border-radius: 30px; box-shadow: var(--sq-shadow); background: rgba(255,255,255,.92);
}
.admin-sidebar .nav-link {
  color: var(--sq-text); border-radius: 18px; padding: .85rem 1rem; font-weight: 600;
}
.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover { background: #effbf0; color: var(--sq-primary-dark); }
.form-control, .form-select, .form-control:focus, .form-select:focus {
  border-color: rgba(30,166,75,.18); box-shadow: none;
}
.form-control, .form-select { padding: .9rem 1rem; }
.mini-thumb { width: 100%; max-width: 210px; border-radius: 20px; border: 1px solid var(--sq-border); box-shadow: var(--sq-shadow); }
.gallery-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.gallery-sort-item {
  display: flex; gap: 1rem; align-items: center; padding: 1rem; background: #fff;
  border: 1px solid var(--sq-border); border-radius: 22px; cursor: move;
}
.gallery-sort-thumb {
  width: 88px; height: 88px; border-radius: 18px; object-fit: cover;
}
.drag-handle {
  width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  background: #effbf0; color: var(--sq-primary-dark); font-size: 1.05rem;
}
.helper-text { color: var(--sq-muted); font-size: .92rem; }
.preview-box {
  padding: 1rem; border-radius: 24px; background: #f9fdf9; border: 1px dashed rgba(30,166,75,.2);
}
.code-area { min-height: 180px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.badge-soft {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem;
  border-radius: 999px; background: #effbf0; color: var(--sq-primary-dark); font-weight: 700;
}
.table-soft {
  width: 100%; background: #fff; border-radius: 22px; overflow: hidden;
}
.table-soft th, .table-soft td { padding: 1rem; border-bottom: 1px solid #edf5ed; }
.table-soft tr:last-child td { border-bottom: 0; }

@media (max-width: 1199.98px) {
  .section-space { padding: 84px 0; }
  .hero-visual-wrap { min-height: 460px; }
  .package-image-wrap { height: 220px; }
}
@media (max-width: 991.98px) {
  .hero { padding-top: 130px; padding-bottom: 70px; }
  .hero-title { max-width: 680px; }
  .hero-visual-wrap { min-height: auto; }
  .footer-box { flex-direction: column; align-items: flex-start; }
  .timeline-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .section-space { padding: 72px 0; }
  .hero-title { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .hero-subtitle { font-size: 1rem; }
  .brand-logo { width: 48px; height: 48px; }
  .hero-points { gap: .6rem; }
  .hero-point, .hero-stats .stat-card { width: 100%; }
  .package-image-wrap { height: 230px; }
  .map-card, .map-card iframe { min-height: 320px; height: 320px; }
  .gallery-admin-grid { grid-template-columns: 1fr; }
  .floating-wa { width: 58px; height: 58px; right: 16px; bottom: 16px; }
}
