/* ==========================================================================
   TICCA — style.css
   Identidad: planta industrial / placa de especificaciones metálica.
   Paleta: grafito, acero, blanco hueso y rojo de seguridad.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  /* Color */
  --graphite-900: #14161a;
  --graphite-800: #1c1f24;
  --graphite-700: #262a31;
  --steel-600: #3d434c;
  --steel-400: #6b727c;
  --metal-300: #a8adb5;
  --metal-200: #c1c5ca;
  --metal-100: #e0e2e5;
  --bone-100: #efeeea;
  --bone-50: #f7f6f3;
  --safety-red: #d3202c;
  --safety-red-dark: #a5171f;
  --warn-yellow: #e8b429;

  /* Tipografía */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;

  /* Layout */
  --nav-height: 100px;
  --radius: 2px;
  --shadow-panel: 0 12px 30px rgba(114, 112, 112, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bone-50);
  color: var(--graphite-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--graphite-900);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--safety-red);
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--safety-red);
  display: inline-block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 3px solid var(--warn-yellow);
  outline-offset: 2px;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--safety-red-dark);
  border-bottom: 4px solid var(--safety-red);
  box-shadow: var(--shadow-panel);
}

.navbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--graphite-700);
  letter-spacing: 0.03em;
  /* AQUÍ CONTROLAS SU POSICIÓN EXACTA: */
  margin-left: -120px;  /* Si quieres moverlo más a la izquierda (pon un número menor o más negativo) */
  margin-top: 0px;     /* Si quieres empujarlo un poquito hacia abajo para centrarlo verticalmente */
}

/* Mueve el logo solo cuando la barra está en su tamaño normal (arriba) */
.navbar:not(.navbar--scrolled) .logo-img {
  transform: translateY(12px); /* Cambia este número (ej. 2px o 4px) hasta que lo veas perfecto arriba */
}

/* Cuando la barra se reduce al hacer scroll, el desplazamiento vuelve a cero automáticamente para que no se salga */
.navbar.navbar--scrolled .logo-img {
  transform: translateY(0);
}

.navbar__brand span {
  color: var(--safety-red);
}

.navbar__brand small {
  font-family: var(--font-mono);
  font-size: 0.05rem;
  color: var(--metal-100);
  letter-spacing: 0.3em;
  font-weight: 1;
  text-transform: uppercase;
}

.navbar__links {
  display: flex;
  gap: 2.2rem;
}

.navbar__links a {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graphite-700);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--safety-red);
  transition: width 0.2s ease;
}

.navbar__links a:hover,
.navbar__links a.is-active {
  color: var(--graphite-700);
}

.navbar__links a:hover::after,
.navbar__links a.is-active::after {
  width: 100%;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--bone-100);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--metal-100); /* Tu color actual */
  border-bottom: 3px solid var(--safety-red);
  box-shadow: var(--shadow-panel);
  /* AGREGA ESTA LÍNEA AQUÍ: */
  transition: height 0.6s ease, background 0.6s ease;
}

/* Ajuste exacto para la imagen del logo */
.logo-img {
  height: 300px;         /* Altura fija inicial de la barra grande */
  width: auto !important; /* Fuerza automática para que NUNCA se aplaste */
  max-width: none;
  display: block;
  flex-shrink: 0;        /* Evita que Flexbox la comprima */
  object-fit: contain;
  transition: height 0.3s ease;
}

/* Cuando la barra se reduce al hacer scroll */
.navbar.navbar--scrolled .logo-img {
  height: 190px;         /* Altura más compacta al bajar la página */
  width: auto !important;
}

/* ==========================================================================
   HERO (index.html)
   ========================================================================== */

.hero {
  position: relative;
  background: var(--graphite-900);
  color: var(--bone-100);
  overflow: hidden;
}

.hero__grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  color: var(--bone-100);
}

.hero__title em {
  font-style: normal;
  color: var(--safety-red);
}

.hero__subtitle {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 1.05rem;
  color: var(--metal-300);
  max-width: 46ch;
  margin-top: 1.2rem;
  font-weight: 400;
}

.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__stats {
  margin-top: 3rem;
  display: flex;
  gap: 2.4rem;
  border-top: 1px solid var(--steel-600);
  padding-top: 1.6rem;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--bone-100);
}

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-400);
}

/* Espacio de imagen industrial principal */
.hero__media {
  position: relative;
}

.hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--steel-600), var(--graphite-700) 70%);
  border: 1px solid var(--steel-600);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__frame-placeholder {
  text-align: center;
  color: var(--metal-300);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 2rem;
  letter-spacing: 0.05em;
}

.hero__frame-placeholder strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--bone-100);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.hero__tag {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--safety-red);
  color: var(--bone-100);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 10px 16px;
  box-shadow: var(--shadow-panel);
}

