:root {
  --ink: #1d1838;
  --ink-soft: #4a4566;
  --bg: #fbf8f3;
  --card: #ffffff;
  --brand: #3b2a7a;
  --brand-dark: #231a4d;
  --gold: #d99a1e;
  --gold-soft: #fbeed3;
  --line: #e7e1d6;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  background: var(--brand-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.logo span { color: var(--gold); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a {
  color: #e8e4f7;
  text-decoration: none;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { color: #fff; border-bottom-color: var(--gold); }

/* Hero */
.hero {
  background: radial-gradient(circle at 80% 20%, #4d3a9a 0%, var(--brand-dark) 60%);
  color: #fff;
  padding: 72px 0 80px;
  text-align: center;
}
.hero .signs {
  font-size: 26px;
  letter-spacing: 10px;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero p { color: #dcd6f2; max-width: 640px; margin: 0 auto 28px; font-size: 17px; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 15px;
}
.btn:hover { filter: brightness(1.05); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  margin-left: 8px;
}

/* Sections */
section { padding: 64px 0; }
.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 38px);
  text-align: center;
  margin: 0 0 8px;
}
.section-sub { text-align: center; color: var(--ink-soft); margin: 0 auto 40px; max-width: 620px; }

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  margin: 8px 0 4px;
}
.card .meta { color: var(--ink-soft); font-size: 14px; margin-bottom: 12px; }
.card ul { padding-left: 18px; margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; }
.card .btn { margin-top: auto; text-align: center; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 44px; }
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 16px; left: 24px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--brand);
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 14px;
}

.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.notice {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink);
}

/* Legal / content pages */
.page-head {
  background: var(--brand-dark);
  color: #fff;
  padding: 44px 0;
}
.page-head h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 5vw, 44px);
  margin: 0;
}
.page-head p { color: #d6d0ee; margin: 6px 0 0; }

.content { max-width: 800px; margin: 0 auto; padding: 48px 16px 64px; }
.content h2 { font-size: 21px; margin: 32px 0 8px; color: var(--brand-dark); }
.content p, .content li { color: #2e2a45; }
.content table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.content th, .content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.content th { background: #f3eefc; }

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-box dt { font-weight: 600; margin-top: 12px; }
.contact-box dd { margin: 2px 0 0; color: var(--ink-soft); }

form.contact-form { display: grid; gap: 14px; }
form.contact-form label { font-weight: 600; font-size: 14px; }
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: #cfc9e6;
  padding: 44px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
.site-footer a { color: #cfc9e6; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #3a3266;
  margin-top: 28px;
  padding-top: 16px;
  font-size: 13px;
  color: #a9a2c9;
}

/* Bottom action bar (phones only) */
.mobile-bar { display: none; }

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 72px; }
  section { padding: 40px 0; }

  /* Compact header: logo on top, nav as one swipeable row */
  .site-header { position: static; }
  .site-header .container { min-height: 0; padding-top: 10px; gap: 4px; }
  .logo { font-size: 24px; }
  .nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 14px; padding: 8px 0; }

  .hero { padding: 36px 0 44px; }
  .hero .signs { font-size: 17px; letter-spacing: 1px; white-space: nowrap; overflow: hidden; }
  .hero h1 br { display: none; }
  .hero p { font-size: 16px; }
  .hero .btn { display: block; width: 100%; margin: 0 0 10px; padding: 14px; }
  .btn-outline { margin: 0; }

  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px; }
  .card .btn { padding: 14px; font-size: 16px; }
  .section-sub { margin-bottom: 24px; }

  .page-head { padding: 28px 0; }
  .content { padding: 28px 16px 40px; }
  .content table { font-size: 14px; }
  .content th, .content td { padding: 8px; }

  .site-footer a { padding: 7px 0; }

  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 20;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(29, 24, 56, 0.08);
  }
  .mobile-bar a {
    flex: 1;
    text-align: center;
    padding: 13px 8px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
  }
  .mobile-bar .wa { background: #1fa855; color: #fff; }
  .mobile-bar .call { background: var(--brand-dark); color: #fff; }
}
