:root {
  --ink: #0E2A2D;
  --ink-soft: #123438;
  --ink-deep: #08191B;
  --gold: #C3A62E;
  --gold-soft: #D4B94C;
  --cream: #FAF6EB;
  --cream-dark: #F4EEDD;
  --rule: #D8CFB8;
  --rule-soft: #E8E2D0;
  --muted: #6B6B5F;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100vh; overflow: hidden; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ============ FULL VIEWPORT LAYOUT ============ */
.planner { display: grid; grid-template-columns: 1fr 1fr; height: 100vh; width: 100vw; }

/* ============ LEFT PANE ============ */
.pane-left { position: relative; overflow: hidden; background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 2.5rem 3rem; color: var(--cream); height: 100vh; }
.pane-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity 1.2s ease; opacity: 0; }
.pane-bg.active { opacity: 1; }
.pane-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,42,45,0.65) 0%, rgba(14,42,45,0.55) 40%, rgba(14,42,45,0.85) 100%); z-index: 2; }
.pane-arc { position: absolute; width: 600px; height: 600px; border: 1px solid rgba(195, 166, 46, 0.15); border-radius: 50%; top: -200px; right: -200px; z-index: 3; pointer-events: none; }
.pane-content { position: relative; z-index: 4; }
.pane-header { display: flex; justify-content: space-between; align-items: center; }
.brand-link { text-decoration: none; display: flex; align-items: center; transition: opacity 0.3s; }
.brand-link:hover { opacity: 0.8; }
.brand-logo { height: 56px; width: auto; display: block; }
.step-tag { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; font-weight: 400; display: flex; align-items: center; gap: 0.6rem; }
.step-tag::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.pane-quote { position: relative; z-index: 4; max-width: 520px; }
.pane-quote h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 1.25rem; color: var(--cream); }
.pane-quote h1 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.pane-quote p { font-family: var(--serif); font-size: 1.1rem; font-style: italic; font-weight: 300; line-height: 1.5; color: rgba(250,246,235,0.85); }
.pane-footer { position: relative; z-index: 4; display: flex; align-items: center; gap: 2rem; }
.pane-counter { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.3em; color: var(--gold); font-weight: 500; }
.pane-dots { display: flex; gap: 0.5rem; }
.pane-dot { width: 18px; height: 2px; background: rgba(250,246,235,0.25); transition: all 0.4s; }
.pane-dot.active { background: var(--gold); width: 32px; }
.pane-dot.done { background: rgba(195, 166, 46, 0.5); }

/* ============ RIGHT PANE ============ */
.pane-right { background: var(--cream); height: 100vh; display: grid; grid-template-rows: auto auto 1fr auto; padding: 2.5rem 3.5rem; position: relative; }
.step-label { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.35em; color: var(--gold); text-transform: uppercase; font-weight: 500; margin-bottom: 0.75rem; }
.step-heading { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 0.4rem; }
.step-sub { font-family: var(--sans); font-size: 0.92rem; color: var(--muted); margin-bottom: 1.5rem; font-weight: 300; line-height: 1.5; max-width: 560px; }
.step-body { overflow-y: auto; overflow-x: hidden; padding-right: 0.5rem; }
.step-body::-webkit-scrollbar { width: 4px; }
.step-body::-webkit-scrollbar-track { background: transparent; }
.step-body::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 2px; }

/* ============ STEP ANIMATION ============ */
.step { display: none; animation: fadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.step.active { display: contents; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* ============ CARDS ============ */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
.journey-card { display: flex; gap: 0.85rem; padding: 0.5rem; background: var(--white); border: 1px solid var(--rule-soft); border-radius: 4px; cursor: pointer; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); position: relative; align-items: center; }
.journey-card:hover { border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(14, 42, 45, 0.08); }
.journey-card.selected { border-color: var(--gold); border-width: 1.5px; }
.journey-card.selected .card-check { background: var(--gold); border-color: var(--gold); }
.journey-card.selected .card-check svg { opacity: 1; }
.card-img { width: 80px; height: 80px; flex-shrink: 0; border-radius: 2px; background-size: cover; background-position: center; }
.card-body { flex: 1; padding-right: 2rem; }
.card-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--ink); line-height: 1.2; margin-bottom: 0.2rem; letter-spacing: -0.005em; }
.card-sub { font-family: var(--sans); font-size: 0.72rem; color: var(--muted); line-height: 1.4; font-weight: 300; }
.card-check { position: absolute; right: 0.7rem; bottom: 0.7rem; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--rule); display: flex; align-items: center; justify-content: center; transition: all 0.3s; background: var(--white); }
.card-check svg { width: 10px; height: 10px; stroke: var(--ink); fill: none; stroke-width: 2.5; opacity: 0; transition: opacity 0.3s; }