/* ==========================================================================
   BOTONES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--safety-red);
  color: var(--bone-100);
}

.btn--primary:hover {
  background: var(--safety-red-dark);
}

.btn--ghost {
  background: var(--metal-300);
  border-color: var(--steel-600);
  color: var(--graphite-700);
}

.btn--ghost:hover {
  border-color: var(--metal-300);
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--dark {
  background: var(--graphite-900);
  color: var(--bone-100);
}

.section--panel {
  background: var(--bone-100);
}

.section__head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section--dark .section__head h2 {
  color: var(--bone-100);
}

.section__head p {
  margin-top: 0.9rem;
  color: var(--steel-400);
  font-size: 1.02rem;
}

.section--dark .section__head p {
  color: var(--metal-300);
}

/* ==========================================================================
   MARCAS (index.html)
   ========================================================================== */

.brands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--steel-600);
  border: 1px solid var(--steel-600);
}

.brands__item {
  background: var(--graphite-800);
  padding: 34px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}

.brands__item span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--metal-300);
  transition: color 0.2s ease;
}

.brands__item:hover span {
  color: var(--bone-100);
}

/* ==========================================================================
   TARJETAS TIPO "PLACA DE ESPECIFICACIONES"
   Signature element: esquinas con remaches, como una placa
   atornillada a una máquina.
   ========================================================================== */

.plate {
  position: relative;
  background: var(--bone-50);
  border: 1px solid var(--steel-600);
  padding: 28px;
}

.plate::before,
.plate::after,
.plate .rivet-tl,
.plate .rivet-br {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel-400);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.4);
}

.plate::before { top: 10px; left: 10px; }
.plate::after { bottom: 10px; right: 10px; }
.plate .rivet-tl { top: 10px; right: 10px; }
.plate .rivet-br { bottom: 10px; left: 10px; }

/* Grid genérico de tres columnas (usado en Nosotros, Contacto) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

/* ==========================================================================
   PRODUCTOS (grid dinámico generado por main.js)
   ========================================================================== */

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--steel-600);
}

.catalog-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--steel-400);
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--bone-50);
  border: 1px solid var(--steel-600);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-panel);
  transform: translateY(-3px);
}

.product-card__media {
  background-color: #ffffff; /* El fondo blanco que hablamos */
  padding: 0.01rem;
  height: 280px; /* Puedes ajustar este número para hacer la foto más grande o pequeña */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px 3px 0 0;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* <--- ESTA ES LA MAGIA: Obliga a mostrar la foto completa */
  display: block;
}

.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--safety-red);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-card__desc {
  font-size: 0.92rem;
  color: var(--steel-200);
  flex: 1;
}

.product-card__specs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--steel-600);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--graphite-800);
  background: var(--metal-300);
  padding: 4px 8px;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
}

.product-card__price {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--graphite-900);
}

.catalog-empty,
.catalog-error {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--steel-400);
  border: 1px dashed var(--steel-600);
  padding: 40px;
  text-align: center;
}

.catalog-error {
  color: var(--safety-red-dark);
  border-color: var(--safety-red);
}

/* ==========================================================================
   FORMULARIO DE CONTACTO
   ========================================================================== */

.form-field {
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-400);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--steel-600);
  background: var(--bone-50);
  color: var(--graphite-900);
  border-radius: var(--radius);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--safety-red);
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--steel-600);
}

.contact-info__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--safety-red);
  min-width: 110px;
}

.map-placeholder {
  margin-top: 2rem;
  aspect-ratio: 16 / 7;
  background:
    repeating-linear-gradient(45deg, var(--steel-600) 0 1px, transparent 1px 16px),
    var(--graphite-700);
  border: 1px solid var(--steel-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--metal-300);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   NOSOTROS — línea de tiempo / valores
   ========================================================================== */

.values-list .plate {
  margin-bottom: 18px;
}

.values-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.values-list p {
  color: var(--steel-400);
  font-size: 0.92rem;
}

.about-media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, var(--steel-600), var(--graphite-800));
  border: 1px solid var(--steel-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--metal-300);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--graphite-900);
  color: var(--metal-300);
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--steel-600);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--bone-100);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.footer__brand span {
  color: var(--safety-red);
}

.footer h4 {
  font-size: 0.85rem;
  color: var(--bone-100);
  margin-bottom: 1rem;
}

.footer li {
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
}

.footer li a:hover {
  color: var(--bone-100);
}

.footer__bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .brands {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .navbar__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--graphite-900);
    flex-direction: column;
    padding: 20px 24px;
    gap: 1.2rem;
    border-bottom: 3px solid var(--safety-red);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }

  .navbar__links.is-open {
    transform: translateY(0);
  }

  .navbar__toggle {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}/* =========================================================
   ESTILOS PARA CUANDO EL USUARIO BAJA LA PÁGINA (SCROLL)
   ========================================================= */
