@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand - RayGems Palette */
  --navy: #1B2A6B;
  --navy-dark: #0f1a45;
  --navy-light: #2d3f8f;
  --red: #8B1A1A;
  --red-light: #b52222;
  --gold: #c8962a;
  --gold-light: #e8b84b;
  --cream: #f9f7f2;
  --white: #ffffff;
  
  --green: #25D366;
  --green-700: #1ea855;
  
  /* Neutrals */
  --ink: #0f1a45;
  --ink-2: #1a1a1a;
  --text: #555555;
  --muted: #999999;
  --muted-2: #c8c8c8;
  --line: #e8e8e8;
  --bg: #f9f7f2;
  --bg-soft: #ffffff;
  --bg-card: #ffffff;
  --dark: #0f1a45;
  
  /* Effects */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15,26,69,0.05);
  --shadow: 0 4px 20px rgba(27,42,107,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --maxw: 1280px;
  --font: 'Poppins', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--navy); }

.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 0 24px; }

/* Generic buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, box-shadow .15s, transform .15s;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: var(--green-700); }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-danger:hover { background: #fecaca; }

/* Utilities */
.hide { display: none !important; }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spinner {
  width: 34px; height: 34px; border: 3px solid var(--gray-100); border-top-color: var(--navy);
  border-radius: 50%; animation: spin .8s linear infinite; margin: 48px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.state-msg { text-align: center; color: var(--muted); padding: 48px 16px; font-size: 15px; }
.notice {
  background: #fef3c7; color: #92400e; border: 1px solid #fde68a; border-radius: 12px;
  padding: 14px 18px; font-size: 14px; margin: 16px auto; max-width: var(--maxw);
}
