/* Shared polish tokens: the existing brand palette and typefaces stay intact. */
:root {
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
    --space-24: 96px;
    --layout-width: 1200px;
    --card-radius: 24px;
    --card-border: rgba(7, 102, 83, .16);
    --card-shadow: 0 8px 24px rgba(6, 35, 29, .08);
    --motion-time: 240ms;
    --motion-ease: cubic-bezier(.16, 1, .3, 1);
}

/* Hero: retain the photo and palette while revealing more of the image. */
.site-hero-image { opacity: 1; }
.site-hero-overlay {
    background: linear-gradient(90deg, rgba(6, 35, 29, .88) 0%, rgba(6, 35, 29, .69) 52%, rgba(6, 35, 29, .38) 100%);
}
.site-hero-content > p:not(.site-hero-legal) { max-width: 65ch; }
.site-hero-actions { gap: var(--space-4); }
.site-hero .site-button { min-height: 48px; border-radius: 999px; }
.site-hero-legal { margin-top: var(--space-6); }
@media (max-width: 640px) {
    .site-hero-overlay { background: linear-gradient(90deg, rgba(6, 35, 29, .87), rgba(6, 35, 29, .60)); }
}

/* Shared section and card rhythm. */
main > section:not(.site-hero) { padding-block: var(--space-16); }
main > section:not(.site-hero) > div[class*="max-w-"] { max-width: var(--layout-width); }
main > section:not(.site-hero) h2 { line-height: 1.2; }
main > section:not(.site-hero) h2 + p { max-width: 65ch; }
.site-button { min-height: 44px; border-radius: 999px; }
button:focus-visible, a:focus-visible { outline: 3px solid #076653; outline-offset: 3px; }
.site-nav a:focus-visible, .site-hero a:focus-visible, #galeri button:focus-visible { outline-color: #e3ef26; }

/* The facility cards retain their content and green accents. */
#paket .grid > div, #mengapa .grid > div {
    height: 100%; border-width: 1px; border-color: var(--card-border);
    border-radius: var(--card-radius); box-shadow: var(--card-shadow);
    padding: var(--space-6); transition: transform var(--motion-time) var(--motion-ease), box-shadow var(--motion-time) var(--motion-ease);
}
#paket .grid > div:hover, #mengapa .grid > div:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(6, 35, 29, .12); }
#paket .grid > div > div:first-child:is([class*="absolute top-0 left-0"]),
#mengapa .grid > div > div:first-child:is([class*="absolute top-0 left-0"]) { background: #076653; }
#paket .grid > div > div:has(.facility-icon), #mengapa .grid > div > div[class*="w-12 h-12"] { background: #076653; box-shadow: none; }
.facility-icon { width: 28px; height: 28px; color: #e3ef26; }
#paket .grid p[class*="text-gray-400"] { color: #53645a; }
@media (min-width: 768px) { main > section:not(.site-hero) { padding-block: var(--space-24); } }

/* Price cards have equal edges, matching headers and bottom-aligned actions. */
#harga > .absolute { display: none; }
#harga .grid[class*="md:grid-cols-3"] { align-items: stretch; }
#harga .grid[class*="md:grid-cols-3"] > div {
    height: 100%; border-radius: var(--card-radius); box-shadow: var(--card-shadow);
    transition: transform var(--motion-time) var(--motion-ease), box-shadow var(--motion-time) var(--motion-ease);
}
#harga .grid[class*="md:grid-cols-3"] > div:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(6, 35, 29, .12); }
#harga .gold-border-card { border: 1px solid #d4af37; }
#harga .grid[class*="md:grid-cols-3"] > div > div[class*="bg-gradient-to-br"] { background-image: none; background-color: #0c342c; }
#harga .grid[class*="md:grid-cols-3"] > div > div.flex-1 { padding: var(--space-6); }
#harga [id^="pricing-cta-"] { margin-top: auto; min-height: 48px; border-radius: 999px; }
#harga [id^="pricing-cta-"] svg { flex-shrink: 0; }
@media (min-width: 768px) {
    #harga .grid[class*="md:grid-cols-3"] > div:nth-child(2)::before { content: ""; display: block; min-height: 32px; background: #0c342c; }
    #harga .grid[class*="md:grid-cols-3"] > div > div[class*="bg-gradient-to-br"] { min-height: 220px; }
}

/* Facility tabs keep identical borders, including after touch interactions. */
#fasilitas #tab-included, #fasilitas #tab-excluded { min-height: 48px; }
#fasilitas .grid > div { border-color: rgba(7, 102, 83, .18); border-radius: 16px; }
@media (hover: hover) { #fasilitas .grid > div:hover { border-color: rgba(7, 102, 83, .35); } }

/* Dark text on the light testimonial section; quote cards remain dark. */
#testimoni > div > div:first-child h2,
#testimoni > div > div:first-child p,
#testimoni .mt-10 > .text-center p { color: #0c342c; }
#testimoni > div > div:first-child > span { color: #076653; background: #e2fbce; border-color: rgba(7, 102, 83, .25); }
#testimoni .grid > div { height: 100%; border-radius: var(--card-radius); padding: var(--space-6); box-shadow: var(--card-shadow); transition: transform var(--motion-time) var(--motion-ease), box-shadow var(--motion-time) var(--motion-ease); }
#testimoni .grid > div:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(6, 35, 29, .16); }

/* Gallery images stay clipped to the original rounded frame. */
#galeri img { max-width: 100%; }
#galeri button[aria-label] { min-width: 44px; min-height: 44px; }
#galeri .group.overflow-hidden { border-radius: var(--card-radius); }
/* Section entrances are coordinated in haji.js. */
}
@keyframes section-entrance { from { opacity: .75; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
