/* Formularios de contacto y modal "Consúltanos" */
.aw-hp { position: absolute; left: -9999px; }
.contacto-estado { margin: 12px 0 0; min-height: 1.4em; font-size: 14px; }
.elementor-form .contacto-estado { width: 100%; }

.aw-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; animation: aw-fade 1.2s ease; }
.aw-modal[hidden] { display: none; }
.aw-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); }
.aw-modal__dialog { position: relative; width: 100%; max-width: 640px; max-height: 100%; overflow-y: auto; background: #fff; border-radius: 30px; padding: 40px; box-sizing: border-box; outline: none; }
.aw-modal__close { position: absolute; top: 14px; right: 18px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 30px; line-height: 1; color: #1E1E22; cursor: pointer; }
.aw-modal__close:hover { color: #FC653C; }
.aw-modal__kicker { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0; color: var(--e-global-color-text, #555); }
.aw-modal__kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--e-global-color-secondary, #FC653C); }
.aw-modal__titulo { text-align: center; margin: 4px 0 24px; }
.aw-modal__campo { margin: 0 0 14px; }
.aw-modal input[type="text"], .aw-modal input[type="email"], .aw-modal input[type="tel"], .aw-modal textarea {
  width: 100%; box-sizing: border-box; background: #F1F1F5; border: 0; color: var(--e-global-color-text, #333); font: inherit;
}
.aw-modal input[type="text"], .aw-modal input[type="email"], .aw-modal input[type="tel"] { height: 60px; border-radius: 40px; padding: 0 24px; }
.aw-modal textarea { height: 176px; border-radius: 30px; padding: 18px 24px; resize: vertical; }
.aw-modal__enviar { width: 100%; height: 56px; border: 0; border-radius: 45px; background: #FC653C; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.aw-modal__enviar:hover { background: #1E1E22; }
.aw-modal__enviar:disabled { opacity: .6; cursor: default; }
.aw-modal-abierto { overflow: hidden; }
@keyframes aw-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) { .aw-modal__dialog { padding: 32px 20px 24px; border-radius: 20px; } }

/* Mapa: se carga solo al pulsar (evita cookies de terceros al entrar) */
.elementor-custom-embed:has(.aw-mapa-btn) { position: relative; background: #F1F1F5; border-radius: 15px; }
.aw-mapa-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; border-radius: 45px; padding: 14px 28px; background: #FC653C; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.aw-mapa-btn:hover { background: #1E1E22; }
.aw-mapa-btn small { font-size: 11px; font-weight: 400; }

/* Vídeo de fondo de la portada (YouTube sin cookies) */
.elementor-background-video-container { container-type: size; }
.aw-bgvideo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: max(100cqw, 177.78cqh); height: max(56.25cqw, 100cqh); border: 0; pointer-events: none; max-width: none; }

.aw-modal .aw-modal__close, .aw-modal .aw-modal__close:hover, .aw-modal .aw-modal__close:focus { background: transparent; border: 0; padding: 0; border-radius: 0; box-shadow: none; display: flex; align-items: center; justify-content: center; font-size: 30px; line-height: 1; }
.aw-modal .aw-modal__close { color: #1E1E22; }
.aw-modal .aw-modal__close:hover { color: #FC653C; }
