:root {
  --surface: #f9f9f9;
  --surface-soft: #f3f3f3;
  --surface-card: #ffffff;
  --brand-primary: #611232;
  --brand-secondary: #795801;
  --brand-highlight: #ffd175;
  --text-main: #1a1c1c;
  --text-muted: #544246;
  --outline: #d9c0c5;
  --shadow-soft: 0 8px 22px rgba(38, 18, 28, 0.08);
  --radius-lg: 0.9rem;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: url('../img/taqueros/fondo.png') no-repeat center center fixed !important;
  background-size: cover !important;
  color: var(--text-main);
}



.text-on-surface {
  color: var(--text-main);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.icon-filled {
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.topbar {
  /* background: url('../img/taqueros/header.png') no-repeat center center; */
  background-size: cover;
  /* border-color: rgba(255, 255, 255, 0.16) !important; */
}

.brand-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: transparent;
  color: inherit;
}

.brand-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.nav-link-custom {
  color: #f6dde6;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

.topbar .nav-link-custom,
.topbar .nav-link-custom:visited {
  color: #fff !important;
}

.nav-link-custom:hover {
  color: #fff;
}

.nav-link-active {
  color: #fff;
  border-bottom-color: var(--brand-highlight);
}

.nav-lang {
  color: #fff;
  cursor: pointer;
}

.btn-language {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #000;
  background: rgba(255, 255, 255, 0.08);
}

.btn-language:hover,
.btn-language:focus {
  border-color: #fff;
  color: #000;
  background: rgba(255, 255, 255, 0.16);
}

.language-menu {
  min-width: 12rem;
  border-color: #e7dde0;
}

.language-menu .dropdown-item {
  color: #000;
}

.language-menu .dropdown-item:hover,
.language-menu .dropdown-item:focus {
  background: #f7eef1;
  color: #000;
}

.flag-icon {
  font-size: 1rem;
  line-height: 1;
}

.flag-icon-img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  border: 1px solid #d9d9d9;
  object-fit: cover;
}

.hero-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brand-primary);
}

.hero-subtitle {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--brand-secondary);
}

.hero-copy {
  max-width: 50rem;
  color: var(--text-muted);
}

.section-card {
  background: var(--surface-card);
  border: 1px solid #efe8ea;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.section-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-left: 4px solid var(--brand-secondary);
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
}

.form-label-custom {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.input-custom {
  border: 1px solid var(--outline);
  border-radius: 0.65rem;
  background: #fff;
}

.input-custom:focus {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 0.15rem rgba(121, 88, 1, 0.18);
}

.input-prefix {
  border-color: var(--outline);
  color: var(--text-muted);
  background: #fcfcfc;
}

.map-shell {
  min-height: 300px;
  border: 2px solid rgba(121, 88, 1, 0.25);
  border-radius: var(--radius-lg);
  background: #ececec;
}

.map-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: grayscale(0.4) brightness(0.9);
}

