/* =====================================================================
   PT Nadwah Mumtaaz Abadan — stylesheet utama
   Palet warna diambil dari logo: hijau tua, hijau daun, emas, krem.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --green-deep: #0f5132;
    --green-leaf: #1c8c4e;
    --green-soft: #dfeee3;
    --gold: #c9a227;
    --gold-light: #e6c65c;
    --gold-soft: #f6ecc9;
    --cream: #fbf8f1;
    --paper: #ffffff;
    --ink: #182b20;
    --ink-soft: #4d5f52;
    --line: #e4ddc9;
    --radius: 14px;
    --shadow: 0 12px 30px -14px rgba(15, 81, 50, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background:
        var(--cream)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%230f5132' stroke-width='1' opacity='0.055'%3E%3Cpath d='M42 4 L64 21 L64 63 L42 80 L20 63 L20 21 Z'/%3E%3Cpath d='M42 20 L54 29 L54 55 L42 64 L30 55 L30 29 Z'/%3E%3Ccircle cx='42' cy='42' r='3'/%3E%3C/g%3E%3C/svg%3E");
    line-height: 1.6;
    overflow-x: hidden;
}

/* Motion respects the person's OS-level preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Scroll-reveal (progressive enhancement) ----------
   Kalau JavaScript gagal jalan, konten TETAP tampil normal (default
   opacity:1). Animasi masuk hanya aktif setelah <html> diberi kelas
   "js-ready" oleh script kecil di <head>. */
.reveal { opacity: 1; transform: none; }
html.js-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
html.js-ready .reveal-stagger.is-visible > * {
    animation: fadeUp 0.7s ease both;
}
.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(6deg); }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
}
@keyframes shimmerSweep {
    0% { transform: translateX(-120%) skewX(-15deg); }
    100% { transform: translateX(220%) skewX(-15deg); }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.35); }
    50% { box-shadow: 0 0 0 10px rgba(201, 162, 39, 0); }
}

/* ---------- Ornamental section flourish (echoes the ribbon in the logo) ---------- */
.flourish {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.flourish::before,
.flourish::after {
    content: '';
    height: 1px;
    width: 30px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.flourish::after { background: linear-gradient(90deg, var(--gold), transparent); }
.flourish svg { flex-shrink: 0; }

/* Repeating arch motif divider between sections */
.arch-divider {
    width: 100%;
    height: 26px;
    line-height: 0;
}
.arch-divider svg { width: 100%; height: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--green-deep);
    line-height: 1.15;
    margin: 0 0 0.5em;
}

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--green-leaf); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 248, 241, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand .logo-frame {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    flex-shrink: 0;
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand span {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--green-deep);
}

.site-header nav {
    display: flex;
    gap: 30px;
}

.site-header nav a {
    position: relative;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 4px;
}

.site-header nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.site-header nav a:hover { color: var(--green-leaf); text-decoration: none; }
.site-header nav a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    padding: 88px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Soft radial glow sitting behind the whole hero */
.hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 620px;
    background: radial-gradient(closest-side, rgba(28,140,78,0.14), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero .inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

/* Floating ornaments scattered around the hero */
.hero-ornament {
    position: absolute;
    z-index: 0;
    opacity: 0.65;
    pointer-events: none;
    animation: floatY 7s ease-in-out infinite;
}
.hero-ornament.o1 { top: 8%;  left: 4%;  width: 34px; animation-delay: 0s; }
.hero-ornament.o2 { top: 62%; left: 9%;  width: 20px; animation-delay: 1.2s; }
.hero-ornament.o3 { top: 14%; right: 6%; width: 26px; animation-delay: 0.6s; }
.hero-ornament.o4 { top: 70%; right: 3%; width: 40px; animation-delay: 2s; }

.hero .eyebrow-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green-deep);
    box-shadow: 0 6px 14px -10px rgba(15,81,50,0.4);
}

.badge::before { content: '✦'; color: var(--gold); font-size: 0.75rem; }

.hero h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    font-weight: 600;
    max-width: 14ch;
}