/* ============ EXPERIENCE CARDS ============ */
.experience-grid { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
.experience-card { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1.15rem; background: var(--white); border: 1px solid var(--rule-soft); border-radius: 4px; cursor: pointer; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); position: relative; }
.experience-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.experience-card.selected { border-color: var(--gold); border-width: 1.5px; }
.experience-card.selected .card-check { background: var(--gold); border-color: var(--gold); }
.experience-card.selected .card-check svg { opacity: 1; }
.exp-num { font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--gold); font-weight: 400; line-height: 1; min-width: 36px; }
.exp-body { flex: 1; padding-right: 2rem; }
.exp-title { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin-bottom: 0.1rem; font-weight: 500; }
.exp-sub { font-family: var(--sans); font-size: 0.74rem; color: var(--muted); line-height: 1.4; font-weight: 300; }

/* ============ TAGS ============ */
.tag-grid { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag { padding: 0.65rem 1.1rem; background: var(--white); border: 1px solid var(--rule-soft); border-radius: 999px; font-family: var(--sans); font-size: 0.78rem; color: var(--ink); cursor: pointer; transition: all 0.3s; font-weight: 400; }
.tag:hover { border-color: var(--gold); }
.tag.selected { background: var(--ink); color: var(--gold-soft); border-color: var(--ink); font-weight: 500; }

/* ============ DATES ============ */
.date-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.25rem; }
.date-tab { padding: 1rem; background: var(--white); border: 1px solid var(--rule-soft); border-radius: 4px; font-family: var(--serif); font-size: 1rem; color: var(--ink); cursor: pointer; transition: all 0.3s; text-align: center; }
.date-tab:hover { border-color: var(--gold); }
.date-tab.active { border-color: var(--gold); border-width: 1.5px; color: var(--gold); }
.field-label { display: block; font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; font-weight: 500; margin-top: 1rem; }
.field-label:first-of-type { margin-top: 0; }
.field-input { width: 100%; padding: 0.8rem 1rem; background: var(--white); border: 1px solid var(--rule-soft); border-radius: 4px; font-family: var(--sans); font-size: 0.88rem; color: var(--ink); transition: border-color 0.3s; font-weight: 400; }
.field-input:focus { outline: none; border-color: var(--gold); }
select.field-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230E2A2D' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.2rem; cursor: pointer; }
textarea.field-input { resize: none; min-height: 70px; max-height: 90px; }
.date-section { display: none; }
.date-section.active { display: block; }
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.year-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.year-card { padding: 0.7rem 0.5rem; background: var(--white); border: 1px solid var(--rule-soft); border-radius: 4px; text-align: center; cursor: pointer; transition: all 0.3s; font-family: var(--serif); font-size: 1rem; color: var(--ink); font-weight: 500; }
.year-card:hover { border-color: var(--gold); }
.year-card.selected { background: var(--ink); color: var(--gold-soft); border-color: var(--ink); }
.month-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.4rem; }
.month { padding: 0.55rem 0.4rem; background: var(--white); border: 1px solid var(--rule-soft); border-radius: 4px; text-align: center; cursor: pointer; transition: all 0.3s; font-family: var(--sans); font-size: 0.72rem; color: var(--ink); letter-spacing: 0.05em; }
.month:hover { border-color: var(--gold); }
.month.selected { background: var(--ink); color: var(--gold-soft); border-color: var(--ink); }
.month.disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* ============ COUNTERS ============ */
.who-group { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.counter-block { padding: 0.85rem 0; border-bottom: 1px solid var(--rule-soft); display: flex; justify-content: space-between; align-items: center; }
.counter-name { font-family: var(--serif); font-size: 1rem; color: var(--ink); font-weight: 500; }
.counter-meta { font-family: var(--sans); font-size: 0.7rem; color: var(--muted); margin-top: 1px; }
.counter-controls { display: flex; align-items: center; gap: 1rem; }
.counter-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule); background: var(--white); color: var(--ink); cursor: pointer; font-family: var(--sans); font-size: 0.9rem; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.counter-btn:hover { border-color: var(--gold); color: var(--gold); }
.counter-value { font-family: var(--serif); font-size: 1.2rem; min-width: 22px; text-align: center; color: var(--ink); }

/* ============ BUDGET ============ */
.budget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.budget-card { padding: 0.75rem 1rem; background: var(--white); border: 1px solid var(--rule-soft); border-radius: 4px; cursor: pointer; transition: all 0.3s; }
.budget-card.full { grid-column: 1 / -1; }
.budget-card:hover { border-color: var(--gold); }
.budget-card.selected { border-color: var(--gold); border-width: 1.5px; }
.budget-amount { font-family: var(--serif); font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: 0.1rem; }
.budget-tier { font-family: var(--sans); font-size: 0.7rem; color: var(--muted); font-weight: 300; }

