/* Hero superior de home */

/* --- Contenedor de Texto Buscador --- */
.zona-texto-buscador {
   text-align: center;
   color: #ffffff;
   font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
   padding: 2rem 1rem;
   box-sizing: border-box;
}

.zona-texto-buscador *,
.zona-texto-buscador *::before,
.zona-texto-buscador *::after {
   box-sizing: border-box;
}

/* --- Badge Superior --- */
.sys-status-badge {
   background: rgba(0, 0, 0, 0.3);
   border: 1px solid rgba(255, 255, 255, 0.08);
   padding: 8px 16px;
   border-radius: 50px;
   display: inline-flex;
   align-items: center;
   gap: 10px;
   margin: 0 auto 1rem auto;
}

.sys-pulse-dot {
   width: 8px;
   height: 8px;
   background-color: #c4ff00;
   border-radius: 50%;
   animation: sysPulse 2s infinite;
}

.sys-text {
   font-size: 0.85rem;
   color: rgba(255, 255, 255, 0.5);
   letter-spacing: 0.5px;
   font-weight: 300;
}

@keyframes sysPulse {
   0% {
      transform: scale(0.9);
      opacity: 0.5;
      box-shadow: 0 0 0 0 rgba(196, 255, 0, 0.6);
   }
   70% {
      transform: scale(1);
      opacity: 1;
      box-shadow: 0 0 0 10px rgba(196, 255, 0, 0);
   }
   100% {
      transform: scale(0.9);
      opacity: 0.5;
      box-shadow: 0 0 0 0 rgba(196, 255, 0, 0);
   }
}

/* --- Título Principal --- */
.main-title {
   font-size: clamp(2.5rem, 6vw, 4.5rem);
   font-weight: 700;
   text-transform: uppercase;
   line-height: 1.1;
   margin: 0 0 1rem 0;
   letter-spacing: -0.5px;
   color: #ffffff;
}

.text-warning {
   color: #f7b500;
}

/* --- Subtítulo --- */
.lead-subtitle {
   font-size: clamp(0.95rem, 2vw, 1.05rem);
   color: rgba(255, 255, 255, 0.5);
   font-weight: 300;
   line-height: 1.5;
   margin: 0;
   max-width: 600px;
   margin-left: auto;
   margin-right: auto;
}

/* --- Botón Premium MOBI --- */
.mobi-btn-premium {
   display: inline-flex;
   align-items: center;
   gap: 12px;
   padding: 18px 36px;
   background-color: #f7b500;
   color: #440412;
   font-family: 'Montserrat', sans-serif;
   font-size: 1.05rem;
   font-weight: 700;
   text-decoration: none;
   border: none;
   border-radius: 9999px;
   cursor: pointer;
   position: relative;
   z-index: 1;
   box-shadow:
      0 4px 15px rgba(247, 181, 0, 0.3),
      0 1px 3px rgba(0, 0, 0, 0.1);
   transition:
      background-color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
      color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
      transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
      box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
   animation: dynamicGlow 3s ease-in-out infinite;
}

