:root {
  --gold: #cca058;
  --gold-dark: #cca058;
  --ink: #1a1a2e;
  --ink-soft: #2d2d44;
  --cream: #faf7f2;
  --rose: #e8b4b8;
  --muted: #6b6b7b;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {  letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--gold-dark); text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.wrap-sm { max-width: 860px; margin: 0 auto; padding: 0 1.25rem; }
.hero h1 {
    font-size: 35px;
    line-height: 1.2;
    max-width: 500px;
    margin: 0 auto;
}

a {
    text-decoration: none!important;
}
.iti .iti__selected-dial-code { color: #333!important; }
/* Nav */
.nav {
  background: #fff;
  border-bottom: 1px solid #eee5d6;
  padding: 1rem 0;
  position: sticky; top: 0; z-index: 50;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 1.5rem; color: var(--ink); font-weight: 700; }
.brand span { color: var(--gold-dark); }
.nav a.cta { background: var(--ink); color: #fff; padding: .6rem 1.1rem; border-radius: 999px; font-weight: 600; }
.nav a.cta:hover { background: var(--gold-dark); }

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
}
.badge {
  display: inline-block; background: #fff3dd; color: var(--gold-dark);
  padding: .3rem .9rem; border-radius: 999px; font-weight: 600; font-size: .85rem; margin-bottom: 1rem;
}
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; }
.hero-image {
  background: linear-gradient(135deg, var(--rose), var(--gold));
  border-radius: var(--radius); aspect-ratio: 4/5; box-shadow: var(--shadow);
  background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?w=900&q=80');
  background-size: cover; background-position: center;
}
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-image { aspect-ratio: 16/11; } }

