/* =========================================================
   UPME · forms (Elementor Pro Form widget) and contact areas
   Looks: .upme-form-card / .upme-form-soft / .upme-form-sentence (Form → עיצוב UPME)
   Bands:  .upme-ct-band / .upme-ct-split / .upme-ct-card   (Container → עיצוב UPME)
   ========================================================= */

/* ---- contact bands (containers) ---- */
.e-con.upme-ct-band,.e-con.upme-ct-split{position:relative;overflow:visible;background-color:var(--brand);color:#fff;border-radius:var(--r-xl);--padding-top:clamp(28px,4.4vw,72px);--padding-bottom:clamp(28px,4.4vw,72px);--padding-left:clamp(28px,4.4vw,72px);--padding-right:clamp(28px,4.4vw,72px);--gap:0px;--row-gap:0px;--column-gap:0px}
.e-con.upme-ct-band::before,.e-con.upme-ct-split::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:.12;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.e-con.upme-ct-band>*,.e-con.upme-ct-split>*{position:relative}
.e-con.upme-ct-split{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,64px)!important;align-items:center}
.e-con.upme-ct-card{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(12px,1.4vw,18px)!important;align-items:stretch;background-color:#fff;border-radius:var(--r-xl);--padding-top:clamp(14px,1.6vw,22px);--padding-bottom:clamp(14px,1.6vw,22px);--padding-left:clamp(14px,1.6vw,22px);--padding-right:clamp(14px,1.6vw,22px);box-shadow:var(--shadow);line-height:1.3}
.e-con.upme-ct-card>.elementor-widget,.e-con.upme-ct-split>.elementor-widget{width:auto;max-width:none;min-width:0}
@media (max-width:980px){.e-con.upme-ct-split,.e-con.upme-ct-card{grid-template-columns:minmax(0,1fr)}}

/* the contact-page section: no top spacing, side gutters only (like .ct) */
.e-con.upme-surface-section:has(> .elementor-widget-upme-contact-panel .upme-cp--head){--padding-top:0px}
.upme-cp--head .ct__head{padding-inline:0}

/* ---- shared: every UPME form look ---- */
[class*="upme-form-"] .elementor-form{color:var(--forest);font-family:var(--font)}
[class*="upme-form-"] .elementor-form-fields-wrapper{--upme-gap:12px;margin:0!important}
[class*="upme-form-"] .elementor-field-group{padding:0!important;margin:0!important}
[class*="upme-form-"] .elementor-field-label{font-size:16px!important;font-weight:600!important;line-height:inherit;color:inherit!important;padding:0 0 6px!important}
[class*="upme-form-"] .elementor-field-textual,[class*="upme-form-"] .elementor-select-wrapper select{background-color:var(--mint-2)!important;border:1.5px solid transparent!important;border-radius:12px!important;padding:0 16px!important;min-height:52px;font-size:16px!important;font-weight:400;line-height:1.4;color:var(--forest)!important;outline:0;box-shadow:none!important;transition:border-color .2s,background-color .2s}
[class*="upme-form-"] textarea.elementor-field-textual{padding:14px 16px!important;resize:vertical;line-height:1.5;min-height:0}
[class*="upme-form-"] .elementor-field-textual:focus{border-color:var(--brand)!important;background-color:#fff!important}
[class*="upme-form-"] input[type="tel"].elementor-field-textual,[class*="upme-form-"] input[type="email"].elementor-field-textual{direction:ltr;text-align:right}
[class*="upme-form-"] .elementor-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:58px;line-height:1;border-radius:var(--r-pill)!important;background-color:var(--forest)!important;color:#fff!important;font-family:var(--font)!important;font-weight:700!important;font-size:17px!important;padding:0 28px!important;border:0;box-shadow:none}
[class*="upme-form-"] .elementor-button-icon{display:none}
[class*="upme-form-"] .elementor-button-text::after{content:"";display:inline-block;width:18px;height:18px;margin-inline-start:10px;vertical-align:-3px;background:var(--lime);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat}
[class*="upme-form-"] .elementor-button-content-wrapper{display:inline-flex;align-items:center;flex-direction:row}
[class*="upme-form-"] .elementor-message{font-size:15px;font-weight:600;margin-top:10px}
[class*="upme-form-"] .elementor-message.elementor-message-danger{color:#B42318}
[class*="upme-form-"] .elementor-error .elementor-field-textual{border-color:#E8603C!important}
[class*="upme-form-"] .elementor-field-type-html{font-size:14px;opacity:.65;line-height:1.5}
.upme-form__wa{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:17px;font-weight:600;color:var(--brand)}

/* ---- card: white card on a coloured band (service page) ---- */
.upme-form-card .elementor-form{background:#fff;border-radius:26px;padding:clamp(20px,2.6vw,32px);box-shadow:0 40px 80px -40px rgba(0,0,0,.45)}
.upme-form-card .elementor-form-fields-wrapper{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
.upme-form-card .elementor-field-group{width:auto!important;max-width:none!important;grid-column:1/-1}
.upme-form-card .elementor-field-group.elementor-col-50{grid-column:auto}
.upme-form-card .elementor-field-type-text:not(.elementor-field-group){display:none}
.upme-form-card .upme-form__wa{position:absolute;left:clamp(20px,2.6vw,32px);right:clamp(20px,2.6vw,32px);bottom:clamp(20px,2.6vw,32px)}
.upme-form-card{position:relative}
.upme-form-card:has(.upme-form__wa) .elementor-form{padding-bottom:calc(clamp(20px,2.6vw,32px) + 58px)}
.upme-form-card .e-form__buttons .elementor-button{width:100%;height:64px;font-size:19px}
@media (max-width:420px){.upme-form-card .elementor-form-fields-wrapper{grid-template-columns:1fr}.upme-form-card .elementor-field-group.elementor-col-50{grid-column:1/-1}}

/* ---- soft: mint card (contact page) ---- */
.upme-form-soft .elementor-form{background:var(--mint-4);border-radius:26px;padding:clamp(18px,2.4vw,32px);height:100%}
.upme-form-soft .elementor-form-fields-wrapper{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
.upme-form-soft .elementor-field-group{width:auto!important;max-width:none!important;grid-column:1/-1}
.upme-form-soft .elementor-field-group.elementor-col-50{grid-column:auto}
.upme-form-soft .elementor-field-type-text:not(.elementor-field-group){display:none}
.upme-form-soft .elementor-field-group-title,.upme-form-soft .elementor-field-type-html h2{font-size:clamp(24px,2.2vw,32px);font-weight:800;letter-spacing:-.03em;opacity:1;line-height:1.2;color:var(--forest)}
.upme-form-soft .elementor-field-type-html:has(h2){opacity:1}
.upme-form-soft .elementor-field-type-html h2{margin:0;line-height:1.09}
.upme-form-soft .elementor-button{min-height:64px;height:64px;width:100%;font-size:19px}
.upme-form-soft .e-form__buttons{display:block}
/* radio as chips (single choice) */
[class*="upme-form-"] .elementor-field-type-radio .elementor-field-subgroup{display:flex;flex-wrap:wrap;gap:8px}
[class*="upme-form-"] .elementor-field-type-radio .elementor-field-option{margin:0!important;padding:0!important;display:inline-flex}
[class*="upme-form-"] .elementor-field-type-radio .elementor-field-option input{position:absolute;opacity:0;width:1px;height:1px}
[class*="upme-form-"] .elementor-field-type-radio .elementor-field-option label{display:inline-flex;align-items:center;border-radius:var(--r-pill);padding:0 16px;min-height:44px;font-size:16px;font-weight:600;cursor:pointer;border:1.5px solid color-mix(in srgb,var(--forest) 18%,transparent);background:#fff;color:var(--forest);transition:background .2s,color .2s,border-color .2s}
[class*="upme-form-"] .elementor-field-type-radio .elementor-field-option input:checked+label{background:var(--brand);border-color:var(--brand);color:#fff}
[class*="upme-form-"] .elementor-field-type-radio .elementor-field-option input:focus-visible+label{outline:3px solid var(--brand);outline-offset:2px}
[class*="upme-form-"] .elementor-field-type-radio .elementor-field-label{padding-bottom:10px!important}
/* acceptance / checkbox */
[class*="upme-form-"] .elementor-field-type-acceptance .elementor-field-subgroup,[class*="upme-form-"] .elementor-field-type-acceptance .elementor-field-option{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.5;opacity:.85}
[class*="upme-form-"] .elementor-field-type-acceptance input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--brand);flex-shrink:0}
@media (max-width:560px){.upme-form-soft .elementor-form-fields-wrapper{grid-template-columns:1fr}.upme-form-soft .elementor-field-group.elementor-col-50{grid-column:1/-1}}

/* ---- sentence: the fields sit inside a sentence (home) ---- */
.upme-form-sentence .elementor-form{color:#fff}
.upme-form-sentence .elementor-form-fields-wrapper{display:block!important;font-size:clamp(26px,3.2vw,50px);line-height:1.9;font-weight:300;letter-spacing:-.02em;max-width:1150px}
.upme-form-sentence .elementor-field-group{display:inline!important;width:auto!important;max-width:none!important;flex:none!important}
.upme-form-sentence .elementor-field-type-html{display:inline!important;font-size:inherit;opacity:1;line-height:inherit}
.upme-form-sentence .elementor-field-type-text:not(.elementor-field-group){display:none!important}
.upme-form-sentence .elementor-field-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.upme-form-sentence .elementor-field-textual{display:inline-block!important;background-color:rgba(255,255,255,.14)!important;border:1.5px solid rgba(255,255,255,.35)!important;border-radius:14px!important;color:#fff!important;font:inherit!important;font-size:inherit!important;font-weight:500!important;letter-spacing:inherit;padding:0 .4em!important;margin:0 .15em;min-height:44px;line-height:1.25!important;vertical-align:middle;width:6.2em!important;max-width:calc(100% - 1.2em);box-sizing:content-box}
.upme-form-sentence .elementor-field-textual::placeholder{color:rgba(255,255,255,.6);font-weight:300}
.upme-form-sentence .elementor-field-textual:focus{background-color:rgba(255,255,255,.22)!important;border-color:var(--lime)!important}
.upme-form-sentence input[type="tel"].elementor-field-textual{width:6.6em!important}
.upme-form-sentence .elementor-select-wrapper{display:inline-block!important;width:auto!important;position:relative;vertical-align:middle;background:none!important;border:0!important;padding:0!important;min-height:0}
.upme-form-sentence .elementor-select-wrapper .select-caret-down-wrapper{display:none}
.upme-form-sentence .elementor-select-wrapper select{appearance:none;-webkit-appearance:none;background-color:var(--lime)!important;border:0!important;border-radius:var(--r-pill)!important;color:var(--forest)!important;font:inherit!important;font-size:inherit!important;font-weight:600!important;letter-spacing:inherit;padding:.06em 1.15em .06em .5em!important;margin:0 .15em;min-height:44px;line-height:1.25!important;height:auto!important;box-sizing:border-box;cursor:pointer;box-shadow:0 10px 24px -12px rgba(0,0,0,.4)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2E22' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:left .4em center!important;background-size:.6em!important;width:auto!important}
.upme-form-sentence .elementor-field-group-how{display:flex!important;font-size:15px;line-height:1.5;font-weight:400;letter-spacing:0;margin-bottom:clamp(18px,2vw,26px)!important}
.upme-form-sentence .elementor-field-group-how .home-ct__how{margin:0}
.upme-form-sentence .e-form__buttons{display:flex!important;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:clamp(28px,3.4vw,44px)!important;font-size:16px;line-height:1.4;letter-spacing:0;width:auto!important}
.upme-form-sentence .elementor-button{width:auto!important;flex:none!important;background-color:var(--lime)!important;color:var(--forest)!important;min-height:60px;padding:0 30px!important;box-shadow:0 18px 40px -18px rgba(0,0,0,.45)}
.upme-form-sentence .elementor-button-text::after{background:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E")}
.upme-form-sentence .elementor-field-group-privacy{display:none!important}
.upme-form-sentence .home-ct__privacy{font-size:16px}
.upme-form-sentence .elementor-message{color:var(--lime)}
.upme-form-sentence .elementor-message.elementor-message-danger{color:#FFD2C2}
.upme-form-sentence .upme-form__wa{display:none}
@media (max-width:760px){.upme-form-sentence .e-form__buttons{flex-direction:column;align-items:stretch}.upme-form-sentence .elementor-button{width:100%;min-height:56px}.upme-form-sentence .home-ct__privacy{display:none}}

/* ---- the text side of a contact area ---- */
.upme-cp--home .home-ct__head{margin-bottom:clamp(28px,3.4vw,48px)}
.upme-cp--side{height:100%}
/* a short legal line (HTML field with the id "legal") goes under the send button */
[class*="upme-form-"] .elementor-field-group-legal{order:20}
[class*="upme-form-"] .e-form__buttons{order:10}
.upme-form-card .elementor-field-group-legal,.upme-form-soft .elementor-field-group-legal{font-size:14px}
.upme-form-soft .elementor-field-group-legal a,.upme-form-card .elementor-field-group-legal a{text-decoration:underline}

/* form title + privacy note (HTML fields) */
[class*="upme-form-"] .upme-form-title{margin:0 0 4px;font-size:clamp(22px,2vw,28px);font-weight:800;letter-spacing:-.02em;line-height:1.2;color:var(--forest)}
[class*="upme-form-"] .upme-form-note{margin:0;font-size:14px;line-height:1.5;color:color-mix(in srgb,var(--forest) 70%,transparent)}
[class*="upme-form-"] .upme-form-note a{text-decoration:underline;text-underline-offset:3px}
.e-con.upme-ct-split > .e-con.upme-ct-col{align-self:center}
[class*="upme-form-"] .elementor-field-type-html:has(.upme-form-title){opacity:1;color:var(--forest)}
[class*="upme-form-"] .elementor-field-type-html:has(.upme-form-note){opacity:1}
