@import url("https://fonts.googleapis.com/css2?family=Zen+Kurenaido&display=swap");
/* ===========================
   BUSCADOR + FILTROS (COMPLETO) — AJUSTADO AL MOCKUP
   =========================== */

.search-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contenedor_buscador {
    width: 500px;
}

/* ------ Tabs ------ */
.tabs {
  display: flex;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 24px;
  justify-content: center;
}
.tab {
  font-weight: 600;
  color: #23294a;
  padding: 12px 28px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  outline: none;
  transition: color .2s, border-color .2s;
  font-family: 'Tajawal';
  font-size: 19px;
  text-transform: uppercase;
}
.tab.active {
  color: #23294a;
  border-bottom: 3px solid #d4182b;
  background: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 20px;
}

/* ------ Barra de búsqueda (texto + icon lupa + mic + botón) ------ */
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border-radius: 10px;
    height: 46px;
    padding: 1px 14px 1px 14px;
}
.search-icon {
  font-size: 18px;
  color: #7b8899;
}

.search-bar input {
    border: none;
    background: transparent;
    flex: 1 1 auto;
    min-width: 160px;
    font-size: 18px;
    outline: none;
    color: #0029ff;
    font-family: 'Share Tech';
    text-transform: uppercase;
}

/* Botón Buscar compacto */
.search-bar .btn-buscar {
  background: #023c65;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 12px;
  cursor: pointer;
  transition: background .2s;
  font-family: 'Tajawal', sans-serif;
  text-transform: uppercase;
  flex: 0 0 auto;
  letter-spacing: .3px;
}
.search-bar .btn-buscar:hover { background: #0b578a; }

/* Buttons “icon-only” dentro de la barra */
.search-bar button {
  border: none;
  cursor: pointer;
  color: #cb1c2c;
  font-size: 18px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #e7e9ef;
}

/* Texto auxiliar */
.or-search {
  text-align: right;
  margin-bottom: 11px;
  color: #50505a;
  font-weight: 600;
  font-size: 17px;
}

.inputin {
    width: 100%;
    display: block;
    padding: 7px 11px;
    background-color: #ffffff;
    border: 1px solid var(--uc-border);
    border-radius: 10px;
    color: #023c65;
    font-size: 15.3px;
    font-weight: 600;
    font-family: 'Share Tech';
}

.contenido-filtros-principales {
    font-family: 'Share Tech';
    font-size: 18px;
    padding: 2px;
    margin: 2px;
    font-weight: 600;
}

.search-container select:focus,
.search-container input[type="text"]:focus,
.search-container input[type="search"]:focus {
  border-color: #b39ddb;
  box-shadow: 0 0 0 3px rgba(179,157,219,.18);
}



/* Botón "TODOS" */
.show-matches-btn {
  flex: 1.5;
  background: #023c65;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 0;
  margin-left: 13px;
  cursor: pointer;
  transition: background .2s;
  font-family: 'Tajawal', sans-serif;
  text-transform: uppercase;
}
.show-matches-btn:hover { background: #0b578a; }

/* ------ Meta: pill de resultados + botón Filtros ------ */
.search-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:10px 2px 0;
  gap:10px;
}
.pill-count {
  display:inline-block;
  padding:10px 16px;
  background:#0e3a57;
  color:#fff;
  border-radius:16px;
  font-weight:800;
  font-size:16px;
  letter-spacing:.2px;
  white-space:nowrap;
}
.avanzado {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: #13945f;
  text-align: center;
  line-height: 15px;
  border-radius: 10px;
  height: 42px;
  color: #fff;
  font-family: 'Share Tech';
  padding: 0 12px;
  font-weight: 700;
  cursor: pointer;
}
.avanzado i{ font-size:14px; }

.filtros-secundarios {
    width: 100%;
    padding: 5px 7px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem 1rem;
    align-items: flex-end;
    flex-direction: row;
    margin-top: -5px;
}

/* ============================================
   FILTROS PRINCIPALES (MISMO HTML)
   ============================================ */

:root {
  --uc-primary: #1c3053;
  --uc-primary-soft: #eef2ff;
  --uc-border: #e5e7eb;
  --uc-border-strong: #d1d5db;
  --uc-bg-soft: #f9fafb;
  --uc-text-main: #111827;
  --uc-text-soft: #6b7280;
}

#filtros-principales.filtros-bloque {
    width: 100%;
    margin: 0.1rem auto 1rem;
    padding: 6px 1% 9px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--uc-border);
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem 1rem;
    align-items: flex-end;
    flex-direction: row;
    background-image: linear-gradient(41deg, rgba(107, 107, 107, 0.04) 0%, rgba(107, 107, 107, 0.04) 8%, rgba(31, 31, 31, 0.04) 8%, rgba(31, 31, 31, 0.04) 100%), linear-gradient(9deg, rgba(228, 228, 228, 0.04) 0%, rgba(228, 228, 228, 0.04) 62%, rgba(54, 54, 54, 0.04) 62%, rgba(54, 54, 54, 0.04) 100%), linear-gradient(124deg, rgba(18, 18, 18, 0.04) 0%, rgba(18, 18, 18, 0.04) 37%, rgba(233, 233, 233, 0.04) 37%, rgba(233, 233, 233, 0.04) 100%), linear-gradient(253deg, rgba(201, 201, 201, 0.04) 0%, rgba(201, 201, 201, 0.04) 55%, rgba(47, 47, 47, 0.04) 55%, rgba(47, 47, 47, 0.04) 100%), linear-gradient(270deg, rgba(172, 172, 172, 0.04) 0%, rgba(172, 172, 172, 0.04) 33%, rgba(26, 26, 26, 0.04) 33%, rgba(26, 26, 26, 0.04) 100%), linear-gradient(64deg, rgba(11, 11, 11, 0.04) 0%, rgba(11, 11, 11, 0.04) 38%, rgba(87, 87, 87, 0.04) 38%, rgba(87, 87, 87, 0.04) 100%), linear-gradient(347deg, rgba(199, 199, 199, 0.04) 0%, rgba(199, 199, 199, 0.04) 69%, rgba(4, 4, 4, 0.04) 69%, rgba(4, 4, 4, 0.04) 100%), linear-gradient(313deg, rgba(36, 36, 36, 0.04) 0%, rgba(36, 36, 36, 0.04) 20%, rgba(91, 91, 91, 0.04) 20%, rgba(91, 91, 91, 0.04) 100%), linear-gradient(90deg, rgb(28 48 83), rgb(2 60 101));
}
/* Estilo del <select> */
#filtros-principales .filter-group select {
    width: 100%;
    display: block;
    padding: 0.55rem 2.25rem 0.55rem 0.75rem;
    background-color: var(--uc-bg-soft);
    border: 1px solid var(--uc-border);
    border-radius: 10px;
    color: #1e1e1e;
    line-height: 1.3;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Share Tech';
}

