/* contact-form.css - the "Contact us" section above the footer (Assaf 2026-11-02). Uses the page's own tokens
   (--panel --ink --muted --teal --line --line-soft --radius --font-d), so dark + light themes both work. */
.gwc { padding: 72px 0 80px; position: relative; z-index: 1; scroll-margin-top: 70px; }
/* the floating sign-up / WhatsApp buttons step aside while the form is on screen (they covered it on phones) */
body.gwc-near .float-cta, body.gwc-near .wa-fab { opacity: 0 !important; pointer-events: none !important; transition: opacity .2s; }
.gwc [hidden] { display: none !important; }
.gwc .gwc-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.gwc h2 { font-family: var(--font-d, inherit); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 10px; color: var(--ink); text-align: center; }
.gwc .gwc-sub { color: var(--muted); text-align: center; margin: 0 0 30px; font-size: 17px; }
.gwc-card { position: relative;  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius, 18px); padding: 28px; }
.gwc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.gwc-form .gwc-full { grid-column: 1 / -1; }
.gwc-form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.gwc-form label .gwc-opt { opacity: .75; font-size: 13px; }
.gwc-form input, .gwc-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-2, transparent); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.gwc-form textarea { min-height: 130px; resize: vertical; }
.gwc-form input:focus, .gwc-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--glow, rgba(52,224,196,.25)); }
.gwc-form input[type="email"], .gwc-form input[type="tel"] { direction: ltr; }
[dir="rtl"] .gwc-form input[type="email"], [dir="rtl"] .gwc-form input[type="tel"] { text-align: right; }
.gwc-form .gwc-hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.gwc-consent { font-size: 13px; color: var(--muted); margin: 0; }
.gwc-consent a { color: var(--teal); }
.gwc-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gwc-actions button {
  font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; border: 0; border-radius: 999px; padding: 13px 30px;
  background: var(--teal); color: #04140F; transition: transform .15s, opacity .2s;
}
.gwc-actions button:hover { transform: translateY(-1px); }
.gwc-actions button:disabled { opacity: .6; cursor: progress; transform: none; }
.gwc-status { font-size: 14px; color: var(--muted); margin: 0; min-height: 1.4em; }
.gwc-status.gwc-bad { color: #F0716B; }
:root[data-theme="light"] .gwc-status.gwc-bad { color: #B42318; }
:root[data-theme="light"] .gwc-actions button { color: #fff; }
.gwc-done { text-align: center; font-size: 19px; color: var(--ink); padding: 26px 8px; outline: none; }
.gwc-done::before { content: ""; display: block; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 24px no-repeat; }
@media (max-width: 640px) {
  .gwc { padding: 52px 0 64px; }
  .gwc-card { padding: 20px 16px; }
  .gwc-form { grid-template-columns: 1fr; }
  .gwc-actions button { width: 100%; }
}
