/* HealthyFood Survey Pro v2.1.6 */
:root{--hf-primary:#FF5225;--hf-primary-light:rgba(255,82,37,.10);--hf-ink:#173642;--hf-muted:#607680;--hf-border:#e6ebee}
.hf-survey-wrapper{box-sizing:border-box;padding:34px 22px 34px;background:linear-gradient(135deg,#fff 0%,#f8fafb 100%);border-radius:18px;overflow:visible}
.hf-survey-wrapper *{box-sizing:border-box}
.hf-survey-header{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:center;margin-bottom:22px;padding-top:10px;overflow:visible}
.hf-survey-header-with-site-logo{grid-template-columns:minmax(160px,240px) minmax(0,1fr)}
.hf-survey-header-with-logo:not(.hf-survey-header-with-site-logo){grid-template-columns:minmax(0,1fr) minmax(170px,230px)}
.hf-survey-header-with-site-logo.hf-survey-header-with-logo{grid-template-columns:minmax(160px,240px) minmax(0,1fr) minmax(170px,230px)}
.hf-survey-site-logo{display:flex;align-items:center;justify-content:flex-start;min-width:0;padding:12px 18px 12px 4px;border-right:1px solid var(--hf-border);min-height:88px;overflow:visible}
.hf-survey-site-logo img{display:block!important;width:auto!important;height:auto!important;max-width:220px!important;max-height:68px!important;object-fit:contain!important;object-position:left center!important;margin:0!important;padding:0!important;clip-path:none!important;transform:none!important}
.hf-survey-header-copy{min-width:0;text-align:left}
.hf-survey-header h1{margin:0 0 6px!important;font-size:clamp(20px,1.6vw,26px)!important;line-height:1.2!important;font-weight:800!important;color:var(--hf-ink)!important}
.hf-survey-header p{margin:0;max-width:760px;font-size:15px;line-height:1.5;color:#405762}
.hf-survey-client-logo{display:flex;align-items:center;justify-content:flex-end;min-width:0;overflow:visible}
.hf-logo-frame{display:flex;align-items:center;justify-content:center;width:100%;max-width:230px;height:88px;min-height:88px;padding:12px 16px;background:#fff;border:1px solid #eceff1;border-radius:16px;box-shadow:0 7px 22px rgba(23,54,66,.08);overflow:visible}
.hf-survey-client-logo img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:62px!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;clip-path:none!important;transform:none!important}
.hf-progress-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin-top:12px}
.hf-progress{width:100%;height:8px;background:#eceeef;border-radius:999px;overflow:hidden}
.hf-progress-bar{height:100%;width:0;background:var(--hf-primary);border-radius:999px;transition:width .25s ease}
.hf-progress-text{white-space:nowrap;color:#4c626d;font-size:15px;font-weight:600}
.hf-card{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);background:rgba(255,255,255,.88);border:1px solid #e7ebed;border-radius:22px;padding:34px 32px 30px;box-shadow:0 12px 34px rgba(23,54,66,.07)}
.hf-section-title{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;margin-bottom:22px;padding:0}
.hf-badge{display:inline-block;background:var(--hf-primary-light);color:#c43a18;border:1px solid rgba(255,82,37,.28);border-radius:999px;padding:7px 14px;font-size:13px;margin-bottom:18px}
.hf-required{color:var(--hf-primary)}
.hf-item-title{font-size:clamp(22px,2vw,28px)!important;font-weight:800!important;line-height:1.25!important;color:var(--hf-ink)!important;margin:0 0 16px!important}
.hf-question-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:var(--hf-muted);margin-bottom:8px}
.hf-question-text{display:block!important;font-weight:700!important;font-size:clamp(17px,1.55vw,21px)!important;line-height:1.45!important;margin:0!important;color:#151515!important;min-height:0}
.hf-content{margin-top:20px}
.hf-response-label{font-size:13px;font-weight:800;color:#435b65;margin:0 0 10px;text-transform:uppercase;letter-spacing:.06em}
.hf-field{margin:16px 0}
.hf-input,.hf-field textarea,.hf-content textarea.hf-input{width:100%;padding:16px 16px;border:1px solid #d8dde0;border-radius:15px;background:#fff;outline:none;font-size:15px;line-height:1.5;color:#333;transition:border-color .2s ease,box-shadow .2s ease;min-height:140px;resize:vertical}
.hf-input:focus,.hf-field textarea:focus,.hf-content textarea.hf-input:focus{border-color:var(--hf-primary);box-shadow:0 0 0 3px var(--hf-primary-light)}
.hf-options{display:flex;flex-wrap:nowrap;gap:10px;justify-content:space-between;align-items:center;margin:6px 0;overflow-x:auto;scrollbar-width:thin}
.hf-options input[type=radio]{display:none}
.hf-chip{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:14px 20px;border:1.5px solid #d9d9d9;border-radius:999px;background:#fff;cursor:pointer;user-select:none;transition:all .15s ease;font-weight:600;line-height:1.4;min-height:50px;color:#222;margin-top:4px}
.hf-chip:hover{transform:translateY(-1px);border-color:var(--hf-primary)}
.hf-options input[type=radio]:checked + .hf-chip{background:var(--hf-primary);color:#fff;border:2px solid var(--hf-primary);box-shadow:0 0 0 3px var(--hf-primary-light);transform:scale(1.02)}
.hf-nav{display:flex;justify-content:space-between;margin-top:38px;align-items:center}
.hf-btn{position:relative;background:linear-gradient(135deg,#FF8A68 0%,#FF5225 100%);color:#fff!important;border:none;border-radius:13px;padding:15px 34px;font-weight:800;font-size:16px;cursor:pointer;transition:all .22s ease;box-shadow:0 7px 18px rgba(255,82,37,.22);overflow:hidden}
.hf-btn:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(255,82,37,.30);filter:brightness(1.04)}
.hf-btn:active{transform:scale(.98)}
.hf-btn.hf-prev{background:#fff;color:#314a55!important;border:1px solid #d6dde0;box-shadow:none}
.hf-btn.hf-disabled{background:linear-gradient(135deg,#ffd0c1 0%,#ffb5a0 100%);cursor:not-allowed;opacity:.72;box-shadow:none}
.hf-btn::after{content:"";position:absolute;top:0;left:-80%;width:50%;height:100%;background:rgba(255,255,255,.20);transform:skewX(-20deg);transition:left .5s ease}
.hf-btn:hover::after{left:130%}
.hf-thanks{background:#fff;border:1px solid #dfe9e3;padding:34px 26px;border-radius:18px;margin:8px 0 0;text-align:center;color:#1b5e20;font-weight:800;box-shadow:0 10px 28px rgba(23,54,66,.06)}
.hf-thanks small{display:block;margin-top:8px;font-weight:600;color:#426b52}
.hf-home-btn{display:inline-flex;align-items:center;justify-content:center;margin-top:20px;padding:13px 24px;border-radius:11px;background:#ff5a36;color:#fff!important;text-decoration:none!important;font-weight:800;line-height:1.2;transition:transform .15s ease,opacity .15s ease}.hf-home-btn:hover{opacity:.92;transform:translateY(-1px);color:#fff!important}
.hf-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
@media(max-width:980px){
  .hf-survey-header-with-site-logo.hf-survey-header-with-logo{grid-template-columns:minmax(150px,230px) minmax(0,1fr) minmax(170px,220px)}
  .hf-logo-frame{min-height:96px;padding:14px 16px}.hf-survey-client-logo img{max-height:66px!important}.hf-survey-site-logo img{max-height:70px}
}
@media(max-width:768px){
  .hf-survey-wrapper{padding:20px 14px 28px}
  .hf-survey-header,.hf-survey-header-with-site-logo,.hf-survey-header-with-logo:not(.hf-survey-header-with-site-logo),.hf-survey-header-with-site-logo.hf-survey-header-with-logo{grid-template-columns:1fr;text-align:center;gap:14px}
  .hf-survey-site-logo{justify-content:center;border-right:0;border-bottom:1px solid var(--hf-border);padding:10px 10px 14px;min-height:0;overflow:visible}.hf-survey-site-logo img{max-width:210px!important;max-height:62px!important;object-position:center!important}
  .hf-survey-header-copy{text-align:center}.hf-survey-header p{margin:0 auto}
  .hf-survey-client-logo{justify-content:center}.hf-logo-frame{max-width:220px;height:84px;min-height:84px;margin:0 auto;padding:12px 16px;overflow:visible}.hf-survey-client-logo img{max-height:58px!important}
  .hf-progress-row{grid-template-columns:1fr;gap:9px}.hf-progress-text{text-align:center}
  .hf-card{padding:28px 18px 24px}.hf-section-title{align-items:flex-start;text-align:left}.hf-item-title{font-size:22px!important}.hf-question-text{text-align:left;font-size:17px!important}
  .hf-options{flex-direction:column;align-items:stretch;gap:12px}.hf-chip{width:100%;text-align:center;justify-content:center;padding:14px 16px;font-size:15px}
  .hf-nav{flex-direction:column;gap:12px}.hf-btn{width:100%;margin-top:0}
}

/* v2.1.6: evita que el tema/Elementor agrande o recorte títulos y logos */
.hf-survey-wrapper .hf-survey-header img,.hf-survey-wrapper .hf-survey-header img.custom-logo{position:static!important;inset:auto!important;float:none!important;vertical-align:middle!important;}
.hf-survey-wrapper .hf-item-title,.hf-survey-wrapper .hf-question-text,.hf-survey-wrapper .hf-survey-header h1{font-family:inherit!important;text-transform:none!important;letter-spacing:normal!important;}