.mobi-btn-premium__icon {
   font-size: 1rem;
   transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dynamicGlow {
   0%, 100% {
      box-shadow:
         0 4px 15px rgba(247, 181, 0, 0.3),
         0 1px 3px rgba(0, 0, 0, 0.1);
   }
   50% {
      box-shadow:
         0 4px 25px rgba(247, 181, 0, 0.4),
         0 8px 40px rgba(247, 181, 0, 0.7),
         0 1px 3px rgba(0, 0, 0, 0.1);
   }
}

.mobi-btn-premium:hover {
   background-color: #ffffff;
   color: #440412;
   transform: translateY(-3px);
   box-shadow:
      0 8px 25px rgba(247, 181, 0, 0.4),
      0 12px 35px rgba(68, 4, 18, 0.15);
   animation: none;
}

.mobi-btn-premium:hover .mobi-btn-premium__icon {
   transform: rotate(-15deg) scale(1.15);
}

.mobi-btn-premium:active {
   transform: translateY(-1px) scale(0.98);
   box-shadow:
      0 2px 10px rgba(247, 181, 0, 0.3),
      0 1px 3px rgba(0, 0, 0, 0.1);
   transition-duration: 0.1s;
}

.mobi-btn-premium:focus-visible {
   outline: 3px solid #440412;
   outline-offset: 3px;
}

/* Keyframes for Animated SVG Background */
@keyframes techGlowFlow {
   from { stroke-dashoffset: 200; }
   to { stroke-dashoffset: 0; }
}

@keyframes techAccentFlow {
   from { stroke-dashoffset: 120; }
   to { stroke-dashoffset: 0; }
}

@keyframes techPulseRing {
   0%, 100% { r: 10; opacity: 0.15; }
   50% { r: 20; opacity: 0.7; }
}

@keyframes techDotPulse {
   0%, 100% { r: 3; opacity: 0.4; }
   50% { r: 6; opacity: 1; }
}

/* SVG Background Styling */
.tech-svg-background {
   position: absolute;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   z-index: 1;
   opacity: 0.55;
}

.home-shell {
   position: relative;
   overflow: hidden;
}

.home-shell::before {
   content: '';
   position: absolute;
   inset: 0 0 auto 0;
   height: 360px;
   background: transparent;
   z-index: 0;
}

.home-shell .container-xl {
   position: relative;
   z-index: 1;
}

.hero-home {
   margin-bottom: 4.6rem;
}

.hero-subtitle {
   color: rgba(255, 255, 255, 0.76);
   font-size: clamp(1rem, 1.45vw, 1.32rem);
   font-weight: 400;
}

/* Buscador Home - versión skylet */
.skylet-container {
   margin-top: -100px;
   position: relative;
   z-index: 20;
}

.skylet-ia-wrap {
   position: relative;
   border-radius: 24px;
   padding: 2.5px;
   background: rgba(171, 10, 61, 0.27);
   overflow: hidden;
   box-shadow: 0 8px 30px rgba(68, 4, 18, 0.12), 0 0 20px rgba(0, 0, 0, 0.1), 0 0 40px rgba(171, 10, 61, 0.08);
   transition: box-shadow 0.45s ease, transform 0.2s ease;
}

/* Gradiente cónico que gira — borde holográfico */
.skylet-ia-wrap::before {
   content: '';
   position: absolute;
   inset: -80%;
   background: conic-gradient(
       from 0deg,
       transparent 0deg,
       transparent 55deg,
       rgba(255, 0, 0, 0.75) 80deg,
       rgba(171, 10, 61, 0.95) 115deg,
       rgba(68, 4, 18, 0.9) 150deg,
       rgba(171, 10, 61, 0.85) 185deg,
       rgba(255, 0, 0, 0.75) 220deg,
       rgba(68, 4, 18, 0.65) 255deg,
       transparent 285deg,
       transparent 360deg
   );
   animation:
       siriSpin 7s linear infinite,
       siriBreath 5s ease-in-out infinite;
   z-index: 0;
   border-radius: 0;
   opacity: 0.35;
   transition: opacity 0.45s ease;
}

.skylet-card {
   position: relative;
   z-index: 1;
   background: #ffffff;
   border-radius: 22px;
   padding: 26px 30px;
}

.border-end-md {
   border-right: 0;
}

.skylet-label {
   padding: 0 0 7px 7px;
   font-size: 1.7rem;
   font-weight: 800;
   color: #440412;
   line-height: 1.2;
}

.input-wrapper {
   position: relative;
   width: 100%;
}

.skylet-input {
   border-radius: 12px;
   border: 1px solid #f0e4e7 !important;
   height: 53px;
   transition: all 0.3s ease;
   padding: 10px 12px !important;
   background-color: #fafafa !important;
   box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px !important;
   font-size: 1rem !important;
   color: #334155;
}

.skylet-input:focus {
   outline: none;
   box-shadow: 0 0 0 3px rgba(68, 4, 18, 0.2) !important;
   border-color: #cf0000 !important;
}

.skylet-input::placeholder {
   color: #64748b;
   font-size: 0.93rem;
   font-weight: 400;
   background-color: #fafafa;
   padding: 0 3px;
}

.skylet-field-block {
   padding: 8px 12px;
}

.btn-search-skylet {
   background: linear-gradient(135deg, #440412 0%, #8b1238 100%);
   width: 52px;
   height: 52px;
   border-radius: 50%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border: none;
   cursor: pointer;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
   box-shadow: 0 4px 14px rgba(68, 4, 18, 0.3);
}

.btn-search-skylet:hover {
   transform: scale(1.06);
   box-shadow: 0 6px 20px rgba(68, 4, 18, 0.4);
}

.mobile-search-container {
   position: absolute !important;
   right: 5px !important;
   top: 50% !important;
   transform: translateY(-50%);
   z-index: 20;
}

.skylet-filters {
   border-top: 1px solid #f0e4e7;
   padding-top: 21px;
   margin-top: 10px;
   display: flex;
   align-items: center;
   gap: 8px;
   overflow-x: auto;
   overflow-y: hidden;
   -webkit-overflow-scrolling: touch;
   scrollbar-width: none;
   justify-content: center;
}

.skylet-filters::-webkit-scrollbar {
   display: none;
}

.skylet-filter-chip {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 7px 16px;
   background: transparent;
   border: 1px solid #e2e2e8;
   border-radius: 50px;
   font-size: 0.76rem;
   font-weight: 400;
   color: #64748b;
   cursor: pointer;
   white-space: nowrap;
   transition: all 0.22s ease;
   user-select: none;
   flex-shrink: 0;
}

.skylet-filter-chip:hover {
   border-color: #440412;
   color: #440412;
}

.skylet-filter-chip.selected {
   background: #440412;
   border-color: #440412;
   color: #fff;
}

.skylet-filter-chip.selected i {
   color: #f7b500;
}

.list-title {
   font-size: 1.75rem;
   color: #1f2937;
   text-transform: uppercase;
   letter-spacing: 0.015em;
   line-height: 1.18;
   margin-bottom: 0.7rem;
}

.list-panel {
   background: #ffffff;
   /* border: 1px solid rgba(215, 220, 228, 0.95); */
   max-width: 100%;
   margin-left: auto;
   margin-right: auto;
}

.list-subtitle {
   color: #5b6777;
   font-size: 0.95rem;
   line-height: 1.5;
}

.list-divider {
   height: 1px;
   background: rgba(161, 171, 185, 0.3);
   margin-bottom: 0.35rem;
}

@media (min-width: 768px) {
   .border-end-md {
      border-right: 1px solid #f0e4e7;
   }
}

@media (max-width: 992px) {
   .home-shell::before {
      height: 325px;
   }

   .hero-home {
      margin-bottom: 4rem;
   }

   .list-title {
      font-size: 1.45rem;
   }

   .list-subtitle {
      font-size: 0.9rem;
   }

   .skylet-label {
      font-size: 1.45rem;
   }
}

@media (max-width: 576px) {
   .home-shell::before {
      height: 300px;
   }

   .hero-home {
      margin-bottom: 3.25rem;
   }

   .main-title {
      font-size: 2.25rem;
   }

   .skylet-container {
      margin-top: -60px;
   }

   .skylet-card {
      padding: 18px 16px;
      border-radius: 18px;
   }

   .skylet-ia-wrap {
      border-radius: 20px;
   }

   .skylet-label {
      font-size: 1.1rem;
   }

   .skylet-input {
      padding-right: 60px !important;
   }

   .skylet-field-block {
      border-right: none !important;
      padding: 0;
   }

   .mobile-search-btn {
      width: 42px;
      height: 42px;
   }

   .skylet-filters {
      justify-content: flex-start;
      padding-bottom: 4px;
   }

   .list-title {
      font-size: 1.35rem;
   }

   .list-subtitle {
      font-size: 0.9rem;
      margin-bottom: 0.55rem;
   }
}

@keyframes siriSpin {
   to { transform: rotate(360deg); }
}

@keyframes siriBreath {
   0%, 100% { opacity: 0.3; }
   50% { opacity: 0.75; }
}

/* 
   plataformas adicionales en Home Ventanilla
 */

.pltf-section {
    --pltf-guinda: #440412;
    --pltf-guinda-2: #6b0a24;
    --pltf-vino: #AB0A3D;
    --pltf-oro: #f7b500;
    --pltf-tinta: #3b3b40;
    --pltf-verde: #198754;
}

.pltf-description {
    font-size: 0.95rem;
}

.pltf-text-green {
    color: #14784B;
}

.pltf-acc {
    border: 1px solid rgba(68, 4, 18, 0.10);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(68, 4, 18, 0.08);
    transition: box-shadow 0.25s ease;
}

.pltf-acc.is-open {
    box-shadow: 0 16px 44px rgba(68, 4, 18, 0.16);
}

.pltf-acc-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border: 0;
    text-align: left;
    cursor: pointer;
    background: linear-gradient(
        135deg,
        var(--pltf-guinda) 0%,
        var(--pltf-guinda-2) 100%
    );
    color: #fff;
    position: relative;
}

.pltf-acc-head::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--pltf-oro);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(.25, 1, .5, 1);
}