/* Cada bloque de select */
#filtros-principales .filter-group {
  position: relative;
  flex: 1 1 180px;
  min-width: 150px;
}



/* Flechita del select */
#filtros-principales .filter-group::after {
  content: "▾";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--uc-text-soft);
  pointer-events: none;
}

/* Hover y focus del select */
#filtros-principales .filter-group select:hover {
  background-color: #ffffff;
  border-color: var(--uc-border-strong);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

#filtros-principales .filter-group select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--uc-primary);
  box-shadow: 0 0 0 2px rgba(28, 48, 83, 0.25);
}

/* Primera opción vacía como placeholder gris */
#filtros-principales .filter-group select option[value=""] {
  color: var(--uc-text-soft);
}

/* ============================================
   CONTENEDOR DE BOTONES (ULTIMO DIV)
   sin tocar el HTML
   ============================================ */
   

#filtros-principales > div:last-child {
  /* sobreescribe el style="" inline donde hace falta */
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  justify-content: flex-end !important;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

/* Botón "Limpiar filtros" */
#resetearFiltros {
    height: 2.4rem;
    padding: 0 1rem;
    border-radius: 5px;
    font-size: 0.87rem;
    font-weight: 600 !important;
    cursor: pointer;
    white-space: nowrap;
    color: #930000;
    border: 1px solid var(--uc-border);
    transition: background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.08s ease,
    box-shadow 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