.navbar.navbar--scrolled {
  height: 60px; /* La barra se hace más delgada */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Sombra más fuerte */
}

.navbar--scrolled .logo-img {
  height: 200px; /* El logo se achica para caber en la barra delgada */
  margin-top: 10px; /* Ajuste del margen para el nuevo tamaño */
}

/* =========================================================
   BUSCADOR, FILTROS Y DESCRIPCIÓN EXPANDIBLE
   ========================================================= */

.catalog-filters {
  display: flex; flex-direction: column; gap: 1.2rem;
  margin-bottom: 2rem; background: var(--graphite-900, #1a1a1a);
  padding: 1.5rem; border-radius: 8px; border: 1px solid #333;
}

.search-input {
  width: 100%; padding: 12px 16px; font-size: 1rem;
  border: 1px solid #444; border-radius: 4px;
  background: #2a2a2a; color: #fff; font-family: inherit; outline: none;
}
.search-input:focus { border-color: var(--safety-red, #d32f2f); }

.category-filters { display: flex; flex-wrap: wrap; gap: 10px; }

.cat-btn {
  padding: 8px 16px; background: transparent; border: 1px solid #666;
  color: #ccc; border-radius: 20px; cursor: pointer; font-size: 0.85rem;
  transition: all 0.2s ease;
}
.cat-btn:hover, .cat-btn.is-active {
  background: var(--safety-red, #d32f2f);
  border-color: var(--safety-red, #d32f2f); color: #fff; font-weight: bold;
}

/* Descripción Expandible */
.product-card__desc-container { margin-bottom: 1rem; }

.product-card__desc-text {
  font-size: 0.9rem; color: #aaa; line-height: 1.5;
  /* Cortar texto a 2 líneas */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; transition: all 0.3s ease;
}
.product-card__desc-text.is-expanded {
  -webkit-line-clamp: unset; display: block;
}

.btn-expand {
  background: none; border: none; color: var(--safety-red, #d32f2f);
  font-size: 0.8rem; font-weight: 700; cursor: pointer;
  padding: 4px 0 0 0; text-decoration: underline;
}

/* =========================================
   BOTONES FLOTANTES (WHATSAPP E INSTAGRAM)
   ========================================= */
.flotantes-sociales {
  position: fixed;
  bottom: 25px;       /* Distancia desde abajo */
  right: 25px;        /* Distancia desde la derecha */
  display: flex;
  flex-direction: column;
  gap: 15px;          /* Separación entre los dos botones */
  z-index: 9999;      /* Asegura que siempre estén por encima del texto y las fotos */
  opacity: 0.8;       /* Ligeramente transparentes para no molestar */
  transition: opacity 0.3s ease;
}

/* Al pasar el mouse por la zona, se vuelven sólidos */
.flotantes-sociales:hover {
  opacity: 1;
}

.btn-flotante {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%; /* Los hace círculos perfectos */
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto de rebote al pasar el mouse por un botón */
.btn-flotante:hover {
  transform: scale(1.15); /* Se agranda un 15% */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}

/* Colores corporativos de cada red social */
.btn-wa {
  background-color: #25D366; 
}

.btn-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

@media (max-width: 768px) {
  /* Contenedor principal alineado a la izquierda */
  .navbar__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100%;
    padding: 10px 20px !important;
    box-sizing: border-box;
    position: relative;
    min-height: 80px;
  }

  /* Liberamos la caja del logo por completo */
  .navbar__brand {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    max-width: none !important;
  }

  /* Ocultamos el texto pequeño */
  .navbar__brand small {
    display: none !important; 
  }

  /* TAMAÑO DEL LOGO LIBRE Y GRANDE */
  .logo-img {
    height: 180px !important; /* Altura aumentada. Cámbialo a 95px si lo quieres aún mayor */
    width: auto !important;
    max-width: none !important; /* Rompe el límite que lo mantenía pequeño */
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
  }

  /* EMPUJA EL BOTÓN TOTALMENTE A LA DERECHA */
.navbar__toggle {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto !important;
  padding: 0;
}

/* Forzar el color y grosor de las tres rayitas */
.navbar__toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #700000 !important; /* Cambia a #ffffff si tu fondo de barra es oscuro, o #333333 si es claro */
  border-radius: 2px;
}

  /* Menú desplegable blanco */
  .navbar__links {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #dddddd;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid #860000;
  }

  .navbar__links.is-open {
    display: flex !important; 
  }

  .navbar__links li {
    margin: 10px 0;
  }

  .navbar__links li a {
    color: #333333 !important; 
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    padding: 10px;
  }
}