/* Theme aligned with sanwariyamitramandal.com (Cleenhearts) */
:root {
  --base: #351c42;
  --dark: #24102f;
  --purple: #965995;
  --gold: #f6d469;
  --gold-dark: #e5bc3a;
  --cream: #efefe7;
  --cream-warm: #fffaea;
  --text: #24102f;
  --muted: #757277;
  --card: #ffffff;
  --border: #d7d3cb;
  --error: #b42318;
  --success: #067647;
  --radius: 14px;
  --shadow: 0 16px 48px rgba(36, 16, 47, 0.22);
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-heading: "Quicksand", "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--dark);
}

.site-header {
  background: linear-gradient(180deg, var(--dark) 0%, var(--base) 100%);
  padding: 0.85rem 1.25rem;
  border-bottom: 3px solid var(--gold);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 560px;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
}

.site-header__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--cream-warm);
  padding: 4px;
  flex-shrink: 0;
}

.site-header__titles {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-header__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
  line-height: 1.2;
}

.site-header__tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
}

.hero {
  position: relative;
  flex: 1;
  background: var(--base) url("/assets/slider-1.jpg") center / cover no-repeat;
  padding: 2rem 1rem 2.5rem;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(36, 16, 47, 0.88) 0%,
    rgba(53, 28, 66, 0.78) 45%,
    rgba(36, 16, 47, 0.92) 100%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}

.hero__eyebrow {
  text-align: center;
  color: var(--gold);
  font-size: 0.8rem;
  margin: 0 0 1.25rem;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
}

.card__title {
  font-family: var(--font-heading);
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--base);
}

.card__lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.card__note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  text-align: center;
}

.hidden {
  display: none !important;
}

label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--base);
}

label input,
label textarea,
label select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-weight: 400;
  background: var(--cream-warm);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

label input:focus,
label textarea:focus,
label select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(150, 89, 149, 0.25);
  background: #fff;
}

.req {
  color: var(--error);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.15s, transform 0.1s;
}

.btn.primary {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  margin-top: 0.5rem;
  box-shadow: 0 4px 14px rgba(246, 212, 105, 0.45);
}

.btn.primary:hover:not(:disabled) {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn.ghost {
  background: transparent;
  color: var(--purple);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn.ghost:hover {
  color: var(--base);
  background: rgba(150, 89, 149, 0.08);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.muted {
  font-size: 0.85rem;
  color: var(--muted);
}

.error {
  color: var(--error);
  font-size: 0.875rem;
  min-height: 1.25rem;
  margin: 0.25rem 0;
}

.success {
  color: var(--success);
  font-size: 0.875rem;
  min-height: 1.25rem;
  margin: 0.25rem 0;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 1.1rem 1rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(246, 212, 105, 0.35);
}

.site-footer__trust {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gold);
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .hero {
    padding: 2.5rem 1.5rem 3rem;
  }

  .card {
    padding: 2rem 1.75rem;
  }

  .site-header__name {
    font-size: 1.15rem;
  }
}