.pltf-acc.is-open .pltf-acc-head::after {
    transform: scaleX(1);
}

.pltf-acc-brand {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--pltf-guinda);
}

.pltf-acc-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
}

.pltf-acc-titles {
    flex: 1;
    min-width: 0;
}

.pltf-acc-title {
    display: block;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.3;
}

.pltf-acc-sub {
    display: block;
    font-size: 0.74rem;
    font-weight: 500;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.62);
}

.pltf-acc-chev {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.74rem;
    color: #fff;
    transition:
        transform 0.3s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.pltf-acc.is-open .pltf-acc-chev {
    transform: rotate(180deg);
    background: var(--pltf-oro);
    color: var(--pltf-guinda);
    border-color: var(--pltf-oro);
}

.pltf-acc-panel {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition:
        max-height 0.38s cubic-bezier(.25, 1, .5, 1),
        visibility 0s linear 0.38s;
}

.pltf-acc.is-open .pltf-acc-panel {
    visibility: visible;
    transition:
        max-height 0.38s cubic-bezier(.25, 1, .5, 1),
        visibility 0s;
}

.pltf-acc-inner {
    padding: 12px 14px 20px;
}

.pltf-list {
    position: relative;
}

.pltf-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--pltf-guinda);
    border: 1px solid transparent;
    position: relative;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.pltf-item::after {
    content: '';
    position: absolute;
    left: 68px;
    right: 14px;
    bottom: 0;
    height: 1px;
    background: rgba(68, 4, 18, 0.07);
}