.hero p.lead {
    font-size: 1.08rem;
    color: var(--ink-soft);
    max-width: 46ch;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
}

.btn-primary {
    background: var(--green-deep);
    color: #fff;
}
.btn-primary:hover { background: var(--green-leaf); text-decoration: none; }

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: translateX(-120%) skewX(-15deg);
}
.btn-primary:hover::before { animation: shimmerSweep 0.9s ease; }

.btn-ghost {
    background: transparent;
    border-color: var(--green-deep);
    color: var(--green-deep);
}
.btn-ghost:hover { background: var(--paper); text-decoration: none; }

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arch-shaped medallion: mirrors the pointed arch in the logo itself,
   so the mark reads as part of the shape rather than a sticker on top. */
/* Arch-shaped medallion: mirrors the pointed arch in the logo itself,
   so the mark reads as part of the shape rather than a sticker on top.
   Uses clip-path: polygon() (percentage-based) instead of path() so the
   shape stays correct at any element size, including on small screens. */
:root {
    --arch-shape: polygon(
        0% 40%, 0.61% 32.59%, 2.38% 25.89%, 5.24% 19.94%, 9.13% 14.73%,
        13.98% 10.29%, 19.7% 6.62%, 26.23% 3.74%, 33.51% 1.67%, 41.46% 0.42%,
        50% 0%,
        58.54% 0.42%, 66.49% 1.67%, 73.77% 3.74%, 80.3% 6.62%, 86.03% 10.29%,
        90.87% 14.73%, 94.76% 19.94%, 97.62% 25.89%, 99.39% 32.59%, 100% 40%,
        100% 100%, 0% 100%
    );
}

.hero-visual .arch {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 4/5;
    clip-path: var(--arch-shape);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    padding: 30px 26px;
    animation: breathe 6s ease-in-out infinite;
}

.hero-visual .arch-ring {
    position: absolute;
    inset: -14px;
    clip-path: var(--arch-shape);
    background: linear-gradient(140deg, var(--gold-light), var(--gold), var(--gold-light));
    z-index: -1;
}

.hero-visual .arch img {
    width: 72%;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.3));
}

.hero-visual .arch-sparkle {
    position: absolute;
    width: 60px; height: 60px;
    top: -18px; right: -6px;
    animation: spinSlow 18s linear infinite;
    opacity: 0.9;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }

.section-head {
    max-width: 62ch;
    margin-bottom: 40px;
}

.section-head p { color: var(--ink-soft); }

.alt-bg { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Why / feature points ---------- */
.points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.point-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.point-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.point-card .num {
    display: inline-flex;
    width: 42px;
    height: 42px;
    clip-path: var(--arch-shape);
    background: linear-gradient(150deg, var(--gold-light), var(--gold));
    color: var(--green-deep);
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Fraunces', serif;
    margin-bottom: 16px;
}

.point-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.point-card p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Products ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.product-card .thumb {
    position: relative;
    aspect-ratio: 4/3;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.12'%3E%3Cpath d='M30 2 L46 15 L46 45 L30 58 L14 45 L14 15 Z'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(150deg, var(--green-leaf), var(--green-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card .thumb img {
    transition: transform 0.5s ease;
}
.product-card:hover .thumb img {
    transform: scale(1.06);
}

.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-card .thumb .placeholder {
    color: rgba(255,255,255,0.85);
    font-family: 'Fraunces', serif;
    font-size: 0.95rem;
    text-align: center;
    padding: 20px;
}

.product-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.product-card p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }

.tag-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(28,140,78,0.1);
    color: var(--green-leaf);
}

