.rst-contact-section { padding: 105px 0; background: radial-gradient(ellipse at 50% 50%,rgba(203,166,69,.07),transparent 65%),var(--navy); scroll-margin-top:calc(var(--rst-header-height,114px) + var(--rst-admin-height,0px) + 16px - var(--rst-section-padding,0px)); }
.rst-contact-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:40px; justify-items:center; align-items:start; }
.rst-contact-copy { width:100%; max-width:780px; text-align:center; }
.rst-contact-copy h2 { font-size:clamp(36px,4vw,60px); line-height:1.1; letter-spacing:-.045em; margin:20px 0 24px; font-weight:500; }
.rst-contact-copy h2 span { color:var(--gold); }
.rst-contact-copy p { color:#b9c2ce; line-height:1.7; max-width:740px; margin:0 auto; }
.rst-contact-form { width:100%; max-width:820px; min-width:0; padding:36px; border:1px solid var(--line); border-radius:28px; background:rgba(16,37,61,.45); }
.rst-contact-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.rst-contact-field { min-width:0; }
.rst-contact-wide { grid-column:1 / -1; }
.rst-contact-field label { display:block; margin-bottom:10px; font-size:14px; font-weight:600; color:#fff; }
.rst-contact-field input { display:block; width:100%; min-width:0; border:1px solid rgba(255,255,255,.22); border-radius:10px; padding:15px 16px; font:inherit; font-size:16px; line-height:1.5; color:#fff; background:#091827; }
.rst-contact-field input::placeholder { color:#94a3b5; opacity:1; }
.rst-contact-field input:focus { outline:2px solid var(--gold); outline-offset:2px; border-color:var(--gold); }
.rst-contact-field input:autofill { color:#fff; background:#091827; }
.rst-contact-field input:-webkit-autofill { -webkit-text-fill-color:#fff; -webkit-box-shadow:0 0 0 1000px #091827 inset; caret-color:#fff; }
.rst-contact-actions { display:flex; flex-wrap:wrap; align-items:center; gap:20px; margin-top:30px; }
.rst-contact-actions .gold-button { border:0; font:inherit; font-weight:600; min-height:48px; padding:12px 26px; }
.rst-contact-actions .gold-button:disabled { cursor:not-allowed; transform:none; }
.rst-contact-actions p { color:#b9c2ce; font-size:13px; line-height:1.5; margin:0; }
@media(max-width:1024px) { .rst-contact-layout { gap:36px; } .rst-contact-form { padding:26px; } }
@media(max-width:768px) { .rst-contact-section { padding:75px 0; } .rst-contact-layout { grid-template-columns:1fr; } .rst-contact-copy h2 br { display:none; } }
@media(max-width:480px) { .rst-contact-fields { grid-template-columns:1fr; gap:20px; } .rst-contact-form { padding:22px 18px; border-radius:20px; } }
.rst-contact-fee { margin:28px 0 0; color:#fff; font-size:15px; line-height:1.7; }
.rst-contact-fee + .rst-contact-actions { margin-top:20px; }

.rst-contact-consent { display:flex; align-items:flex-start; gap:12px; margin-top:18px; color:#d0d7df; font-size:14px; line-height:1.7; cursor:pointer; }
.rst-contact-consent input { flex:0 0 20px; width:20px; height:20px; margin:2px 0 0; accent-color:var(--gold); cursor:pointer; }
.rst-contact-consent input:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.rst-contact-consent span { min-width:0; }
.rst-contact-consent + .rst-contact-actions { margin-top:24px; }
.rst-contact-form .wpcf7-form { margin:0; }
.rst-contact-field p, .rst-contact-actions p { margin:0; }
.rst-contact-form .wpcf7-form-control-wrap { display:block; }
.rst-contact-form .wpcf7-not-valid-tip { display:block; color:#ffb5b5; font-size:13px; line-height:1.5; margin-top:8px; }
.rst-contact-field input.wpcf7-not-valid { border-color:#ffb5b5; }
.rst-contact-consent .wpcf7-list-item { margin:0; }
.rst-contact-consent .wpcf7-list-item label { display:flex; align-items:flex-start; gap:12px; cursor:pointer; }
.rst-contact-consent .wpcf7-list-item-label { flex:1; }
.rst-contact-consent p { margin:0; }
.rst-contact-actions .gold-button:disabled { opacity:.55; cursor:not-allowed; }
.rst-contact-form .wpcf7-response-output { margin:24px 0 0; padding:14px 18px; border-radius:10px; color:#fff; font-size:14px; line-height:1.6; }
.rst-contact-form .wpcf7-spinner { margin:0 12px; }
/* Reserve validation space so messages never move fields or resize the form. */
.rst-contact-form { --rst-error-space:42px; }
.rst-contact-form .wpcf7-form-control-wrap { position:relative; padding-bottom:var(--rst-error-space); }
.rst-contact-form .wpcf7-not-valid-tip { position:absolute; top:calc(100% - var(--rst-error-space) + 6px); left:0; right:0; margin:0; font-size:12px; line-height:18px; max-height:36px; overflow:auto; }
.rst-contact-fields { row-gap:5.6px; }
.rst-contact-fee { margin-top:8px; }
.rst-contact-consent + .rst-contact-actions { margin-top:8px; }
.rst-contact-form .wpcf7-form { position:relative; padding-bottom:60px; }
.rst-contact-form .wpcf7-response-output { position:absolute; left:0; right:0; bottom:0; box-sizing:border-box; max-height:104px; overflow:auto; margin:0; }
@media(max-width:480px) { .rst-contact-fields { row-gap:5.6px; } }
/* Center the larger submit button independently of the loading spinner. */
.rst-contact-actions { justify-content:center; text-align:center; position:relative; }
.rst-contact-actions p { position:relative; max-width:100%; }
.rst-contact-actions .gold-button { font-size:13px; line-height:1.5; padding:12px 26px; width:185px; min-height:48px; max-width:100%; border-radius:30px; margin-top:0; text-align:center; }
.rst-contact-actions .wpcf7-spinner { position:absolute; left:50%; top:calc(100% + 8px); margin:0; transform:translateX(-50%); }
.rst-contact-form .wpcf7-response-output { left:50%; right:auto; width:max-content; max-width:100%; transform:translateX(-50%); text-align:center; }
.rst-contact-form .wpcf7 form .wpcf7-response-output { margin:0; }

/* Balanced spacing between consent, submit and the response message. */
.rst-contact-consent + .rst-contact-actions { margin-top:0; }
.rst-contact-actions .gold-button { text-transform:uppercase; letter-spacing:.04em; }
.rst-contact-form .wpcf7-response-output { top:calc(100% - 48px); bottom:auto; max-height:48px; }
.rst-contact-actions .wpcf7-spinner { top:50%; left:calc(50% + 100px); transform:translateY(-50%); }