.pltf-list .pltf-item:last-child::after {
    display: none;
}

.pltf-item:hover {
    background: #fff7f9;
    border-color: rgba(171, 10, 61, 0.22);
    transform: translateX(4px);
}

.pltf-item-ico {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(68, 4, 18, 0.06);
    color: var(--pltf-vino);
    font-size: 0.92rem;
}

.pltf-item:hover .pltf-item-ico {
    background: var(--pltf-guinda);
    color: var(--pltf-oro);
}

.pltf-item-txt {
    flex: 1;
    min-width: 0;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--pltf-tinta);
}

.pltf-item-go {
    flex: 0 0 auto;
    color: var(--pltf-vino);
    font-size: 0.72rem;
    opacity: 0.35;
    transform: translateX(-4px);
    transition: all 0.2s ease;
}

.pltf-item:hover .pltf-item-go {
    opacity: 1;
    transform: translateX(0);
}

.pltf-acc-foot {
    padding: 16px 14px 4px;
}

.pltf-acc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid var(--pltf-guinda);
    color: var(--pltf-guinda);
    background: transparent;
    transition: all 0.2s ease;
}

.pltf-acc-cta:hover {
    background: var(--pltf-guinda);
    color: var(--pltf-oro);
}

.pltf-acc-nota {
    display: block;
    margin-top: 12px;
    font-size: 0.69rem;
    color: #8a8a92;
    text-align: center;
}

.pltf-banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        var(--pltf-guinda) 0%,
        var(--pltf-guinda-2) 100%
    );
    color: #fff;
    box-shadow: 0 10px 34px rgba(68, 4, 18, 0.18);
}

.pltf-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--pltf-oro);
}

.pltf-banner-inner {
    padding: 26px 22px;
}

.pltf-banner-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pltf-oro);
}

.pltf-banner-title {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.32;
    color: #fff;
}

.pltf-banner-txt {
    font-size: 0.86rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.pltf-banner-dato {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.6);
    word-break: break-word;
}

.pltf-banner-dato strong {
    color: rgba(255, 255, 255, 0.88);
}

.pltf-banner-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    background: var(--pltf-oro);
    color: var(--pltf-guinda);
    border: 1.5px solid var(--pltf-oro);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.pltf-banner-cta:hover {
    background: #ffc82e;
    border-color: #ffc82e;
    color: var(--pltf-guinda);
    transform: translateY(-2px);
}

.pltf-banner-cta--linea {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.pltf-banner-cta--linea:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

@media (min-width: 992px) {
    .pltf-list--2col {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
    }

    .pltf-list--2col .pltf-item:nth-last-child(-n+2)::after {
        display: none;
    }

    .pltf-banner-inner {
        padding: 34px 36px;
    }

    .pltf-banner-title {
        font-size: 1.45rem;
    }
}

@media (max-width: 575.98px) {
    .pltf-acc-title {
        font-size: 0.9rem;
    }

    .pltf-item-txt {
        font-size: 0.81rem;
    }

    .pltf-acc-head {
        padding: 17px 16px;
        gap: 13px;
    }

    .pltf-acc-brand {
        flex: 0 0 50px;
        width: 50px;
        height: 50px;
    }

    .pltf-acc-brand img {
        width: 40px;
        height: 40px;
    }
}