.tag.gold { background: rgba(201,162,39,0.15); color: #8a6a12; }

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.stat-strip {
    display: flex;
    gap: 28px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.stat-strip .stat b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: var(--green-deep);
}
.stat-strip .stat span { font-size: 0.85rem; color: var(--ink-soft); }

.about-visual {
    background: var(--green-deep);
    border-radius: var(--radius);
    padding: 34px;
    color: #f2ede0;
}
.about-visual h4 { color: var(--gold-light); font-size: 1rem; margin-bottom: 14px; }
.about-visual ul { margin: 0; padding-left: 18px; }
.about-visual li { margin-bottom: 10px; font-size: 0.94rem; }

/* ---------- Product price & spec badges ---------- */
.product-card { position: relative; }

.ribbon {
    position: absolute;
    top: 14px;
    left: -6px;
    background: linear-gradient(120deg, var(--gold-light), var(--gold));
    color: var(--green-deep);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 5px 14px 5px 12px;
    z-index: 2;
    box-shadow: 0 4px 10px -4px rgba(0,0,0,0.35);
}
.ribbon::after {
    content: '';
    position: absolute;
    left: 0; top: 100%;
    border-width: 5px 6px 0 0;
    border-style: solid;
    border-color: #8a6a12 transparent transparent transparent;
}

.weight-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(2px);
}

.price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 10px;
}
.price-now {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--green-deep);
}
.price-old {
    font-size: 0.9rem;
    color: var(--ink-soft);
    text-decoration: line-through;
}
.price-discount {
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(179,38,30,0.1);
    color: #b3261e;
    padding: 3px 8px;
    border-radius: 6px;
}
.price-unit {
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.spec-box {
    margin: 6px 0 14px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    padding: 4px 12px;
    background: var(--cream);
}
.spec-box summary {
    cursor: pointer;
    padding: 8px 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--green-leaf);
    list-style: none;
}
.spec-box summary::-webkit-details-marker { display: none; }
.spec-box summary::before { content: '+ '; }
.spec-box[open] summary::before { content: '– '; }
.spec-box ul {
    margin: 0 0 10px;
    padding-left: 18px;
    font-size: 0.85rem;
    color: var(--ink-soft);
}
.spec-box li { margin-bottom: 6px; }

.btn-block { width: 100%; justify-content: center; margin-top: 4px; }

/* ---------- Cara Pemesanan (order steps) ----------
   Alur vertikal bertahap dengan garis penghubung putus-putus di sisi kiri.
   Simpel dan tetap rapi di layar sempit (HP), tanpa grid yang gampang
   berantakan di lebar sempit. */
.steps-flow {
    display: flex;
    flex-direction: column;
    max-width: 640px;
}

.step {
    position: relative;
    display: flex;
    gap: 18px;
    padding-bottom: 30px;
}
.step:last-child { padding-bottom: 0; }

/* garis penghubung putus-putus di belakang setiap nomor, kecuali yang terakhir */
.step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 44px;
    bottom: 4px;
    width: 0;
    border-left: 2px dashed var(--gold);
    opacity: 0.6;
}

.step-badge {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--green-leaf), var(--green-deep));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.1rem;
    border: 3px solid var(--paper);
    box-shadow: 0 0 0 2px var(--gold);
    z-index: 1;
}

.step-text { padding-top: 6px; }
.step-text h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step-text p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* Di layar lebih lebar, tampilkan sebagai baris horizontal dengan
   garis penghubung mendatar supaya terasa seperti alur, tetap simpel. */
@media (min-width: 700px) {
    .steps-flow { flex-direction: row; max-width: none; gap: 8px; }
    .step { flex-direction: column; align-items: center; text-align: center; flex: 1; padding-bottom: 0; }
    .step:not(:last-child)::before {
        left: 50%;
        top: 22px;
        bottom: auto;
        width: 100%;
        height: 0;
        border-left: none;
        border-top: 2px dashed var(--gold);
        z-index: 0;
    }
    .step-text { padding-top: 14px; max-width: 220px; }
}

