/* ============================================================
   Hestia — override de marca sobre la plantilla Handyfix.
   Recolorea el tema a navy #0B1F3A + dorado #C8A24A y ajusta
   detalles propios (logo, botón WhatsApp, menú móvil).
   Cargar SIEMPRE después de handyfix.css.
   ============================================================ */

:root {
  --handyfix-base: #0B1F3A;
  --handyfix-base-rgb: 11, 31, 58;
  --handyfix-primary: #C8A24A;
  --handyfix-primary-rgb: 200, 162, 74;
  --handyfix-secondary: #C8A24A;
  --handyfix-secondary-rgb: 200, 162, 74;
  --handyfix-secondary2: #b9912f;
  --handyfix-secondary2-rgb: 185, 145, 47;
}

/* Botón dorado con texto navy legible */
.handyfix-btn--primary { color: #0B1F3A; font-weight: 700; }
.handyfix-btn--primary:hover { color: #fff; }

/* ---- Header / logo ---- */
.main-header { background: #fff !important; box-shadow: 0 2px 18px rgba(11,31,58,.06); position: sticky; top: 0; z-index: 990; transition: background .35s ease, box-shadow .35s ease, padding .35s ease; }
.main-header__inner { padding: 14px 0; transition: padding .35s ease; }
/* Estado al hacer scroll: encoge + glass tipo iPhone (blanco translúcido + blur) */
.main-header.is-stuck {
  background: rgba(255, 255, 255, 0.57) !important;
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}
/* "Light" al hacer scroll ≈ 50% de la altura original (86px → ~42px) */
/* CLAVE: la altura la marcan los enlaces (padding 40px arriba/abajo). Se reduce en scroll. */
.main-header.is-stuck .main-menu .main-menu__list > li { padding-top: 12px; padding-bottom: 12px; }
.main-menu .main-menu__list > li { transition: padding .35s ease; }
.main-header.is-stuck .main-header__inner { padding: 4px 0; }
.main-header.is-stuck .main-header__logo img { height: 28px; }
.main-header.is-stuck .brand-text strong { font-size: 15px; }
.main-header.is-stuck .brand-text small { display: none; }  /* ocultar subtítulo en scroll */
/* El ícono de teléfono (55px) es el más alto: hay que encogerlo también */
.main-header__call__icon { transition: width .35s ease, height .35s ease, font-size .35s ease; }
.main-header.is-stuck .main-header__call__icon { width: 30px; height: 30px; font-size: 13px; }
/* Ocultar la etiqueta "¿Necesitas ayuda?" en scroll (deja solo el número) */
.main-header.is-stuck .main-header__call__content span { display: none; }
.main-header.is-stuck .main-header__call__content a { font-size: 14px; }

/* Cursor personalizado: ocultar en dispositivos táctiles */
@media (hover: none), (pointer: coarse) { .custom-cursor__cursor, .custom-cursor__cursor-two { display: none !important; } }
.main-header__logo { display: flex; align-items: center; gap: 12px; }
.main-header__logo img { width: auto; height: 58px; transition: height .35s ease; }
.main-header__logo .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.main-header__logo .brand-text strong { font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; font-size: 20px; letter-spacing: .18em; color: #0B1F3A; }
.main-header__logo .brand-text small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #C8A24A; }

/* ---- Escena con video scroll-scrub (fotogramas) ---- */
.scene { position: relative; }
.scene__bg { position: absolute; inset: 0; z-index: 0; }
.scene__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #f4f5f7; }
.scene__canvas { display: block; width: 100%; height: 100%; }
/* Scrim para legibilidad del texto sobre el video (más blanco a la izquierda) */
.scene__scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.45) 42%, rgba(255,255,255,.08) 70%, rgba(255,255,255,0) 100%); }
.scene__content { position: relative; z-index: 1; }
/* Fundido del video a blanco en la parte inferior (transición suave a la sección Nosotros) */
.scene__sticky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32vh; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .85) 70%, #fff 100%); pointer-events: none; z-index: 3; }
/* Las secciones de la escena van transparentes para ver el video detrás */
.scene__content .hero2,
.scene__content .about-one { background: transparent !important; }
/* Borde/halo blanco sutil en los textos sobre el video, para contraste */
.scene__content .hero2__title,
.scene__content .hero2__text,
.scene__content .about-one .sec-title__title,
.scene__content .about-one .sec-title__tagline,
.scene__content .about-one__text {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 16px rgba(255, 255, 255, 0.75);
}

