/* V82: form as recovered from Joomla, redesigned for clear budget requests. */
.ac82-budget-section{padding:clamp(64px,7vw,105px) 0;background:linear-gradient(180deg,#f2f7f9,#ffffff 95%)}
.ac82-budget-section .ac61-shell{width:min(1190px,calc(100% - 48px));margin-inline:auto}
.ac82-budget-heading{display:flex;align-items:end;justify-content:space-between;gap:18px 36px;flex-wrap:wrap;margin-bottom:30px;padding-bottom:24px;border-bottom:1px solid #cadde5}
.ac61-conversion .ac82-budget-heading h2{margin:0;font-size:clamp(34px,3.5vw,54px);line-height:1.06;letter-spacing:-.048em;color:#0b3449}
.ac82-budget-heading p{font-size:17px;line-height:1.5;max-width:39ch;margin:0;color:#496875}
.ac82-budget-section .ma82-budget-panel{background:#fff;border:1px solid #d2e2e9;border-radius:24px;padding:clamp(22px,3.6vw,46px);box-shadow:0 22px 62px -50px rgba(9,58,80,.28)}
.ma82-budget-mode{padding:16px 19px;background:#edf6fa;border-radius:12px;border:1px solid #cbe3ed;color:#23546a;font-size:15px;line-height:1.55;margin-bottom:32px}
.ma82-budget-mode strong{color:#0c4560}
.ma82-budget-form{display:block;max-width:none}
.ma82-budget-group{min-inline-size:0;border:0;border-top:1px solid #d7e5eb;margin:0 0 30px;padding:23px 0 0}
.ma82-budget-group:first-of-type{border-top:0;padding-top:0}
.ma82-budget-group>legend{display:block;float:none;width:auto;max-width:100%;padding:0 16px 0 0;margin:0 0 21px;font-size:clamp(22px,2.2vw,29px);font-weight:800;line-height:1.15;letter-spacing:-.034em;color:#0b3449}
.ma82-budget-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 26px}
.ma82-budget-field{display:flex;flex-direction:column;gap:9px;font-weight:680;color:#21485b;font-size:15px;min-width:0}
.ma82-budget-field--profesion,.ma82-budget-field--solicitud{grid-column:1/-1}
.ma82-budget-field span{line-height:1.34}
.ma82-required{color:#147caa}
.ma82-budget-form .ma82-budget-field input:not([type=checkbox]),.ma82-budget-form .ma82-budget-field textarea,.ma82-budget-form .ma82-budget-field select{display:block;width:100%;min-width:0;min-height:55px;padding:13px 15px;background:#f9fcfd;border:1px solid #b9d2de;border-radius:10px;color:#123b50;font-size:16px;font-weight:500;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}
.ma82-budget-form .ma82-budget-field textarea{min-height:160px;resize:vertical;line-height:1.6}
.ma82-budget-form .ma82-budget-field input:focus,.ma82-budget-form .ma82-budget-field select:focus,.ma82-budget-form .ma82-budget-field textarea:focus{border-color:#167dae;box-shadow:0 0 0 4px rgba(23,125,174,.10);background:#fff;outline:none}
.ma82-budget-privacy{padding:22px 24px;border-radius:14px;background:#eff6f9;border:1px solid #d2e5ed;margin-top:4px;color:#294d5e}
.ma82-budget-privacy>strong{font-size:16px;color:#0f4057;font-weight:800}
.ma82-budget-privacy p{font-size:14px;line-height:1.7;margin:7px 0 16px;color:#476976}
.ma82-budget-privacy a,.ma82-budget-submit a{color:#086d9c;text-decoration:underline;text-underline-offset:3px}
.ma82-budget-consent{display:flex;flex-direction:row!important;align-items:flex-start;gap:11px!important;font-size:15px!important;font-weight:650!important;line-height:1.45;color:#17495f}
.ma82-budget-consent input{margin:3px 0 0;width:19px;height:19px;flex:0 0 auto;accent-color:#0878aa}
.ma82-budget-submit{display:flex;flex-wrap:wrap;align-items:center;gap:15px 26px;margin-top:28px}
.ma82-budget-submit>span{font-size:14px;color:#597886;line-height:1.5;overflow-wrap:anywhere}
.ma82-budget-button{border:0;border-radius:999px;min-height:57px;padding:15px 30px;background:linear-gradient(180deg,#0d86b9,#086b9d);color:#fff;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 18px 35px -21px rgba(0,78,123,.45);transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.ma82-budget-button:hover{transform:translateY(-2px);background:linear-gradient(180deg,#0e91c6,#0874a9);box-shadow:0 23px 40px -22px rgba(0,78,123,.48)}
.ma82-budget-button:focus-visible{outline:3px solid #0b87ba;outline-offset:4px}
.ma82-budget-feedback{padding:17px 19px;margin-bottom:20px;background:#eef6fa;border-left:4px solid #117dad;color:#0c4a64;line-height:1.5}
@media(max-width:700px){.ac82-budget-section{padding:57px 0 70px}.ac82-budget-section .ac61-shell{width:min(100% - 30px,1190px)}.ac82-budget-heading{margin-bottom:20px;padding-bottom:20px}.ac82-budget-section .ma82-budget-panel{padding:23px 17px;border-radius:18px}.ma82-budget-fields{grid-template-columns:1fr;gap:19px}.ma82-budget-field--profesion,.ma82-budget-field--solicitud{grid-column:auto}.ma82-budget-group{margin-bottom:28px}.ma82-budget-privacy{padding:18px 16px}.ma82-budget-button{width:100%}}
@media(prefers-reduced-motion:reduce){.ma82-budget-button,.ma82-budget-form .ma82-budget-field input,.ma82-budget-form .ma82-budget-field select,.ma82-budget-form .ma82-budget-field textarea{transition:none!important}}
/* Override legacy V61 layout with the restored form only on Presupuesto. */
.ac61-conversion .ac82-budget-section{padding:clamp(64px,7vw,105px) 0;background:linear-gradient(180deg,#f2f7f9,#ffffff 95%)}
.ma82-budget-form .ma82-budget-field{display:flex;flex-direction:column;gap:9px;color:#21485b;font-size:15px;font-weight:680;min-width:0}
@media(max-width:700px){.ac61-conversion .ac82-budget-section{padding:57px 0 70px}}

/* V83: genuine server-submitted form; privacy note and spam status are not mailto controls. */
.ma82-budget-form .ma82-budget-submit>span{color:#456879;font-weight:500;font-size:13.5px}
.ma82-budget-form button[disabled]{opacity:.55;cursor:not-allowed;filter:grayscale(.12)}
.ma82-budget-form .ma-hp,.ma82-budget-form .ma-hp *{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