/* ---------- Testimoni ---------- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.testi-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.testi-message {
    font-style: italic;
    color: var(--ink);
    margin: 10px 0 16px;
}
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--green-leaf), var(--green-deep));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.92rem; }
.testi-author span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 4px 20px;
    margin-bottom: 12px;
}
.faq-item summary {
    cursor: pointer;
    padding: 16px 0;
    font-weight: 600;
    color: var(--green-deep);
    list-style: none;
    position: relative;
    padding-right: 26px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0; top: 14px;
    font-size: 1.2rem;
    color: var(--gold);
    transition: transform 0.25s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding-bottom: 16px; color: var(--ink-soft); margin: 0; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 13px 18px;
    border-radius: 999px;
    box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
    font-weight: 700;
    font-size: 0.9rem;
    animation: glowPulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover { text-decoration: none; background: #20bd5a; }
@media (max-width: 540px) {
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 14px; }
}

/* ---------- Legal documents ---------- */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.doc-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.doc-card::after {
    content: '✓ Terverifikasi';
    position: absolute;
    top: 10px; right: 10px;
    background: var(--gold);
    color: var(--green-deep);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    z-index: 2;
}

.doc-card a { display: block; }

.doc-card .doc-thumb {
    aspect-ratio: 3/4;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.doc-card .doc-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}
.doc-card:hover .doc-thumb img { transform: scale(1.05); }
.doc-card .doc-title {
    padding: 14px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
}

/* ---------- Contact / Location ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}
.contact-list li strong { color: var(--green-deep); min-width: 90px; display: inline-block; }

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4/3;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
    background: var(--green-deep);
    color: rgba(255,255,255,0.85);
    padding: 30px 0;
    font-size: 0.9rem;
}
footer.site-footer .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
footer.site-footer a { color: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero .inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 280px; margin: 0 auto; }
    .points-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .site-header nav { display: none; }
}
@media (max-width: 540px) {
    .points-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Admin panel
   ===================================================================== */
.admin-body { background: #f2f1ec; min-height: 100vh; }

.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 240px;
    background: var(--green-deep);
    color: #fff;
    padding: 26px 20px;
    flex-shrink: 0;
}
.admin-sidebar .brand { color: #fff; margin-bottom: 30px; }
.admin-sidebar .brand span { color: #fff; font-size: 0.95rem; }
.admin-sidebar nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    margin-bottom: 4px;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active {
    background: rgba(255,255,255,0.12);
    text-decoration: none;
    color: #fff;
}
.admin-sidebar .logout { margin-top: 30px; }
.admin-sidebar .logout a { color: var(--gold-light); }

.admin-main { flex: 1; padding: 34px 40px; max-width: 960px; }
.admin-main h1 { font-size: 1.6rem; }
.admin-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px;
    margin-bottom: 24px;
}
.admin-card h2 { font-size: 1.1rem; margin-bottom: 18px; }

.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--ink); }
.form-row .hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 4px; }
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=password],
.form-row input[type=file],
.form-row input[type=number],
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row.checkbox { display: flex; align-items: center; gap: 8px; }
.form-row.checkbox input { width: auto; }

.form-actions { display: flex; gap: 12px; margin-top: 22px; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
    vertical-align: middle;
}
.data-table th { color: var(--ink-soft); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.data-table img.thumb-sm { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; }

.actions-cell { display: flex; gap: 10px; }
.link-danger { color: #b3261e; }
.link-danger:hover { color: #7d1a15; }

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.92rem;
}
.alert-success { background: #e4f4ea; color: #14532d; border: 1px solid #b9e4c8; }
.alert-error { background: #fbeaea; color: #7d1a15; border: 1px solid #f2c6c3; }

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-deep);
    padding: 20px;
}
.login-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 36px;
    width: 100%;
    max-width: 380px;
    text-align: center;
}
.login-card img { width: 56px; margin: 0 auto 14px; }
.login-card h1 { font-size: 1.25rem; margin-bottom: 4px; }
.login-card p.sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 22px; }
.login-card .form-row { text-align: left; }
.login-card .btn-primary { width: 100%; justify-content: center; }

@media (max-width: 760px) {
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; padding: 16px 20px; }
    .admin-sidebar nav { display: flex; flex-wrap: wrap; gap: 6px; }
    .admin-sidebar nav a { padding: 8px 10px; }
    .admin-main { padding: 24px 20px; }
}