/* ============ VALIDATION & FORM ============ */
.validation-hint { font-family: var(--sans); font-size: 0.75rem; color: var(--muted); font-style: italic; margin-top: 0.75rem; opacity: 0; transition: opacity 0.3s, color 0.3s; height: 1rem; }
.validation-hint.show { opacity: 1; color: #b54a3a; font-style: normal; }
.step-hint { margin-top: 1rem; padding: 0.6rem 0.85rem; background: rgba(181, 74, 58, 0.06); border-left: 2px solid #b54a3a; border-radius: 2px; height: auto; font-size: 0.78rem; }
.field-required::after { content: '*'; color: var(--gold); margin-left: 4px; }
.whatsapp-prompt { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1.1rem; background: rgba(37, 211, 102, 0.08); border: 1px solid rgba(37, 211, 102, 0.25); border-radius: 4px; margin-top: 1rem; text-decoration: none; transition: all 0.3s; }
.whatsapp-prompt:hover { background: rgba(37, 211, 102, 0.15); transform: translateY(-1px); }
.whatsapp-icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--whatsapp); display: flex; align-items: center; justify-content: center; }
.whatsapp-icon svg { width: 16px; height: 16px; fill: var(--white); }
.whatsapp-prompt-text { font-family: var(--sans); font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.whatsapp-prompt-text strong { color: var(--whatsapp-dark); font-weight: 500; display: block; font-size: 0.85rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-grid .full { grid-column: 1 / -1; }
.phone-group { display: grid; grid-template-columns: 180px 1fr; gap: 0.4rem; }
.wishlist-prompt { font-family: var(--serif); font-size: 0.85rem; font-style: italic; color: var(--muted); line-height: 1.4; margin: -0.25rem 0 0.5rem; }

/* ============ NAV & SUMMARY ============ */
.pane-nav { padding-top: 1.25rem; margin-top: 1.25rem; border-top: 1px solid var(--rule-soft); display: flex; justify-content: space-between; align-items: center; }
.nav-back { background: transparent; border: none; color: var(--muted); font-family: var(--sans); font-size: 0.8rem; cursor: pointer; display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0; transition: color 0.3s; }
.nav-back:hover { color: var(--ink); }
.nav-back.hidden { visibility: hidden; }
.nav-continue { background: var(--ink); color: var(--gold-soft); border: none; padding: 0.8rem 2rem; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; cursor: pointer; border-radius: 4px; display: flex; align-items: center; gap: 0.5rem; transition: all 0.3s; }
.nav-continue:hover:not(:disabled) { background: var(--ink-deep); gap: 0.7rem; }
.nav-continue:disabled { opacity: 0.7; cursor: not-allowed; }

.confirmation { display: none; height: 100%; overflow: hidden; animation: fadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1); grid-template-rows: auto auto 1fr auto; }
.confirmation.active { display: grid; }
.conf-mark { width: 48px; height: 48px; border: 1.5px solid var(--gold); border-radius: 50%; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; }
.conf-heading { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400; line-height: 1.15; color: var(--ink); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.conf-heading em { color: var(--gold); font-style: italic; }
.conf-intro { font-family: var(--sans); font-size: 0.92rem; color: var(--muted); line-height: 1.55; margin-bottom: 1rem; max-width: 560px; }
.conf-summary { overflow-y: auto; overflow-x: hidden; padding-right: 0.5rem; }
.conf-summary::-webkit-scrollbar { width: 4px; }
.conf-summary::-webkit-scrollbar-track { background: transparent; }
.conf-summary::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 2px; }
.summary-title { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.35em; color: var(--gold); text-transform: uppercase; font-weight: 500; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.6rem; }
.summary-title::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; }
.summary-grid .full { grid-column: 1 / -1; }
.summary-row { padding-bottom: 0.5rem; border-bottom: 1px solid var(--rule-soft); }
.summary-label { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; font-weight: 500; }
.summary-value { font-family: var(--serif); font-size: 1rem; color: var(--ink); line-height: 1.35; font-weight: 500; }
.conf-footer { padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--rule-soft); display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.conf-reference { display: flex; flex-direction: column; }
.ref-label { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.ref-value { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); font-style: italic; letter-spacing: 0.05em; }
.conf-whatsapp { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.5rem; background: var(--whatsapp); color: var(--white); text-decoration: none; border-radius: 4px; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; transition: all 0.3s; }
.conf-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }
.conf-whatsapp svg { width: 18px; height: 18px; fill: var(--white); }

@media (max-width: 1100px) {
  html, body { height: auto; overflow-x: hidden; overflow-y: auto; }
  .planner { grid-template-columns: 1fr; height: auto; }
  .pane-left { height: 40vh; min-height: 320px; padding: 1.5rem 2rem; }
  .pane-right { height: auto; padding: 2rem; grid-template-rows: auto auto auto auto; }
  .step-body { overflow: visible; padding-right: 0; }
}
@media (max-width: 640px) {
  .pane-left { padding: 1.25rem 1.5rem; height: 35vh; min-height: 280px; }
  .pane-right { padding: 1.75rem 1.5rem 2rem; }
  .card-grid, .budget-grid, .form-grid, .date-toggle, .date-row { grid-template-columns: 1fr; }
  .month-grid { grid-template-columns: repeat(4, 1fr); }
  .year-grid { grid-template-columns: repeat(2, 1fr); }
  .phone-group { grid-template-columns: 95px 1fr; }
}