.map-pin {
  font-size: 3rem;
  color: var(--brand-secondary);
  text-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.map-note {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border-radius: 0.7rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  color: #444;
}

.upload-zone {
  border: 2px dashed var(--outline);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.upload-zone:hover {
  border-color: var(--brand-secondary);
  transform: translateY(-2px);
}

.upload-zone:focus-visible {
  outline: 0;
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 0.15rem rgba(121, 88, 1, 0.2);
}

.upload-zone.is-dragover {
  border-color: var(--brand-secondary);
  background: #fffbf2;
}

.upload-zone.is-success {
  border-color: #2f8a3d;
  background: #f4fff6;
}

.upload-zone.is-error {
  border-color: #ba1a1a;
  background: #fff5f5;
}

.is-invalid-field {
  border-color: #ba1a1a !important;
  box-shadow: 0 0 0 0.15rem rgba(186, 26, 26, 0.14) !important;
}

.field-error-message {
  margin-top: 0.35rem;
  color: #ba1a1a;
  font-size: 0.78rem;
  font-weight: 600;
}

.upload-icon {
  font-size: 2.1rem;
  color: #9f7f33;
  margin-bottom: 0.6rem;
}

.custom-check:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.text-muted-strong {
  color: var(--text-muted);
  line-height: 1.6;
}

.link-brand {
  color: var(--brand-secondary);
  font-weight: 700;
}

.category-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff6df;
  border: 1px solid #f0d79c;
  color: #5d4200;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.category-badge button {
  border: 0;
  background: transparent;
  color: #7a5902;
  line-height: 1;
  padding: 0;
  font-size: 0.9rem;
  cursor: pointer;
}

.category-add-btn {
  white-space: nowrap;
}

.btn-brand {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.btn-brand:hover {
  background: #4d0f29;
  border-color: #4d0f29;
  color: #fff;
}

.btn-download {
  background: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.btn-download:hover {
  background: #4d0f29;
  border-color: #4d0f29;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(38, 18, 28, 0.15);
}

.btn-download:active {
  transform: translateY(0);
}

.btn-outline-brand {
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
}

.btn-outline-brand:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.footer-shell {
  position: relative;
  z-index: 3000;
  background: var(--brand-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.footer-copy {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f6dde6;
}

.footer-link {
  color: #f6dde6;
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
}

.footer-contact-block {
  max-width: 28rem;
}

.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-whatsapp-link:hover {
  color: var(--brand-highlight);
}

.footer-whatsapp-label {
  color: #f6dde6;
}

.footer-logos {
  width: min(700px, 100%);
  height: auto;
  object-fit: contain;
}

.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  z-index: 4000;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-fab:hover {
  color: #fff;
  background: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.whatsapp-fab svg {
  width: 34px;
  height: 34px;
}

@media (max-width: 767.98px) {
  .whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
    width: 58px;
    height: 58px;
  }

  .whatsapp-fab svg {
    width: 30px;
    height: 30px;
  }
}

.btn-help {
  position: relative;
  background: var(--brand-highlight);
  color: #261900;
  border: none;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(38, 25, 0, 0.2);
  width: 64px;
  height: 64px;
  padding: 0;
  animation: help-float 2.8s ease-in-out infinite, help-pulse 1.8s ease-in-out infinite;
}

.btn-help:hover {
  background: #ffca63;
  color: #261900;
}

.coyote-icon {
  font-size: 2rem;
  line-height: 1;
}

.fab-help {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  z-index: 2000;
}

.chat-hint {
  background: #ffffff;
  border: 1px solid #e7dde0;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-primary);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.chat-status-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  background: #28a745;
  border: 2px solid #fff;
  border-radius: 50%;
}

.help-chat-panel {
  position: relative;
  width: 300px;
  background: #fff;
  border: 1px solid #e7dde0;
  border-radius: 12px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  z-index: 2001;
}

.help-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.help-chat-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.help-chat-body {
  padding: 0.75rem;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.help-chat-msg {
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
  line-height: 1.35;
}

.help-chat-msg-bot {
  background: #fff6df;
  border: 1px solid #f0d79c;
  color: #5d4200;
  align-self: flex-start;
}

.help-chat-msg-user {
  background: #f0f6ff;
  border: 1px solid #bfd7ff;
  color: #083a7a;
  align-self: flex-end;
}

.help-chat-form {
  border-top: 1px solid #eee6e9;
  padding: 0.65rem;
  background: #fff;
}

@keyframes help-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes help-pulse {
  0%, 100% { box-shadow: 0 12px 24px rgba(38, 25, 0, 0.2); }
  50% { box-shadow: 0 14px 28px rgba(38, 25, 0, 0.32); }
}

@media (max-width: 576px) {
  .fab-help {
    right: 0.5rem;
    bottom: 0.5rem;
    margin: 0 !important;
  }

  .chat-hint {
    font-size: 0.68rem;
    padding: 0.22rem 0.5rem;
  }

  .btn-help {
    width: 56px;
    height: 56px;
  }

  .coyote-icon {
    font-size: 1.75rem;
  }

  .help-chat-panel {
    width: min(92vw, 320px);
    max-height: 72vh;
  }

  .help-chat-body {
    max-height: 36vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-help {
    animation: none;
  }
}

.success-shell {
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-register-card {
  width: min(760px, 100%);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 212, 138, 0.35) 0%, rgba(255, 212, 138, 0) 52%),
    linear-gradient(145deg, #fffaf0 0%, #ffffff 100%);
  border: 1px solid #efd8b5;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(51, 29, 0, 0.18);
  padding: 2.5rem 2rem;
  text-align: center;
}

.success-icon-wrap {
  width: 78px;
  height: 78px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #1f6f43;
  background: linear-gradient(145deg, #d7ffe4 0%, #f1fff6 100%);
  border: 1px solid #bde9cc;
  box-shadow: 0 8px 20px rgba(25, 94, 57, 0.22);
}

.success-icon-wrap .material-symbols-outlined {
  font-size: 44px;
}

.success-register-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #2f2008;
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  line-height: 1.15;
  margin: 0;
}

.success-register-copy {
  color: #5b4f3d;
  font-size: clamp(1rem, 2vw, 1.14rem);
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 576px) {
  .success-register-card {
    padding: 2rem 1.1rem;
    border-radius: 18px;
  }
}


/* ==========================================================================
   NUEVAS CLASES CSS PARA LA VISTA DEL VISOR PDF
   Basadas en la paleta de colores y variables de referencia.
   ========================================================================== */

/* --- 1. CLASES DE ESTRUCTURA GENERAL (HEADER Y FOOTER INSTITUCIONAL) --- */

/* Contenedor Flexbox para el TopBar guinda institucional.
   Alinea el logo/título a la izquierda y el botón 'Volver' a la derecha. */
.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Enlace contenedor para el logo y el título, eliminando el subrayado nativo. */
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

/* Simulación formal del icono institucional si no se carga imagen externa.
   Utiliza transparencia sobre el fondo guinda del TopBar. */
.brand-icon-sim {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.5rem;
}

/* Contenedor principal que centra y da espaciado a la tarjeta del PDF.
   Es el "esqueleto" de la página debajo del header. */
.main-content {
    flex: 1; /* Empuja el footer hacia abajo */
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Contenedor Flexbox para el Footer Institucional guinda.
   Alinea los derechos de autor a la izquierda y el enlace oficial a la derecha. */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}


/* --- 2. CLASES ESPECÍFICAS DEL VISOR PDF (DENTRO DE LA TARJETA) --- */

/* Variación formal de tu .section-card.
   Usa Flexbox para organizar la barra de herramientas y el visor verticalmente. */
.pdf-viewer-fullscreen {
    background: var(--surface-card);
    border: 1px solid #efe8ea; /* Borde sutil */
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: calc(100vh - 200px); /* Altura casi completa de la pantalla */
    min-height: 600px;
}

/* Barra de herramientas superior dentro de la tarjeta.
   Alinea la info del archivo (izquierda) con tu botón .btn-brand (derecha).
   Utiliza var(--surface-soft) y var(--outline) de tus referencias. */
.viewer-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: var(--surface-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--outline);
}

/* Agrupa el icono de PDF y el texto descriptivo del archivo. */
.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Estilo específico para resaltar el icono de PDF en color rojo formal (#ba1a1a). */
.pdf-icon {
    color: #ba1a1a;
}

/* EL MÁS IMPORTANTE: Define el contenedor físico donde se incrusta el PDF.
   Establece una altura dinámica basada en la pantalla y bordes formales.
   Usa var(--outline) y una sombra interior para profundidad. */
.embed-container-fullscreen {
    width: 100%;
    flex: 1; /* Toma el espacio restante */
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--outline);
    background: #525659; /* Fondo formal de lector PDF */
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}

/* Estilo para el iframe/embed interno para que ocupe todo el espacio. */
.embed-container embed, .embed-container iframe, .embed-container-fullscreen embed, .embed-container-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* --- 3. CLASES DE MENSAJES ALTERNATIVOS (FALLBACK) --- */

/* El mensaje formal que aparece en móviles (manejado por JS) indicando
   que el visor no está disponible, invitando a la descarga directa. */
.fallback-message {
    display: none; /* Oculto por defecto, se activa por JS */
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}


/* --- 4. CLASES DE BOTONES/ICONOS ADAPTADOS --- */

/* Variante blanca y sutil de tu .btn-outline-brand,
   diseñada específicamente para el header guinda institucional. */
.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.2s ease;
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* --- RESPONSIVE DESIGN --- */

/* Tablets and smaller */
@media (max-width: 768px) {
    .pdf-viewer-fullscreen {
        height: calc(100vh - 150px);
        padding: 0.5rem;
    }

    .viewer-toolbar {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .file-info {
        font-size: 0.9rem;
    }

    .btn-download {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .embed-container-fullscreen {
        min-height: 400px;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    .pdf-viewer-fullscreen {
        height: calc(100vh - 120px);
        padding: 0.25rem;
    }

    .viewer-toolbar {
        padding: 0.25rem;
    }

    .file-info {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .file-info div {
        font-size: 0.8rem;
    }

    .btn-download {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .embed-container-fullscreen {
        min-height: 300px;
    }

    .fallback-message {
        padding: 2rem 1rem;
        gap: 1rem;
    }

    .fallback-message h3 {
        font-size: 1.2rem;
    }
}

/* Mobile navigation */
.mobile-nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    color: var(--brand-primary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: 0.2s ease;
}

.mobile-nav-link:hover {
    background: var(--surface-soft);
    color: var(--brand-primary);
}

.mobile-language {
    margin-top: 0.5rem;
}

.btn-language-mobile {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    font-size: 0.9rem;
}

.btn-language-mobile:hover {
    background: #4d0f29;
    border-color: #4d0f29;
}

/* ==========================================================================
   NUEVAS CLASES CSS PARA LA VISTA DE PREGUNTAS FRECUENTES (FAQ)
   Utilizando tus variables de referencia de colores, bordes y sombras.
   ========================================================================== */

/* --- 1. CLASES DE ESTRUCTURA Y MAQUETACIÓN GENERAL ADAPTADAS --- */

/* Maquetación del Header/TopBar (Nuevas clases adaptadas de tu referencia) */
.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

/* Simulación del icono institucional si no se carga imagen externa */
.brand-icon-sim {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.5rem;
}

/* Contenedor principal para centrar las FAQs */
.main-content {
    flex: 1; /* Empuja el footer hacia abajo */
    padding: 3rem 2rem;
    max-width: 1000px; /* Ancho óptimo para lectura */
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Botón Esquema Blanco adaptado para el header guinda institucional */
.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.2s ease;
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Maquetación del Footer guinda institucional */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}


/* --- 2. CLASES ESPECÍFICAS DEL ACORDEÓN DE PREGUNTAS (FAQ) --- */

/* Contenedor principal de la lista de FAQs */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Cada ítem individual de la FAQ (Adaptación formal de tu .section-card) */
.faq-item {
    background: var(--surface-card);
    border: 1px solid #efe8ea; /* Tu borde .section-card */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden; /* Importante para la animación */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Resaltado interactivo en hover */
.faq-item:hover {
    border-color: var(--brand-highlight);
    box-shadow: 0 10px 25px rgba(38, 18, 28, 0.06);
}

/* El botón de la Pregunta (Interactivo) */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    transition: background-color 0.2s ease;
}

/* Indicador visual de la categoría (borde dorado lateral) - Basado en tu .section-title */
.faq-question-text {
    border-left: 4px solid var(--brand-secondary);
    padding-left: 0.75rem;
    line-height: 1.3;
}

/* Icono de expansión (+/-) en color dorado */
.faq-icon {
    color: var(--brand-secondary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Contenedor de la respuesta (Oculto por defecto, animado por JS con max-height) */
.faq-answer-wrapper {
    max-height: 0; /* JS controla esto */
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Animación de apertura */
}

/* Contenido de la respuesta con padding y estilos de texto */
.faq-answer-content {
    padding: 0 1.5rem 2rem 1.5rem; /* Padding superior 0 para el colapso */
    margin-left: calc(1.5rem + 4px + 0.75rem); /* Alineación formal con el texto */
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
}

/* --- 3. CLASES DE ESTADO (MANEJADAS POR JS) --- */

/* Estilo para el estado ABIERTO */
.faq-item.is-open {
    border-color: var(--outline);
    background: #fff;
}

.faq-item.is-open .faq-question {
    padding-bottom: 1rem; /* Reduce espacio al abrir */
}

/* Animación del icono: Gira el '+' para simular una 'x' y cambia a guinda */
.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
    color: var(--brand-primary);
}

/* --- Estilos Convocatoria 2 Columnas --- */

.conv-info-section {
    padding-right: 1rem;
}

.text-brand {
    color: var(--brand-primary);
}

.conv-action-card {
    background: var(--surface-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--outline);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.conv-action-card:hover {
    transform: translateY(-5px);
}

.preview-container img {
    width: 100%;
    max-height: 600px;
    display: block;
    border: 2px solid var(--brand-highlight);
    transition: filter 0.3s ease;
}

.border-gold {
    border: 3px solid var(--brand-highlight) !important;
}

/* Ajuste para que los iconos Material se vean rellenos si quieres */
.icon-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Responsivo para tablets/móviles */
@media (max-width: 991px) {
    .conv-info-section {
        text-align: center;
        padding-right: 0;
        margin-bottom: 3rem;
    }
    .conv-info-section .feature-item {
        justify-content: center;
    }
}

.nav-link-active {
    color: #fff !important;
    border-bottom: 2px solid var(--brand-highlight) !important;
    opacity: 1;
}

/* --- Ajustes para el Formulario de Convocatoria --- */

/* Estilo para las etiquetas de los campos */
.form-label-custom {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

/* Input personalizado con los colores de NezaGO */
.input-custom {
    border: 2px solid var(--outline);
    border-radius: 0.7rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.input-custom:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.2rem rgba(97, 18, 50, 0.1);
    outline: none;
}

/* Zona de carga de archivos estética */
.upload-zone {
    border: 2px dashed var(--outline);
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--brand-primary);
    background: #fff;
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 2rem;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
    display: block;
}

/* Botón institucional guinda */
.btn-brand {
    background-color: var(--brand-primary);
    border: none;
    color: white;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: #4d0f29; /* Guinda más oscuro */
    color: white;
    box-shadow: 0 5px 15px rgba(97, 18, 50, 0.3);
}

/* Badge de estado en el preview */
.category-badge {
    background-color: #fff6df;
    color: var(--brand-secondary);
    border: 1px solid var(--brand-highlight);
    padding: 0.3rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
}

/* Color de marca para textos específicos */
.text-brand {
    color: var(--brand-primary) !important;
}

/* Asegurar que los saltos de línea se vean en el preview */
#preview-descripcion {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ==========================================================================
   CONCURSO INTERNACIONAL DE TAQUEROS · MEXICO - FRANCIA
   ========================================================================== */

:root {
  --surface: #f6f1e8;
  --surface-soft: #f3ede4;
  --surface-card: rgba(255, 252, 247, 0.95);
  --brand-primary: #8f1d2c;
  --brand-secondary: #0d3b66;
  --brand-highlight: #d8b36a;
  --brand-accent: #146b43;
  --text-main: #1e1c1a;
  --text-muted: #5e534e;
  --outline: #ddcfbf;
  --shadow-soft: 0 16px 40px rgba(43, 26, 18, 0.10);
}

body {
  position: relative;
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.88) 0%, rgba(246, 241, 232, 0.95) 100%),
    url('../img/fondo.png') center/cover fixed !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(20, 107, 67, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(13, 59, 102, 0.10), transparent 30%),
    linear-gradient(90deg, rgba(20, 107, 67, 0.06) 0 33.33%, rgba(255, 255, 255, 0) 33.33% 66.66%, rgba(13, 59, 102, 0.06) 66.66% 100%);
  opacity: 0.7;
  z-index: 0;
}

.topbar,
.footer-shell,
main.container {
  position: relative;
  z-index: 1;
}

.topbar {
  background: linear-gradient(90deg, #0d3b66 0%, #153d63 22%, #8f1d2c 60%, #6f1320 100%);
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 28px rgba(13, 31, 55, 0.24);
}

.topbar::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #146b43 0 33.33%, #f2efe8 33.33% 66.66%, #d8b36a 66.66% 100%);
}

.brand-title {
  max-width: 22ch;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1rem;
}

.nav-link-custom {
  position: relative;
  padding-bottom: 0.35rem;
  color: rgba(255, 250, 244, 0.9);
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #d8b36a, #fff8e8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link-custom:hover::after,
.nav-link-active::after {
  transform: scaleX(1);
}

main.container {
  padding-top: 3.25rem !important;
}

.hero-title {
  display: inline-block;
  margin-bottom: 0.9rem !important;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: min(220px, 100%);
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-highlight), var(--brand-secondary));
}

.hero-subtitle {
  max-width: 20ch;
  color: var(--brand-secondary);
  line-height: 1.08;
}

.hero-copy {
  max-width: 72ch;
  font-size: 1.03rem;
  line-height: 1.78;
  color: #534842;
}

.section-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(143, 29, 44, 0.10);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 245, 0.96));
  box-shadow: var(--shadow-soft);
}

.section-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--brand-accent), var(--brand-highlight), var(--brand-secondary));
}

.section-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -55px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 179, 106, 0.22) 0%, rgba(216, 179, 106, 0) 72%);
  pointer-events: none;
}

.section-title {
  color: var(--brand-secondary);
  border-left: 4px solid var(--brand-primary);
  letter-spacing: 0.12em;
}

.form-label-custom {
  color: #4d4340;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.input-custom {
  border: 1px solid #d8cabd;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
}

.input-custom:focus {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 0.18rem rgba(13, 59, 102, 0.12);
}

.custom-check:checked {
  background-color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand-primary), #6e1522);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 14px 26px rgba(111, 19, 32, 0.24);
}

