/* css/explorar.css — Páginas de la sección "Explorar": asesoria.php, formatos.php y familias-olfativas.php.
   Estilos propios porque tailwind-built.css solo trae las clases que ya usa el sitio. */

.ex-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}
.ex-narrow {
  max-width: 760px;
}

/* Encabezado */
.ex-hero {
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
}
.ex-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #b8860b;
  margin-bottom: 14px;
}
.ex-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  color: hsl(var(--foreground));
  margin: 0 0 18px;
}
.ex-title em {
  font-style: italic;
  font-weight: 400;
}
.ex-lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

/* Secciones */
.ex-section {
  padding: 56px 0;
}
.ex-section + .ex-section {
  border-top: 1px solid hsl(var(--border) / 0.6);
}
.ex-section.ex-muted {
  background: hsl(var(--muted) / 0.35);
}
.ex-h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 300;
  color: hsl(var(--foreground));
  margin: 0 0 12px;
}
.ex-h3 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0 0 6px;
}
.ex-p {
  font-size: 14.5px;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin: 0 0 10px;
}
.ex-p strong {
  color: hsl(var(--foreground));
}
.ex-center {
  text-align: center;
}
.ex-center .ex-p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Rejillas y tarjetas */
.ex-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 28px;
}
@media (min-width: 640px) {
  .ex-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .ex-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.ex-card {
  background: hsl(var(--card, var(--background)));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 22px;
}
.ex-card-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b8860b;
  margin-bottom: 8px;
}
.ex-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ex-card-head .ex-card-tag {
  margin-bottom: 0;
}
.ex-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(38, 49, 84, 0.07);
  color: #263154;
}
.ex-card-icon svg {
  width: 22px;
  height: 22px;
}
.ex-card .ex-sub {
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0 0 8px;
}
.ex-likes {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid hsl(var(--border) / 0.7);
  font-size: 13px;
  color: hsl(var(--foreground));
}
.ex-likes span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 4px;
}

/* Listas */
.ex-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.ex-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: hsl(var(--foreground));
}
.ex-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #263154;
}
.ex-checks li::before {
  content: "✓";
  width: auto;
  height: auto;
  top: 0;
  left: 0;
  border-radius: 0;
  background: none;
  color: #b8860b;
  font-weight: 700;
}

/* Botones */
.ex-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 6px;
  border: 1px solid #263154;
  background: #263154;
  color: #f7f8f2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.ex-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(38, 49, 84, 0.22);
}
.ex-btn-outline {
  background: transparent;
  color: #263154;
}
.ex-btn-outline:hover {
  background: #263154;
  color: #f7f8f2;
}
.ex-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.ex-actions {
  margin-top: 22px;
}

/* Tamaños de decant */
.ex-size {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ex-size-ml {
  flex-shrink: 0;
  min-width: 64px;
  padding: 10px 0;
  border-radius: 6px;
  background: #263154;
  color: #f7f8f2;
  text-align: center;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.ex-size-sprays {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8860b;
  margin-bottom: 4px;
}

/* Llamada destacada */
.ex-callout {
  margin-top: 32px;
  padding: 22px 24px;
  border-left: 3px solid #b8860b;
  background: hsl(var(--muted) / 0.5);
  border-radius: 0 8px 8px 0;
}

/* Combinaciones de familias */
.ex-combo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
}
.ex-combo strong {
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  color: hsl(var(--foreground));
}
.ex-combo span {
  font-size: 13.5px;
  color: hsl(var(--muted-foreground));
}

/* Formulario de asesoría */
.ex-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ex-q {
  background: hsl(var(--card, var(--background)));
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  padding: 22px;
}
.ex-q-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #b8860b;
}
.ex-q-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 4px 0 4px;
}
.ex-q-help {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  margin: 0 0 14px;
}
.ex-field {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid hsl(var(--border));
  border-radius: 6px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}
.ex-field:focus {
  outline: none;
  border-color: #263154;
}
.ex-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ex-chip {
  padding: 10px 16px;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.ex-chip:hover {
  border-color: #263154;
}
.ex-chip.selected {
  background: #263154;
  border-color: #263154;
  color: #f7f8f2;
}
.ex-error {
  font-size: 13px;
  color: hsl(var(--destructive));
  margin: 8px 0 0;
}
.ex-hidden {
  display: none !important;
}
.ex-promise {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 13px;
  color: hsl(var(--foreground));
}
.ex-promise span::before {
  content: "✓ ";
  color: #b8860b;
  font-weight: 700;
}
.ex-ready {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid hsl(var(--border));
  border-top: 3px solid #b8860b;
  border-radius: 10px;
  background: hsl(var(--card, var(--background)));
}
.ex-preview {
  margin: 20px auto 0;
  max-width: 520px;
  text-align: left;
  white-space: pre-line;
  font-size: 13.5px;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.5);
  border-radius: 8px;
  padding: 16px 18px;
}
.ex-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}