/* ---- Hero personalizado (fiable, sin owl/parallax) ---- */
.hero2 { position: relative; background: transparent; color: #0B1F3A; min-height: 100vh; display: flex; align-items: center; padding: 110px 0 60px; }
.hero2__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero2__inner--solo { grid-template-columns: 1fr; max-width: 720px; margin-left: 6%; margin-right: auto; }
.hero2__content { text-align: left; }
/* Evita el "scroll anchoring" que provoca el parpadeo del header al encoger */
html, body { overflow-anchor: none; }

/* Segundo panel de la escena: vacío, solo da scroll para que el video avance */
.scene__spacer { height: 100vh; }
/* Nosotros ya NO va sobre el video: fondo propio */
.about-one { background: #fff; position: relative; z-index: 1; }
/* ---- Quiénes somos: video fijo (izq) + bloques revelados por pasos (der) ---- */
.about-scene { position: relative; background: #fff; }
/* Cuadro del video: ocupa todo el lado izquierdo (600x329 en escritorio) */
.about-media { width: 100%; aspect-ratio: 600 / 329; background: #fff; }
.about-media__canvas { display: block; width: 100%; height: 100%; }

/* Bloques de la derecha: ocultos hasta que aparecen con el scroll (solo con JS).
   La regla de "visible" debe igualar/superar la especificidad de la de "oculto". */
.about-scene.js-reveal .about-reveal { opacity: 0; transform: translateY(28px); }
.about-scene.js-reveal .about-reveal.is-in { opacity: 1; transform: none; }
.about-reveal { transition: opacity .7s ease, transform .7s ease; }

/* Misión / Visión / Filosofía como filas con icono */
.about-mvf { display: flex; gap: 18px; align-items: flex-start; }
.about-mvf__icon {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200, 162, 74, .12); color: #C8A24A; font-size: 18px;
}
.about-mvf__t { font-family: var(--handyfix-heading-font, "Rajdhani"); color: #0B1F3A; font-size: 20px; margin: 4px 0 6px; }
.about-mvf__d { color: #616670; font-size: 15px; line-height: 1.7; margin: 0; }

/* Botones de acción */
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Explorador de servicios (tabs: clic en un servicio y ves su detalle) ---- */
.service-one .sec-title__text { color: #616670; margin-top: 8px; max-width: 560px; }
.svcx { display: grid; grid-template-columns: minmax(250px, 310px) 1fr; gap: 26px; align-items: start; margin-top: 30px; }

/* Lista de servicios */
.svcx__tabs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 96px; }
.svcx__tab { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: #fff; border: 1px solid #ece8da; border-radius: 12px; padding: 12px 14px;
  cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  color: #0B1F3A; font-weight: 600; font-size: 14.5px; font-family: inherit; }
.svcx__tab:hover { border-color: #C8A24A; box-shadow: 0 6px 18px rgba(11, 31, 58, .07); }
.svcx__tab__icon { flex: none; width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: rgba(200, 162, 74, .12); color: #C8A24A; font-size: 16px; transition: background .25s ease, color .25s ease; }
.svcx__tab__name { flex: 1; line-height: 1.25; }
.svcx__tab__arrow { color: #c2c7d0; font-size: 12px; transition: color .25s ease, transform .25s ease; }
.svcx__tab.is-active { background: #0B1F3A; border-color: #0B1F3A; color: #fff; box-shadow: 0 14px 30px rgba(11, 31, 58, .22); }
.svcx__tab.is-active .svcx__tab__icon { background: #C8A24A; color: #0B1F3A; }
.svcx__tab.is-active .svcx__tab__arrow { color: #C8A24A; transform: translateX(2px); }

/* Panel del servicio activo */
.svcx__panel { background: #fff; border: 1px solid #ece8da; border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 31, 58, .08); animation: svcxFade .4s ease; }
@keyframes svcxFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.svcx__media { position: relative; aspect-ratio: 16 / 7; background: #f4f5f7; }
.svcx__media img { width: 100%; height: 100%; object-fit: cover; }
.svcx__media__badge { position: absolute; left: 22px; bottom: -22px; width: 52px; height: 52px; border-radius: 13px;
  background: #C8A24A; color: #0B1F3A; display: flex; align-items: center; justify-content: center; font-size: 22px;
  box-shadow: 0 10px 24px rgba(200, 162, 74, .4); }
.svcx__content { padding: 32px 26px 26px; }
.svcx__title { font-family: var(--handyfix-heading-font, "Rajdhani"); color: #0B1F3A; font-size: 26px; margin: 0 0 8px; }
.svcx__resumen { color: #616670; font-size: 15px; line-height: 1.7; margin: 0 0 22px; }
.svcx__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; }
.svcx__block h5 { font-family: var(--handyfix-heading-font, "Rajdhani"); color: #0B1F3A; font-size: 15px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid rgba(200, 162, 74, .3); }
.svcx__block ul { list-style: none; margin: 0; padding: 0; }
.svcx__block li { position: relative; padding-left: 16px; color: #5a6573; font-size: 13.5px; line-height: 1.55; margin-bottom: 5px; }
.svcx__block li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #C8A24A; }

/* Móvil/tablet: tabs en fila con scroll horizontal, panel debajo */
@media (max-width: 991.98px) {
  .svcx { grid-template-columns: 1fr; gap: 18px; }
  .svcx__tabs { flex-direction: row; overflow-x: auto; position: static; gap: 10px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .svcx__tab { width: auto; flex: none; white-space: nowrap; }
  .svcx__tab__arrow { display: none; }
  .svcx__blocks { grid-template-columns: 1fr; }
}

/* ---- Subsecciones (compactar 2 bloques en 1 sección) ---- */
.subsec { margin-top: 46px; padding-top: 34px; border-top: 1px solid #ece8da; }
.subsec__title { font-family: var(--handyfix-heading-font, "Rajdhani"); color: #0B1F3A; font-size: 18px; font-weight: 700; margin: 0 0 18px; }
.subsec__title span { color: #C8A24A; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }

/* Diferenciadores (chips con check) */
.difs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 26px; }
.difs__item { display: flex; align-items: center; gap: 11px; color: #0B1F3A; font-weight: 600; font-size: 14.5px; }
.difs__item i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(200, 162, 74, .14); color: #C8A24A; display: flex; align-items: center; justify-content: center; font-size: 11px; }

/* Metodología (pasos numerados) */
.metodo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.metodo__step { display: flex; gap: 14px; align-items: flex-start; background: #f7f4ec; border-radius: 12px; padding: 16px 16px 16px 14px; border-left: 3px solid #C8A24A; }
.metodo__num { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #C8A24A; color: #0B1F3A; font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.metodo__step h5 { font-family: var(--handyfix-heading-font, "Rajdhani"); color: #0B1F3A; font-size: 15px; margin: 2px 0 4px; }
.metodo__step p { color: #616670; font-size: 13px; line-height: 1.55; margin: 0; }

@media (max-width: 991px) {
  .difs { grid-template-columns: 1fr 1fr; }
  .metodo { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .difs { grid-template-columns: 1fr; }
  .metodo { grid-template-columns: 1fr; }
}

/* --- Escritorio: el video se queda fijo mientras el texto se desplaza --- */
@media (min-width: 992px) {
  .about-scene__leftcol { padding-left: 0; padding-right: 0; }
  .about-scene__rightcol { padding-left: 48px; }
  .about-media { position: sticky; top: clamp(96px, 22vh, 240px); }
  /* Espaciado amplio: da recorrido de scroll para un revelado pausado, paso a
     paso, mientras el video (fijo a la izquierda) avanza. */
  .about-scene__rightcol > .about-reveal { margin-bottom: 130px; }
  .about-scene__rightcol > .about-reveal:first-child { padding-top: 8vh; }
  .about-scene__rightcol > .about-reveal:last-child { margin-bottom: 8vh; }
}

/* --- Móvil/tablet: apilado, sin fijar; los bloques igual aparecen al scroll --- */
@media (max-width: 991.98px) {
  .about-media { max-width: 520px; margin: 0 auto 36px; }
  .about-scene__rightcol > .about-reveal { margin-bottom: 32px; }
}
.hero2__tagline { font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: 14px; color: #b9912f; margin: 0 0 14px; }
.hero2__title { font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; color: #0B1F3A; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; margin: 0 0 18px; }
.hero2__text { color: #50607a; font-size: 18px; max-width: 560px; margin: 0 0 26px; }
.hero2__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero2 .handyfix-btn--border { color: #0B1F3A; border: 2px solid rgba(11,31,58,.35); }
.hero2 .handyfix-btn--border:hover { background: rgba(11,31,58,.06); }

/* ---- Botones de la 2ª sección (Nosotros) ---- */
.about-one__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.about-one__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.about-one .handyfix-btn--border { color: #0B1F3A; border: 2px solid rgba(11,31,58,.35); }
.about-one .handyfix-btn--border:hover { background: rgba(11,31,58,.06); color: #0B1F3A; }
.hero2__sello { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero2__sello li { font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: #0B1F3A; position: relative; padding-left: 18px; }
.hero2__sello li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #C8A24A; transform: translateY(-50%); }
.hero2__media { position: relative; }
.hero2__media img { position: relative; z-index: 2; width: 100%; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.45); aspect-ratio: 4/5; object-fit: cover; }
.hero2__media__ring { position: absolute; inset: -18px -18px auto auto; width: 160px; height: 160px; border: 6px solid rgba(200,162,74,.55); border-radius: 22px; z-index: 1; }
.hero2__media__badge { position: absolute; z-index: 3; left: -22px; bottom: 30px; background: #C8A24A; color: #0B1F3A; border-radius: 14px; padding: 14px 20px; box-shadow: 0 16px 36px rgba(0,0,0,.3); text-align: center; }
.hero2__media__badge strong { display: block; font-family: var(--handyfix-heading-font, "Rajdhani"); font-size: 30px; line-height: 1; }
.hero2__media__badge span { font-size: 12px; font-weight: 600; }
@media (max-width: 991px) {
  .hero2 { padding: 60px 0; }
  .hero2__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero2__media { max-width: 460px; }
}

/* ---- Hero original (sin uso) ---- */
.main-slider-one__title { color: #0B1F3A; }
.main-slider-one__thumb-one img { border-radius: 18px; object-fit: cover; }
.main-slider-one__sello { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.main-slider-one__sello li { font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: #0B1F3A; position: relative; padding-left: 18px; }
.main-slider-one__sello li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #C8A24A; transform: translateY(-50%); }

/* ---- Tarjetas de servicio: dejar visible el texto del item ---- */
.service-one__item__title { color: #0B1F3A; }

/* ---- Listas con check dorado (bloques de servicio detallado) ---- */
.hestia-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 30px; margin-top: 18px; }
.hestia-blocks h5 { font-family: var(--handyfix-heading-font, "Rajdhani"); text-transform: uppercase; letter-spacing: .06em; color: #0B1F3A; font-size: 16px; margin-bottom: 8px; }
.hestia-blocks ul { margin: 0; padding: 0; list-style: none; }
.hestia-blocks li { position: relative; padding-left: 24px; color: #616670; margin-bottom: 5px; font-size: 15px; }
.hestia-blocks li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: #C8A24A; font-size: 12px; }

/* ---- Detalle de servicio alterno (imagen + texto) ---- */
.hestia-serv { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; margin-bottom: 60px; }
.hestia-serv:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.hestia-serv:nth-child(even) .hestia-serv__media { order: 2; }
.hestia-serv__media { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(11,31,58,.18); aspect-ratio: 4/3; }
.hestia-serv__media img { width: 100%; height: 100%; object-fit: cover; }
.hestia-serv__title { font-family: var(--handyfix-heading-font, "Rajdhani"); color: #0B1F3A; font-size: 28px; font-weight: 700; margin-bottom: 10px; position: relative; padding-bottom: 12px; }
.hestia-serv__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: #C8A24A; border-radius: 2px; }

/* ---- Proveedores ---- */
.hestia-prov { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; list-style: none; padding: 0; }
.hestia-prov__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border: 1px solid #ece9df; border-radius: 14px; padding: 22px 12px;
  box-shadow: 0 6px 20px rgba(11, 31, 58, .06); position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.hestia-prov__item img { height: 44px; width: auto; max-width: 82%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .35s ease, opacity .35s ease, transform .35s ease; }
.hestia-prov__name { font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 800; color: #0B1F3A; font-size: 19px; height: 44px; display: flex; align-items: center; letter-spacing: .02em; }
.hestia-prov__label { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #9aa3af; font-weight: 700; transition: color .3s ease; }
.hestia-prov__item:hover { transform: translateY(-6px); box-shadow: 0 18px 42px rgba(11, 31, 58, .16); border-color: #C8A24A; }
.hestia-prov__item:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.07); }
.hestia-prov__item:hover .hestia-prov__name { color: #C8A24A; }
.hestia-prov__item:hover .hestia-prov__label { color: #C8A24A; }
/* destello al pasar el mouse */
.hestia-prov__item::after { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.hestia-prov__item:hover::after { left: 140%; }

/* ---- Proyectos (grid de tarjetas) ---- */
.hestia-proj { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hestia-proj__card { border-radius: 16px; overflow: hidden; background: #0B1F3A; box-shadow: 0 18px 48px rgba(11,31,58,.18); }
.hestia-proj__media { position: relative; aspect-ratio: 4/3; }
.hestia-proj__media img { width: 100%; height: 100%; object-fit: cover; }
/* Tarjeta con dos imágenes (p. ej. baño turco): cross-fade automático entre ambas */
.hestia-proj__media__alt { position: absolute; inset: 0; animation: projCrossfade 8s ease-in-out infinite; }
@keyframes projCrossfade { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hestia-proj__media__alt { animation: none; opacity: 1; } }
.hestia-proj__tag { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(11,31,58,.86); color: #e3c987; font-size: 12.5px; padding: 7px 11px; border-radius: 8px; }
.hestia-proj__card h4 { color: #fff; font-family: var(--handyfix-heading-font, "Rajdhani"); padding: 14px 16px 18px; font-size: 20px; margin: 0; }

/* ---- Sectores ---- */
.hestia-sect { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hestia-sect__card { background: #fff; border-left: 4px solid #C8A24A; border-radius: 12px; padding: 22px; box-shadow: 0 8px 24px rgba(11,31,58,.08); }
.hestia-sect__card h4 { font-family: var(--handyfix-heading-font, "Rajdhani"); color: #0B1F3A; margin: 0 0 6px; font-size: 19px; }
.hestia-sect__card p { color: #616670; margin: 0; font-size: 14.5px; }

/* ---- Contacto ---- */
.hestia-contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.hestia-contact__rows { display: grid; gap: 14px; }
.hestia-contact__row { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 8px 24px rgba(11,31,58,.08); color: #0B1F3A; transition: transform .15s; }
.hestia-contact__row:hover { transform: translateX(4px); }
.hestia-contact__row i { color: #C8A24A; font-size: 20px; width: 24px; text-align: center; }
.hestia-contact__card { background: #0B1F3A; color: #fff; border-radius: 16px; padding: 30px; }
.hestia-contact__card h4 { color: #e3c987; font-family: var(--handyfix-heading-font, "Rajdhani"); font-size: 22px; margin: 0 0 16px; }
.hestia-contact__card ul { list-style: none; margin: 0 0 20px; padding: 0; }
.hestia-contact__card li { position: relative; padding-left: 26px; margin-bottom: 8px; color: rgba(255,255,255,.92); }
.hestia-contact__card li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; color: #C8A24A; font-size: 12px; top: 4px; }

/* ---- WhatsApp flotante ---- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float i { font-size: 28px; }

/* ---- Menú móvil propio (no depende de handyfix.js) ---- */
.hestia-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hestia-burger span { width: 26px; height: 3px; background: #0B1F3A; border-radius: 2px; }

@media (max-width: 1199px) {
  .main-header__nav { position: fixed; top: 0; right: 0; width: min(86vw, 320px); height: 100vh; background: #0B1F3A; padding: 78px 26px 26px; transform: translateX(105%); transition: transform .32s ease; z-index: 1001; box-shadow: -18px 0 50px rgba(0,0,0,.35); overflow-y: auto; }
  .main-header__nav.is-open { transform: translateX(0); }
  /* handyfix oculta la lista bajo 1200px: forzar a mostrarla en el panel */
  .main-header__nav .main-menu__list { display: flex !important; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; }
  .main-header__nav .main-menu__list > li { padding: 9px 0 !important; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-header__nav .main-menu__list > li > a { color: #fff !important; padding: 6px 0; display: block; font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; font-size: 18px; letter-spacing: .04em; }
  .main-header__nav .main-menu__list > li > a:hover { color: #e3c987 !important; }
  /* botón cerrar dentro del panel (especificidad > .nav-close global) */
  .main-header__nav .nav-close { display: flex; position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 18px; cursor: pointer; z-index: 2; }
  .main-header__nav .nav-close:hover { background: var(--gold, #C8A24A); color: #0B1F3A; }
  /* backdrop */
  .nav-backdrop { position: fixed; inset: 0; background: rgba(7,14,26,.55); z-index: 1000; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
  .hestia-burger { display: flex; }
}
.nav-close { display: none; }

@media (max-width: 991px) {
  .hestia-blocks, .hestia-serv, .hestia-serv:nth-child(even) { grid-template-columns: 1fr; }
  .hestia-serv:nth-child(even) .hestia-serv__media { order: 0; }
  .hestia-prov { grid-template-columns: repeat(3, 1fr); }
  .hestia-proj, .hestia-contact { grid-template-columns: 1fr; }
  .hestia-sect { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .hestia-prov { grid-template-columns: repeat(2, 1fr); }
  .hestia-sect { grid-template-columns: 1fr; }
}

/* ============================================================
   FIX RESPONSIVE / MÓVIL
   ============================================================ */
/* Mata el overflow horizontal sin romper position:sticky (clip ≠ scroll) */
html, body { overflow-x: clip; max-width: 100%; }
img, svg, video, iframe { max-width: 100%; }
.container { width: 100%; }

@media (max-width: 991px) {
  .sec-title__title { font-size: clamp(26px, 5.2vw, 36px) !important; line-height: 1.15; }
  .hero2__title { overflow-wrap: anywhere; }
}

@media (max-width: 767px) {
  .hero2 { padding: 52px 0 58px; }
  .hero2__inner { gap: 30px; }
  .hero2__tagline { letter-spacing: .1em; font-size: 11.5px; line-height: 1.4; }
  .hero2__title { font-size: clamp(26px, 8.4vw, 33px); overflow-wrap: anywhere; }
  .hero2__text { font-size: 16px; }
  .hero2__btns { gap: 10px; }
  .hero2__btns .handyfix-btn { width: 100%; justify-content: center; }
  .hero2__media { max-width: 420px; margin: 0 auto; }
  .hero2__media__ring { width: 110px; height: 110px; inset: -12px -12px auto auto; }
  .hero2__media__badge { left: 8px; bottom: 14px; padding: 10px 14px; }
  .hero2__media__badge strong { font-size: 24px; }

  .sec-title__title { font-size: clamp(23px, 6.6vw, 30px) !important; }
  .hestia-serv__title { font-size: 23px; }
  .cta-one__inner__title { font-size: 23px; line-height: 1.2; }
  .hestia-contact__card { padding: 24px; }

  /* Padding lateral cómodo y consistente */
  .container { padding-left: 20px; padding-right: 20px; }

  /* CTA apilado y centrado en móvil */
  .cta-one__inner { flex-direction: column; gap: 18px; text-align: center; }
  .cta-one__inner__right .handyfix-btn { width: 100%; justify-content: center; }
}

@media (max-width: 575px) {
  .hestia-prov { grid-template-columns: repeat(2, 1fr); }
  .hestia-sect { grid-template-columns: 1fr; }
  .hero2__sello { gap: 8px 16px; }
  .hero2__sello li { font-size: 12px; }
  /* Menú lateral ocupa casi todo el ancho */
  .main-header__nav { width: min(82vw, 300px); }
}

/* ============================================================
   Visor de catálogo (flipbook)
   ============================================================ */
.cat-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.cat-modal__backdrop { position: absolute; inset: 0; background: rgba(7, 14, 26, .88); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.cat-modal__inner { position: relative; z-index: 1; width: min(96vw, 1120px); height: min(94vh, 920px); display: flex; flex-direction: column; }
.cat-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 4px 12px; color: #fff; }
.cat-modal__title { font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; letter-spacing: .08em; font-size: 16px; }
.cat-modal__actions { display: flex; gap: 10px; align-items: center; }
.cat-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; font-size: 13px; border: 0; cursor: pointer; border-radius: 999px; padding: 9px 16px; transition: background .2s, transform .15s; }
.cat-btn--gold { background: #C8A24A; color: #0B1F3A; }
.cat-btn--gold:hover { background: #e3c987; transform: translateY(-1px); }
.cat-btn--icon { background: rgba(255, 255, 255, .14); color: #fff; width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
.cat-btn--icon:hover { background: rgba(255, 255, 255, .28); }
.cat-modal__stage { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 0; }
.cat-flip { flex: 1; height: 100%; max-width: 1000px; }
.cat-flip .stf__parent { margin: 0 auto; }
.cat-nav { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .14); color: #fff; font-size: 17px; transition: background .2s; }
.cat-nav:hover { background: #C8A24A; color: #0B1F3A; }
.cat-modal__foot { text-align: center; color: rgba(255, 255, 255, .7); font-size: 12px; padding: 8px; }
@media (max-width: 640px) {
  .cat-nav { display: none; }
  .cat-modal__title { font-size: 12px; max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cat-btn--gold { padding: 8px 12px; font-size: 12px; }
}

/* ===== Visor móvil del catálogo: zoom (pellizco/doble toque) + pan ===== */
.cat-modal--mobile .cat-modal__inner { width: 100vw; height: 100dvh; max-width: none; }
.catm { flex: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; }
.catm__stage {
  position: relative; flex: 1; min-height: 0;
  background: #11233f; border-radius: 14px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
/* react-zoom-pan-pinch ocupa todo el escenario y centra la página */
.catm__tc { width: 100% !important; height: 100% !important; cursor: grab; }
.catm__tc:active { cursor: grabbing; }
.catm__tcc { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.catm__tcc img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  display: block; user-select: none; -webkit-user-drag: none;
  border-radius: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
/* Controles de zoom flotantes */
.catm__zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 5;
  display: flex; flex-direction: column; gap: 8px;
}
.catm__zoom button {
  width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(11, 31, 58, .82); color: #fff; font-size: 16px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35); transition: background .2s, transform .12s;
}
.catm__zoom button:active { transform: scale(.92); }
.catm__zoom button:hover { background: #C8A24A; color: #0B1F3A; }
/* Navegación de páginas */
.catm__nav { flex: none; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 0 4px; }
.catm__navbtn {
  width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer;
  background: #C8A24A; color: #0B1F3A; font-size: 18px; transition: background .2s, opacity .2s, transform .12s;
  box-shadow: 0 8px 20px rgba(200, 162, 74, .3);
}
.catm__navbtn:active { transform: scale(.92); }
.catm__navbtn:disabled { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .35); box-shadow: none; cursor: default; }
.catm__count { font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; color: #fff; font-size: 17px; letter-spacing: .06em; min-width: 64px; text-align: center; }
.catm__hint { text-align: center; color: rgba(255, 255, 255, .6); font-size: 11.5px; margin: 0; padding-bottom: 4px; }

/* ============================================================
   Galería de trabajos · Carrusel + Lightbox
   ============================================================ */
.galeria { background: #f5f3ec; }
.car { position: relative; margin-top: 6px; }
.car__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px clamp(20px, 8vw, 92px) 20px; scrollbar-width: none; -ms-overflow-style: none; }
.car__track::-webkit-scrollbar { display: none; }
.carCard { flex: 0 0 clamp(238px, 30vw, 330px); scroll-snap-align: center; position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 14px 30px rgba(11,31,58,.16); aspect-ratio: 3 / 4; background: #0B1F3A; }
.carCard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.carCard:hover img { transform: scale(1.06); }
.carCard figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 13px; color: #fff; font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: linear-gradient(to top, rgba(11,31,58,.94), transparent); }
.carCard__zoom { width: 28px; height: 28px; border-radius: 50%; background: rgba(200,162,74,.92); color: #0B1F3A; display: grid; place-items: center; font-size: 12px; flex: none; }
.car__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: #0B1F3A; color: #fff; cursor: pointer; z-index: 3; box-shadow: 0 8px 20px rgba(11,31,58,.3); transition: background .2s; }
.car__nav:hover { background: #C8A24A; color: #0B1F3A; }
.car__nav--prev { left: clamp(6px, 3vw, 32px); }
.car__nav--next { right: clamp(6px, 3vw, 32px); }
/* lightbox */
.lbox { position: fixed; inset: 0; z-index: 3000; background: rgba(7,14,26,.93); display: flex; align-items: center; justify-content: center; }
.lbox__fig { margin: 0; text-align: center; }
.lbox__fig img { max-width: 90vw; max-height: 78vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lbox__fig figcaption { color: #e3c987; font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; margin-top: 12px; letter-spacing: .04em; }
.lbox__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 18px; cursor: pointer; }
.lbox__close:hover { background: #C8A24A; color: #0B1F3A; }
.lbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; }
.lbox__nav:hover { background: #C8A24A; color: #0B1F3A; }
.lbox__nav--prev { left: 18px; } .lbox__nav--next { right: 18px; }
@media (max-width: 640px) { .car__nav { width: 38px; height: 38px; } .lbox__nav--prev { left: 6px; } .lbox__nav--next { right: 6px; } }

/* Correos corporativos en Contacto */
.hestia-contact__corp { margin-top: 2px; background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(11,31,58,.08); }
.hestia-contact__corp__t { display: block; font-family: var(--handyfix-heading-font, "Rajdhani"); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: #C8A24A; margin-bottom: 9px; }
.hestia-contact__corp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.hestia-contact__corp__row { display: flex; align-items: flex-start; gap: 9px; color: #0B1F3A; font-size: 12px; }
.hestia-contact__corp__row i { color: #C8A24A; font-size: 13px; margin-top: 2px; }
.hestia-contact__corp__row strong { display: block; font-size: 10.5px; color: #5a6573; font-weight: 700; }
@media (max-width: 640px) { .hestia-contact__corp__grid { grid-template-columns: 1fr; } }

/* ---- Nuestros clientes (tiles de imagen + logo) ---- */
.clientes { background: #fff; }
.clientes__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 6px; }
.clienteCard { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 12px 28px rgba(11,31,58,.14); background: #0B1F3A; }
.clienteCard__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.clienteCard:hover .clienteCard__img { transform: scale(1.07); }
.clienteCard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,58,.92), rgba(11,31,58,.05) 58%); }
.clienteCard__tx { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; }
.clienteCard__tx h4 { color: #fff; font-family: var(--handyfix-heading-font, "Rajdhani"); font-size: 16px; margin: 0; line-height: 1.1; }
.clienteCard__tx p { color: #e3c987; font-size: 10px; margin: 3px 0 0; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
/* tarjeta de logo (Pollo Andino): fondo claro, logo contenido */
.clienteCard--logo { background: #fff; }
.clienteCard--logo::after { background: linear-gradient(to top, rgba(11,31,58,.85), transparent 42%); }
.clienteCard__logoimg { position: absolute; top: 8%; left: 10%; right: 10%; bottom: 30%; margin: auto; max-width: 80%; max-height: 56%; object-fit: contain; }
/* Cliente sin logo/imagen: tarjeta con ícono sobre navy */
.clienteCard--icon { background: linear-gradient(160deg, #14294d, #0B1F3A); }
.clienteCard__icono { position: absolute; inset: 0 0 26% 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.clienteCard__icono i { font-size: 54px; color: rgba(227, 201, 135, .9); }
@media (max-width: 991px) { .clientes__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .clientes__grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== BUSCADOR DEL SITIO (⌘K) ===================== */
.main-header__right { display: flex; align-items: center; gap: 14px; }

/* Disparador en el header */
.site-search-trigger {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 12px 0 14px; border-radius: 999px;
  background: rgba(11, 31, 58, .04); border: 1.5px solid rgba(11, 31, 58, .14);
  color: #5a6573; font-size: 14px; cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.site-search-trigger:hover {
  border-color: #C8A24A; background: #fff; color: #0B1F3A;
  box-shadow: 0 8px 22px rgba(200, 162, 74, .22);
}
.site-search-trigger i { color: #C8A24A; font-size: 15px; }
.site-search-trigger__txt { font-family: "Rubik", sans-serif; white-space: nowrap; }
.site-search-trigger__kbd {
  font-family: "Rubik", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: #0B1F3A; background: rgba(11, 31, 58, .07); border: 1px solid rgba(11, 31, 58, .12);
  border-radius: 6px; padding: 2px 6px; line-height: 1;
}
@media (max-width: 1100px) {
  .site-search-trigger__txt, .site-search-trigger__kbd { display: none; }
  .site-search-trigger { width: 42px; padding: 0; justify-content: center; }
}

/* Overlay */
.ssrch { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.ssrch__backdrop { position: absolute; inset: 0; background: rgba(7, 17, 33, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: ssrch-fade .25s ease; }

/* Panel (glassmorphism + glow animado) */
.ssrch__panel {
  position: relative; width: min(680px, 100%); max-height: 76vh; display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(7, 17, 33, .5), 0 2px 0 rgba(255, 255, 255, .7) inset;
  animation: ssrch-in .32s cubic-bezier(.2, .9, .25, 1);
}
.ssrch__glow {
  position: absolute; inset: -2px; border-radius: 22px; padding: 2px; pointer-events: none; z-index: 0;
  background: conic-gradient(from 0deg, #C8A24A, #e3c987, #0B1F3A, #1f5a66, #C8A24A);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .5; animation: ssrch-spin 7s linear infinite;
}

/* Barra de búsqueda */
.ssrch__bar { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 18px 18px; border-bottom: 1px solid rgba(11, 31, 58, .08); }
.ssrch__bar__icon { color: #C8A24A; font-size: 18px; }
.ssrch__input {
  flex: 1; border: 0; outline: 0; background: transparent; color: #0B1F3A;
  font-family: "Rubik", sans-serif; font-size: 18px; min-width: 0;
}
.ssrch__input::placeholder { color: #97a0ad; }
.ssrch__esc {
  flex: none; font-size: 12px; font-weight: 600; color: #5a6573; cursor: pointer;
  background: rgba(11, 31, 58, .06); border: 1px solid rgba(11, 31, 58, .12);
  border-radius: 7px; padding: 4px 9px;
}
.ssrch__esc:hover { color: #0B1F3A; border-color: #C8A24A; }

/* Resultados */
.ssrch__results { position: relative; z-index: 1; overflow-y: auto; padding: 8px; scroll-behavior: smooth; }
.ssrch__hint { font-family: "Rajdhani", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: #97a0ad; padding: 10px 12px 6px; }
.ssrch__row {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 12px 14px; border-radius: 13px; border: 1px solid transparent; background: transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  animation: ssrch-row-in .4s both;
}
.ssrch__row__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(200, 162, 74, .14); color: #b9912f; font-size: 18px;
  transition: background .15s ease, color .15s ease, transform .2s ease;
}
.ssrch__row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ssrch__row__title { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 17px; color: #0B1F3A; line-height: 1.2; }
.ssrch__row__title mark { background: rgba(200, 162, 74, .35); color: inherit; border-radius: 3px; padding: 0 1px; }
.ssrch__row__sub { font-size: 12.5px; color: #6b7480; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssrch__row__tag {
  flex: none; font-family: "Rajdhani", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: 10px; color: #b9912f; background: rgba(200, 162, 74, .12); border-radius: 6px; padding: 4px 8px;
}
.ssrch__row__go { flex: none; color: transparent; font-size: 14px; transition: color .15s ease, transform .2s ease; }
.ssrch__row.is-active {
  background: linear-gradient(120deg, #0B1F3A, #14294d); border-color: #0B1F3A; transform: translateX(2px);
  box-shadow: 0 12px 26px rgba(11, 31, 58, .28);
}
.ssrch__row.is-active .ssrch__row__title { color: #fff; }
.ssrch__row.is-active .ssrch__row__title mark { background: rgba(227, 201, 135, .45); color: #fff; }
.ssrch__row.is-active .ssrch__row__sub { color: rgba(255, 255, 255, .8); }
.ssrch__row.is-active .ssrch__row__icon { background: #C8A24A; color: #0B1F3A; transform: scale(1.05); }
.ssrch__row.is-active .ssrch__row__tag { background: rgba(227, 201, 135, .2); color: #e3c987; }
.ssrch__row.is-active .ssrch__row__go { color: #C8A24A; transform: translateX(3px); }

/* Sin resultados */
.ssrch__empty { text-align: center; padding: 40px 20px 46px; color: #6b7480; }
.ssrch__empty i { font-size: 34px; color: #C8A24A; opacity: .7; }
.ssrch__empty p { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 19px; color: #0B1F3A; margin: 12px 0 4px; }
.ssrch__empty span { font-size: 13.5px; }

/* Pie con atajos */
.ssrch__foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; padding: 10px 18px; border-top: 1px solid rgba(11, 31, 58, .08); background: rgba(245, 243, 236, .6); font-size: 12px; color: #6b7480; }
.ssrch__foot kbd { font-family: "Rubik", sans-serif; font-size: 11px; background: #fff; border: 1px solid rgba(11, 31, 58, .15); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; margin-right: 2px; color: #0B1F3A; }
.ssrch__foot__brand { margin-left: auto; font-family: "Rajdhani", sans-serif; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #C8A24A; }

/* Resaltado de la sección destino al navegar desde el buscador */
.section-flash { animation: ssrch-flash 1.4s ease; }

/* Pulso del panel de servicio cuando el buscador abre una pestaña */
.svcx__panel.is-pulse { animation: ssrch-pulse 1.1s ease; }

@keyframes ssrch-fade { from { opacity: 0; } }
@keyframes ssrch-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
@keyframes ssrch-spin { to { transform: rotate(360deg); } }
@keyframes ssrch-row-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes ssrch-flash { 0% { box-shadow: 0 0 0 0 rgba(200, 162, 74, 0); } 30% { box-shadow: inset 0 0 0 3px rgba(200, 162, 74, .55); } 100% { box-shadow: 0 0 0 0 rgba(200, 162, 74, 0); } }
@keyframes ssrch-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 162, 74, .5); } 70% { box-shadow: 0 0 0 12px rgba(200, 162, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 162, 74, 0); } }

@media (max-width: 560px) {
  .ssrch { padding: 8vh 10px 10px; }
  .ssrch__input { font-size: 16px; }
  .ssrch__row__sub { white-space: normal; }
  .ssrch__foot span:not(.ssrch__foot__brand) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ssrch__glow, .ssrch__panel, .ssrch__row, .ssrch__backdrop, .section-flash, .svcx__panel.is-pulse { animation: none; }
}