.btn-brand:hover {
  background: linear-gradient(135deg, #a32031, #6f1320);
  transform: translateY(-1px);
}

.btn-outline-white {
  border-color: rgba(255, 248, 240, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 241, 232, 0.98));
}

.success-register-card {
  background:
    radial-gradient(100% 120% at 0% 0%, rgba(20, 107, 67, 0.16) 0%, rgba(20, 107, 67, 0) 45%),
    radial-gradient(100% 120% at 100% 0%, rgba(13, 59, 102, 0.14) 0%, rgba(13, 59, 102, 0) 45%),
    linear-gradient(145deg, #fffaf2 0%, #fff 100%);
  border-color: #e4cfab;
}

.footer-shell {
  background: linear-gradient(90deg, #0d3b66 0%, #8f1d2c 100%);
  box-shadow: 0 -12px 30px rgba(18, 25, 35, 0.16);
}

.footer-shell::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #146b43 0 33.33%, #f3eee6 33.33% 66.66%, #d8b36a 66.66% 100%);
}

.footer-copy,
.footer-link {
  color: rgba(255, 246, 235, 0.82);
}

@media (max-width: 768px) {
  .brand-title {
    max-width: 16ch;
    font-size: 0.92rem;
  }

  .hero-subtitle {
    max-width: none;
  }

  .section-card {
    border-radius: 1rem;
  }
}

.taqueros-registro-hero {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 245, 234, 0.98));
  border: 1px solid rgba(143, 29, 44, 0.12);
  box-shadow: 0 24px 50px rgba(91, 25, 27, 0.09);
  overflow: hidden;
}

