@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #faf8f5;
  --text: #2d2438;
  --primary: #6b4d8a;
  --primary-fg: #faf8f5;
  --muted: #6b6574;
  --card: #fff;
  --border: #e8e0ef;
  --soft: linear-gradient(135deg, #f6f2fa, #faf8f5);
  --shadow: 0 20px 60px -20px rgba(107, 77, 138, 0.25);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
h1, h2, h3, .font-display { font-family: "Cormorant Garamond", Georgia, serif; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1100px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand .title { font-family: "Cormorant Garamond", serif; font-size: 1.25rem; font-weight: 600; color: var(--primary); margin: 0; }
.brand .sub { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0; }
nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
nav a { font-size: 0.9rem; color: rgba(45,36,56,0.75); text-decoration: none; }
nav a.active, nav a:hover { color: var(--primary); font-weight: 600; text-decoration: none; }

.site-footer {
  background: var(--primary); color: var(--primary-fg);
  text-align: center; padding: 2.5rem 1rem; margin-top: auto;
}
.site-footer img { width: 56px; opacity: 0.9; }
.site-footer p { margin: 0.35rem 0; font-size: 0.85rem; opacity: 0.85; }

.page { padding: 3rem 0 4rem; }
.page-title { text-align: center; margin-bottom: 2.5rem; }
.page-title .eyebrow { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--primary); }
.page-title h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--primary); margin: 0.5rem 0; }
.page-title p { color: var(--muted); max-width: 36rem; margin: 0 auto; }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 1.5rem; box-shadow: var(--shadow);
}
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.hero {
  position: relative; overflow: hidden; text-align: center; padding: 5rem 1rem;
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(250,248,245,0.4), rgba(230,220,240,0.85));
}
.hero .content { position: relative; }
.hero .logo { height: 8rem; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); color: var(--primary); margin: 0.5rem 0; }
.btn {
  display: inline-block; padding: 0.65rem 1.25rem; border-radius: 0.5rem;
  background: var(--primary); color: var(--primary-fg); text-decoration: none; margin: 0.25rem;
  border: none; cursor: pointer; font-size: 0.95rem;
}
.btn-outline { background: transparent; color: var(--primary); border: 1px solid rgba(107,77,138,0.35); }
.btn-danger { background: #c0392b; }
.bg-soft { background: var(--soft); }

details.faq {
  border: 1px solid var(--border); border-radius: 0.75rem;
  padding: 0 1rem; margin-bottom: 0.75rem; background: var(--card);
}
details.faq summary {
  cursor: pointer; font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem; color: var(--primary); padding: 1rem 0; list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq[open] summary { border-bottom: 1px solid var(--border); }
details.faq .body { padding: 0.75rem 0 1rem; color: rgba(45,36,56,0.8); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery a {
  display: block; aspect-ratio: 4/3; border-radius: 0.75rem; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.05); }



table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--soft); color: var(--primary); font-size: 0.85rem; }

.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs a {
  padding: 0.5rem 1rem; border-radius: 999px; background: var(--soft);
  text-decoration: none; color: var(--text); font-size: 0.9rem;
}
.tabs a.active { background: var(--primary); color: var(--primary-fg); }

.form label { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; }
.form input, .form textarea {
  width: 100%; padding: 0.5rem 0.65rem; border: 1px solid var(--border);
  border-radius: 0.4rem; margin-bottom: 1rem; font: inherit;
}
.alert { padding: 0.75rem 1rem; border-radius: 0.5rem; margin-bottom: 1rem; }
.alert.ok { background: #e8f5e9; color: #2e7d32; }
.alert.err { background: #fdecea; color: #c62828; }


.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    z-index: 9999;

    overflow: auto;
    text-align: center;
    padding: 60px 20px;
}

.lightbox:target {
    display: block;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    height: auto;
    width: auto;
    border-radius: 8px;
    display: inline-block;
}

.lightbox .close {
    position: fixed;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    z-index: 10001;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    line-height: 1;
}