.ec-trigger {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 16px 36px;
font-size: 16px;
font-weight: 600;
font-family: inherit;
color: #ffffff;
background: #7A84C0;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
line-height: 1;
}
.ec-trigger:hover {
background: #2d2d4a;
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(26, 26, 46, 0.25);
}
.ec-trigger:active {
transform: translateY(0);
} .ec-modal {
position: fixed;
inset: 0;
z-index: 2147483647;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.ec-modal[hidden] {
display: none;
}
.ec-modal__overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.5);
opacity: 0;
transition: opacity 0.3s ease;
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
}
.ec-modal--open .ec-modal__overlay {
opacity: 1;
}
.ec-modal__container {
position: relative;
width: 100%;
max-width: 680px;
max-height: 90vh;
overflow-y: auto;
opacity: 0;
transform: translateY(40px) scale(0.97);
transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ec-modal--open .ec-modal__container {
opacity: 1;
transform: translateY(0) scale(1);
}
.ec-modal--closing .ec-modal__overlay {
opacity: 0;
}
.ec-modal--closing .ec-modal__container {
opacity: 0;
transform: translateY(20px) scale(0.97);
}
.ec-modal__close {
position: absolute;
top: 16px;
right: 16px;
z-index: 10;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
line-height: 1;
color: #999;
background: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 50%;
cursor: pointer;
transition: all 0.2s ease;
}
.ec-modal__close:hover {
color: #1a1a2e;
background: #f0f0f0;
} body.ec-modal-open {
overflow: hidden;
} .ec-calculator {
padding: 40px;
background: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
} .ec-progress {
margin-bottom: 40px;
}
.ec-progress__bar {
height: 4px;
background: #e8eaed;
border-radius: 2px;
overflow: hidden;
margin-bottom: 20px;
}
.ec-progress__fill {
height: 100%;
width: 33.33%;
background: #1a1a2e;
border-radius: 2px;
transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ec-progress__steps {
display: flex;
justify-content: space-between;
}
.ec-progress__step {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
flex: 1;
}
.ec-progress__dot {
width: 32px;
height: 32px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
font-weight: 600;
background: #e8eaed;
color: #999;
transition: all 0.3s ease;
}
.ec-progress__step--active .ec-progress__dot,
.ec-progress__step--completed .ec-progress__dot {
background: #1a1a2e;
color: #ffffff;
}
.ec-progress__label {
font-size: 12px;
color: #999;
font-weight: 500;
transition: color 0.3s ease;
text-align: center;
}
.ec-progress__step--active .ec-progress__label,
.ec-progress__step--completed .ec-progress__label {
color: #1a1a2e;
} .ec-step {
display: none;
animation: ecFadeIn 0.3s ease;
}
.ec-step--active {
display: block;
}
@keyframes ecFadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.ec-step__title {
font-size: 22px;
font-weight: 600;
color: #1a1a2e;
margin: 0 0 28px 0;
line-height: 1.3;
} .ec-field {
margin-bottom: 20px;
}
.ec-field-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.ec-field__label {
display: block;
font-size: 14px;
font-weight: 500;
color: #333;
margin-bottom: 6px;
}
.ec-field__required {
color: #e74c3c;
}
.ec-field__optional {
color: #999;
font-weight: 400;
font-size: 13px;
}
.ec-field__input {
width: 100%;
padding: 12px 16px;
font-size: 15px;
border: 1.5px solid #dde0e4;
border-radius: 8px;
background: #fafbfc;
color: #1a1a2e;
transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
outline: none;
box-sizing: border-box;
font-family: inherit;
-webkit-appearance: none;
appearance: none;
}
.ec-field__input:focus {
border-color: #1a1a2e;
background: #ffffff;
box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
}
.ec-field__input::placeholder {
color: #aab0b8;
}
.ec-field__input--error {
border-color: #e74c3c;
background: #fef5f5;
}
.ec-field__input--error:focus {
box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
.ec-field__select {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 16px center;
padding-right: 40px;
cursor: pointer;
}
.ec-field__textarea {
resize: vertical;
min-height: 100px;
}
.ec-field__error {
display: block;
font-size: 13px;
color: #e74c3c;
margin-top: 4px;
min-height: 0;
} .ec-autocomplete {
position: relative;
}
.ec-autocomplete__list {
position: absolute;
top: 100%;
left: 0;
right: 0;
z-index: 100;
margin: 4px 0 0 0;
padding: 4px 0;
list-style: none;
background: #ffffff;
border: 1.5px solid #dde0e4;
border-radius: 8px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
max-height: 220px;
overflow-y: auto;
}
.ec-autocomplete__list[hidden] {
display: none;
}
.ec-autocomplete__item {
padding: 10px 16px;
font-size: 14px;
color: #333;
cursor: pointer;
transition: background-color 0.1s ease;
}
.ec-autocomplete__item:hover,
.ec-autocomplete__item--active {
background: #f0f1f3;
color: #1a1a2e;
} .ec-hp {
position: absolute;
left: -9999px;
top: -9999px;
width: 1px;
height: 1px;
overflow: hidden;
opacity: 0;
} .ec-nav {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 32px;
padding-top: 24px;
border-top: 1px solid #f0f0f0;
}
.ec-nav__btn {
padding: 14px 32px;
font-size: 15px;
font-weight: 600;
border-radius: 8px;
border: none;
cursor: pointer;
transition: all 0.2s ease;
font-family: inherit;
line-height: 1;
}
.ec-nav__btn--prev {
background: transparent;
color: #666;
padding-left: 0;
}
.ec-nav__btn--prev:hover {
color: #1a1a2e;
}
.ec-nav__btn--next,
.ec-nav__btn--submit {
background: #1a1a2e;
color: #ffffff;
margin-left: auto;
}
.ec-nav__btn--next:hover,
.ec-nav__btn--submit:hover {
background: #2d2d4a;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(26, 26, 46, 0.2);
}
.ec-nav__btn--next:active,
.ec-nav__btn--submit:active {
transform: translateY(0);
}
.ec-nav__btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
box-shadow: none;
} .ec-success {
text-align: center;
padding: 40px 20px;
animation: ecFadeIn 0.4s ease;
}
.ec-success__icon {
width: 64px;
height: 64px;
border-radius: 50%;
background: #7A84C0;
color: #88E788;
font-size: 28px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
}
.ec-success__title {
font-size: 24px;
font-weight: 600;
color: #1a1a2e;
margin: 0 0 12px 0;
}
.ec-success__text {
font-size: 15px;
color: #666;
line-height: 1.6;
margin: 0;
} .ec-error-banner {
background: #fef5f5;
border: 1px solid #f5c6cb;
border-radius: 8px;
padding: 12px 16px;
margin-bottom: 20px;
font-size: 14px;
color: #721c24;
animation: ecFadeIn 0.3s ease;
} .ec-nav__btn--loading {
position: relative;
color: transparent;
}
.ec-nav__btn--loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 18px;
height: 18px;
margin: -9px 0 0 -9px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: #ffffff;
border-radius: 50%;
animation: ecSpin 0.6s linear infinite;
}
@keyframes ecSpin {
to {
transform: rotate(360deg);
}
} @media (max-width: 640px) {
.ec-modal {
padding: 0;
align-items: flex-end;
}
.ec-modal__container {
max-height: 95vh;
border-radius: 16px 16px 0 0;
transform: translateY(100%);
}
.ec-modal--open .ec-modal__container {
transform: translateY(0);
}
.ec-modal--closing .ec-modal__container {
transform: translateY(100%);
}
.ec-calculator {
padding: 24px 20px;
border-radius: 16px 16px 0 0;
box-shadow: none;
}
.ec-step__title {
font-size: 18px;
margin-bottom: 20px;
}
.ec-field-row {
grid-template-columns: 1fr;
gap: 0;
}
.ec-progress__label {
font-size: 11px;
}
.ec-progress__dot {
width: 28px;
height: 28px;
font-size: 12px;
}
.ec-nav__btn {
padding: 12px 24px;
font-size: 14px;
}
.ec-trigger {
width: 100%;
justify-content: center;
}
}.cf-contact-form {
max-width: 720px !important;
margin: 0 auto !important;
font-family: 'Poppins', sans-serif !important;
} .cf-row {
display: flex !important;
gap: 20px !important;
}
.cf-field {
margin-bottom: 20px !important;
width: 100% !important;
}
.cf-field--half {
flex: 1 !important;
min-width: 0 !important;
} .cf-field label {
display: block !important;
margin-bottom: 6px !important;
font-size: 14px !important;
font-weight: 600 !important;
color: inherit !important;
font-family: 'Poppins', sans-serif !important;
}
.cf-required {
color: var(--cf-accent, #3452ff) !important;
} .cf-field input,
.cf-field textarea {
width: 100% !important;
padding: 12px 16px !important;
font-size: 15px !important;
line-height: 1.5 !important;
color: inherit !important;
background: transparent !important;
border: 2px solid #000 !important;
border-radius: 8px !important;
outline: none !important;
transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
box-sizing: border-box !important;
font-family: 'Poppins', sans-serif !important;
}
.cf-field input:focus,
.cf-field textarea:focus {
background: transparent !important;
border-color: var(--cf-accent, #3452ff) !important;
box-shadow: 0 0 0 3px color-mix(in srgb, var(--cf-accent, #3452ff) 15%, transparent) !important;
}
.cf-field input.cf-error,
.cf-field textarea.cf-error {
border-color: #e53935 !important;
background: transparent !important;
}
.cf-field textarea {
resize: vertical !important;
min-height: 140px !important;
} .cf-hp {
position: absolute !important;
left: -9999px !important;
width: 0 !important;
height: 0 !important;
overflow: hidden !important;
opacity: 0 !important;
} .cf-turnstile-wrap {
margin-bottom: 20px !important;
} .cf-submit-wrap {
margin-bottom: 16px !important;
}
.cf-submit-btn {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
padding: 14px 36px !important;
font-size: 15px !important;
font-weight: 600 !important;
color: #fff !important;
background: var(--cf-accent, #3452ff) !important;
border: none !important;
border-radius: 8px !important;
cursor: pointer !important;
transition: opacity 0.2s ease, transform 0.1s ease !important;
line-height: 1 !important;
font-family: 'Poppins', sans-serif !important;
}
.cf-submit-btn:hover {
opacity: 0.9 !important;
}
.cf-submit-btn:active {
transform: scale(0.98) !important;
}
.cf-submit-btn:disabled {
opacity: 0.6 !important;
cursor: not-allowed !important;
}
.cf-submit-loading {
display: none !important;
}
.cf-submit-btn.cf-loading .cf-submit-text {
display: none !important;
}
.cf-submit-btn.cf-loading .cf-submit-loading {
display: inline-flex !important;
} .cf-status {
padding: 0 !important;
font-size: 14px !important;
line-height: 1.5 !important;
border-radius: 8px !important;
transition: all 0.3s ease !important;
font-family: 'Poppins', sans-serif !important;
}
.cf-status:empty {
display: none !important;
}
.cf-status.cf-status--success {
display: block !important;
padding: 14px 18px !important;
background: #e8f5e9 !important;
color: #2e7d32 !important;
border: 1px solid #c8e6c9 !important;
}
.cf-status.cf-status--error {
display: block !important;
padding: 14px 18px !important;
background: #ffebee !important;
color: #c62828 !important;
border: 1px solid #ffcdd2 !important;
} .cf-field-error {
display: block !important;
margin-top: 4px !important;
font-size: 13px !important;
color: #e53935 !important;
font-family: 'Poppins', sans-serif !important;
} @media (max-width: 600px) {
.cf-row {
flex-direction: column !important;
gap: 0 !important;
}
.cf-submit-btn {
width: 100% !important;
}
}