/* .taqueros-registro-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -56px -8%;
  height: 120px;
  background:
    radial-gradient(circle at 8% 0, #7a1730 0 46px, transparent 47px),
    radial-gradient(circle at 28% 0, #7a1730 0 52px, transparent 53px),
    radial-gradient(circle at 50% 0, #7a1730 0 60px, transparent 61px),
    radial-gradient(circle at 72% 0, #7a1730 0 52px, transparent 53px),
    radial-gradient(circle at 92% 0, #7a1730 0 46px, transparent 47px);
  pointer-events: none;
} */

.taqueros-registro-kicker {
  position: relative;
  z-index: 1;
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b78a42;
}

.taqueros-registro-hero .hero-title {
  position: relative;
  z-index: 1;
  display: block;
  width: fit-content;
  font-family: "Bree Serif", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
  color: #7a1730;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.72);
}

.taqueros-registro-hero .hero-title::after {
  width: min(180px, 100%);
  height: 5px;
  bottom: -0.4rem;
  background: linear-gradient(90deg, #d0a15e, #f0d8b0, #7a1730);
}

.taqueros-registro-hero .hero-subtitle {
  position: relative;
  z-index: 1;
  max-width: 18ch;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #111111;
}

.taqueros-registro-highlight {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fffdf8, #f3e0ba);
  border: 1px solid rgba(194, 150, 79, 0.5);
  box-shadow: 0 10px 24px rgba(122, 23, 48, 0.12);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b78a42;
}

.taqueros-registro-hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 60ch;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #332b28;
}