#resetearFiltros:hover {
  background-color: #f3f4f6;
  border-color: var(--uc-border-strong);
  transform: translateY(-1px);
}

/* Botón "+ Filtros" */
#toggleAvanzados {
    height: 2.4rem;
    padding: 0 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    background-color: var(--uc-primary);
    color: #ffffff;
    border: 1px solid var(--uc-primary);
    transition: background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.08s ease,
    box-shadow 0.15s ease;
    letter-spacing: 0.31px;
}

#toggleAvanzados:hover {
    background-color: #d6e311;
    transform: translateY(-1px);
    color: #001f3d;
}

/* Focus para ambos botones */
#resetearFiltros:focus,
#toggleAvanzados:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(28, 48, 83, 0.25);
}


/* ------ Responsive ------ */
@media (max-width: 900px) {
  .search-bar {
    flex-wrap: nowrap;
    display: flex;
    flex-direction: row;
    height: auto;
    background-image: none;
  }
  .search-bar .btn-buscar {
    width: auto;
    font-family: 'Share Tech';
    font-weight: 700;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 700px) {
.filters-row {
    flex-direction: row;
    gap: 13px;
    align-items: center;
    flex-wrap: wrap;
    padding: 3px 8px 3px 8px;
    margin: 0px;
}
  .show-matches-btn {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
    padding-top: 14px;
  }
  .filter-group { min-width: 100px; }

  .search-container select,
  .search-container select, .search-container select, .search-container select, .search-container select, .search-container select, .search-container select, .search-container input[type="text"] {
    text-transform: uppercase;
    font-family: 'Share Tech' !important;
    font-weight: 600 !important;
    color: #4b4b4b !important;
    background: #ffffff;
    border-radius: 4px;
    height: 40px;
    font-size: 16px !important;
    margin: 6px 0px;
}
  .search-container input[type="search"] {
    font-weight: 500;
    font-size: 15px;
  }

  .search-container {
    padding: 0%;
}
  .destacados-card {
    padding: 20px 26px !important;
    border: 18px solid #f9f9f9 !important;
  }

  .p-destacados {
    font-size: 16px;
    padding: 0px 8px;
    line-height: 18px;
  }

  .destacados-title { font-size: 22px; padding-bottom:10px }

  .search-bar button { background: #ffffff; font-size: 17px; }

  .mic-btn { margin-right: 0px !important; }

  .search-bar input {
    min-width: 140px;
    font-size: 13px;
}

  .search-bar {
    padding: 10px 8px !important;
    border-radius: 10px;
}

  .avanzado {
    font-size: 15px;
    line-height: 14px !important;
    margin: 0;
    padding: 0 12px;
    height: 38px;
  }
  
  #searchInput {
    width: 100%;
    order: 1;
    background: #ffffff;
    border-radius: 10px;
    padding: 8px;
}
}

/* ------ Micrófono ------ */
.mic-btn {
  background: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 18px;
  margin-right: 0;
  color: #4c5a6a;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #e7e9ef;
}
.mic-btn:hover { color: #2d3947; }

/* Estado grabando */
.mic-btn.listening {
  color: #e24444;
  box-shadow: inset 0 0 0 2px #ffd3d3;
  animation: none;
}
.mic-btn .mic-anim {
  display: none;
  font-size: 18px;
}
.mic-btn.listening .fa-microphone { display: none; }
.mic-btn.listening .mic-anim {
  display: inline-block;
  animation: micBlink .9s linear infinite;
}
@keyframes micBlink {
  0%,100% { opacity: 1; transform: translateY(0); }
  50% { opacity: .4; transform: translateY(-1px); }
}

/* Feedback input en grabación */
input.listening {
  border-color: #e24444 !important;
  background: #fff7f7 !important;
}

/* ------ Frase dinámica debajo de la barra ------ */
.buscador-tipeo {
  min-height: 32px;
  font-size: 15.75px;
  font-family: 'Tajawal';
  color: #222;
  border-radius: 6px;
  background: none;
  border: none;
  letter-spacing: .3px;
  white-space: pre-line;
  outline: none;
  transition: color .13s;
  display: flex;
  align-items: center;
  font-weight: 500;
  flex-direction: column;
}
.buscador-tipeo .typewriter-cursor {
  display: inline-block;
  width: 1ch;
  background: none;
  animation: blink .7s steps(1) infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ------ Card de destacados / features ------ */
.destacados-card {
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    padding: 53px 70px;
    max-width: 1200px;
    border: 30px solid #f9f9f9;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* Título */
.destacados-title{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.2;
  font-weight:800;
  color:#0f2742;
  font-family: 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Grid 2 columnas */
.destacados-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 36px;
}

/* Ítem */
.feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 19px;
    color: #000000;
    font-family: 'Inter';
}

/* Iconos */
.feature i{
  font-size:24px;
  line-height:1;
  color:#0f2742;
  margin-top:3px;
}
/* Botón visible solo en mobile */
.btn-toggle-filtros {
  display: none;
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {
  .btn-toggle-filtros {
            display: block;
        background-image: url(https://usadoscatamarca.com.ar/img/boton_filtros_usadoscatamarca.jpg);
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: 1px;
}

.cont-filtros-btn {
    font-size: 17px;
    color: #ffffff;
    line-height: 18px;
    font-family: 'Tajawal';
    text-transform: uppercase;
    letter-spacing: 0.71px;
}
  #filtros-principales {
    display: none !important;
  }

  #filtros-principales.is-open {
    display: block !important;
  }
    .contenido-filtros-principales {
    font-family: 'Share Tech';
    font-size: 16px;
    padding: 2px;
    margin: 2px;
    font-weight: 600;
}
.contenido-filtros-principales {
    font-family: 'Share Tech';
    font-size: 14px;
    padding: 1px;
    margin: 1px;
    font-weight: 600;
}
.filtros-secundarios {
    width: 100%;
    padding: 5px 7px;
    background: #ffffff;
    border-radius: 10px;
    flex-wrap: nowrap;
    gap: 0.75rem 1rem;
    align-items: flex-end;
    flex-direction: column;
    margin-top: -5px;
}
}

/* DESKTOP: siempre visible */
@media (min-width: 769px) {
  #filtros-principales {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
  }

}



/* Responsive */
@media (max-width: 800px){
  .destacados-grid{ grid-template-columns:1fr; }
  .feature{ padding: 6px 10px; }
}
.feature:nth-child(1) i{ color:#19a974; }
.feature:nth-child(3) i{ color:#0f2742; }
.feature:nth-child(2) i{ color:#0f2742; }
.feature:nth-child(4) i{ color:#0f2742; }


/* ANIMACIONES*/


svg {
	font-family: "Zen Kurenaido", sans-serif;
	width: 100%; height: 100%;
}
svg text {
	animation: stroke 5s infinite alternate;
	stroke-width: 2;
	stroke: #365FA0;
	font-size: 100px;
}
@keyframes stroke {
	0%   {
		fill: rgba(72,138,204,0); stroke: rgba(54,95,160,1);
		stroke-dashoffset: 25%; stroke-dasharray: 0 50%; stroke-width: 2;
	}
	70%  {fill: rgba(72,138,204,0); stroke: rgba(54,95,160,1); }
	80%  {fill: rgba(72,138,204,0); stroke: rgba(54,95,160,1); stroke-width: 3; }
	100% {
		fill: rgba(72,138,204,1); stroke: rgba(54,95,160,0);
		stroke-dashoffset: -25%; stroke-dasharray: 50% 0; stroke-width: 0;
	}
}

.wrapper {background-color: #FFFFFF};