.btn {
  display: inline-block; background: var(--ink); color: #fff;
  padding: 1rem 2rem; border-radius: 999px; font-weight: 700;
  border: none; cursor: pointer; font-size: 1rem; letter-spacing: .02em;
  transition: transform .15s ease, background .2s;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn.gold { background: var(--gold-dark); }
.btn.gold:hover { background: var(--ink); }
.btn.block { display: block; width: 100%; }
.btn.ghost { background: transparent; color: #fff; border: 2px solid #e40563; }
.btn.ghost:hover { background: #e40563; color: #fff; }
.btn { background: #e40563; }
.quiz-card {
    margin-top: 125px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
}

.q-options.multi label {
    color: #333;
}

.btn {
    background: #e40563;
}

/* Sections */
.section { padding: 4rem 0; }
.section.alt { background: #fff; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { background: #fff; padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature .icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: #fff3dd; color: var(--gold-dark); border-radius: 12px; font-size: 1.4rem; margin-bottom: 1rem;
}
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { background: var(--cream); padding: 2rem 1.5rem; border-radius: var(--radius); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 20px;
  width: 40px; height: 40px; background: var(--gold-dark); color: #fff;
  display: grid; place-items: center; border-radius: 50%; font-weight: 700;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.t-card { background: #fff; padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.t-card .stars { color: var(--gold-dark); margin-bottom: .5rem; }
.t-card .author { font-weight: 600; margin-top: 1rem; }
@media (max-width: 820px) { .testimonials { grid-template-columns: 1fr; } }

.cta-strip {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: #fff; padding: 4rem 1.5rem; text-align: center; border-radius: var(--radius);
  margin: 2rem 0;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #d3d3e0; max-width: 520px; margin: 0 auto 1.5rem; }

/* Footer */
.footer { background: var(--ink); color: #d3d3e0; padding: 2.5rem 0; text-align: center; font-size: .9rem; }
.footer a { color: var(--gold); }

/* Quiz */
.quiz-shell {
  min-height: 100vh;
  padding: 0;
  position: relative;
  background:    url('https://weddingplanning.weddingchamps.com/img/background-1.jpeg') center/cover no-repeat fixed;
}
.iti__country { color: #000 !important; }
.quiz-card {
    max-width: 700px;
    margin: 1.25rem auto;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .18);
    padding: 1.5rem 1.75rem;
    margin-top: 125px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
}padding: 1.5rem 1.75rem;
}
.quiz-card h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.quiz-card h3 { margin-top: .75rem; }
.progress { height: 6px; background: #eee5d6; border-radius: 999px; overflow: hidden; margin-bottom: 1rem; }
.progress-bar { height: 100%; background: var(--gold-dark); transition: width .3s ease; width: 0%; }
.q-step { display: none; }
.q-step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.q-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem;
  margin: .85rem 0 .5rem;
}
@media (max-width: 640px) {
  .q-options { grid-template-columns: 1fr; }
}
.q-step h2 {
    font-size: 24px;
}

.q-step p {
    color: #fff!important;
}
.q-options label {
  display: block; padding: .75rem 1rem; background: var(--cream);
  border: 2px solid transparent; border-radius: 10px; cursor: pointer;
  font-weight: 500; font-size: .95rem; transition: all .15s; color: #333;
}
.q-options label:hover { border-color: var(--gold); }
.q-options input[type=radio] { display: none; }
.q-options input[type=radio]:checked + span { color: var(--gold-dark); font-weight: 700; }
.q-options label:has(input:checked) { border-color: var(--gold-dark); background: #fff3dd; }

.q-field { margin-bottom: .75rem; }
.q-field label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .9rem; }
.q-field input, .q-field textarea, .q-field select {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid #e3dccd;
  border-radius: 10px; font: inherit; background: #fff; font-size: .95rem;
}
.q-field textarea { padding: .65rem .9rem; }
.q-field input:focus, .q-field textarea:focus, .q-field select:focus {
  outline: none; border-color: var(--gold-dark);
}
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; gap: 1rem; }
.q-nav .btn { padding: .75rem 1.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.contact-grid .q-field { margin-bottom: 0; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

/* Schedule */
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; margin: 1rem 0 1.5rem;
}
.cal-grid .day-head { text-align: center; font-weight: 600; font-size: .8rem; color: var(--muted); padding: .5rem 0; }
.cal-day {
  aspect-ratio: 1/1; display: grid; place-items: center;
  background: var(--cream); border: 2px solid transparent; border-radius: 8px;
  cursor: pointer; font-weight: 500; transition: all .15s;
}
.cal-day:hover:not(.disabled) { border-color: var(--gold); }
.cal-day.disabled { opacity: .35; cursor: not-allowed; }
.cal-day.selected { background: var(--gold-dark); color: #fff; }
.cal-day.empty { background: transparent; cursor: default; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.cal-header button { background: transparent; border: 1.5px solid #e3dccd; border-radius: 8px; padding: .4rem .9rem; cursor: pointer; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: .5rem; margin-bottom: 1.5rem; }
.time-slot {
  padding: .65rem .5rem; text-align: center; background: var(--cream);
  border: 2px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 500;
}
.time-slot:hover { border-color: var(--gold); }
.time-slot.selected { background: var(--gold-dark); color: #fff; }

/* Admin */
.admin-body { background: #f4f4f8; min-height: 100vh; font-family: 'Inter', sans-serif; }
.admin-top {
  background: var(--ink); color: #fff; padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.admin-top a { color: var(--gold); margin-left: 1rem; }
.admin-main { max-width: 1280px; margin: 2rem auto; padding: 0 1.5rem; }
.admin-card { background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-tabs a {
  padding: .6rem 1.2rem; background: #fff; border-radius: 8px; font-weight: 600; color: var(--ink);
}
.admin-tabs a.active { background: var(--ink); color: #fff; }
.filter-bar { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; align-items: center; }
.filter-bar select, .filter-bar input {
  padding: .5rem .75rem; border: 1.5px solid #e3dccd; border-radius: 8px; font: inherit; background: #fff;
}
.filter-bar .btn { padding: .55rem 1.25rem; font-size: .9rem; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
.tbl th, .tbl td { padding: .75rem .6rem; text-align: left; border-bottom: 1px solid #eee; vertical-align: top; }
.tbl th { background: #faf7f2; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.tbl tr:hover td { background: #faf7f2; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: #fff; padding: 1.25rem; border-radius: 10px; box-shadow: var(--shadow); }
.stat .k { color: var(--muted); font-size: .85rem; }
.stat .v { font-size: 1.75rem; font-weight: 700; color: var(--ink); }
@media (max-width: 820px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.login-box {
  max-width: 400px; margin: 8vh auto; background: #fff; padding: 2.5rem;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.login-box h1 { font-size: 1.75rem; text-align: center; margin-bottom: 1.5rem; }
.alert { padding: .85rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.alert.err { background: #fde2e2; color: #a02828; }
.alert.ok { background: #e2fde8; color: #1f6f36; }

/* -------- Modern hero (v2) -------- */
.nav-right { display: flex; gap: 1rem; align-items: center; }
.nav-phone { color: var(--ink); font-weight: 600; font-size: .95rem; }
@media (max-width: 640px) { .nav-phone { display: none; } }

.hero-v2 {
  position: relative; overflow: hidden;
  padding: 5rem 0 6rem;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 70%);
}
.bg-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bg-blobs .blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45;
}
.bg-blobs .b1 { width: 380px; height: 380px; background: #fbd1d6; top: -80px; right: -60px; }
.bg-blobs .b2 { width: 300px; height: 300px; background: #f4e4c3; bottom: -60px; left: -40px; opacity: .6; }
.bg-blobs .b3 { width: 220px; height: 220px; background: #e8d5f0; top: 40%; left: 45%; opacity: .35; }

.hero-grid-v2 {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-visual { order: 1; }
.hero-copy   { order: 2; }
@media (max-width: 900px) {
  .hero-grid-v2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: 1; }
  .hero-copy { order: 2; }
}

.hero-img-wrap { position: relative; }
.hero-image-v2 {
  border-radius: 24px;
  aspect-ratio: 4/5;
  background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1000&q=85');
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px -20px rgba(26,26,46,.25), 0 0 0 1px rgba(255,255,255,.8);
}
@media (max-width: 900px) { .hero-image-v2 { aspect-ratio: 5/4; } }

.stat-chip {
  position: absolute; background: #fff; padding: .85rem 1.25rem;
  border-radius: 16px; box-shadow: 0 15px 35px -10px rgba(0,0,0,.15);
  display: flex; flex-direction: column; gap: .2rem;
  animation: float 5s ease-in-out infinite;
}
.stat-chip .stat-chip-k { font-size: 1.35rem; font-weight: 700; color: var(--gold-dark); line-height: 1; }
.stat-chip .stat-chip-v { font-size: .8rem; color: var(--muted); }
.stat-chip .stars { color: var(--gold-dark); font-size: .95rem; }
.stat-top { top: 24px; right: -18px; }
.stat-bot { bottom: 30px; left: -22px; animation-delay: -2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .stat-top { right: 6px; } .stat-bot { left: 6px; } }

.hero-copy .badge {
  background: #fff; border: 1px solid #e3dccd;
  padding: .4rem 1rem; font-size: .85rem;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 800; letter-spacing: -.02em;
}
.hero-copy h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-dark) 0%, #d4a75a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy p.lead {
  font-size: 1.15rem; color: var(--ink-soft); max-width: 520px;
}
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 1.25rem; }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.05rem; box-shadow: 0 12px 24px -8px rgba(201,169,97,.5); }
.btn-lg:hover { box-shadow: 0 18px 30px -8px rgba(201,169,97,.6); }
.hero-bullets {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
  color: var(--muted); font-size: .9rem; font-weight: 500;
  padding-top: .75rem; border-top: 1px solid #eee5d6;
}
.hero-bullets span { white-space: nowrap; }

.eyebrow {
  display: inline-block; color: var(--gold-dark); font-weight: 700;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem;
}

/* Match banner in quiz final step */
.match-banner {
  background: linear-gradient(135deg, #fff3dd 0%, #fde8ea 100%);
  border-radius: 12px; padding: .9rem 1.1rem; text-align: center;
  border: 1px solid #f0e4d0; margin-bottom: .75rem;
}
.match-banner .match-emoji { font-size: 1.5rem; display: inline-block; margin-right: .35rem; }
.match-banner h2 { font-size: 1rem; color: var(--ink); display: inline; font-family: 'Inter', sans-serif; font-weight: 700; }
.match-banner p { font-size: .85rem; margin: .15rem 0 0;  color: #333!important;}
img { max-width: 100% }
.quiz-card img.deed {
    max-width: 110px;
    margin: 0 auto;
    display: block;
    margin-bottom: 10px;
}
/* Brand logo img */
.brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 640px) { .brand-logo { height: 32px; } }

/* intl-tel-input overrides */
.iti { width: 100%; display: block; }
.iti input.iti__tel-input,
.iti input[type=tel] {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid #e3dccd;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.iti--separate-dial-code .iti__selected-flag {
  background-color: #faf7f2;
  border-radius: 10px 0 0 10px;
  border: 1.5px solid #e3dccd;
  border-right: none;
}
.iti--separate-dial-code input.iti__tel-input,
.iti--separate-dial-code input[type=tel] {
  padding-left: 92px !important;
}
.iti__country-list { font: inherit; }

/* Checkbox multi pills */
.q-options.multi label:has(input:checked) {
  border-color: var(--gold-dark);
  background: #fff3dd;
}
.q-options input[type=checkbox] { display: none; }
.q-options.multi label { position: relative; padding-right: 3rem; }
.q-options.multi label::after {
  content: ''; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border: 2px solid #d5c9ae; border-radius: 6px; background: #fff;
  transition: all .15s;
}
.q-options.multi label:has(input:checked)::after {
  background: var(--gold-dark) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.5 11.2L3.3 8l1.1-1.1 2.1 2.1 4.8-4.8L12.4 5.3z'/></svg>") center/14px no-repeat;
  border-color: var(--gold-dark);
}