.taqueros-registro-hero + .success-shell .success-register-title,
.taqueros-registro-hero + form .section-title,
.taqueros-registro-hero + form .form-label-custom,
.taqueros-registro-hero + form .text-muted-strong,
.taqueros-registro-hero + form .btn-brand,
.taqueros-registro-hero + form .field-error-message {
  font-family: "Montserrat", sans-serif;
}

.taqueros-registro-hero + form .section-title {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #7a1730;
}

.taqueros-registro-hero + form .form-label-custom {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #5a463d;
}

.taqueros-registro-hero + form .input-custom,
.taqueros-registro-hero + form textarea.input-custom,
.taqueros-registro-hero + form select.input-custom {
  font-family: "Montserrat", sans-serif;
}

.taqueros-registro-hero + .success-shell .success-register-title {
  font-family: "Bree Serif", serif;
  color: #7a1730;
}

@media (max-width: 768px) {
  .taqueros-registro-hero {
    padding: 1.35rem 1.15rem 2.4rem;
    border-radius: 1.4rem;
  }

  .taqueros-registro-hero::after {
    inset: auto -18% -65px -18%;
    height: 110px;
  }

  .taqueros-registro-highlight {
    width: 100%;
    text-align: center;
    line-height: 1.4;
  }
}

/* Ajustes responsivos del header de taqueros */
.tacos-header-container {
  gap: 1rem;
  min-width: 0;
}

