/* GWG consultation form – mobile first, uses the store design tokens from gwg-store.css. */
.gwgc{--c-ink:var(--gwg-ink,#18261a);--c-text:var(--gwg-text,#2b3a2d);--c-muted:var(--gwg-muted,#5d6b5f);--c-deep:var(--gwg-deep,#123d16);--c-btn:var(--gwg-btn,#2f7d14);--c-mint:var(--gwg-mint,#eef4e1);--c-line:var(--gwg-line,#e2e5d8);--c-cream:var(--gwg-cream,#fbfaf3);--c-err:#b4321f;
  font-family:var(--gwg-sans,system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif);color:var(--c-text);font-size:16px;line-height:1.5;max-width:860px;margin:0 auto 32px;scroll-margin-top:96px}
.gwgc *,.gwgc *::before,.gwgc *::after{box-sizing:border-box}
.gwgc .screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.gwgc-form{background:#fff;border:1px solid var(--c-line);border-radius:16px;padding:20px 16px;box-shadow:var(--gwg-shadow,0 6px 24px rgba(18,61,22,.08))}
.gwgc-reqnote{margin:0 0 8px;font-size:14px;color:var(--c-muted)}
.gwgc-req{color:var(--c-err);font-weight:700}
.gwgc-opt{color:var(--c-muted);font-weight:400;font-size:.9em}

/* steps */
.gwgc-step{border:0;margin:0;padding:20px 0 4px;min-width:0;border-top:1px solid var(--c-line)}
.gwgc-step:first-of-type{border-top:0;padding-top:8px}
.gwgc-step__title{display:flex;align-items:center;gap:10px;padding:0;margin:0 0 14px;font:700 19px/1.3 var(--gwg-serif,Georgia,serif);color:var(--c-deep);float:left;width:100%}
.gwgc-step__title+*{clear:both}
.gwgc-step__title span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:999px;background:var(--c-btn);color:#fff;font:700 14px/1 var(--gwg-sans,system-ui,sans-serif)}
.gwgc-grid{display:grid;grid-template-columns:1fr;gap:0 16px}
.gwgc-field{margin:0 0 16px;min-width:0}
.gwgc-field[hidden],.gwgc [hidden]{display:none!important}

/* labels + controls */
.gwgc label,.gwgc legend{color:var(--c-ink)}
.gwgc-field>label,.gwgc-choices>legend{display:block;margin:0 0 6px;font-weight:600;font-size:15px;padding:0}
.gwgc input[type=text],.gwgc input[type=email],.gwgc input[type=tel],.gwgc input[type=date],.gwgc select,.gwgc textarea{
  display:block;width:100%;min-height:48px;margin:0;padding:11px 14px;border:1.5px solid #cfd5c6;border-radius:10px;background:#fff;color:var(--c-ink);font-size:16px;line-height:1.4;font-family:inherit;font-weight:400;box-shadow:none;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
.gwgc select{padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23123d16' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:14px}
.gwgc input[type=date]{min-height:48px;-webkit-appearance:none}
.gwgc input[type=date]::-webkit-date-and-time-value{text-align:left}
.gwgc textarea{min-height:112px;resize:vertical}
.gwgc input:focus,.gwgc select:focus,.gwgc textarea:focus{outline:0;border-color:var(--c-btn);box-shadow:0 0 0 3px rgba(47,125,20,.18)}
.gwgc input::placeholder,.gwgc textarea::placeholder{color:#7c877d;opacity:1}
.gwgc [aria-invalid=true]{border-color:var(--c-err)!important;background-color:#fff8f6}
.gwgc-hint{margin:6px 0 0;font-size:13.5px;color:var(--c-muted)}
.gwgc-hint--top{margin:0 0 14px;font-size:14px}
.gwgc-tzhint{margin:-8px 0 16px}
.gwgc-error{display:flex;gap:6px;align-items:flex-start;margin:6px 0 0;font-size:14px;font-weight:600;color:var(--c-err)}
.gwgc-error::before{content:"!";display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;margin-top:1px;border-radius:999px;background:var(--c-err);color:#fff;font:700 12px/1 sans-serif}

/* phone: code + number */
.gwgc-phone{display:grid;grid-template-columns:1fr;gap:8px}
@media (min-width:420px){.gwgc-phone{grid-template-columns:minmax(0,50%) minmax(0,1fr)}}
.gwgc-summary,.gwgc-field,.gwgc-choices,.gwgc-success{scroll-margin-top:120px}
.gwgc-phone select{font-size:15px}

/* radio chips + cards */
.gwgc-choices{border:0;margin:0 0 16px;padding:0;min-width:0}
.gwgc-choices__list{display:flex;flex-wrap:wrap;gap:8px}
.gwgc-choice{position:relative;display:inline-flex;margin:0;cursor:pointer}
.gwgc-choice input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.gwgc-choice span{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:1.5px solid #cfd5c6;border-radius:999px;background:#fff;font-size:15px;font-weight:500;color:var(--c-ink);line-height:1.25;transition:border-color .15s,background .15s}
.gwgc-choice span::before{content:"";flex:0 0 16px;width:16px;height:16px;border-radius:999px;border:2px solid #9aa596;background:#fff;box-sizing:border-box}
.gwgc-choice:hover span{border-color:var(--c-btn)}
.gwgc-choice input:checked+span{border-color:var(--c-btn);background:var(--c-mint);color:var(--c-deep);font-weight:600}
.gwgc-choice input:checked+span::before{border:5px solid var(--c-btn)}
.gwgc-choice input:focus-visible+span{outline:3px solid var(--gwg-lime,#b6c85d);outline-offset:2px}
.gwgc-choice.is-disabled{cursor:not-allowed}
.gwgc-choice.is-disabled span{opacity:.5;text-decoration:line-through}
.gwgc-choices--cards .gwgc-choices__list{display:grid;grid-template-columns:1fr;gap:8px}
.gwgc-choices--cards .gwgc-choice span{width:100%;border-radius:12px;min-height:52px}
.gwgc-choices[data-invalid] .gwgc-choice span{border-color:var(--c-err)}

/* checkbox */
.gwgc-check,.gwgc .gwgc-field>.gwgc-check{display:flex;gap:12px;align-items:flex-start;font-size:15px;font-weight:400;cursor:pointer;margin:0}
.gwgc-check input{flex:0 0 22px;width:22px;height:22px;margin:1px 0 0;accent-color:var(--c-btn)}
.gwgc-check a{color:var(--c-btn);font-weight:600}
.gwgc-consent{padding:14px;border-radius:12px;background:var(--c-cream);border:1px solid var(--c-line)}

/* files */
.gwgc input[type=file]{display:block;width:100%;max-width:100%;padding:10px;border:1.5px dashed #b9c2ae;border-radius:10px;background:var(--c-cream);font-size:15px}
.gwgc input[type=file]::file-selector-button{margin-right:12px;padding:8px 14px;border:0;border-radius:999px;background:var(--c-deep);color:#fff;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer}
.gwgc-files{list-style:none;margin:6px 0 0;padding:0;font-size:14px;color:var(--c-muted)}
.gwgc-files li{padding:2px 0;overflow-wrap:anywhere}
.gwgc-files li::before{content:"✓ ";color:var(--c-btn);font-weight:700}
.gwgc-files li.is-bad{color:var(--c-err)}
.gwgc-files li.is-bad::before{content:"✕ ";color:var(--c-err)}

/* honeypot */
.gwgc-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* error summary */
.gwgc-summary{margin:0 0 16px;padding:14px 16px;border:2px solid var(--c-err);border-radius:12px;background:#fff8f6;color:var(--c-ink)}
.gwgc-summary:focus{outline:3px solid rgba(180,50,31,.25);outline-offset:2px}
.gwgc-summary__title{margin:0 0 6px;font-weight:700;color:var(--c-err)}
.gwgc-summary__list{margin:0;padding-left:20px}
.gwgc-summary__list:empty{display:none}
.gwgc-summary__list a{color:var(--c-err);text-decoration:underline}

/* submit */
.gwgc-submit{padding-top:8px}
.gwgc .gwgc-submit__btn{width:100%;min-height:54px;font-size:17px!important;border-radius:999px!important}
.gwgc-submit__btn[disabled]{opacity:.8;cursor:progress}
.gwgc-spinner{display:none;width:18px;height:18px;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:999px;animation:gwgc-spin .8s linear infinite}
.gwgc-submit__btn.is-busy .gwgc-spinner{display:inline-block}
@keyframes gwgc-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.gwgc-spinner{animation-duration:2s}.gwgc *{scroll-behavior:auto!important}}
.gwgc-submit__alt{margin:10px 0 0;text-align:center;font-size:14px;color:var(--c-muted)}
.gwgc-submit__alt a{color:var(--c-btn);font-weight:600}

/* success */
.gwgc-success{background:#fff;border:1px solid var(--c-line);border-radius:16px;padding:28px 20px;text-align:center;box-shadow:var(--gwg-shadow,0 6px 24px rgba(18,61,22,.08))}
.gwgc-success:focus{outline:0}
.gwgc-success__icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:999px;background:var(--c-mint);color:var(--c-btn);margin-bottom:8px}
.gwgc-success__icon .gwgse-ico{width:30px;height:30px;stroke-width:2.6}
.gwgc .gwgc-success__title{margin:0 0 4px;font:700 22px/1.3 var(--gwg-serif,Georgia,serif);color:var(--c-deep)}
.gwgc-success__ref{margin:0 0 12px;color:var(--c-muted)}
.gwgc-success p{max-width:520px;margin-left:auto;margin-right:auto}
.gwgc-note{padding:10px 14px;border-radius:10px;background:var(--c-cream);font-size:15px}
.gwgc-success .gwgse-btn{margin-top:8px}

@media (min-width:640px){
  .gwgc-form{padding:28px 32px}
  .gwgc-grid{grid-template-columns:1fr 1fr}
  .gwgc-field--wide{grid-column:1/-1}
  .gwgc-choices--cards .gwgc-choices__list{grid-template-columns:repeat(3,1fr)}
  .gwgc .gwgc-submit__btn{width:auto;min-width:280px;padding-left:32px;padding-right:32px}
  .gwgc-submit{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
  .gwgc-submit__alt{margin:0;text-align:left}
  .gwgc-phone{grid-template-columns:minmax(0,240px) minmax(0,1fr)}
}
