:root{
  --blue: #0078D4;
  --blue-hover: #005A9E;
  --white: #FFFFFF;
  --dark: #1F1F1F;
  --border-light: #E5E7EB;
  --bg-soft: #F5F5F5;
  --beige: #F7F3E8;
}

html {
  overflow-y: auto;
  scrollbar-gutter: stable;  /* reserva el espacio de la barra siempre */
}
html, body {
  width: 100%;
  overflow-x: hidden;   /* evita que algo que se salga mueva todo a los lados */
}

*{box-sizing:border-box;margin:0;padding:0}
body{
  min-height: 100vh;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--white);
  color:var(--dark);
  line-height:1.4;
}
a{text-decoration:none;color:inherit}


*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--white);
  color:var(--dark);
  line-height:1.4;
}

/* Transiciones suaves y más lentas */
a,
button,
.btn-primary,
.btn-secondary,
.btn-header-solid,
.btn-header-outline,
.service-card,
.nosotros-card {
  transition:
	background-color 0.2s ease-out,
	color 0.2s ease-out,
	border-color 0.2s ease-out,
	box-shadow 0.2s ease-out,
	transform 0.2s ease-out;
}

/* Empujar el contenido para que no quede debajo del header */
main {
  padding-top: 72px;
}


.faq-hero {
  padding: 18px 20px 20px;    /* más compacto que antes */
  background: #f9fafb;
  border-bottom: 1px solid var(--border-light);
}

.faq-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;           /* importante: alinear a la izquierda */
}

.faq-hero-inner h1 {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--blue);         /* azul de tu sistema */
  letter-spacing: 0.06em;
  text-transform: none;
}

/* subrayado tipo secciones principales */
.faq-underline {
  width: 80px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
  margin: 4px 0 14px 0;       /* pegado al h1, alineado a la izquierda */
}

.faq-hero-inner p {
  max-width: 960px;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}






/* CONTENEDOR GENERAL FAQ */
.faq-main {
  padding: 28px 20px 48px;
}

.faq-main-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* ACORDEÓN DE SECCIÓN (COMERCIAL / OPERACIONES) */
.section-accordion {
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  margin-bottom: 24px;
  overflow: hidden;
}

/* Botón cabecera de sección */
.section-button {
  width: 100%;
  padding: 14px 18px;
  background: #f3f4f6;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
}

.section-title {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-icon {
  font-size: 18px;
  transition: transform 0.2s ease;
}

/* Estado abierto de sección */
.section-accordion.is-open .section-button {
  background: #e5edfb;
  color: var(--blue);
}

.section-accordion.is-open .section-icon {
  transform: rotate(180deg);
}

.section-content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.section-accordion.is-open .section-content {
  padding-top: 10px;
  padding-bottom: 10px;
}


/* ITEM FAQ INDIVIDUAL */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0 4px;     /* deja 4px debajo extra */
}
.faq-item:last-child {
  border-bottom: none;
}

/* Botón pregunta */
.faq-button {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  padding: 10px 0;
  font-size: 15px;
  color: var(--dark);
  font-weight: 600;
}

/* Pregunta en azul como en el ejemplo */
.faq-button.is-open {
  color: var(--blue);
}

.faq-question {
  flex: 1;
}

/* Icono + / ^ */
.faq-icon {
  margin-left: 10px;
  font-size: 16px;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.faq-button.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
  padding-right: 32px;
  transition: max-height 0.22s ease;
}

/* más aire dentro de la respuesta */
.faq-answer-inner {
  padding: 18px 0 20px;   /* antes era más bajo */
}

/* un pequeño espacio entre la pregunta y el inicio de la respuesta */
.faq-button.is-open + .faq-answer .faq-answer-inner {
  margin-top: 10px;
}

/* CTA al final de cada bloque */
.faq-contact-cta {
  margin-top: 14px;
  font-size: 14px;
}

.faq-contact-cta a {
  color: var(--blue);
  font-weight: 600;
}

/* Botón tipo “Seguimiento de mi pedido” */
.faq-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}
.faq-cta-button:hover {
  background: var(--blue-hover);
}

/* Base para el chevron minimalista */
.chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);             /* forma de V apuntando hacia abajo */
  transition: transform 0.2s ease;
}

/* color y tamaño según contexto */
.section-icon.chevron,
.faq-icon.chevron {
  border-color: #111;
}

/* cuando la sección/pregunta está abierta, apuntar hacia arriba */
.section-accordion.is-open .section-icon.chevron,
.faq-button.is-open .faq-icon.chevron {
  transform: rotate(-135deg);           /* punta hacia arriba */
}





.nav-link {
  color: #0050A5; /* tu azul normal del nav */
}

.nav-link--active {
  color: var(--blue) !important; /* azul para activo */
}



