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

:root {
  /* Rising Digital Brand */
  --grad:        linear-gradient(135deg, #00C8FF 0%, #BD34A5 55%, #FF0086 100%);
  --grad-subtle: linear-gradient(135deg, rgba(0,200,255,0.12) 0%, rgba(189,52,165,0.12) 55%, rgba(255,0,134,0.12) 100%);
  --cyan:        #00C8FF;
  --magenta:     #BD34A5;
  --pink:        #FF0086;
  --teal:        #00BEBE;  /* Conciso */

  /* Neutrals */
  --dark:        #000000;
  --dark-2:      #14141e;
  --bg:          #f4f4f8;
  --white:       #ffffff;
  --border:      #e4e4ec;
  --text:        #141420;
  --muted:       #7a7a94;
  --error:       #ef4444;
  --radius:      14px;
  --shadow:      0 4px 28px rgba(0,0,0,0.09);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ─── GRADIENT UTILITIES ──────────────────────────────────── */

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient border helper: wrap element with this, set inner bg to white */
.grad-border {
  background: var(--grad);
  padding: 2px;
  border-radius: calc(var(--radius) + 2px);
}

/* ─── HEADER ─────────────────────────────────────────────── */

.site-header {
  background: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}


.header-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 44px;
  position: relative;
  text-align: center;
}

.header-logo {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}

.header-logo img {
  height: 202px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
}

.logo-placeholder {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0 20px;
}

.header-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}

.header-title {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

/* The gradient underline accent below title */
.header-accent {
  width: 64px;
  height: 3px;
  background: var(--grad);
  border-radius: 2px;
  margin: 18px auto 0;
}

/* ─── EVENT STRIP ─────────────────────────────────────────── */

.event-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.event-strip-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.event-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
}

.event-pill-icon {
  width: 16px;
  height: 16px;
  background: var(--grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 9px;
}

.event-pill-sep {
  color: var(--border);
  font-size: 18px;
}

@media (max-width: 520px) {
  .event-pill-sep { display: none; }
  .event-strip-inner { gap: 8px 20px; }
}

/* ─── PAGE BODY ───────────────────────────────────────────── */

.page-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ─── WELCOME CARD ────────────────────────────────────────── */

.welcome-card {
  margin-top: 32px;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              var(--grad) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.welcome-card-bar {
  display: none;
}

.welcome-card-body {
  padding: 32px 40px;
}

.welcome-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.welcome-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 520px) {
  .welcome-card-body { padding: 24px 20px; }
}

/* ─── FORM CARD ───────────────────────────────────────────── */

.form-card {
  margin-top: 32px;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              var(--grad) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-section {
  padding: 32px 40px;
}

.form-section + .form-section {
  border-top: 1px solid var(--border);
}

@media (max-width: 520px) {
  .form-section { padding: 24px 20px; }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── INPUTS ──────────────────────────────────────────────── */

.field-group { margin-bottom: 16px; }
.field-group:last-child { margin-bottom: 0; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .field-row .field-group { margin-bottom: 16px; }
}

label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #636380;
  margin-bottom: 7px;
}

.req { color: var(--cyan); margin-left: 1px; }

.opt-tag {
  font-size: 10px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #b0b0c8;
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 11px 15px;
  background: #fafafa;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  outline: none;
  -webkit-appearance: none;
}

input::placeholder, textarea::placeholder {
  color: #c8c8d8;
  font-weight: 400;
}

input:focus, textarea:focus {
  border-color: var(--cyan);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.1);
}

input.is-error, textarea.is-error {
  border-color: var(--error);
  background: #fff8f8;
}

textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.65;
}

.field-error-msg {
  font-size: 11px;
  color: var(--error);
  margin-top: 5px;
  display: none;
}

/* ─── FOOD SELECTION ──────────────────────────────────────── */

.food-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

@media (max-width: 480px) {
  .food-grid { grid-template-columns: 1fr; }
}

.food-option { position: relative; }

