/* PAGLIACCIO HERO MOBILE v1.1.0 – portada pública, mobile y tablet.
 * Conserva la fotografía, los textos originales y la estructura de Elementor.
 * Desktop y otras páginas no reciben cambios visuales.
 */
@media (max-width:1024px), (min-width:768px) and (max-width:1366px) and (hover:none) and (pointer:coarse) {
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .pagliaccio-hero-search.phm-live {
    box-sizing:border-box !important;
    position:relative !important;
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    transform:none !important;
    animation:none !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:12px 0 0 !important;
    padding:0 !important;
    inset:auto !important;
    z-index:5 !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .pagliaccio-hero-search.phm-live > .elementor-widget-container,
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .pagliaccio-hero-search.phm-live > .elementor-widget-container > form.houzez-search-builder-form-js {
    display:none !important;
    visibility:hidden !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .pagliaccio-hero-search.phm-live > .phm-root,
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .pagliaccio-hero-search.phm-live > .phm-root * {
    box-sizing:border-box;
  }
  body.pghp-mobile-enabled .phm-root {
    --phm-teal:#08b2b1;
    --phm-deep:#07898d;
    --phm-ink:#16282e;
    font-family:'Plus Jakarta Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    width:100%;
    min-width:0;
    max-width:730px;
    margin:0;
    padding:0;
    color:var(--phm-ink);
  }
  body.pghp-mobile-enabled .phm-root .phm-search-panel {
    width:100%;max-width:100%;min-width:0;
    margin:0;
    padding:9px;
    border-radius:15px;
    border:1px solid #e0e9eb;
    background:rgba(255,255,255,.97);
    box-shadow:0 10px 28px rgba(9,34,43,.105),0 1px 3px rgba(9,34,43,.03);
  }
  body.pghp-mobile-enabled .phm-root .phm-tabs {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    position:relative;
    isolation:isolate;
    gap:3px;
    width:100%;
    margin:0 0 7px;
    padding:3px;
    border:1px solid #e6eeee;
    border-radius:11px;
    background:#f2f7f7;
  }
  body.pghp-mobile-enabled .phm-root .phm-tab {
    display:flex;justify-content:center;align-items:center;
    position:relative;z-index:1;
    width:100%;min-width:0;min-height:40px;
    margin:0;padding:7px 2px;
    border:0!important;border-radius:8px;
    color:#4b666f!important;
    background:transparent!important;
    box-shadow:none!important;
    font:800 12.1px/1.2 'Plus Jakarta Sans',system-ui,sans-serif!important;
    white-space:nowrap;
    -webkit-tap-highlight-color:transparent;
    cursor:pointer;
    transition:background-color .2s ease,color .2s ease;
  }
  body.pghp-mobile-enabled .phm-root .phm-tab[aria-pressed="true"] {
    color:#fff!important;
    background:#162e33!important;
    box-shadow:0 2px 6px rgba(18,47,53,.13)!important;
  }
  body.pghp-mobile-enabled .phm-root .phm-tab-indicator {
    position:absolute;
    left:0;top:3px;bottom:3px;
    display:block;
    pointer-events:none;
    z-index:0;
    border-radius:8px;
    background:#162e33;
    box-shadow:0 3px 10px rgba(13,44,50,.15);
  }
  body.pghp-mobile-enabled .phm-root .phm-tabs.phm-tabs-animated .phm-tab-indicator {
    transition:transform .31s cubic-bezier(.2,.75,.25,1),width .31s cubic-bezier(.2,.75,.25,1);
  }
  body.pghp-mobile-enabled .phm-root .phm-tabs.phm-tabs-ready .phm-tab[aria-pressed="true"] {
    background:transparent !important;
    box-shadow:none !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-search-form {margin:0;padding:0;width:100%;}
  body.pghp-mobile-enabled .phm-root .phm-fields {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
    margin:0;
  }
  body.pghp-mobile-enabled .phm-root .phm-field {
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;min-height:67px;
    gap:2px;
    padding:7px 11px 6px;
    margin:0;
    border:1px solid #dfebed;
    border-radius:10px;
    background:#f8fbfb;
    transition:border-color .18s ease,background-color .18s ease;
  }
  body.pghp-mobile-enabled .phm-root .phm-field:focus-within,
  body.pghp-mobile-enabled .phm-root .phm-field:has(.phm-open) {
    background:#eaf9f8;border-color:rgba(8,178,177,.5);
  }
  body.pghp-mobile-enabled .phm-root .phm-label {
    color:#647e86;
    margin:0;
    font:850 9.5px/1.25 'Plus Jakarta Sans',system-ui,sans-serif;
    letter-spacing:.038em;
    text-transform:uppercase;
  }
  body.pghp-mobile-enabled .phm-root .phm-field-button {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:4px;
    width:100%;min-width:0;min-height:44px;
    margin:0;padding:0;
    border:0!important;border-radius:0;
    background:transparent!important;
    box-shadow:none!important;
    color:#183038!important;
    text-align:left;
    font:800 12px/1.28 'Plus Jakarta Sans',system-ui,sans-serif!important;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  body.pghp-mobile-enabled .phm-root .phm-value {
    display:block;
    flex:1 1 auto;min-width:0;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  body.pghp-mobile-enabled .phm-root .phm-field-button svg {
    flex:0 0 13px;width:13px;height:13px;
    color:#74969d;
    transition:transform .18s ease;
  }
  body.pghp-mobile-enabled .phm-root .phm-field-button.phm-open svg {transform:rotate(180deg);color:#008f92;}
  body.pghp-mobile-enabled .phm-root .phm-has-value .phm-value {color:#007e81;}
  body.pghp-mobile-enabled .phm-root .phm-selected-favorite .phm-value::after {
    content:'★';font-size:10px;color:#bc9335;margin-left:4px;
  }
  body.pghp-mobile-enabled .phm-root .phm-submit {
    display:flex;align-items:center;justify-content:center;gap:9px;
    width:100%;min-height:48px;
    margin:7px 0 0;padding:10px 14px;
    color:#fff!important;
    background:linear-gradient(135deg,#08b9b6,#008f92)!important;
    border:1px solid #008e91!important;
    border-radius:10px;
    box-shadow:0 6px 14px rgba(8,159,159,.14)!important;
    font:850 13.2px/1.2 'Plus Jakarta Sans',system-ui,sans-serif!important;
    cursor:pointer;
  }
  body.pghp-mobile-enabled .phm-root .phm-submit svg {width:18px;height:18px;flex:0 0 18px;}
  body.pghp-mobile-enabled .phm-root .phm-map-link {
    display:flex;align-items:center;justify-content:center;gap:8px;
    min-height:44px;
    padding:6px 8px;
    text-decoration:none!important;
    color:#007c80!important;
    font-size:12px;font-weight:850;
  }
  body.pghp-mobile-enabled .phm-root .phm-map-link svg {width:15px;height:15px;}
  body.pghp-mobile-enabled .phm-root :is(button,a):focus-visible {
    outline:3px solid rgba(8,178,177,.7)!important;
    outline-offset:2px;
  }
}
/* Mobile: acortamos exclusivamente el texto, sin rearmar ni recolocar la foto. */
@media (max-width:767px) {
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-646b15e {
    margin-bottom:8px!important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro h1.elementor-heading-title {
    font-size:clamp(29px,8.45vw,35px)!important;
    line-height:1.12!important;
    letter-spacing:-.05em!important;
    overflow-wrap:normal;
    word-break:normal;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-e370353 {
    margin-bottom:0!important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card p {
    font-size:clamp(12.5px,3.75vw,14px)!important;
    line-height:1.48!important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card p + p {
    margin-top:7px!important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .pagliaccio-hero-search.phm-live {
    margin-top:10px!important;
  }
}
@media (max-width:350px) {
  body.pghp-mobile-enabled .phm-root .phm-field {padding-inline:7px;}
  body.pghp-mobile-enabled .phm-root .phm-field-button {font-size:11.1px!important;}
  body.pghp-mobile-enabled .phm-root .phm-tab {font-size:11.1px!important;}
  body.pghp-mobile-enabled .phm-root .phm-label {font-size:8.1px;}
}
@media (min-width:768px) and (max-width:1024px) {
  body.pghp-mobile-enabled .phm-root .phm-tabs {margin-bottom:9px;}
  body.pghp-mobile-enabled .phm-root .phm-field {min-height:65px;}
  body.pghp-mobile-enabled .phm-root .phm-submit {min-height:49px;}
}

/* MOBILE: reproduce la dirección de arte aprobada para desktop SIN alterar columnas ni fotografía. */
@keyframes phm-word-enter {
  from {opacity:0;transform:translate3d(0,12px,0);}
  to {opacity:1;transform:translate3d(0,0,0);}
}
@keyframes phm-fade-up {
  from {opacity:0;transform:translate3d(0,12px,0);}
  to {opacity:1;transform:translate3d(0,0,0);}
}
@keyframes phm-arrow-down-cue {
  0%,13%,62%,100%{transform:translateY(0);}
  30%{transform:translateY(3.5px);}
  43%{transform:translateY(0);}
}
@media (max-width:1024px), (min-width:768px) and (max-width:1366px) and (hover:none) and (pointer:coarse) {
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-646b15e,
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-e370353 {
    /* Elementor's legacy fadeIn should not fight the new staggered entrance. */
    animation:none!important;
    opacity:1!important;
    transform:none!important;
    visibility:visible!important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro h1.elementor-heading-title {
    color:#141b20;
    letter-spacing:-.055em;
    font-weight:850;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .phm-word {display:inline-block;}
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .phm-location {color:#008f92;}
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card {
    border-left:2px solid rgba(8,178,177,.72)!important;
    padding-left:11px!important;
    background:transparent!important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card p:first-child strong {
    color:#087c81!important;
    font-weight:850!important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card .cta strong {
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:#183239;
    font-weight:850;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card .cta strong::before {
    display:none!important; /* incompatible old indicator in Elementor */
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card .cta strong::after {
    content:'';
    display:inline-flex;
    flex:0 0 27px;
    width:27px;
    height:27px;
    border:1px solid rgba(5,143,147,.27);
    border-radius:50%;
    background-color:rgba(248,255,254,.96);
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23058f93' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v15M6.5 13.5L12 19l5.5-5.5'/%3E%3C/svg%3E");
    background-size:18px 18px;
    background-position:center;
    background-repeat:no-repeat;
    box-shadow:0 4px 12px rgba(5,92,96,.12),inset 0 1px 0 #fff;
    animation:phm-arrow-down-cue 3.2s ease-in-out 1.45s infinite;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro.phm-motion .phm-word {
    animation:phm-word-enter .57s cubic-bezier(.22,1,.36,1) both;
    animation-delay:calc(.055s + var(--phm-word-index,0) * .075s);
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro.phm-motion .micro-card p:first-child {
    animation:phm-fade-up .58s cubic-bezier(.22,1,.36,1) .52s both;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro.phm-motion .micro-card .cta {
    animation:phm-fade-up .55s cubic-bezier(.22,1,.36,1) .73s both;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro.phm-motion .phm-root {
    animation:phm-fade-up .69s cubic-bezier(.2,.8,.2,1) .84s both;
  }
  body.pghp-mobile-enabled .phm-root .phm-tab {
    transition:color .25s ease,background-color .25s ease;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.pghp-mobile-enabled .pagliaccio-hero-pro .phm-word,
  body.pghp-mobile-enabled .pagliaccio-hero-pro .micro-card .cta strong::after,
  body.pghp-mobile-enabled .pagliaccio-hero-pro.phm-motion .micro-card p,
  body.pghp-mobile-enabled .pagliaccio-hero-pro.phm-motion .phm-root {
    animation:none!important;
    transition:none!important;
    opacity:1!important;
    transform:none!important;
  }
}
/* Listas táctiles (bottom sheet). Siempre por delante de Houzez y del nav sticky. */
body.pghp-mobile-enabled > .phm-overlay,
body.pghp-mobile-enabled > .phm-overlay * {box-sizing:border-box;}
body.pghp-mobile-enabled > .phm-overlay {
  position:fixed;inset:0;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  z-index:2147483000;
  font-family:'Plus Jakarta Sans',system-ui,sans-serif;
}
body.pghp-mobile-enabled > .phm-overlay .phm-backdrop {
  position:absolute;inset:0;
  width:100%;height:100%;
  margin:0;padding:0;border:0 !important;
  background:rgba(9,30,38,.53) !important;
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
  cursor:pointer;
}
body.pghp-mobile-enabled > .phm-overlay .phm-sheet {
  position:relative;
  width:100%;
  max-width:560px;
  display:flex;
  flex-direction:column;
  min-height:0;
  max-height:min(82vh,680px); /* respaldo para navegadores sin dvh */
  max-height:min(82dvh,680px);
  border-radius:24px 24px 0 0;
  background:#fff;
  box-shadow:0 -14px 60px rgba(0,0,0,.15);
  padding:0 14px env(safe-area-inset-bottom,0px);
  overflow:hidden;
  animation:phm-sheet-rise .22s cubic-bezier(.19,.8,.2,1) both;
}
@keyframes phm-sheet-rise{from{transform:translateY(14px);opacity:.7;}to{transform:none;opacity:1;}}
body.pghp-mobile-enabled > .phm-overlay .phm-sheet-head {
  display:flex;justify-content:space-between;align-items:center;
  flex:0 0 auto;
  gap:14px;
  min-height:65px;
  margin:0;
  padding:13px 6px;
  border-bottom:1px solid #e6eff0;
}
body.pghp-mobile-enabled > .phm-overlay .phm-sheet-title {
  margin:0;
  color:#18333a;
  font:850 17px/1.3 'Plus Jakarta Sans',system-ui,sans-serif;
  letter-spacing:-.024em;
}
body.pghp-mobile-enabled > .phm-overlay .phm-sheet-close {
  width:44px;height:44px;flex:0 0 44px;
  display:flex;align-items:center;justify-content:center;
  border:0 !important;border-radius:12px;
  background:#f0f6f6 !important;color:#446068 !important;
  cursor:pointer;
}
body.pghp-mobile-enabled > .phm-overlay .phm-sheet-close svg {width:20px;height:20px;}
body.pghp-mobile-enabled > .phm-overlay .phm-sheet-desc {
  flex:0 0 auto;
  padding:12px 6px 5px;margin:0;
  font:500 13px/1.4 'Plus Jakarta Sans',system-ui,sans-serif;
  color:#68818a;
}
body.pghp-mobile-enabled > .phm-overlay .phm-sheet-list {
  min-height:0;flex:1 1 auto;
  display:flex;flex-direction:column;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  padding:8px 0 12px;
  gap:3px;
}
body.pghp-mobile-enabled > .phm-overlay .phm-choice {
  width:100%;min-height:49px;flex:0 0 auto;
  display:flex;align-items:center;gap:8px;
  border:1px solid transparent !important;
  border-radius:11px;
  background:transparent !important;
  padding:10px 13px;margin:0;
  box-shadow:none !important;
  color:#18333a !important;
  text-align:left;
  font:750 14px/1.35 'Plus Jakarta Sans',system-ui,sans-serif !important;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
body.pghp-mobile-enabled > .phm-overlay .phm-choice.phm-selected {
  color:#007d80 !important;
  background:#eaf9f8 !important;
}
body.pghp-mobile-enabled > .phm-overlay .phm-choice-name {flex:1 1 auto;min-width:0;}
body.pghp-mobile-enabled > .phm-overlay .phm-favorite {color:#bf973d;font-size:16px;flex:0 0 auto;}
body.pghp-mobile-enabled > .phm-overlay .phm-check {display:none;color:#008f92;flex:0 0 20px;}
body.pghp-mobile-enabled > .phm-overlay .phm-choice.phm-selected .phm-check {display:flex;}
body.pghp-mobile-enabled > .phm-overlay .phm-check svg {width:20px;height:20px;}
body.pghp-mobile-enabled > .phm-overlay .phm-sheet-footer {
  flex:0 0 auto;
  padding:12px 0 max(10px,env(safe-area-inset-bottom,0px));
  border-top:1px solid #e6eff0;
}
body.pghp-mobile-enabled > .phm-overlay .phm-done {
  width:100%;min-height:51px;
  margin:0;padding:10px 14px;
  background:#162d32!important;
  color:#fff!important;
  border:0!important;border-radius:13px;
  font:850 14px/1.3 'Plus Jakarta Sans',system-ui,sans-serif!important;
  cursor:pointer;
}
body.pghp-mobile-enabled > .phm-overlay button:focus-visible {
  outline:3px solid rgba(8,178,177,.7) !important;outline-offset:2px;
}
@media (min-width:768px) and (max-width:1024px) {
  body.pghp-mobile-enabled > .phm-overlay {align-items:center;padding:30px;}
  body.pghp-mobile-enabled > .phm-overlay .phm-sheet {border-radius:24px;max-width:480px;max-height:min(80dvh,650px);padding-bottom:4px;}
}
@media (prefers-reduced-motion:reduce) {
  body.pghp-mobile-enabled .phm-root *, body.pghp-mobile-enabled > .phm-overlay * {
    animation:none !important;transition:none !important;scroll-behavior:auto !important;
  }
}


/* PAGLIACCIO MOBILE v1.1.0 - Reglas sobre la estructura ORIGINAL de Elementor.
 * WordPress sólo carga estos estilos en la portada pública.
 * No modificamos el background, background-position, min-height ni columnas del hero.
 */
@media screen and (max-width:1024px), screen and (min-width:768px) and (max-width:1366px) and (hover:none) and (pointer:coarse) {
  body.pghp-mobile-enabled .pagliaccio-hero-pro .phm-root .phm-tabs {
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:stretch !important;
    gap:3px !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:auto !important;
    overflow:hidden;
    position:relative !important;
  }
  body.pghp-mobile-enabled .pagliaccio-hero-pro .phm-root .phm-tab {
    flex:1 1 0% !important;
    width:0 !important;
    min-width:0 !important;
    max-width:none !important;
    float:none !important;
    display:flex !important;
    white-space:nowrap !important;
    font-size:clamp(10.5px,2.9vw,12.7px) !important;
    overflow:hidden;
    letter-spacing:-.02em;
    border-radius:9px !important;
  }
  body.pghp-mobile-enabled .pagliaccio-hero-pro .phm-root .phm-tab-indicator {
    position:absolute !important;
    left:0 !important;top:3px !important;bottom:3px !important;
    display:block !important;
    flex:none !important;
    z-index:0 !important;
    pointer-events:none !important;
  }
  body.pghp-mobile-enabled .pagliaccio-hero-pro .phm-root .phm-tabs .phm-tab[aria-pressed=true]{
    color:#fff !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .phm-location {color:#008f92 !important;}
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card p:first-child strong {
    color:#087c81 !important;
  }
  /* Ocultamos los adornos antiguos para tener UNA única flecha con tamaño real. */
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card .cta strong::after,
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card .cta strong::before {
    content:none !important;
    display:none !important;
    animation:none !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card .cta .phm-cue-icon {
    box-sizing:border-box !important;
    display:inline-flex !important;
    flex:0 0 29px !important;
    align-items:center !important;
    justify-content:center !important;
    width:29px !important;
    min-width:29px !important;
    max-width:29px !important;
    height:29px !important;
    min-height:29px !important;
    max-height:29px !important;
    overflow:hidden !important;
    margin:0 0 0 3px !important;
    padding:0 !important;
    vertical-align:middle;
    border:1px solid rgba(5,143,147,.27) !important;
    border-radius:999px !important;
    background:#f7fffe !important;
    color:#078f92 !important;
    box-shadow:0 3px 9px rgba(5,92,96,.10) !important;
    animation:phm-cue-lab 3.2s ease-in-out 1.1s infinite;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card .cta .phm-cue-icon svg.phm-icon-arrow {
    box-sizing:content-box !important;
    position:static !important;
    display:block !important;
    flex:0 0 18px !important;
    width:18px !important;
    max-width:18px !important;
    min-width:18px !important;
    height:18px !important;
    max-height:18px !important;
    min-height:18px !important;
    transform:none !important;
    stroke:currentColor !important;
    stroke-width:2.7 !important;
    margin:0 !important;
    padding:0 !important;
  }
  @keyframes phm-cue-lab {
    0%,15%,65%,100%{transform:translate3d(0,0,0);}
    31%{transform:translate3d(0,3px,0);}
    46%{transform:translate3d(0,0,0);}
  }
  /* Distancia de lectura: título, mensaje y formulario como una sola composición. */
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-646b15e {
    margin-bottom:clamp(20px,3.8vw,26px) !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card {
    max-width:100% !important;
    padding:1px 0 1px 11px !important;
    border-left:2px solid rgba(8,178,177,.67) !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card p {
    line-height:1.52 !important;
    letter-spacing:-.013em;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card p + p {
    margin-top:10px !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card .cta strong {
    display:inline-flex !important;
    align-items:center !important;
    gap:7px !important;
    flex-wrap:wrap;
    font-weight:850 !important;
    color:#17343b !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .pagliaccio-hero-search.phm-live {
    margin-top:25px !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-search-panel {
    padding:8px !important;
    border-radius:15px !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-tabs {
    margin-bottom:7px !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-tabs .phm-tab {min-height:43px !important;}
  body.pghp-mobile-enabled .phm-root .phm-fields {
    gap:6px !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-field {
    min-height:63px !important;
    padding:5px 9px 4px !important;
    gap:1px !important;
    justify-content:center !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-label {
    font-size:clamp(9px,2.3vw,10.7px) !important;
    line-height:1.25 !important;
    letter-spacing:.035em !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-field-button {
    min-height:44px !important;
    font-size:clamp(11px,3.1vw,13px) !important;
    gap:3px !important;
    line-height:1.3 !important;
    padding:0 !important;
    align-items:center !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-field-button svg {
    width:12px !important;height:12px !important;flex:0 0 12px !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-submit {
    margin-top:8px !important;
    min-height:48px !important;
    border-radius:11px !important;
    font-size:clamp(12.5px,3vw,14px) !important;
    box-shadow:0 7px 16px rgba(0,143,146,.16) !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-submit:active {
    transform:translateY(1px);
  }
  /* Mantener la sombra y el protagonismo que tiene el buscador desktop. */
  body.pghp-mobile-enabled .phm-root .phm-search-panel {
    box-shadow:0 10px 24px rgba(9,34,43,.11),0 1px 3px rgba(9,34,43,.045) !important;
  }
}
@media screen and (max-width:767px) {
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro h1.elementor-heading-title {
    font-size:clamp(27px,7.8vw,35px) !important;
    line-height:1.095 !important;
    letter-spacing:-.053em !important;
    font-weight:850 !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card p {
    font-size:clamp(12.7px,3.46vw,14.2px) !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .pagliaccio-hero-search.phm-live {
    margin-top:22px !important;
  }
}
@media screen and (max-width:350px) {
  body.pghp-mobile-enabled .phm-root .phm-field {
    padding-inline:7px !important;
  }
  body.pghp-mobile-enabled .phm-root .phm-label{font-size:8.8px!important;}
  body.pghp-mobile-enabled .phm-root .phm-field-button{font-size:11px!important;}
}
@media (prefers-reduced-motion:reduce) {
  body.pghp-mobile-enabled .pagliaccio-hero-pro .phm-cue-icon {animation:none !important;transform:none !important;}
}

/* 1.1.2: stronger MENU perimeter, matching desktop Hero Pro 0.7.8.
   Purely decorative; preserves the panel dimensions and touch targets. */
@property --phm111-border-angle {
  syntax:"<angle>";
  inherits:false;
  initial-value:0deg;
}
@keyframes phm111-border-lap {
  from {--phm111-border-angle:0deg;}
  to {--phm111-border-angle:360deg;}
}
@media (max-width:1024px), (min-width:768px) and (max-width:1366px) and (hover:none) and (pointer:coarse) {
  body.pghp-mobile-enabled.pghp-mobile-active .phm-root .phm-search-panel {
    position:relative;
    isolation:isolate;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .phm-root .phm-search-panel::before {
    content:'';
    position:absolute;
    inset:0;
    border-radius:inherit;
    padding:3px;
    pointer-events:none;
    background:conic-gradient(from var(--phm111-border-angle),
      rgba(8,178,177,.09) 0deg,
      rgba(8,178,177,.09) 135deg,
      rgba(8,178,177,.55) 155deg,
      #08B2B1 174deg,
      #d5fffc 187deg,
      #08B2B1 202deg,
      rgba(8,178,177,.80) 225deg,
      rgba(8,178,177,.09) 252deg,
      rgba(8,178,177,.09) 360deg);
    -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
    mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    mask-composite:exclude;
    opacity:1;
    z-index:1;
    animation:phm111-border-lap 4s linear infinite;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.pghp-mobile-enabled.pghp-mobile-active .phm-root .phm-search-panel::before {
    animation:none !important;
    opacity:.6 !important;
  }
}

/* 1.1.4: tablet-only composition. Never applies to phones or mouse desktops. */
@media (min-width:768px) and (max-width:1024px),
       (min-width:768px) and (max-width:1366px) and (hover:none) and (pointer:coarse) {
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-0ed07cb {
    background:#f5f7f7 !important;
    border-radius:24px !important;
    min-height:0 !important;
    padding:28px !important;
    overflow:hidden;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-0ed07cb > .elementor-background-overlay {
    display:none !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-0ed07cb > .elementor-container {
    display:grid !important;grid-template-columns:minmax(0,1fr) !important;
    gap:26px !important;align-items:stretch !important;
    width:100% !important;max-width:none !important;min-height:0 !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-5b9d6dd {
    width:100% !important;min-width:0 !important;max-width:none !important;
    margin:0 !important;padding:0 !important;align-self:start;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-5b9d6dd > .elementor-widget-wrap {
    display:flex !important;flex-direction:column !important;align-content:stretch !important;
    align-items:stretch !important;justify-content:flex-start !important;
    gap:0 !important;padding:0 !important;min-width:0 !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-646b15e,
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-e370353 {
    width:100% !important;max-width:none !important;min-width:0 !important;
    margin:0 0 20px !important;padding:0 !important;text-align:left !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro h1.elementor-heading-title {
    font-size:clamp(30px,3.7vw,38px) !important;line-height:1.12 !important;
    letter-spacing:-.045em !important;margin:0 !important;
    color:#141b20 !important;text-align:left !important;
    overflow-wrap:normal !important;word-break:normal !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card {
    max-width:100% !important;padding-left:14px !important;
    margin:0 !important;background:transparent !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .micro-card p {
    color:#4c595e !important;font-size:14px !important;line-height:1.6 !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .pagliaccio-hero-search.phm-live {
    position:relative !important;margin:4px 0 0 !important;
    width:100% !important;max-width:none !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .phm-root {
    width:100% !important;max-width:none !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-b019e10 {
    width:100% !important;min-width:0 !important;min-height:280px !important;
    aspect-ratio:16 / 9;margin:0 !important;padding:0 !important;
    border-radius:18px !important;
    background-image:var(--phm-tablet-photo) !important;
    background-color:#e6ecec !important;background-size:cover !important;
    background-position:center 38% !important;background-repeat:no-repeat !important;
    overflow:hidden;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-b019e10 > .elementor-widget-wrap {
    display:none !important;
  }
}
@media (min-width:901px) and (max-width:1024px),
       (min-width:901px) and (max-width:1366px) and (hover:none) and (pointer:coarse) {
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-0ed07cb > .elementor-container {
    grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) !important;gap:24px !important;
  }
  body.pghp-mobile-enabled.pghp-mobile-active .pagliaccio-hero-pro .elementor-element-b019e10 {
    aspect-ratio:auto;min-height:100% !important;
    background-position:85% center !important;
  }
}
