/* The "Get Scholé Pro" contact form (pro-contact.js): a centred card over a dimmed page. */
.pro-contact { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0;
  border-radius: 20px; background: #fff; color: #0f172a; box-shadow: 0 24px 64px -16px rgba(15, 23, 42, .35); overflow: auto; }
.pro-contact::backdrop { background: rgba(15, 23, 42, .45); }
.pro-contact-card { position: relative; padding: 32px 28px 28px; }
.pro-contact h2 { margin: 0 40px 6px 0; font-family: 'New Spirit', Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.15; color: #0f172a; }
.pro-contact-lede { margin: 0 0 22px; font-family: 'Inter', Arial, sans-serif; font-size: 15px; line-height: 1.5; color: #475569; }
.pro-contact-addons { margin: -10px 0 18px; padding: 10px 12px; border-radius: 10px; background: #f5f0ff; font-family: 'Inter', Arial, sans-serif; font-size: 14px; line-height: 1.45; color: #4b3aa8; }
.pro-contact-addons[hidden] { display: none; }
.pro-contact-x { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 999px; background: #f1f5f9; color: #334155; cursor: pointer; }
.pro-contact-x:hover { background: #e2e8f0; }
.pro-contact-x svg { width: 16px; height: 16px; }
.pro-contact form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.pro-contact label { display: flex; flex-direction: column; gap: 6px; font-family: 'Inter', Arial, sans-serif; font-size: 14px; font-weight: 500; color: #1e293b; }
.pro-contact label small { font-size: 13px; font-weight: 400; color: #64748b; }
.pro-contact input, .pro-contact textarea { width: 100%; box-sizing: border-box; padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 12px;
  background: #fff; font-family: 'Inter', Arial, sans-serif; font-size: 16px; line-height: 1.4; color: #0f172a; }
.pro-contact textarea { min-height: 96px; resize: vertical; }
.pro-contact select { width: 100%; box-sizing: border-box; padding: 11px 40px 11px 14px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; font-family: 'Inter', Arial, sans-serif; font-size: 16px; line-height: 1.4; color: #0f172a; appearance: none; -webkit-appearance: none; cursor: pointer; }
.pro-contact select:has(option[value=""]:checked) { color: #94a3b8; }   /* grey only while "Select your team size" shows */
.pro-contact select option { color: #0f172a; }
.pro-contact select:focus { outline: 2px solid #8b7fd6; outline-offset: 1px; border-color: #8b7fd6; }
.pro-contact input::placeholder, .pro-contact textarea::placeholder { color: #94a3b8; }
.pro-contact input:focus, .pro-contact textarea:focus { outline: 2px solid #8b7fd6; outline-offset: 1px; border-color: #8b7fd6; }
.pro-contact form .schole-btn-primary { margin-top: 6px; width: 100%; justify-content: center; cursor: pointer; }
.pro-contact form .schole-btn-primary:disabled { opacity: .7; cursor: default; }
.pro-contact-status { margin: 0; font-family: 'Inter', Arial, sans-serif; font-size: 13.5px; line-height: 1.45; color: #b91c1c; }
.pro-contact-status:empty { display: none; }
.pro-contact [data-pro-contact-done] { display: none; }
.pro-contact[data-state="sent"] [data-pro-contact-form] { display: none; }
.pro-contact[data-state="sent"] [data-pro-contact-done] { display: block; }
.pro-contact [data-pro-contact-done] { text-align: center; padding-top: 8px; }
.pro-contact [data-pro-contact-done] h2 { margin: 0 0 8px; }
/* The green check mark on the thank you (Nov 3, KJ). */
.pro-contact-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 999px;
  background: #16a34a; color: #fff; box-shadow: 0 0 0 8px #dcfce7; }
.pro-contact-check svg { width: 32px; height: 32px; }
.pro-contact[data-state="sent"] .pro-contact-check { animation: pro-contact-pop .35s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes pro-contact-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pro-contact[data-state="sent"] .pro-contact-check { animation: none; } }
.pro-contact [data-pro-contact-done] .schole-btn-primary { width: 100%; justify-content: center; margin-top: 4px; cursor: pointer; }
@media (max-width: 480px) { .pro-contact-card { padding: 28px 20px 22px; } .pro-contact h2 { font-size: 24px; } }

/* Glow-up (Nov 3, Vini): a soft lavender-to-blue halo around the card, a gradient hairline at its top, rounder fields
   with a lavender focus glow, and the add-ons note as a tinted chip. */
.pro-contact { border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px rgba(110, 148, 207, .25), 0 30px 80px rgba(20, 21, 28, .28), 0 0 120px rgba(144, 117, 192, .35); }
.pro-contact::backdrop { background: radial-gradient(60% 60% at 50% 40%, rgba(110, 148, 207, .35), rgba(15, 23, 42, .6)); backdrop-filter: blur(6px); }
.pro-contact-card { padding: 36px 32px 30px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 160px); }
.pro-contact-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, #6e94cf, #9075c0); }
.pro-contact h2 { font-size: 32px; letter-spacing: -.01em; }
.pro-contact-lede { margin-bottom: 20px; }
.pro-contact-addons { margin: -8px 0 20px; padding: 11px 14px; border: 1px solid #e6def8; border-radius: 12px;
  background: linear-gradient(90deg, #f3effb, #eef3fc); }
.pro-contact input, .pro-contact textarea, .pro-contact select { border-color: #dde3ee; border-radius: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.pro-contact input:hover, .pro-contact textarea:hover, .pro-contact select:hover { border-color: #b9c4e0; }
.pro-contact input:focus, .pro-contact textarea:focus, .pro-contact select:focus { outline: none; border-color: #8b7fd6; box-shadow: 0 0 0 4px rgba(139, 127, 214, .22); }
.pro-contact form .schole-btn-primary { margin-top: 10px; min-height: 48px; border-radius: 14px; font-size: 16px;
  box-shadow: 0 10px 24px rgba(110, 120, 200, .35); transition: transform .2s ease, box-shadow .2s ease; }
.pro-contact form .schole-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(110, 120, 200, .45); }
.pro-contact-x { border-radius: 50%; background: #f1f3fa; }

/* Nov 4, KJ: "make the button look the same as everywhere else and make sure it always is visible". Send is sized like
   Get my quote (text width, at least 240px, with the arrow, no lift on hover) and sits in a white footer stuck to the
   bottom of the card, so on short screens the fields scroll under it. The card clips instead of hiding its overflow,
   which would stop the footer sticking; scroll-padding keeps a focused field from hiding behind the footer. */
.pro-contact { scroll-padding-bottom: 100px; }
.pro-contact-card { overflow: clip; }
.pro-contact-send { position: sticky; bottom: 0; z-index: 1; display: flex; justify-content: center; margin: 10px -32px -30px; padding: 14px 32px 30px; background: #fff; }
.pro-contact-send::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.pro-contact form .schole-btn-primary { width: auto; min-width: 240px; margin-top: 0; }
.pro-contact form .schole-btn-primary:hover { transform: none; }