.food-option input[type="radio"],
.food-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.food-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #fafafa;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.16s;
  user-select: none;
  height: 100%;
}

.food-label:hover {
  border-color: var(--cyan);
  background: rgba(0,200,255,0.04);
}

/* Selected state: gradient border via box-shadow + background trick */
.food-option input:checked + .food-label {
  background: var(--white);
  border-color: transparent;
  box-shadow:
    0 0 0 2px var(--cyan),        /* inner visible border */
    0 4px 16px rgba(0,200,255,0.15);
}

/* For a proper gradient border on selected, use a wrapper approach */
.food-option input:checked + .food-label {
  background: linear-gradient(#fff, #fff) padding-box,
              var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: 0 4px 16px rgba(0,200,255,0.12);
}

.food-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.food-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  flex: 1;
}

/* Custom radio indicator */
.food-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
  transition: all 0.16s;
  position: relative;
  overflow: hidden;
}

.food-option input:checked + .food-label .food-check {
  background: var(--grad);
  border-color: transparent;
}

.food-option input:checked + .food-label .food-check::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--white);
}

/* Conditional detail field */
.food-detail-wrap {
  display: none;
  margin-top: 10px;
  animation: slideDown 0.2s ease;
}

.food-detail-wrap.visible { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── COMPANION SECTION ───────────────────────────────────── */

.companion-form {
  display: none;
  animation: slideDown 0.2s ease;
}

.companion-form.visible { display: block; }

.companion-intro {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 16px;
  font-style: italic;
  border-left: 3px solid;
  border-image: var(--grad) 1;
  padding-left: 14px;
}

/* ─── SUBMIT ──────────────────────────────────────────────── */

.form-footer {
  padding: 28px 40px 36px;
  border-top: 1px solid var(--border);
}

@media (max-width: 520px) {
  .form-footer { padding: 24px 20px 32px; }
}

.submit-btn {
  width: 100%;
  padding: 15px 24px;
  background: var(--grad);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.submit-btn:hover::after { background: rgba(255,255,255,0.1); }
.submit-btn:active { transform: scale(0.99); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.submit-btn .btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto;
}

.submit-btn.loading .btn-label { display: none; }
.submit-btn.loading .btn-spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.required-note {
  text-align: center;
  font-size: 11px;
  color: #c0c0d8;
  margin-top: 12px;
  font-weight: 400;
}

.required-note .req-star { color: var(--cyan); }

/* ─── PRIVACY BOX ────────────────────────────────────────── */

.privacy-box {
  margin-top: 120px;
  background: #f9f9fc;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.privacy-header {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.privacy-icon { font-size: 14px; }

.privacy-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}

.privacy-toggle {
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
}

.privacy-short {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.privacy-full {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.privacy-full p {
  margin-bottom: 12px;
}

.privacy-full p:last-child { margin-bottom: 0; }

.privacy-full strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 3px;
}

.privacy-full a {
  color: var(--cyan);
  text-decoration: none;
}

.privacy-full a:hover { text-decoration: underline; }

/* ─── ERROR BANNER ────────────────────────────────────────── */

.error-banner {
  background: #fff5f5;
  border: 1.5px solid #fed7d7;
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--error);
  margin-bottom: 20px;
  display: none;
}

/* ─── SUCCESS PAGE ────────────────────────────────────────── */

.success-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.success-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.success-card {
  background: linear-gradient(var(--white), var(--white)) padding-box,
              var(--grad) border-box;
  border: 2.5px solid transparent;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 48px 56px;
  max-width: 480px;
  width: 100%;
  text-align: center;
}

@media (max-width: 520px) {
  .success-card { padding: 40px 24px; }
}

.success-icon-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 26px;
  color: white;
  box-shadow: 0 8px 24px rgba(189,52,165,0.35);
}

.success-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.success-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.ical-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 13px 24px;
  background: var(--grad);
  color: var(--white);
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
}

.ical-btn:hover { opacity: 0.88; }
.ical-btn:active { transform: scale(0.98); }