.tacos-header-brand {
  min-width: 0;
  flex: 1 1 auto;
}

.tacos-header-icon-wrap {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  padding-top: 0 !important;
}

.tacos-header-logo-main,
.tacos-header-logo-wide {
  display: block;
  height: auto;
  object-fit: contain;
  max-width: 100%;
}

.tacos-header-logo-main {
  width: clamp(86px, 13vw, 200px);
  padding-top: 10px;
}

.tacos-header-logo-wide {
  width: clamp(230px, 34vw, 500px);
  margin-left: clamp(0.75rem, 3vw, 50px);
}

@media (max-width: 767.98px) {
  .tacos-header-container {
    align-items: center;
    gap: 0.55rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .tacos-header-brand {
    gap: 0.45rem !important;
  }

  .tacos-header-logo-main {
    width: clamp(56px, 18vw, 78px);
    padding-top: 0;
  }

  .tacos-header-logo-wide {
    width: clamp(155px, 54vw, 230px);
    margin-left: 0;
  }

  .btn-outline-white {
    flex: 0 0 auto;
    padding: 0.45rem 0.55rem;
    min-width: 42px;
    min-height: 42px;
    justify-content: center;
  }

  main.container {
    padding-top: 2rem !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-card {
    padding: 1.15rem 1rem 1.15rem 1.2rem;
  }

  .taqueros-registro-hero .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.45rem);
    overflow-wrap: anywhere;
  }

  .taqueros-registro-hero .hero-subtitle {
    font-size: clamp(1.25rem, 7.5vw, 1.85rem);
    letter-spacing: 0;
  }
}

@media (max-width: 374.98px) {
  .tacos-header-container {
    gap: 0.4rem;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .tacos-header-logo-main {
    width: clamp(46px, 17vw, 60px);
  }

  .tacos-header-logo-wide {
    width: clamp(132px, 52vw, 172px);
  }

  .btn-outline-white {
    padding: 0.35rem 0.45rem;
    min-width: 38px;
    min-height: 38px;
  }
}
