/* Shared registration-modal + language-link styling only.
   Loaded after growth-hub/site-styles.css (a byte-for-byte copy of the live root's
   own <style> block). Deliberately scoped to classes the live site's stylesheet does
   not define, so nothing here can override or collide with the real design system. */

body.modal-open { overflow: hidden; }
.language-link { color: var(--taupe-deep) !important; }

/* The live site's .footer-contact-icons and .floating-contact only style <a>; the
   modal-opening icons in those two widgets are <button> (so a click can't also
   navigate), so they need the identical visual treatment the site gives its <a> icons. */
.footer-contact-icons button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.06); color: #C9C5BE; cursor: pointer; font: inherit; transition: transform .2s ease, background .2s ease, color .2s ease; }
.footer-contact-icons button svg { width: 18px; height: 18px; }
.footer-contact-icons button:hover { background: var(--taupe-deep); color: var(--ivory); transform: translateY(-2px); }

.floating-contact-links button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: 14px; text-decoration: none; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,243,236,.9)); border: 1px solid rgba(181,171,151,.3); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.floating-contact-links button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(67,61,51,.09); border-color: rgba(154,136,120,.32); }
.floating-contact-links button svg { width: 18px; height: 18px; color: var(--sage); flex: 0 0 auto; }
.floating-contact-links button.contact-direct { background: linear-gradient(180deg, #B99572, #A17A5F); color: var(--ivory); border-color: transparent; }
.floating-contact-links button.contact-direct svg { color: var(--ivory); }

.registration-modal[hidden] { display: none; }
.registration-modal { position: fixed; inset: 0; z-index: 100; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(24,21,18,.74); backdrop-filter: blur(3px); }
.modal-card { position: relative; width: min(760px, calc(100% - 28px)); max-height: calc(100vh - 28px); margin: 14px auto; padding: 42px; overflow: auto; border: 1px solid var(--border); border-radius: 26px; background: rgba(255,255,255,.98); box-shadow: 0 22px 44px rgba(57,54,43,.16); }
.modal-close { position: absolute; z-index: 2; right: 20px; top: 12px; border: 0; background: none; cursor: pointer; font-size: 32px; }
.modal-card h2 { max-width: 560px; margin-bottom: 12px; font-size: 30px; font-weight: 800; line-height: 1.18; }
.modal-intro { color: var(--muted); }
#growth-registration-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
#growth-registration-form > label, .contact-fieldset { display: grid; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
#growth-registration-form input, #growth-registration-form select, #growth-registration-form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(181,171,151,.42); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
#growth-registration-form input:focus, #growth-registration-form select:focus, #growth-registration-form textarea:focus { outline: 2px solid rgba(184,139,98,.32); outline-offset: 1px; }
.contact-fieldset { grid-column: 1 / -1; padding: 18px; border: 1px solid var(--border); border-radius: 12px; }
.contact-choice { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; }
.contact-choice label { display: flex; gap: 8px; align-items: center; }
.contact-choice input[type="checkbox"] { width: auto; }
.form-error { grid-column: 1 / -1; color: #a23b2a; }
.submit-button { grid-column: 1 / -1; border-color: transparent !important; border-radius: 12px; background: linear-gradient(180deg, #c8956e, #ad7a5c) !important; box-shadow: 0 14px 28px rgba(146,88,73,.18); }
.modal-success { padding: 50px 10px; text-align: center; }
.success-mark { display: grid; width: 64px; height: 64px; place-content: center; margin: 0 auto 22px; border-radius: 50%; background: #e2eadb; font-size: 30px; }
.modal-success strong { word-break: break-all; }

@media (max-width: 980px) {
  .modal-card { padding: 34px 18px 24px; }
  #growth-registration-form { grid-template-columns: 1fr; }
  .contact-choice { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .floating-contact-links button { min-height: 40px; padding: 9px 11px; font-size: 12.5px; }
}
